Thursday, 2022-03-31

opendevreviewmelanie witt proposed openstack/nova-specs master: Make 'tox -e fast-specs' fail on sphinx warnings  https://review.opendev.org/c/openstack/nova-specs/+/83593004:53
*** kashyap` is now known as kashyap07:47
kashyapstephenfin: Thanks for the review here! - https://review.opendev.org/c/openstack/nova/+/762330/.  Will address07:49
noonedeadpunksean-k-mooney: well... if openstackclient tended to use highest version available instead of lowest version supported...08:05
amoralejhi kashyap, we need to discuss wrt https://review.rdoproject.org/r/c/openstack/nova-distgit/+/38029 it doesn't work with aarch64 as it seems there is no virtio-vga for it?08:56
kashyapamoralej: Hi08:57
* kashyap clicks08:57
amoralejkashyap, see https://gitlab.com/redhat/centos-stream/rpms/qemu-kvm/-/blob/c9s/qemu-kvm.spec#L58208:58
kashyapamoralej: Hmm, I don't top off my head, lemme check w/ AArch64 folks. 08:59
* kashyap clicks the QEMU spec too08:59
amoralejit seems it's only for x86_64 and power6408:59
kashyapamoralej: Isn't that line you linked to for 'power64'?08:59
kashyapHmm, yea; did you run into failures on AArch64 hosts?09:00
kashyapamoralej: Maybe we can wrap the "Requires(pre):" in Nova under "%ifarch x86_64 %{power64}"09:01
amoralejyes, but nova is noarch09:02
amoralejand iirc %ifarch is only applied at build time, not at install time09:02
amoralejbut i need to check09:03
kashyapamoralej: I have joined #rdo on Libera net, if you want to sort it out there.  :)09:08
amoralejkashyap, better #rdo in oftc, please :)09:09
kashyapAh, I didn't know it's on OFTC, joining09:09
andry_gHi all, we had inserted some vms into an host group for anti-affinity rules after creation, the vms were been created some months ago, we know that it's not possible by a doc but we tried to insert 2 records into db nova_api table instance_group_member. It's works fine but we have a problem if we try to do a resize of vm, we have this error:  2022-03-31 11:12:23.455 45106 ERROR oslo_messaging.rpc.server [req-be200e2d-af30-4f16-8571-f3a04533dbd6 509:35
andry_gException during message handling: AttributeError: 'NoneType' object has no attribute 'hosts'  Seems that something is missing in db. Could you give us any suggestion please?   09:35
sean-k-mooneyyou proably missed somethign in the requestspec in the api db09:38
sean-k-mooneywithout knowing what line/file that was raised form (preferable the full traceback) i really cant say what is missing09:40
andry_ghttps://paste.openstack.org/show/bmnRZsPkgpPjdIhwWUss/09:43
sean-k-mooneyya so its the group_info.host that is not populated when its trying to poulate teh request spec for schduling 09:44
sean-k-mooneyrequest_spec.instance_group.hosts = list(group_info.hosts)09:44
andry_gthe record that has bee insert is  insert into instance_group_member(created_at,updated_at,id,instance_uuid,group_id) values('2022-03-31 08:53:19',NULL,'138','13052619-612f-4eea-b34d-59d3d473329f','67');09:44
andry_gwe try to fix  it, I''ll let you know. Thank you09:48
sean-k-mooneythis is the code where its failing https://github.com/openstack/nova/blob/master/nova/scheduler/utils.py#L1168-L120809:49
sean-k-mooneyL1206 specifcally09:49
sean-k-mooneydid you update the request spec to set request_spec.instance_group09:50
sean-k-mooneyon the instance in addtion to insterting it into that db09:50
andry_gThank you Sean, it's working fine!10:04
sean-k-mooneycool10:04
andry_gsean-k-mooney: there is another method on new release to do it without modify db?10:10
sean-k-mooneyno there was a feature request to add support about a year ago but it was not implemented10:10
sean-k-mooneyhttps://review.opendev.org/c/openstack/nova-specs/+/78235310:13
sean-k-mooneyandry_g:^ that was the most recent proposal but it did not have agreement yet on how to allow it 10:14
sean-k-mooneyno one is currenlty working on it as far as i am aware10:14
sean-k-mooneyandry_g: just lookign that the comments it seams like we were convergin on extneing the move oeprations so resize, shelve, cold migrate and live migrate to allow you to migrate into a group10:20
*** bhagyashris_ is now known as bhagyashris11:09
*** amoralej is now known as amoralej|lunch11:54
viks__sean-k-mooney:  i have tried to find the "upcall" in nova logs for investigating the anti-affinity, but did not find any even after enabling debug log.. not sure what i'm doing wrongly12:59
sean-k-mooneyso if the polciy is violated we shoudl raise thei exception https://opendev.org/openstack/nova/src/branch/master/nova/compute/manager.py#L1782-L178613:04
sean-k-mooneyor this one if its affinity https://opendev.org/openstack/nova/src/branch/master/nova/compute/manager.py#L1796-L179913:04
sean-k-mooneyyou should atlest see that in the conductor log but i think you shoudl see that in the compute log too13:05
*** amoralej|lunch is now known as amoralej13:06
sean-k-mooneyit should be caut and logged here i think https://opendev.org/openstack/nova/src/branch/master/nova/compute/manager.py#L2318-L232313:06
sean-k-mooneywell actully here https://opendev.org/openstack/nova/src/branch/master/nova/compute/manager.py#L233313:07
opendevreviewErlon R. Cruz proposed openstack/nova stable/yoga: Fix pre_live_migration rollback  https://review.opendev.org/c/openstack/nova/+/83601413:09
opendevreviewErlon R. Cruz proposed openstack/nova stable/xena: Fix pre_live_migration rollback  https://review.opendev.org/c/openstack/nova/+/83601513:10
opendevreviewErlon R. Cruz proposed openstack/nova stable/wallaby: Fix pre_live_migration rollback  https://review.opendev.org/c/openstack/nova/+/83601613:10
opendevreviewErlon R. Cruz proposed openstack/nova stable/victoria: Fix pre_live_migration rollback  https://review.opendev.org/c/openstack/nova/+/83601713:10
opendevreviewErlon R. Cruz proposed openstack/nova stable/ussuri: Fix pre_live_migration rollback  https://review.opendev.org/c/openstack/nova/+/83601813:10
viks__sean-k-mooney:  to get myself clarified, if i create 2 instance i.e. create 1st instance with soft-anti-affinity and then after that got created if i create one more with the same, it should go to the same node or different...? i'm not sure if this method is the proper way of testing the upcall..13:14
viks__also i'm using openstack-train .. is the upcall supposed to work in this release?13:14
sean-k-mooneyam i think the upcall might just be for hard affinity looking at it13:18
sean-k-mooneywell hard affinity and anti affinity13:18
sean-k-mooneysoft-anti-affinity is just a best effort schduler weigher13:18
opendevreviewKashyap Chamarthy proposed openstack/nova master: Libvirt: Use improved guest CPU config APIs  https://review.opendev.org/c/openstack/nova/+/76233013:19
kashyapstephenfin: --^ I've adressed most of your smaller comments (see my short log at the bottom).  Also ... I can really make use of your laser-eyes here.  I want to get this to completion for real13:21
kashyapToday I need to be away a couple of hours early; so I won't be able to respond much today.  But tomm onwards, yes13:21
viks__`anti-affinity` it goes in to two separate nodes if i try like above... i.e. it is working as expected...  but i could not see any `upcall` string in any of the logs with this as well13:21
sean-k-mooneyit wont nessalry have up call in it13:23
viks__oh ok13:24
sean-k-mooneylooking at the implemeation it does not really log much13:24
viks__ok13:24
sean-k-mooneythere is some logging in the faliure path13:24
sean-k-mooneyfor the reschdule13:24
sean-k-mooneythere is no log line when it works https://opendev.org/openstack/nova/src/branch/master/nova/compute/manager.py#L1706-L180113:26
sean-k-mooneyi.e. the policy is not violated13:26
sean-k-mooneybut this code also only checks 'anti-affinity' == group.policy and 'affinity' == group.policy13:26
sean-k-mooneyit does nothing for soft-anti-affinity or soft-affinity13:27
viks__ok... thanks a lot13:39
*** dasm|off is now known as dasm14:00
*** dasm is now known as dasm|ruck16:38
*** amoralej is now known as amoralej|off17:15
opendevreviewGorka Eguileor proposed openstack/nova master: Fix extending non LUKSv1 encrypted volumes  https://review.opendev.org/c/openstack/nova/+/83606418:00
opendevreviewmelanie witt proposed openstack/nova-specs master: Re-propose spec for ephemeral storage encryption  https://review.opendev.org/c/openstack/nova-specs/+/83587718:08
opendevreviewmelanie witt proposed openstack/nova-specs master: Re-propose spec for ephemeral storage encryption  https://review.opendev.org/c/openstack/nova-specs/+/83587718:09
opendevreviewmelanie witt proposed openstack/nova-specs master: Re-propose spec for ephemeral encryption for libvirt  https://review.opendev.org/c/openstack/nova-specs/+/83607519:06
opendevreviewMerged openstack/nova stable/xena: [stable-only] Set nova-tox-functional-centos8-py36 non-voting  https://review.opendev.org/c/openstack/nova/+/83485420:57
opendevreviewAlexey Stupnikov proposed openstack/nova stable/xena: Test aborting queued live migration  https://review.opendev.org/c/openstack/nova/+/83585321:42
opendevreviewAlexey Stupnikov proposed openstack/nova stable/xena: Add functional tests to reproduce bug #1960412  https://review.opendev.org/c/openstack/nova/+/83585421:43
opendevreviewAlexey Stupnikov proposed openstack/nova stable/xena: Clean up when queued live migration aborted  https://review.opendev.org/c/openstack/nova/+/83585521:43
*** dasm|ruck is now known as dasm|off22:59
opendevreviewJulia Kreger proposed openstack/nova master: Ironic - Handle instance/node host on rebalance  https://review.opendev.org/c/openstack/nova/+/81389723:44
opendevreviewJulia Kreger proposed openstack/nova master: Ironic - Don't query the API for instance counts  https://review.opendev.org/c/openstack/nova/+/82961323:45

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