Friday, 2023-04-14

opendevreviewmelanie witt proposed openstack/nova master: Call volume detach rollback API if detach fails  https://review.opendev.org/c/openstack/nova/+/88039900:02
opendevreviewMerged openstack/nova stable/zed: Fix rescue volume-based instance  https://review.opendev.org/c/openstack/nova/+/87211609:34
fricklerbauzas: I think this meeting is long obsolete and could be dropped from the calendar? https://meetings.opendev.org/#Placement_Team_Office_Hour11:41
bauzasfrickler : sure11:41
bauzasWant me to janitor it?11:41
fricklerthat'd be nice, then I can approve it11:43
fricklerlikely https://meetings.opendev.org/#Nova_Monthly_Asia_Friendly_Team_Meeting too11:43
bauzascool, lemme do this this afternoon 11:51
bauzasfrickler: https://meetings.opendev.org/meetings/placement/2019/12:22
bauzasshit, wrong paste12:23
bauzasfrickler: https://review.opendev.org/c/opendev/irc-meetings/+/88048512:23
*** tosky_ is now known as tosky12:53
bauzasgibi: sean-k-mooney: I have this long open doc change, can you round it again ? https://review.opendev.org/c/openstack/nova/+/87573014:13
gibibauzas: +214:19
bauzasthanks for the swing14:21
dansmithbauzas: did you see my ping yesterday about that resize claim thing?14:23
dansmiththe more I think about it, the more I think I should just bite the bullet and add a raise there as part of that series14:24
dansmithand call it a "tightening of the host->node relationship" if nothing else14:24
bauzasdansmith: yeah I could be okay with an exception14:25
dansmithalright14:26
bauzasthat's what we discussed on Wed14:26
bauzasI was a bit afraid we could say 'hehe, sure' if we weren't providing now an exception, and without having a migration record14:26
dansmithI know, and I said I didn't want to14:26
bauzas++14:26
dansmithagain, I don't think the exception isn't required to keep it consistent,14:27
dansmithit will just make any breakage obvious14:27
sean-k-mooneybauzas: gibi  i proably wont have the weigher updated today before ye finsih but ill try and get it done latere today so it will be avaiable for ye on monday15:45
gibisean-k-mooney: ack, no worriews15:45
bauzassorry folks, I'm done for today 15:45
sean-k-mooneybauzas: do you still need more eye on that ping 15:55
sean-k-mooneyill review it in a bit just finsihsing something locally15:55
bauzassean-k-mooney: sorry wdym?15:55
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova/+/875730/4/doc/source/contributor/ptl-guide.rst15:55
bauzasAck ok no worries15:56
bauzasand no rush ;-)15:56
sean-k-mooneyassuming all is well ill hit that before i finish today15:56
noonedeadpunkfolks, do you have any idea, why metadata on config-drive won't contain fixed ip address, but will have  `"type": "ipv4_dhcp"`?16:30
noonedeadpunkprobably worth postponing this question till Monday...16:34
sean-k-mooneynoonedeadpunk: we changed that in antelope16:37
sean-k-mooneythe logic being if hte network has dhcp enabeld it should not be set so that cloud init wont hardcode it16:37
sean-k-mooneyactully16:38
sean-k-mooneymaybe im mixing that up with something else16:38
sean-k-mooneylet me see if i can fidn the patch im thinking of16:38
sean-k-mooneyi dont recall if it was only the mtu that we stopped passing16:38
noonedeadpunkWell, we've started seeing that right in antelope:)16:38
noonedeadpunkI just had a chat with octavia folks, they still see ip for net with enabled dhcp...16:39
noonedeadpunkBut we can have slightly different versions16:39
sean-k-mooneyhttps://github.com/openstack/nova/commit/6bdc79af30151f683c0f462bc6c69da30ebcbcf916:40
sean-k-mooneyok so that was just metadta16:40
sean-k-mooney* mtu16:40
sean-k-mooneyit should not affect ips16:41
noonedeadpunkwell. test__get_link_mtu  has none for IP ?16:41
sean-k-mooneyhttps://github.com/openstack/nova/commit/6bdc79af30151f683c0f462bc6c69da30ebcbcf9#diff-f04bc33149c06fd545308c204ae23cb7c83abd01443bdf8f85acce861b0547f4R26616:42
sean-k-mooneyyes but this is all that functioanlly changed16:42
sean-k-mooneynoonedeadpunk: this was not chagned by that but is  proably more of interest to youhttps://github.com/openstack/nova/blob/master/nova/virt/netutils.py#L279-L33016:43
sean-k-mooneywait you said fixed_ips16:44
noonedeadpunkspecifically https://github.com/openstack/nova/blob/master/nova/virt/netutils.py#L29516:44
noonedeadpunkjohnsom: ^16:45
noonedeadpunkso, the thing is that johnsom have on their sandbox this in metadata https://www.irccloud.com/pastebin/fEVIIOCM/16:45
sean-k-mooneythe only fixed_ip info is the ec2 compat stuff https://github.com/openstack/nova/blob/master/nova/virt/netutils.py#L227-L24016:45
noonedeadpunkand I have https://paste.openstack.org/show/bNGH0dceR991yU0OthqO/16:45
noonedeadpunknah, forget about `fixed_ip`...16:45
noonedeadpunkI was trying to express expectations rather then reffering any data 16:46
sean-k-mooneyok16:46
noonedeadpunkAt we both have dhcp enabled 16:46
sean-k-mooneyya so the irccloud linke has ip_address in the data16:47
sean-k-mooneywhich is what i expect in the networks section16:47
sean-k-mooneythat has "type": "ipv4"16:48
sean-k-mooneyvs "type": "ipv4_dhcp"16:48
noonedeadpunkbut it's based on `subnet.get_meta('dhcp_server')`?16:49
sean-k-mooneyits been a while but if i recall correctly when its type ipv4_dhcp that is not ment to have teh ip info where as tyep ipv4 is for static netwrokgin without dhcpu16:49
noonedeadpunkspecifically this block I assume https://github.com/openstack/nova/blob/master/nova/virt/netutils.py#L292-L29716:49
sean-k-mooneyif the subnet does not have dhcpu enabled we store the static ip info so cloud init can configure it16:49
sean-k-mooneybut if it has dhcpu enabel we expect cloud init to use dhcpu16:49
noonedeadpunkok, yes, I see. I wonder how we managed to get this working for years then...16:50
noonedeadpunkthat is totally different question though16:50
noonedeadpunkthanks sean-k-mooney!16:50
sean-k-mooneynoonedeadpunk: perhaps you modifed the template16:50
noonedeadpunkhave a good weekend16:50
johnsomThat is odd given I have DHCP on the subnet, but the metadata still has the fixed IP16:51
sean-k-mooneyhttps://docs.openstack.org/nova/latest/configuration/config.html#DEFAULT.injected_network_template16:51
* noonedeadpunk needs to run now but wil read all back16:51
noonedeadpunkI for sure have not changed that16:51
sean-k-mooneythats good becasue that is not tested anywhwere16:52
noonedeadpunkI was debugging OSA CI job that start failing month ago16:52
sean-k-mooneyand has not been for years16:52
sean-k-mooneyso it proably does not work16:52
noonedeadpunkOr well. I t was passing last time month ago16:52
noonedeadpunkand in the meanwhile what we changed was nova/octavia/neutron versions we're isntalling and ansible collection that creates networks16:52
sean-k-mooneyso thats this https://github.com/openstack/nova/blob/master/nova/virt/interfaces.template but thats not actuly for the data your looking at16:53
noonedeadpunkbut it's interesting why me and johnsomhave different result given we both have ddhcp enabled16:53
sean-k-mooneyjohnsom: noonedeadpunk what ml2 drivers are you using16:53
sean-k-mooneyml2/ovs ml2/ovn16:54
sean-k-mooneythis code should not care but just wondering16:54
noonedeadpunkovn16:55
johnsomovn16:55
noonedeadpunkbtw, upgrade job that is passing is using lxb16:55
noonedeadpunk(upgrade from Y to 2023.1)16:55
sean-k-mooneyok so it started breaking in ovn but only somethimes16:56
noonedeadpunkI have a sandbox vm where it's reproducible16:56
johnsomWe haven't seen any changes in the Octavia jobs, they are all still passing as expected.16:57
sean-k-mooneyjohnsom: noonedeadpunk are ye seeign this in yoru downstream installs or is this also seen in upstram devstack tempest jobs16:57
* noonedeadpunk don't utilize devstack16:57
sean-k-mooneynoonedeadpunk: your using OSA right16:57
noonedeadpunkbut it's in OSA jobs16:57
noonedeadpunkyup16:57
noonedeadpunkNo idea about downstream yet16:57
sean-k-mooneyya im wondering if there is some neturon/nova config setting at play that changes this behvior16:58
sean-k-mooneyor an enabled neutron api extention16:58
noonedeadpunkwell, it could be...16:58
sean-k-mooneymost of that code has not changed in 4-6 years16:58
noonedeadpunkwe changed neither of that and yeah - code is quite old indeed16:58
sean-k-mooneybut that does not mean other code around it had not changed the data its reciving16:58
noonedeadpunkI wonder if that could boil down to smth like sdk version :D16:59
sean-k-mooneynot in this case since we are not using the sdk altough maybe neutron clinet16:59
noonedeadpunkthat changes output of `subnet.get_meta('dhcp_server')`16:59
noonedeadpunkbut that should be neutron client object?16:59
noonedeadpunksorry really need to run as otherwise my wife will feed my cold corps to pigs17:00
sean-k-mooneynot nessisarly17:00
sean-k-mooneycool17:00
sean-k-mooneyping us on monday17:00
noonedeadpunksure, sorry for that :) 17:01
noonedeadpunkhave a good weekends again17:01
sean-k-mooneyno its an iteresting issue17:01
sean-k-mooneyi was jut checkign if it was perhaps oru Subnet model object we use form the network info case but no17:02
sean-k-mooneyhttps://github.com/openstack/nova/blob/master/nova/network/model.py#L299-L33917:02
sean-k-mooneythat does not have .get_meta17:02
sean-k-mooneyhttps://github.com/openstack/nova/commit/c7f572d65b57e034c1391ed49d84f6e5f1d672ad seams related17:06
sean-k-mooneyjohnsom: noonedeadpunk when ye are aroudn on monday check if there is a dhcp port on the network in question17:07
sean-k-mooneythis might be caused by useing ovn with or without the dhcp agent17:07
sean-k-mooneyif deployed without it we might not have the info17:08
sean-k-mooneybtu with it we would?17:08
* johnsom is around all day if you want me to look at things17:08
sean-k-mooneythat is my best guess right now17:08
dansmithbauzas: you would not believe how many unit tests depend on this broken behavior (incorrectly)17:08
sean-k-mooneyjohnsom: looking at https://github.com/openstack/nova/blob/master/nova/virt/netutils.py#L292-L29717:09
sean-k-mooneywe dont have the same workaroudn for that edgecase17:09
johnsomI don't have the dhcp agent running, mine is pure ovn17:10
sean-k-mooneyand you have the info17:10
johnsomcorrect17:11
sean-k-mooneyok lets see if the its the same for noonedeadpunk on monday17:11
sean-k-mooneythe way we are doing the check might still be realted but im not sure17:11
sean-k-mooneyjohnsom: this si workinf form info in the network infocache by the way17:15
sean-k-mooneyhttps://github.com/openstack/nova/blob/ae42400b7663bc58d5562de99e976c95131b77a9/nova/virt/netutils.py#L168-L22417:16
sean-k-mooneyovn is racy with how its sends network_vif_plugged events17:17
sean-k-mooneyso its posible there is a race here 17:17
dansmithugh, the whole point of network_vif_plugged was to close a race :/17:19
sean-k-mooneyya i know but ovn did not have a way orgian to knwo if the flwo were programed17:20
sean-k-mooneyso it said it was pluged when it was bound17:20
dansmithyeah, that's just unfortunate17:20
sean-k-mooneynow it has a websocket callback meachnium17:20
sean-k-mooneybut it still does not wait for the ovn metadta agaent to compltes17:21
sean-k-mooneywhich makes metadata and i think dncp racy on boot which as you know is why network vif plugged was added17:22
sean-k-mooneywe dont have the dhcp race if using ovn native dhcp17:22
sean-k-mooneybut if you use the dhcp agent for ironic support i think it has a race but not sure 17:22
noonedeadpunkI'd say my attempts fail quite reliably many times in a row without passing any single time19:09
noonedeadpunkso doesn't look like race in my case at least19:10
*** EugenMayer41 is now known as EugenMayer419:17
noonedeadpunkthankfully it's super easy to fix now. But this doesn't really solve the mystery of why we're having different results with same input19:26
*** EugenMayer48 is now known as EugenMayer419:32
opendevreviewmelanie witt proposed openstack/nova master: Call volume detach rollback API if detach fails  https://review.opendev.org/c/openstack/nova/+/88039920:38
opendevreviewMerged openstack/nova master: Update to the PTL guide  https://review.opendev.org/c/openstack/nova/+/87573021:30
opendevreviewRobert Breker proposed openstack/nova master: Fix nova-manage image_property show unexpected keyword  https://review.opendev.org/c/openstack/nova/+/88055722:36

Generated by irclog2html.py 2.17.3 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!