Friday, 2024-03-01

opendevreviewsean mooney proposed openstack/nova master: add multinode ironic shard job  https://review.opendev.org/c/openstack/nova/+/91033300:20
opendevreviewAmit Uniyal proposed openstack/nova master: Disconnecting volume from the compute host  https://review.opendev.org/c/openstack/nova/+/87744606:27
opendevreviewAmit Uniyal proposed openstack/nova master: Removed explicit call to delete attachment  https://review.opendev.org/c/openstack/nova/+/89128906:27
tobias-urdinsean-k-mooney: when you have time, see if this updated patch is ok now based on your feedback https://review.opendev.org/c/openstack/nova/+/90438110:08
tobias-urdinalso super interested in your ideas on how to solve the bug for this patch https://review.opendev.org/c/openstack/nova/+/875859 that we got hit by some days ago 10:09
sean-k-mooney[m]bauzas:  can we get https://review.opendev.org/c/openstack/nova/+/896100 in to unblock the uc bump10:31
bauzassean-k-mooney: I don't have context but I can take a look10:32
opendevreviewMerged openstack/nova master: imagebackend: Add support to libvirt_info for LUKS based encryption  https://review.opendev.org/c/openstack/nova/+/82675511:22
opendevreviewMerged openstack/nova master: Add encryption support to convert_image  https://review.opendev.org/c/openstack/nova/+/87093411:22
ratailor__Hi cores, can I get reviews on https://review.opendev.org/q/topic:%22list-requested-az%2211:25
ratailor__elodilles, gibi sean-k-mooney[m] dansmith please review ^^11:30
gibiratailor__: bauzas: I -1 on the AZ series, the mock in the functional tests feels like a paperover of a bug11:47
stephenfinbauzas: Can we please just merge https://review.opendev.org/c/openstack/nova/+/896100 and move on11:48
opendevreviewAmit Uniyal proposed openstack/nova master: Refactor vf profile for PCI device  https://review.opendev.org/c/openstack/nova/+/90513411:55
sean-k-mooneybauzas: tl;dr castalan added 2 new required abstract methods to a basecalse we inherit form12:02
sean-k-mooneybauzas: that got reverted on stable last cycle12:02
sean-k-mooneybauzas: but the castalan version that was intened for stabel only got pulled into master by mistake12:02
sean-k-mooneyso we were not seing this for the last cycle12:03
sean-k-mooneybauzas: we should have had this code chagne since bobcat12:03
sean-k-mooneybauzas: i dont really think its reasoable to punt the new castalane version for two cycles in a row just because we didnt accept a patch that addes to uncalled functions that raise not implemetned12:05
sean-k-mooneybauzas: there was a way for castalan to not make this a breaking api change12:06
sean-k-mooneybut im not sure how fair it is to say to them rework this now and do another release unless we are going to write that patch for them12:07
sean-k-mooneybauzas: im not particaly happy either but apparenty the non-client release deadline is the deadlien for the code to be merged not the deadline for the requirement repo to be bumped12:07
sean-k-mooneyhence reluctant +2 from me12:08
opendevreviewMerged openstack/nova master: Fix nova-metadata-api for ovn dhcp native networks  https://review.opendev.org/c/openstack/nova/+/91046612:34
gibibauzas: would it make sense to fix the AZ series now, (I can try), or the bug I found means we punt it form the release?12:40
opendevreviewBalazs Gibizer proposed openstack/nova master: Fix for showing AZ without reqspec  https://review.opendev.org/c/openstack/nova/+/91072812:59
sean-k-mooneygibi: technially code feeze was yesterday, but we could accpet it today if we wanted too13:10
sean-k-mooneyi would not extend to monday however without going though the excption process13:10
sean-k-mooneygibi: what is the behvior with your fix13:11
sean-k-mooneygibi: i would expect the pinned az to be None13:11
sean-k-mooneyif its not in the request spec so in json that would be null not ''13:11
sean-k-mooneygibi: could you add an api sample test to show the end result?13:12
sean-k-mooneywe coudl go with empty string i guess instead of null13:13
stblatzheimsean-k-mooney: Fix was merged. Any change i can backport this till stable/zed or at least stable/2023.1 ?13:31
stblatzheimsean-k-mooney: Fix was merged. Any chance i can backport this till stable/zed or at least stable/2023.1 ?13:31
sean-k-mooneyyes it shoudl be backportable we have to go newest to oldest but i dont see why it could not go back to zed13:32
sean-k-mooneyare you familar with how to cerrypick it 13:32
sean-k-mooneyi doubt it will have merge confict so fi the patch is merged you can do it via the gerrit ui13:33
sean-k-mooneyif its not merged the gerrit ui wont add the cherry-picked form line13:33
stblatzheimI'll give it a try :) It's already merged.13:34
sean-k-mooneythat was more a meta comment for the older branches13:35
sean-k-mooneyyou have ot go n to n-1  then n-1 to n-213:35
opendevreviewSteven Blatzheim proposed openstack/nova stable/2023.2: Fix nova-metadata-api for ovn dhcp native networks  https://review.opendev.org/c/openstack/nova/+/91061613:35
sean-k-mooneynot n to n-213:35
sean-k-mooneyso the simpelstet way to do that is jsut wait for ^ to merge13:35
sean-k-mooneybefore creating the next one13:35
stblatzheimOk, so i'll wait for 2023.2 and when it's merged i'll start 2023.1 and after this merge zed 13:36
sean-k-mooneycool13:36
stblatzheimthanks for your help with the whole fix 13:37
sean-k-mooneyno worries, i have +2'd the first backport feel free to ping me if you need reviews on the others13:38
opendevreviewRajesh Tailor proposed openstack/nova master: Add support for showing requested az in output  https://review.opendev.org/c/openstack/nova/+/90456813:44
elodillesbauzas: when you are around, can you take a second look on this? https://review.opendev.org/c/openstack/nova/+/89610013:58
opendevreviewAmit Uniyal proposed openstack/nova master: Refactor vf profile for PCI device  https://review.opendev.org/c/openstack/nova/+/90513414:11
bauzasgibi: sean-k-mooney: sorry I was doing something else and before I wasn't in front of my screen when you pinged me15:11
bauzasgibi: sean-k-mooney: so I can take a second look on the AZ API15:11
bauzaselodilles: sean-k-mooney: castellan stuff sent to the gate 15:12
sean-k-mooneybauzas: i have been dipping in an dout of the az patch15:17
sean-k-mooneyi honestly dont have the context fo that loaded enough to review properly15:18
sean-k-mooneygibi seems to have a better grasp of that15:18
sean-k-mooneygibi pushed a followup patch but rajesh then incoperated some of that into there own patch, perhaps they didnt see gibis patch15:19
sean-k-mooneyso i dont really know if the comments have been adressed15:19
bauzasI'll take a look before I stop for the weekend15:21
gibisean-k-mooney: bauzas: there are two comments left open there form me15:22
gibiI can fix them if we still want to land it 15:22
gibibut i have limited time left for today15:22
opendevreviewRajesh Tailor proposed openstack/nova master: Add support for showing requested az in output  https://review.opendev.org/c/openstack/nova/+/90456815:24
sean-k-mooneyratailor_: are you actully around ^15:24
ratailor_sean-k-mooney, yes15:24
sean-k-mooneyok it woudl be good to check in with bauzas / gibi  to make sure everthing that needs to be adress is15:25
ratailor_sean-k-mooney, sure. Thanks!15:25
ratailor_just now updated the patch, let's see how it goes.15:25
sean-k-mooneyack i expect most of use will disapare for the weekend in the next 30 mins or so15:26
ratailor_sean-k-mooney, aha.. then what are the options to get it merged ?15:26
gibiratailor_: could you drop the changes from https://review.opendev.org/c/openstack/nova/+/904568/16/nova/tests/unit/policies/test_servers.py15:26
gibithey are not needed15:26
gibithen I will be +215:27
sean-k-mooneyapprently ^15:27
ratailor_gibi, sure, i will remove remaining changes there.15:27
gibicool15:28
opendevreviewAmit Uniyal proposed openstack/nova master: Refactor vf profile for PCI device  https://review.opendev.org/c/openstack/nova/+/90513415:28
ratailor_gibi, how to resolve this https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d83/904568/16/check/openstack-tox-pep8/d83f39e/job-output.txt15:35
ratailor_nova/api/openstack/compute/views/servers.py:223:5: C901 'ViewBuilder.show' is too complex (41)15:35
ratailor_gibi, I think, its failing because we have too many ifs15:36
ratailor_we want to get req_spec during server show call when provided_az is None, but during server list, it will be passed from list_view method, so it might be some-string or ''15:39
opendevreviewFabian Wiesel proposed openstack/nova master: Vmware: Remove uuid parameter from get_vmdk_info call  https://review.opendev.org/c/openstack/nova/+/91062715:42
dansmithsean-k-mooney: was it you that had or was using some log aggregator thing that would collapse logs from multiple services into one?15:43
sean-k-mooneygibi: has one tool for that bu ti also use lnav locally to do something like that15:46
dansmithjust thinking that for debugging gate fails, it might be a lot easier if we had a unified journal-style log with all the services from that host so we could open and search for a traceback, error, or instance uuid15:46
bauzasdansmith: I generally use journalctl -f -u devstack@n-* for my controller15:47
sean-k-mooneyi think we have a full copy of the journal oputput15:47
dansmithbauzas: right, I mean for gate fails15:47
bauzasah, aggregating the logfiles15:48
dansmithsean-k-mooney: right but it's not viewable in the browser is it?15:48
sean-k-mooneyim on a call but ill see if i can get a link15:49
gibiratailor_: just pull out the logic to a separate function to reduce complexity15:49
ratailor_gibi, ack. Thanks!15:50
ratailor_gibi, inner function ?15:50
bauzassean-k-mooney: dansmith: yeah we do have the journal https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_f81/904568/14/check/tempest-integrated-compute/f81f16a/controller/logs/devstack.journal.README.txt15:51
dansmithyeah, I know, but it's not browseable15:51
bauzasbut you need to download the file15:51
bauzasyup15:51
dansmithbut yeah, I guess we don't need log merge if we generated the combined log from that15:51
dansmithokay so maybe I should just script doing that from a log url and look at it not in the browser15:52
gibiratailor_: a private func inte view class is OK too15:52
bauzashonestly, for debugging gate failures, I'm sometimes downloading already 15:52
ratailor_gibi, ack.15:52
bauzasdansmith: we already have download-logs.sh we could add some tooling in that script to do some kind of automatic merge15:53
sean-k-mooneydansmith: ok done. so ya we have the  devstack.journal.gz16:04
sean-k-mooneywhich you cant browse in the web as you said16:04
opendevreviewRajesh Tailor proposed openstack/nova master: Add support for showing requested az in output  https://review.opendev.org/c/openstack/nova/+/90456816:09
bauzasratailor_: I need to stop now 16:11
bauzasgibi: too, I need to stop16:11
bauzasbut I can take a look on Monday morning at https://review.opendev.org/c/openstack/nova/+/904568/16:11
ratailor_bauzas, isn't today last day for featurefreeze ?16:12
sean-k-mooneyit was technially yesterday16:12
bauzasit was yesterday16:12
bauzasbut I can give you an exception due to my previous +2 16:12
bauzasgibi found a good point16:13
ratailor_bauzas, ack. Thanks!16:13
ratailor_sean-k-mooney, gibi Thanks!16:13
bauzasbut if we can't merge it on Monday, then it will be punted to Dalmatian16:13
ratailor_bauzas, ack. sure.16:14
bauzassean-k-mooney: dansmith: about the log merging, 16:14
bauzassean-k-mooney: dansmith: could we modify our ansible scripts to create some host logs ? 16:14
bauzas2024-02-28 13:50:19.602722 | TASK [fetch-devstack-log-dir : Collect devstack logs]16:14
dansmithbauzas: I'm cooking something right now, we'll see if it's helpful16:15
bauzasdansmith: I need to go off by now but I could see it on Monday16:15
dansmitho/16:16
dansmithman, we have got to get brick to stop logging tracebacks any time multipathd is missing16:18
sean-k-mooneybut how else would you know...16:19
sean-k-mooneyit is a littel excessive16:19
bauzasdansmith: https://opendev.org/openstack/devstack/src/branch/master/roles/export-devstack-journal/tasks/main.yaml#L9-L1816:20
bauzasdansmith: I think we could change this to create some host log16:20
sean-k-mooney well we do just in binary form16:20
dansmithbauzas: we already have them combined in the journal, and I bet duplicating them in the log dump would not be popular, so just having something I can dump a log url into in the terminal is good enough I think16:21
sean-k-mooneyhttps://opendev.org/openstack/devstack/src/branch/master/roles/export-devstack-journal/tasks/main.yaml#L37-L4916:21
dansmithless good than in the browser, but the browser struggles anyway16:21
bauzassean-k-mooney: yeah but as dansmith said, you need to download the whole journal16:21
sean-k-mooneyright which woudl be the same...16:21
dansmithhttps://termbin.com/mqhd16:21
bauzasanyway, /me goes off by now16:21
dansmithif you run that with the url copied from the zuul manifest it drops you right into journalctl with the whole thing merged16:22
dansmithand you can use '-u devstack@n*' to get only nova stuff16:22
gibibauzas: ratailor_ cool, Im looking at it now16:22
sean-k-mooneycool16:22
sean-k-mooneyi was playing iwht something like 16:22
sean-k-mooneycurl https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_f81/904568/14/check/tempest-integrated-compute/f81f16a/controller/logs/devstack.journal.gz | zcat | lnav -q16:22
dansmithcan lnav read journal files?16:22
sean-k-mooneykind of but it does not render them well16:23
dansmithwell, journalctl can :)16:23
sean-k-mooneyso you would proably want to pass them thorugh systemd-joural-remote16:23
dansmithnot as nice highlighting and stuff, but..16:23
sean-k-mooneywell i normally pipe journalctl to lnav16:24
sean-k-mooneyso ya that script would be useful wehn i need ot do that16:24
dansmithoh yeah just running that | lnav is very nice16:25
dansmiththat script I mean16:25
sean-k-mooneyya16:25
sean-k-mooneyso we recently moved our new installer to put all the logs into the jorunal16:25
dansmiththe comment in there isn't right, let me fix it16:25
sean-k-mooneyand in those ci jobs we just are dumping /var/log/messages in to the job logs16:26
sean-k-mooneyand i have been using lnave to parst them16:26
dansmiththere: https://termbin.com/qpbv16:26
dansmithso I can just right-click copy a url out of a zuul manifest and run that on it, optionally | lnav and it just dumps me into a merged log16:26
dansmiththat's nice16:26
gibibauzas: I'm +2 on the AZ series16:27
sean-k-mooney"/usr/lib/systemd/systemd-journal-remote: No such file or directory" installing that might help16:29
dansmithyeah16:30
dansmithit's also in a different place on ubuntu, so I should make it use either16:30
sean-k-mooneyyou could just leave it up to the path16:30
dansmithit's not in path on either I think16:31
sean-k-mooneyoh ok odd 16:31
sean-k-mooneyim installing it now but ill let you know16:31
sean-k-mooney/usr/lib/systemd/systemd-journal-remote  works on debian testing16:32
dansmithon ubuntu it's /lib/systemd/systemd-journal-remote16:32
dansmithoh is there a link?16:32
sean-k-mooneyrwxrwxrwx 1 root root 7 May 30  2023 /lib -> usr/lib16:33
sean-k-mooneyso ya /lib links to /usr/lib16:33
dansmithoh heh16:33
dansmithokay perfect then16:34
dansmithI guess I should gist this16:34
sean-k-mooneyor we can have the ci also provide the script16:34
sean-k-mooneyi like that you dont redownload the file if its there16:35
sean-k-mooney../log-download.sh https://zuul.opendev.org/t/openstack/build/83d6dc665c2643f88d0025c385987c92/logs | lnav -q16:35
sean-k-mooneythat works for me nicely16:35
dansmithhttps://gist.github.com/kk7ds/9a77939bd314cd4b5a35139adcdcedce16:35
sean-k-mooneyosgatelog is a better name16:36
dansmithI also have an osfinger, that attaches to a live running job's console at the terminal16:36
sean-k-mooneyoh cool. i never got the finger gateway stuff to work localy16:38
sean-k-mooneyi didn know we had that configured for the public zuul16:38
dansmithhttps://termbin.com/4mx216:38
dansmithwait that's not it16:39
sean-k-mooneyoh its litrally just conenct with nc or telnet16:39
dansmiththat was an earlier bash only one, hang on16:39
dansmithhaaaang on16:39
sean-k-mooneywhy do i feel like you might also have an emacs keybinding for this16:40
dansmithhttps://github.com/kk7ds/openstack-gerrit-dashboard/blob/master/osfinger.py16:40
Ugglasean-k-mooney[m], question, is the db test_migrations are run during manage db command ? 18:10
dansmithUggla: I'm not sure what that means18:34
dansmithtest_migrations is only run when you run functional (I think) not when an admin actually uses nova-manage .. is that what you're asking?18:34
dansmither, no s/functional/unit/ but.. same answer about nova-manage18:36
*** ralonsoh_ is now known as ralonsoh19:08
stblatzheimhttps://review.opendev.org/c/openstack/nova/+/91061619:38
stblatzheimsean-k-mooney: ^ review got stuck after checks, is there a additional review needed?19:39
dansmithstblatzheim: I can hit that but, are we sure that's safe to backport?19:42
dansmithit's ovn-specific in non-ovn-specific code and depends on neutron stuff19:42
dansmithreading through the bug, sean was originally against this and then +2d it so there must be some context I'm missing19:47
dansmitheven though it was changed "in victoria" I still don't see the seeming api breakage addressed19:47
dansmithwe can circle back on monday where maybe sean can explain why it's the right thing to do19:49
stblatzheimWe can wait till monday for sure. Infact the change is about a reliable fix to get the info if dhcp is enabled on the subnet or not. There was infact no real api change but a different device_owner cause of the introduction of ovn. This was never adressed in nova-metadata-api and should be safe to backport.19:55
opendevreviewMerged openstack/nova master: Add hw_ephemeral_encryption_secret_uuid image property  https://review.opendev.org/c/openstack/nova/+/87093520:05
opendevreviewMerged openstack/nova master: libvirt: make <encryption> a sub element of <source>  https://review.opendev.org/c/openstack/nova/+/90551520:05
opendevreviewMerged openstack/nova master: testing: Add ephemeral encryption support to fixtures  https://review.opendev.org/c/openstack/nova/+/91057120:05
dansmithmelwitt: I should be able to test the ephemeral encryption stuff by just enabling the barbican devstack plugin, right? assuming I just manually create a flavor after the stack is up for use with it20:11
opendevreviewMerged openstack/nova master: Add support for showing requested az in output  https://review.opendev.org/c/openstack/nova/+/90456820:39
melwittdansmith: pretty much. let me double check if there's any other gotcha in the dnm test patch21:19
melwittdansmith: yeah, looks like that's all you need21:22
melwittI think rescue is broken at the moment since I changed things to require the hw_ephemeral_encryption_format if the image is encrypted. slowly working through the stack again21:27

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