Monday, 2021-08-23

opendevreviewBrin Zhang proposed openstack/nova master: Refactor check and exception  https://review.opendev.org/c/openstack/nova/+/74905202:38
*** efried1 is now known as efried06:09
*** akekane_ is now known as abhishekk06:46
opendevreviewMerged openstack/nova master: fup: Move _migrate_stub into LibvirtMigrationMixin  https://review.opendev.org/c/openstack/nova/+/80423207:26
*** rpittau|afk is now known as rpittau07:51
gibistephenfin: hi! I had to rebase the pps series as cyborg smartnic support landed in the meantime causing conflicts. If you have time then re-review would be appreciated08:39
gibilyarwood: I know that it is a big thing to ask but I would need a second core on the pps series. I'm happy to trade reviews on anything08:39
opendevreviewBalazs Gibizer proposed openstack/nova master: Avoid unbound instance_uuid var during delete  https://review.opendev.org/c/openstack/nova/+/80560509:01
qiujunting_sean-k-mooney10:11
qiujunting_sean:https://review.opendev.org/c/openstack/nova/+/802225/1/nova/compute/manager.py#5615 this should be done in prep_resize, but in the spec, Copy the PMEM data from old PMEM device to new PMEM device at migtate_disk_and_power_off. https://review.opendev.org/c/openstack/nova-specs/+/785563/14/specs/xena/approved/allow-migrate-pmem-data.rst#6510:15
lyarwoodgibi: of course, sorry just back online, got held up coming back from a weekend away because of $baby.11:03
opendevreviewStephen Finucane proposed openstack/nova master: docs: Drop references to non-filter scheduler drivers  https://review.opendev.org/c/openstack/nova/+/77364511:06
opendevreviewStephen Finucane proposed openstack/nova master: scheduler: Merge driver into manager  https://review.opendev.org/c/openstack/nova/+/77364411:06
opendevreviewStephen Finucane proposed openstack/nova master: tests: Merge 'test_utils', 'test_scheduler_utils'  https://review.opendev.org/c/openstack/nova/+/77364611:06
opendevreviewStephen Finucane proposed openstack/nova master: conf: Remove deprecated aliases  https://review.opendev.org/c/openstack/nova/+/77364711:06
gibilyarwood: hi. no worries and thanks11:06
opendevreviewsean mooney proposed openstack/os-vif master: Use TCP keepalives for ovsdb connections  https://review.opendev.org/c/openstack/os-vif/+/80522311:39
*** tbachman is now known as Guest515112:12
opendevreviewsean mooney proposed openstack/os-vif master: only register tables used by os-vif  https://review.opendev.org/c/openstack/os-vif/+/80562512:25
opendevreviewLee Yarwood proposed openstack/nova master: nova-manage: Introduce volume show, refresh, get_connector commands  https://review.opendev.org/c/openstack/nova/+/80063412:37
opendevreviewLee Yarwood proposed openstack/nova master: api: Introduce microversion 2.89 adjusting os-volume_attachments  https://review.opendev.org/c/openstack/nova/+/80427512:54
opendevreviewLee Yarwood proposed openstack/nova stable/wallaby: workarounds: Add libvirt_disable_apic  https://review.opendev.org/c/openstack/nova/+/80562812:55
opendevreviewLee Yarwood proposed openstack/nova stable/victoria: workarounds: Add libvirt_disable_apic  https://review.opendev.org/c/openstack/nova/+/80562912:55
opendevreviewLee Yarwood proposed openstack/nova stable/ussuri: workarounds: Add libvirt_disable_apic  https://review.opendev.org/c/openstack/nova/+/80563012:55
opendevreviewLee Yarwood proposed openstack/nova stable/train: workarounds: Add libvirt_disable_apic  https://review.opendev.org/c/openstack/nova/+/80563113:01
sean-k-mooneygibi: can you take a look at https://review.opendev.org/c/openstack/project-config/+/787523/ for the review priorty lable13:22
sean-k-mooneyi think that should implement it correctly now if you want any changes let me know13:23
sean-k-mooneysorry to have put that off for so long but it would be nice to have it working before we hit FF so we can use it for FF and RC issues13:23
gibisean-k-mooney: thanks for working on that I left feedback 13:29
gibiI agree that we should try to use that 13:30
gibifor the incoming FF13:31
sean-k-mooneyack you suggestions make sense let me update it quickly13:31
gibiok13:32
sean-k-mooneyok that should do it https://review.opendev.org/c/openstack/project-config/+/78752313:35
opendevreviewVadym Markov proposed openstack/nova master: Fix for concurrent DB update issue  https://review.opendev.org/c/openstack/nova/+/80498513:38
opendevreviewLee Yarwood proposed openstack/nova master: workarounds: Remove disable_native_luksv1  https://review.opendev.org/c/openstack/nova/+/80564714:02
opendevreviewLee Yarwood proposed openstack/nova master: workarounds: Remove rbd_volume_local_attach  https://review.opendev.org/c/openstack/nova/+/80564814:03
fungimelwitt: gibi: someone commented on https://launchpad.net/bugs/1927677 (OSSA-2021-002, CVE-2021-3654) that the fix is incomplete... any chance you have time to take a closer look and reopen the bug if so?14:04
opendevreviewIlya Popov proposed openstack/nova master: Fix to use cell with more free memory first  https://review.opendev.org/c/openstack/nova/+/80564914:07
gibifungi: ack14:08
gibifungi, melwitt: I can look at it tomorrow so melwitt if you have time still today then feel free to check it out14:09
fungii don't know that it's urgent, just didn't want it to slip through the cracks as it's comments on a closed bug14:14
fungibut thanks!14:14
gibifungi: thanks for the headsup it would not notice it otherwise14:15
fungino worries, it's exactly why i continue to monitor comments on presumed fixed vulnerability reports14:16
sean-k-mooneyso they are reporting it does not work with 3 slashes14:21
sean-k-mooneybut with 2 or more then 414:22
sean-k-mooneyhttps://launchpadlibrarian.net/554904339/python3.patch is more general14:23
opendevreviewIlya Popov proposed openstack/nova master: Fix to use cell with more free memory first  https://review.opendev.org/c/openstack/nova/+/80564914:23
fungisean-k-mooney: yep, hoping someone can test and confirm the assertion that the vulnerability is still exploitable with odd numbers of slashes14:24
sean-k-mooneylet me see if we have a func test for this14:24
sean-k-mooneyif we do i can try it with 3 slasshes14:24
fungithanks a bunch14:24
fungithat's a huge help14:24
sean-k-mooneywe dont seam to have a func test but we do have a unit test https://review.opendev.org/c/openstack/nova/+/803091 ill see if i can modify that quickly14:26
opendevreviewLee Yarwood proposed openstack/nova stable/wallaby: workarounds: Add libvirt_disable_apic  https://review.opendev.org/c/openstack/nova/+/80562814:29
opendevreviewLee Yarwood proposed openstack/nova stable/victoria: workarounds: Add libvirt_disable_apic  https://review.opendev.org/c/openstack/nova/+/80562914:30
opendevreviewLee Yarwood proposed openstack/nova stable/ussuri: workarounds: Add libvirt_disable_apic  https://review.opendev.org/c/openstack/nova/+/80563014:30
sean-k-mooneytesttools.matchers._impl.MismatchError: 'Error code: 400' not in 'HTTP/1.1 301 Moved Permanently\r\nServer: WebSockify Python/3.8.10\r\nDate: Mon, 23 Aug 2021 14:31:26 GMT\r\nLocation: /example.com/%2F../\r\n\r\n'14:31
sean-k-mooneyfungi: ^ so ya that seams to confirm that /// is not blocked14:31
sean-k-mooneyill quickly apply there patch and see if that correct it14:32
opendevreviewLee Yarwood proposed openstack/nova stable/train: workarounds: Add libvirt_disable_apic  https://review.opendev.org/c/openstack/nova/+/80563114:33
sean-k-mooneygibi: fungi  there patch seams to work for both cases. shall i submit it to gerrit14:34
gibisean-k-mooney: yes please14:34
gibior wait14:34
gibido we need any special treatment due to this being a secuirty bug?14:35
gibiI guess not but fungi might knows better14:35
sean-k-mooneywell its public and the report and patch were submitted in the clear14:35
sean-k-mooneyso i think at this point we treat it as a public security bug14:35
sean-k-mooneyif the report was made privatly then yes14:36
fungisean-k-mooney: gibi: no special treatment other than please prioritize reviews and backporting14:37
sean-k-mooneyok give me 2 mins to write a commit message and ill push the new unit test and the fix with the reporter listed as a co author of the patch14:37
gibisean-k-mooney: ack, I will prioritize the review14:38
fungior you could git am it14:38
fungii didn't look to see whether they included sufficient headers (a la git format-patch or similar)14:38
fungigerrit will allow you to push with any author on the commit, so long as your account is listed as the committer14:38
sean-k-mooneyits just https://launchpadlibrarian.net/554904339/python3.patch14:38
sean-k-mooneyno commit headers it just a raw patch file14:39
sean-k-mooneynot a git commit14:39
fungiyeah, co-authored-by or whatever then14:39
fungithe patch is trivial enough i doubt we need to worry about icla14:40
fungihopefully melwitt knows if there was some necessary nuance to the other solution we're not spotting14:41
fungionce she's able to review it14:42
opendevreviewsean mooney proposed openstack/nova master: address open redirect with 3 forward slashes  https://review.opendev.org/c/openstack/nova/+/80565414:48
opendevreviewsean mooney proposed openstack/nova master: address open redirect with 3 forward slashes  https://review.opendev.org/c/openstack/nova/+/80565414:52
lyarwoodgibi:  thanks for creating https://bugs.launchpad.net/nova/+bug/1940741 - have you had time to look into the race that's causing it?14:52
* lyarwood just saw it and was about to dive into your DEBUG logs14:53
gibilyarwood: I only have the repro with DEBUG and tried to add sleep before the confirm call but that did not increased the chance of repro14:53
lyarwood`2021-08-23 12:47:50,585 DEBUG [nova.servicegroup.drivers.db] Seems service nova-compute on host src is down. Last heartbeat was 2021-08-23 12:47:45.500309. Elapsed time is 5.084755` what the hell14:53
gibilyarwood: I'm deep in https://bugs.launchpad.net/nova/+bug/1936849 now so you can take https://bugs.launchpad.net/nova/+bug/1940741 forward14:54
lyarwoodack np14:54
gibilyarwood: yepp I saw that hence my trial with sleeps14:54
gibilyarwood: maybe the compute service is busy and cannot do an update in every second14:55
lyarwoodyeah the dest is likely running through the resize codepaths and blocking the src prior to that14:56
lyarwoodgood old func tests14:56
gibi:)14:56
gibilyarwood: but you can prove that if you slow down the resize on the dest with sleep14:56
gibiif that increases the repro rate then we have a proof14:57
gibilyarwood: you won't belive what causing https://bugs.launchpad.net/nova/+bug/193684915:01
lyarwoodsurprise me :)15:02
gibilyarwood: https://github.com/openstack/nova/blob/10b1dc84f47a71061340f8e0ae0fe32dca44061a/nova/tests/unit/storage/test_rbd.py#L122-L12515:02
gibithat is the same shutdown as https://github.com/openstack/nova/blob/10b1dc84f47a71061340f8e0ae0fe32dca44061a/nova/tests/unit/virt/hyperv/test_serialproxy.py#L7015:03
gibibecause the Rbd test sets shutdown on the Mock class level 15:03
gibibecuase Rados is an alias for Mock not an instance of Mock15:04
gibithe missing ()15:04
lyarwoodoofffffff15:05
lyarwoodnice catch15:05
gibiI will do some grepping for other missing () after mock.Mock15:06
gibias this was a long journey :)15:06
lyarwoodyeah that sounds like an easy hacking rule15:06
gibihehh after the fix the rbd unit tests are failing :) The Rados = mock.Mock was intentional in the setup as they wanted to make sure that when the code calls Rados() it actually calls Mock() 15:21
lyarwoodnoice15:23
opendevreviewBalazs Gibizer proposed openstack/nova master: Avoid modifying the Mock class in test  https://review.opendev.org/c/openstack/nova/+/80565715:41
opendevreviewStephen Finucane proposed openstack/nova master: docs: Drop references to non-filter scheduler drivers  https://review.opendev.org/c/openstack/nova/+/77364515:52
opendevreviewStephen Finucane proposed openstack/nova master: scheduler: Merge driver into manager  https://review.opendev.org/c/openstack/nova/+/77364415:52
opendevreviewStephen Finucane proposed openstack/nova master: tests: Merge 'test_utils', 'test_scheduler_utils'  https://review.opendev.org/c/openstack/nova/+/77364615:52
opendevreviewStephen Finucane proposed openstack/nova master: conf: Remove deprecated aliases  https://review.opendev.org/c/openstack/nova/+/77364715:52
*** rpittau is now known as rpittau|afk15:58
sean-k-mooneygibi: oh it was using the class defintion not an instance of the class16:00
gibisean-k-mooney: yepp16:00
sean-k-mooneyfun16:00
gibisean-k-mooney: and as the class definitions are global per interpreter it created a way that two tests interfere16:00
sean-k-mooneyyep we have seen that several times before16:01
opendevreviewAde Lee proposed openstack/nova master: Add check job for FIPS  https://review.opendev.org/c/openstack/nova/+/79051916:03
opendevreviewStephen Finucane proposed openstack/nova master: db: Handle parameters in DB strings  https://review.opendev.org/c/openstack/nova/+/80566316:45
stephenfinlyarwood: sean-k-mooney: Feel free to improve the commit message on that with additional context if you'd like16:46
* stephenfin has to run o/16:46
sean-k-mooneystephenfin: ack  thanks16:49
sean-k-mooneyah you are adding a url parse was not sure if it needed a pears or a decode16:50
sean-k-mooneyin anycase the test seams good16:51
lyarwoodI don't get how it's encoded by the time it gets there however if it's not in the config16:55
sean-k-mooneyi think its becasue we were geting it form an object of type sqlalchemy.engine.url.URL16:58
sean-k-mooneyand then casting that to a string16:59
lyarwoodah16:59
sean-k-mooneyso it was likely being url encoded by the str call16:59
opendevreviewLee Yarwood proposed openstack/nova master: compute: Query the service group API within check_instance_host  https://review.opendev.org/c/openstack/nova/+/80231717:19
opendevreviewLee Yarwood proposed openstack/nova master: fup: Increase service_down_time beyond INITIAL_REPORTING_DELAY in test  https://review.opendev.org/c/openstack/nova/+/80566717:19
lyarwoodgibi: ^ there was a silly race in my func test causing https://bugs.launchpad.net/nova/+bug/1940741 that should hopefully fix it now17:20
gibilyarwood: good catch!17:21
gibiI did not know there is an initial delay17:21
lyarwoodah wait, might need to refine that a little17:21
opendevreviewBalazs Gibizer proposed openstack/nova master: Add two new hacking rules  https://review.opendev.org/c/openstack/nova/+/80566817:32
gibilyarwood: the hacking rule ^^17:32
gibiand that marks my end of the day o/ see you tomorrow folks17:34
opendevreviewBalazs Gibizer proposed openstack/nova master: Add two new hacking rules  https://review.opendev.org/c/openstack/nova/+/80566817:35
opendevreviewLee Yarwood proposed openstack/nova master: fup: Increase service_down_time beyond INITIAL_REPORTING_DELAY in test  https://review.opendev.org/c/openstack/nova/+/80566717:37
opendevreviewLee Yarwood proposed openstack/nova master: compute: Query the service group API within check_instance_host  https://review.opendev.org/c/openstack/nova/+/80231717:37
lyarwoodDo you really want to submit the above commits?17:37
lyarwoodType 'yes' to confirm, other to cancel: yes17:37
lyarwoodAborting.17:37
* lyarwood flips keyboard and also logs for a while17:37
melwitthmm.. why isn't zuul voting on a change when it passes? https://review.opendev.org/c/openstack/nova/+/805654 sorry if I missed the discussion18:18
melwittmaybe a fluke. just rechecked it18:30
melwittsean-k-mooney: hey, in case you didn't see, I replied to your comments on https://review.opendev.org/c/openstack/placement/+/67944118:34
opendevreviewIlya Popov proposed openstack/nova master: Fix to use cell with more free memory first  https://review.opendev.org/c/openstack/nova/+/80564918:34
opendevreviewLee Yarwood proposed openstack/nova master: db: Handle parameters in DB strings  https://review.opendev.org/c/openstack/nova/+/80566318:58
opendevreviewMerged openstack/nova master: VMWare: Use WithRetrieval to get all results  https://review.opendev.org/c/openstack/nova/+/80496819:32
*** slaweq is now known as slaweq_19:50
-opendevstatus- NOTICE: The Gerrit service on review.opendev.org has been restarted for a patch version upgrade, resulting in a brief outage21:43
opendevreviewMerged openstack/nova master: Avoid modifying the Mock class in test  https://review.opendev.org/c/openstack/nova/+/80565722:22
opendevreviewStephen Finucane proposed openstack/nova master: tests: Enable SQLAlchemy 2.0 deprecation warnings  https://review.opendev.org/c/openstack/nova/+/80470923:14
opendevreviewStephen Finucane proposed openstack/nova master: db: Replace use of Engine.scalar(), Engine.execute()  https://review.opendev.org/c/openstack/nova/+/80487823:14
opendevreviewStephen Finucane proposed openstack/nova master: db: Replace use of 'autoload' parameter  https://review.opendev.org/c/openstack/nova/+/80573423:14
opendevreviewStephen Finucane proposed openstack/nova master: db: Replace use of legacy select() calling style  https://review.opendev.org/c/openstack/nova/+/80573523:14
opendevreviewStephen Finucane proposed openstack/nova master: db: Replace 'insert.inline' parameter with 'Insert.inline()' method  https://review.opendev.org/c/openstack/nova/+/80573623:14
opendevreviewStephen Finucane proposed openstack/nova master: db: Don't pass strings to 'Connection.execute'  https://review.opendev.org/c/openstack/nova/+/80573723:14
opendevreviewStephen Finucane proposed openstack/nova master: db: Add migration to resolve shadow table discrepancies  https://review.opendev.org/c/openstack/nova/+/80573823:15
*** yoctozepto4 is now known as yoctozepto23:37

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