Thursday, 2023-01-19

opendevreviewGhanshyam proposed openstack/nova master: Bump openstack-placement version in functional tox env  https://review.opendev.org/c/openstack/nova/+/87101100:41
*** dasm is now known as dasm|off01:10
gmanngibi: bauzas: placement is released and bumping the version in tox.ini https://review.opendev.org/c/openstack/nova/+/87101101:27
gibigmann: thanks08:33
bauzasgmann: ack, looking08:37
opendevreviewBalazs Gibizer proposed openstack/nova master: Clean up after ImportModulePoisonFixture  https://review.opendev.org/c/openstack/nova/+/87099309:19
gibisean-k-mooney: good point about __init__ vs setUp() in the fixture, I fixed it up ^^09:19
gibisean-k-mooney: we have python test executor crashes in functional but we don't have syslog saved in functional so I cannot confirm that it is due to OOM. I see python crashes locally with functional run couple of weeks back and that wasnt OOM but segfault from the interpreter09:21
zigoHi there!09:21
zigoWe wrote this:09:21
zigohttps://salsa.debian.org/openstack-team/services/ceilometer-instance-poller/09:21
zigowhich works well, but crashes here:09:21
zigohttps://salsa.debian.org/openstack-team/services/ceilometer-instance-poller/-/blob/debian/zed/ceilometer_instance_poller/instance_poller.py#L13309:21
zigoif we're using the Ceph backend.09:21
zigoDoes anyone of you know how to set the libvirt Ceph secret so then libvirt/libguestfs knows how to use the Ceph backend?09:21
bauzaszigo: sorry, not a expert at all on how we integrate with ceph09:37
bauzasmaybe look at how nova attaches rdb disks 09:37
bauzasrbd*09:37
zigoYeah, it's smoething like that! :)09:38
zigoGot to find out how to tell libvirt/libguestfs what username and secret to use.09:38
zigoObviously, I've been search for a long time before asking here ...09:38
bauzasgibi: weirdo09:40
bauzasgibi: I find we only take 30secs for grabbing the image which sizes 8509:40
bauzas 2023-01-18 16:24:58.358 127779 INFO tempest.api.compute.admin.test_aaa_volume [-] DNM bauzas: Time elapsed: 31.457598802999883 2023-01-18 16:24:58.379 127779 INFO tempest.api.compute.admin.test_aaa_volume [-] DNM bauzas: Size of custom img: 8509:40
bauzasand in this run, it took 93 secs09:41
bauzashave we changed the size of the default image ?09:41
bauzasmmm, yeah09:42
bauzas 2023-01-18 16:22:09.379365 | controller | ++ lib/tempest:configure_tempest:434        :   iniset /opt/stack/tempest/etc/tempest.conf compute image_ref 7bac73d8-9596-43ae-900f-546a3d53de36 2023-01-18 16:22:09.411839 | controller | ++ lib/tempest:configure_tempest:435        :   iniset /opt/stack/tempest/etc/tempest.conf compute image_ref_alt 7bac73d8-9596-43ae-900f-546a3d53de3609:42
bauzasoh, nevermind09:44
bauzaswe return the image_id hence the very small size09:45
opendevreviewMerged openstack/nova master: Bump openstack-placement version in functional tox env  https://review.opendev.org/c/openstack/nova/+/87101110:11
gibiI cannot reproduce the functional failure locally with the same way I did in the past https://bugs.launchpad.net/nova/+bug/1946339 so I'm stuck a bit there10:19
bauzasgibi: I'll try to run it 10:26
bauzasgibi: have you tried to run the functional tests by using the subunit ?10:27
bauzasgibi: using $ stestr run --load-list FILENAME10:27
bauzasgibi: lemme try to do it10:28
bauzasbut after this, I'll need to go off until end of the day as I need to help my daughters due to the french strike10:30
gibibauzas: yepp 10:31
gibibauzas: I tried the list of test from the failed worker from the recent gate failure and also tried the list from my past reproducers in that bug report10:32
gibineither triggered the problem after couple of hours of continuous run10:32
gibinow simply run the test with --until-failure and --random 10:33
gibibut this is a long shot10:33
bauzasgibi: ok, I'll try to run it the same10:33
bauzasgibi: I guess you know about https://stestr.readthedocs.io/en/latest/MANUAL.html#automated-test-isolation-bisection ?10:34
gibii think that only works after we can reproduce the fauilure10:34
gibiand it needs a stable reproduction not a stohastic one10:35
bauzasgibi: I'll try to look at that10:35
bauzasfolks, as I also said downstream, I'll be off until 1630UTC10:35
bauzasgibi: so I loaded the subunit10:39
bauzasinto stestr10:39
bauzas(functional-py38) [sbauza@sbauza nova]$ stestr load < /tmp/zuul-logs.bNmdDA/testrepository.subunit10:39
bauzasI should now be able to run the failing test10:40
bauzasanyway, I need to disappear :(10:41
gokhanishello folks, after rebooting my compute host, I can't attach my cinder volumes to instances. Nova throws  "unable to lock /var/lib/nova/mnt/dgf/volume-xx for metadata change: No locks available" Full logs are in https://paste.openstack.org/show/beicZ71J17WeNwLjghKc/ What can be reason of this problem and how can I solve this issue ?10:55
sean-k-mooneygokhanis: what kind fo cinder backedn are you using 11:06
sean-k-mooneyis this nfs based?11:06
gokhanissean-k-mooney, yes I am using cinder nfs driver.  11:08
sean-k-mooneythis does not sound like it actuly a nova issue but rather and issue with how you have deployed it. ie. like you are hitting a ulimit or similar in the env11:08
sean-k-mooneygokhanis: ok is it nfs3 or nfs411:08
sean-k-mooneynfs3 has locking issues and we dont really support it anymore11:08
sean-k-mooneyideally you should use nfs 4.2 or newer11:09
sean-k-mooneygokhanis: i think your hitiing this https://bugzilla.redhat.com/show_bug.cgi?id=154709511:10
sean-k-mooneygokhanis: apprently you can "fix" it by using the nolock mount option for nfsv311:11
sean-k-mooneygokhanis: also relevent https://access.redhat.com/solutions/278038111:12
gokhanissean-k-mooney, I deployed my env with Openstack Ansible. I have create nfs share on zfs storage and I used it as cinder nfs backend. 11:12
sean-k-mooneygokhanis: form a downstream perspetive redhat discontinued support for nfsv3 in our porudct because of these locking issues11:12
sean-k-mooneygokhanis: yep so on the zfs culster you need to either ensure that the zfs pool is exported as nfsv4, nfsv3 with the nfsv4 lock manager or you have to ensure the nfs share is mounted with the nolock option on the compute hosts11:14
sean-k-mooneygokhanis: you can use https://docs.openstack.org/nova/latest/configuration/config.html#libvirt.nfs_mount_options to set teh nolock option i think11:15
sean-k-mooneybut if the fileserver supprot v4 then vers=4.2,lookupcache=pos11:15
sean-k-mooneywoudl be better then nolock11:15
sean-k-mooneygokhanis: some more details on nolock https://github.com/oVirt/vdsm/commit/8aad4ebad10bab15c46ff743c105b6c2cba68d4e11:17
gokhanisthanks sean-k-mooney I will check nfs side in my env and add options you have said. 11:17
opendevreviewmelanie witt proposed openstack/nova master: libvirt: Configure and teardown ephemeral encryption secrets  https://review.opendev.org/c/openstack/nova/+/82675412:39
opendevreviewmelanie witt proposed openstack/nova master: imagebackend: Add support to libvirt_info for LUKS based encryption  https://review.opendev.org/c/openstack/nova/+/82675512:39
opendevreviewmelanie witt proposed openstack/nova master: imagebackend: Cache the key manager when disk is encrypted  https://review.opendev.org/c/openstack/nova/+/82675612:39
opendevreviewmelanie witt proposed openstack/nova master: Support create with ephemeral encryption for qcow2  https://review.opendev.org/c/openstack/nova/+/87093212:39
opendevreviewmelanie witt proposed openstack/nova master: Support resize with ephemeral encryption  https://review.opendev.org/c/openstack/nova/+/87093312:39
opendevreviewmelanie witt proposed openstack/nova master: Add encryption support to convert_image  https://review.opendev.org/c/openstack/nova/+/87093412:39
opendevreviewmelanie witt proposed openstack/nova master: Add hw_ephemeral_encryption_secret_uuid image property  https://review.opendev.org/c/openstack/nova/+/87093512:39
opendevreviewmelanie witt proposed openstack/nova master: Add encryption support to qemu-img rebase  https://review.opendev.org/c/openstack/nova/+/87093612:39
opendevreviewmelanie witt proposed openstack/nova master: Support snapshot with ephemeral encryption  https://review.opendev.org/c/openstack/nova/+/87093712:39
opendevreviewmelanie witt proposed openstack/nova master: Add reset_encryption_fields() and save_all() to BlockDeviceMappingList  https://review.opendev.org/c/openstack/nova/+/87093812:39
opendevreviewmelanie witt proposed openstack/nova master: Update driver BDMs with ephemeral encryption image properties  https://review.opendev.org/c/openstack/nova/+/87093912:39
opendevreviewmelanie witt proposed openstack/nova master: libvirt: Introduce support for qcow2 with LUKS  https://review.opendev.org/c/openstack/nova/+/77227312:39
opendevreviewmelanie witt proposed openstack/nova master: DNM test ephemeral encryption + resize: qcow2, raw  https://review.opendev.org/c/openstack/nova/+/86241612:44
opendevreviewRajesh Tailor proposed openstack/nova master: Handle InstanceInvalidState exception  https://review.opendev.org/c/openstack/nova/+/86173812:45
opendevreviewKashyap Chamarthy proposed openstack/nova master: libvirt: At start-up allow skiping compareCPU() with a workaround  https://review.opendev.org/c/openstack/nova/+/87079412:57
kashyapgibi: --^ Fixed the test, please have a re-look if you get a chance today12:57
*** dasm|off is now known as dasm13:08
opendevreviewMerged openstack/nova master: Clean up after ImportModulePoisonFixture  https://review.opendev.org/c/openstack/nova/+/87099313:39
gibibauzas, dansmith: the dstat log in https://review.opendev.org/c/openstack/nova/+/870950 shows that without that one test case that loads the image data there is no other memory hogger test case. At the highest memory load there is still 800MB free RAM in the VM. 13:43
gibikashyap: +2, thanks13:51
sean-k-mooneyoh something merged thats a shock13:51
sean-k-mooneyits because test only change do not run the tempest jobs13:52
sean-k-mooneysimilar for docs onlychanges13:52
kashyapgibi: Thank you; (I fixed your other points too; sure you've seen it)13:53
kashyapgibi: Is the nit worth respinning?13:54
sean-k-mooneygibi: can you look at https://review.opendev.org/c/openstack/nova/+/86995013:54
kashyapsean-k-mooney: melwitt: or anyone else: I'm chaing a second +2/+W: please have a look at this workaround  - https://review.opendev.org/c/openstack/nova/+/87079413:54
sean-k-mooneyi have it open but i need to leave in 5 mins to drop back the tempory car i have and get back before my next meeting13:55
kashyapgibi: sean-k-mooney: On _top_ of this workaround I'll add in the "replace old API with new API" patch - https://review.opendev.org/c/openstack/nova/+/869950 -- libvirt: Replace usage of compareCPU() with compareHypervisorCPU()13:55
sean-k-mooneyso it might be when i get back13:55
kashyapSure.13:55
sean-k-mooneyyep i want to merge both although i also think we should simplfy it so we only do one check13:56
gibikashyap: that nit from me does not worth a respin13:56
sean-k-mooneye.g. only check with model+extra_flags 13:56
kashyapYep; ie. remove the workaround-code13:57
kashyapgibi: Nod; thx13:57
kashyap(Remove later, i.e. not now :))13:57
sean-k-mooneyanyway ill be back hopefully in an hour13:57
gibikashyap: so https://review.opendev.org/c/openstack/nova/+/869950 will be top of https://review.opendev.org/c/openstack/nova/+/870794 ?13:58
kashyapgibi: Right13:58
kashyapMakes sense to you?13:58
sean-k-mooneywell the workaround right now is disabling both check right13:58
gibikashyap: yeah that make sens13:58
sean-k-mooneyi have not looked at that patch in a few revisions13:58
kashyapsean-k-mooney: Yes, only if you enable the workaround, obv.13:58
kashyapsean-k-mooney: It's dead-simple - if workaround -> just skip the first _compare_cpu() call.13:59
kashyapsean-k-mooney: And thanks, I see you've also +2ed the API-replacement patch, but I need to rebase it on top of the workaroud patch13:59
sean-k-mooneyand we still do the second call in init wiht the flags14:00
sean-k-mooneyok am ill leave this for now and come back to it when i have time to review both again14:00
kashyapYeah, the second call correctly succeeds as it also takes into account the flags14:01
sean-k-mooneyyep so as long as that is alwasy there i was ok with removing the first call 14:02
sean-k-mooneyi was not ok with removeing both of them and that why i wanted the workaround14:02
sean-k-mooneyanyway got to go be back later14:02
opendevreviewSofia Enriquez proposed openstack/nova master: Implement is_luks_inside_qcow2 funtion  https://review.opendev.org/c/openstack/nova/+/85403014:05
opendevreviewKashyap Chamarthy proposed openstack/nova master: libvirt: Replace usage of compareCPU() with compareHypervisorCPU()  https://review.opendev.org/c/openstack/nova/+/86995014:22
kashyapgibi: --^ (No hurry) Done, rebased it on top of the workaround.14:23
gibikashyap: done :)14:33
kashyap(シ_ _)シ14:34
kashyap(It's a Japanese bow)14:34
gibiahh, I see :)14:47
dansmithgibi: nice15:00
dansmithgibi: I'm working on the real fix, but it's giving me a hard time.. lots of layers to cut through15:00
opendevreviewAlexey Stupnikov proposed openstack/nova stable/ussuri: fixtures: Handle binding of first port  https://review.opendev.org/c/openstack/nova/+/87104815:06
opendevreviewAlexey Stupnikov proposed openstack/nova stable/ussuri: Neutron fixture: don't clobber profile and vif_details if empty  https://review.opendev.org/c/openstack/nova/+/87104915:08
dansmith...aaand I got it working. sleep helps.15:08
dansmithnow to clean up the giant mess I've made15:08
gibidansmith: sounds good15:10
opendevreviewAlexey Stupnikov proposed openstack/nova stable/victoria: fixtures: Handle binding of first port  https://review.opendev.org/c/openstack/nova/+/79690515:28
opendevreviewAlexey Stupnikov proposed openstack/nova stable/victoria: Neutron fixture: don't clobber profile and vif_details if empty  https://review.opendev.org/c/openstack/nova/+/79690615:28
*** dasm is now known as Guest184615:29
*** Guest1846 is now known as dasm15:30
bauzasgibi: all good to know17:45
bauzashopefully https://review.opendev.org/c/openstack/tempest/+/870974 will be merged tonight17:45
opendevreviewSofia Enriquez proposed openstack/nova master: WIP: Implement encryption on backingStore  https://review.opendev.org/c/openstack/nova/+/87001220:50
opendevreviewSofia Enriquez proposed openstack/nova master: WIP: Implement encryption on backingStore  https://review.opendev.org/c/openstack/nova/+/87001221:11
*** dasm is now known as dasm|off23:13

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