Earlier  
Posted Nick Remark
#openstack-nova - 2022-05-19
11:06:50 gibi L128
11:06:57 sean-k-mooney yes
11:07:24 gibi I think it can lead to contradiction
11:07:40 sean-k-mooney i dont think so
11:07:41 gibi no AZ host1 -> pin to the AZ of host1
11:08:03 gibi but AZ=None host1 -> not pin due to AZ=None or pin due to host1?
11:08:20 sean-k-mooney no your miss understanding what i was suggesting
11:08:46 sean-k-mooney i was suggesting there is no implict change to az by passign host
11:08:58 sean-k-mooney so if the host is in a differnt az it will fail
11:09:23 sean-k-mooney if you dont care about the az but just want the host then
11:09:32 sean-k-mooney az=null host=host-1
11:09:48 gibi so you would change both L127 and 128 but keep L130?
11:09:56 kashyap Zuul blessed this, can anyone just put this through: https://review.opendev.org/c/openstack/nova/+/838926 (libvirt: Add a workaround to skip compareCPU() on destination)
11:10:29 sean-k-mooney gibi: yes i think so
11:10:42 sean-k-mooney gibi: if the aim is to simplfy i think we shoudl remove all the magic
11:11:08 sean-k-mooney so there is no implict updates of the az
11:11:20 gibi the question is then what happens today if the instance is booted with --availability-zone :host1 (so no AZ but host provided)
11:11:39 gibi do we pin today to the AZ of host1? if not then I agree with you
11:11:41 sean-k-mooney gibi: i dont think that si vaild
11:11:54 gibi let me try
11:11:56 sean-k-mooney i think to use the host via the az an az is required
11:19:36 opendevreview Stephen Finucane proposed openstack/nova master: neutron: Unbind remaining ports after PortNotFound https://review.opendev.org/c/openstack/nova/+/842528
11:20:12 opendevreview Stephen Finucane proposed openstack/nova master: neutron: Unbind remaining ports after PortNotFound https://review.opendev.org/c/openstack/nova/+/842528
11:20:44 gibi sean-k-mooney: "--availability-zone :gibi-devstack-aio" is allowed and it forces the host
11:20:59 sean-k-mooney that is not documented anywhere that im aware of
11:21:03 sean-k-mooney i would have filed a bug for that
11:21:16 gibi but does not set the AZ in the request spec
11:21:37 sean-k-mooney so your saying this feature is alreay supported
11:21:56 sean-k-mooney well we dont allow host for unshleve in the az
11:21:56 gibi we can force the host without pinning to the AZ of the host
11:22:10 sean-k-mooney gibi: well you can force and pin too
11:22:15 sean-k-mooney by passing the correct az
11:22:15 gibi yepp
11:22:19 stephenfin sean-k-mooney: gibi: That's a dead simple nova/neutron patch for whenever you've time ^
11:22:36 gibi stephenfin: ack
11:22:38 sean-k-mooney ack
11:23:20 gibi sean-k-mooney: so based on this I think it is OK to decouple the host from AZ in unshelve too
11:23:21 sean-k-mooney that reminds me we dont currently unbind port when we shelve offload. we really shoudl fix that
11:23:57 sean-k-mooney i summareised my toughs "again" on line 139+
11:24:10 gibi sean-k-mooney: just not blinding unbind but keep the device_id set and check with neutron that this keeps the port reserved
11:24:19 gibi sean-k-mooney: thanks
11:24:23 sean-k-mooney Uggla: rememebr when we said this was a simple non contoversial spec
11:24:56 sean-k-mooney gibi: unbinding never touches the device_id
11:24:59 sean-k-mooney that woudl be a detach
11:25:14 sean-k-mooney unbinding is just resetting the binding:host-id
11:25:41 sean-k-mooney and possible you could clear the port_profile bits
11:25:59 sean-k-mooney but ya we shoudl keep device_id set when unbinding for shelve_offload
11:26:06 sean-k-mooney to keep the port owned by the vm
11:27:32 sean-k-mooney stephenfin: i was going to ask why the continue but i sse wew try and use the port profile later
11:27:41 sean-k-mooney ya this looks correct to me.
11:28:27 stephenfin Yeah. I'm not too sure about that second exception handler (if we can't fetch the port, I'm not sure how much we will fare with updating it) but that's a problem for another day ;-)
11:28:52 stephenfin Unrelated, but if anyone hasn't gotten an ultrawide monitor yet, you need to get on that
11:28:53 stephenfin <3
11:29:21 sean-k-mooney well the second excpetion handeler
11:29:28 sean-k-mooney is only invoked if we do find the port
11:29:33 sean-k-mooney but there is a differnt excption
11:29:34 stephenfin (new purchase this week - what have I been doing all these years? the extra pixel density makes the world of difference too)
11:29:53 sean-k-mooney but i guess that still means we dont have the port object
11:30:02 sean-k-mooney so ya it likely is not correct
11:30:03 kashyap stephenfin: What is the model that you have?
11:30:07 kashyap (Monitor model, i.e.)
11:30:15 stephenfin HP M34d
11:30:35 sean-k-mooney stephenfin: you have seeen the one on my desk
11:31:03 stephenfin 34" ultrawide, 3440x1440 resolution, USB C Power Delivery (which is A+)
11:31:23 sean-k-mooney mine is similar 34" 21:9
11:31:40 sean-k-mooney 3440x1440@100hz
11:31:44 stephenfin Only thing it's lacking is Thunderbolt which would be handy since I could daisy chain a second monitor. As things stand, I'm just using my laptop screen
11:31:50 sean-k-mooney predates usbc however
11:32:28 stephenfin sean-k-mooney: sure have. This can do 100Hz if you're willing to put up with USB 2.0 speeds for the other ports, but Fedora seems not to drive 60Hz regardless
11:32:34 stephenfin I'm not gaming so it doesn't matter much anyway
11:32:49 sean-k-mooney i have been debating between going to 2 ultrawids or 1 large 4k display for a while but didnt find a cheep ultrawide
11:34:39 sean-k-mooney hum also curved
11:34:44 stephenfin This was a 479€ which seemed reasonable for what it had. I could justify more than doubling that for a 49"
11:34:44 stephenfin This was a 479€ which seemed reasonable for what it had. I could justify more than doubling that for a 49"
11:34:57 sean-k-mooney that is the one think i didnt want on this
11:35:05 stephenfin Also, you'd *have* to step up to Thunderbolt for that
11:35:20 stephenfin Don't think even USB 3.2 has the bandwidth for that
11:35:39 sean-k-mooney am maybe with display stream compression
11:35:43 stephenfin (i.e. 5120 x 1440 resolution)
11:35:46 sean-k-mooney but it depsn on the resolution
11:35:53 sean-k-mooney ya 4k ultrawid is nice
11:35:59 sean-k-mooney that is what i was loking at
11:36:02 sean-k-mooney but $$$
11:37:34 sean-k-mooney i have basically been thinking about getting rid of my virtical monitor and laptop off my desk and addin a seocnd ultrawid on top of my current one for email and irc
11:38:34 sean-k-mooney right now my laptop (left of ultra wide) is my email screen and portait monitor (right of ultra wide) is irc
11:38:45 sean-k-mooney im just worried they might be two high
11:47:26 gibi sean-k-mooney: see the new table at https://etherpad.opendev.org/p/unshelve-to-host#L166
11:47:34 gibi is this what you are after?
11:52:22 sean-k-mooney kind of i woudl prefer if we use null and queted strings to be explcit still reading it
11:52:55 gibi when I say "no AZ" it means the availability_zone field is not in the request body
11:53:07 sean-k-mooney yep i know
11:53:17 sean-k-mooney i was talkign about AZ=None
11:53:20 gibi so that is not the same as availability_zone = null
11:53:22 gibi ahh
11:53:23 sean-k-mooney that is ambiquious
11:53:23 gibi OK
11:53:32 gibi let me fix that
11:53:41 sean-k-mooney that could mean AZ="None" or AZ=null
11:54:03 sean-k-mooney cool
11:54:05 gibi done

Earlier   Later