Monday, 2023-06-26

*** gthiemon1e is now known as gthiemonge06:07
sean-k-mooneyo/ Quick question. im removign the AZ filter from nova. im currently working on a devstack patch to stop it trying to use it (apparently i forgot to do that a few releases ago when it was nolonger enabled by default in nova) 09:54
sean-k-mooneyto make grenade work we have 3 options09:55
sean-k-mooneybackport the default change09:55
sean-k-mooneyupdate the grenade job to override the filters09:55
sean-k-mooneyor modify grenade itself09:55
sean-k-mooneyi would prefer  to just backport the devstack change to zed but the other approches will also work any prefernce?09:56
opendevreviewsean mooney proposed openstack/devstack master: The AZ filter is deprecated and planned for removal this cycle  https://review.opendev.org/c/openstack/devstack/+/88697210:00
opendevreviewDr. Jens Harbott proposed openstack/devstack master: Remove unused file  https://review.opendev.org/c/openstack/devstack/+/88697510:24
opendevreviewArtem Goncharov proposed openstack/devstack master: [WIP] Enable keystone token caching by OSC  https://review.opendev.org/c/openstack/devstack/+/88633911:50
auniyalhello,12:50
auniyalI am trying to setup devstack with os-vif12:50
auniyalthis is the config which I am using - https://3a986fcbf1c7c0832f8d-9104b4cd302cb33eeeae5005d497f5db.ssl.cf2.rackcdn.com/886778/1/check/os-vif-ovs/9885325/controller/logs/local_conf.txt12:50
auniyalI updated the HOST_IP only.12:50
auniyalwith this I have to clone the openstack services manually.12:50
auniyalstill failing with ./stack.sh failed with this logs: https://paste.opendev.org/show/bXTwP218f4DfQVumCTDb/12:50
auniyalso its failing on is_service_enabled q-agt neutron-agent, how can I disable q-agt, I could not find it from list-units12:52
auniyalgibi, sean-k-mooney ^^13:38
sean-k-mooney you are using the ci cofnig as a base13:39
sean-k-mooneynormally you would not do that13:39
sean-k-mooneyyou would jsut add LIBS_FROM_GIT=os-vif13:40
sean-k-mooneyand 2 other parmaters to your normla lcoal.conf for the repo and branch13:40
sean-k-mooneyOS_VIF_REPO and OS_VIF_BRANCH13:40
sean-k-mooneyOS_VIF_REPO=https://review.opendev.org/openstack/os-vif 13:41
sean-k-mooneyOS_VIF_BRANCH=refs/changes/78/886778/313:42
sean-k-mooneyyou can get hte branch form the download patch optioni n the gerrit ui13:43
sean-k-mooneyso the pull example is  "git pull https://review.opendev.org/openstack/os-vif refs/changes/78/886778/3" for https://review.opendev.org/c/openstack/os-vif/+/88677813:43
sean-k-mooneythe qagent is disbale dby default in devstack 13:44
sean-k-mooneyon master in older banches its enabled by default13:44
sean-k-mooneyif you want to use ml2 ovs then you need to actully cofnigure the QAGENT devstack macro13:46
sean-k-mooneyQ_AGENT=openvswitch13:47
sean-k-mooneywith that said you dont need to use ml2/ovs to test htis backprot ovn is fine so i would just test with devstack defaults and only set the minium config you need13:47
sean-k-mooneyLIBS_FROM_GIT=os-vif OS_VIF_REPO=https://review.opendev.org/openstack/os-vif and OS_VIF_BRANCH=refs/changes/78/886778/313:48
auniyalI wanted to have a new devstack system where I can test os-vif changes13:50
auniyalso in existing one which I using I can just replace 13:50
auniyal"LIBS_FROM_GIT=cinder,devstack,devstack-gate,glance,keystone,neutron,nova,os-vif,placement,requirements,swift,tempest"13:50
auniyalwith 13:50
auniyalLIBS_FROM_GIT=os-vif13:50
auniyaland will add below in default one [[local|localrc]]13:50
auniyalOS_VIF_REPO=https://review.opendev.org/openstack/os-vif 13:50
auniyal=========== OR ====================13:50
auniyal[[local|localrc]]13:50
auniyalADMIN_PASSWORD=secret13:50
auniyalDATABASE_PASSWORD=$ADMIN_PASSWORD13:50
auniyalRABBIT_PASSWORD=$ADMIN_PASSWORD13:50
auniyalSERVICE_PASSWORD=$ADMIN_PASSWORD13:50
auniyalLIBS_FROM_GIT=os-vif13:50
auniyalOS_VIF_REPO=https://review.opendev.org/openstack/os-vif 13:50
auniyalQ_AGENT=openvswitch13:50
auniyalonce setup I can download change "886778" and then test it13:51
auniyals/setup/setup is done13:51
auniyalsean-k-mooney, once devsstack setup is done, is there a way I can find out os-vif is in place (to confirm, I got what I wanted)13:56
sean-k-mooneyif its in libs_from_git it will be cloned to /opt/stack/os-vif by default13:58
sean-k-mooneyif its not it will be pip installed form pypi13:58
auniyalack, so as I am going with LIBS_FROM_GIT=os-vif, there should be a repo os-vif in home dir and I should not see these package on pip freeze - https://github.com/openstack/os-vif/blob/master/requirements.txt 14:02
auniyalthanks sean-k-mooney14:05
opendevreviewmelanie witt proposed openstack/tempest master: Disable immediate discard of unused blocks in make_fs  https://review.opendev.org/c/openstack/tempest/+/88699116:45
gmannsean-k-mooney: RE on AZ filter. yes we can go with backport the default change in devstack as it was deprecated. grenade on stable/2023.1 will keep testing it and from master onwards not17:52
gmanndansmith: whoami-rajat: do you know about this test_rebuild_volume_backed_server failure on ceph job, it seems consistent https://b932a1446345e101b3ef-4740624f0848c8c3257f704064a4516f.ssl.cf5.rackcdn.com/883557/2/check/nova-ceph-multistore/d7db64f/testr_results.html17:59
dansmithpassword isn't getting changed in the rebuild maybe/18:00
sean-k-mooneythat would only happen if you had the qemu guest agent and i dont think thats in the cirros image18:01
sean-k-mooneyunless your trying to use the file injection way of doing that which has been deprecated for years18:01
gmannit rebuild on cirros 0.6.1, 0.6.2. I do not think it use file injection18:02
sean-k-mooneyso it should be logging in via ssh key or the default cirros password18:04
gmannthis is new test merged on Thursday and I doubt it ever passed on ceph job 18:05
gmannyeah18:05
gmannwith key18:05
sean-k-mooneyi would not expect " User: cirros, Password: rebuildPassw0rd"18:05
sean-k-mooneyto work in general. setting the instance password is genrelaly nto somethign you can assume will work form an interop persective18:06
sean-k-mooneyit depend on the host config, the guest image and the vritdriver to work. so it sound liek this is either a bug in the test or a bug in the job config18:07
sean-k-mooneydepending on where rebuildPassw0rd is comming form18:08
dansmithwell, in that case, it is probably not actually rebuilding the instance or something18:08
gmannthat is adminPass passed during rebuild request18:08
dansmithinject_partition = -218:08
sean-k-mooneyyep and without file injection that is not soemthing you cna rely on being set18:09
dansmithinject_password is unset, so defaults to false18:09
sean-k-mooneyit need the qemu guest agent or a user-data script if file inject is not on to set it18:09
sean-k-mooneyyep18:09
dansmithokay there used to be a way to do password via metadata18:10
sean-k-mooneyand cirror does nto have the guest agent and glen (wont set this automaticlly)18:10
sean-k-mooneythere still is18:10
dansmithI remember because vish had to break the password hash into multiple key=value fields18:10
sean-k-mooneycloudbase-init supprots it on windows18:10
sean-k-mooneyi dont think cloud-init or glean do it by defualt18:11
gmannyeah no inject password set. let me modify test to ssh via key. 18:11
gmanni do not think we need to test the password injection and ssh via that in this test. if I am not wrong whoami-rajat ?18:11
sean-k-mooneywell it should be in multiple tests since its testing multipe fucntionality if we were to test it right?18:12
sean-k-mooneybut that not really the main point of the test18:12
dansmithgmann: we definitely need ssh for that test18:17
gmanndansmith: I mean ssh via key we can do instead of password right?18:18
dansmithgmann: and I thought that the password change was part of the test, but it's been like a year, so maybe I'm misremembering18:18
gmannohk18:18
dansmithgmann: we should ask whoami-rajat or I can go look at the review comments.. I remember specifically calling that out, but I don't remember which way it was18:18
gmannthat was my question if password change was testing part18:18
gmannohk18:18
gmannand it fail on ceph job only and everywhere it pass18:19
dansmithright which is why it seems like it might be not properly rebuilding the image and thus not using the new password18:20
dansmithbecause otherwise the key would still work, I'd think18:20
gmannyeah, let me skip the test for now to unblock gate and we can wait for whoami-rajat in his morning18:21
dansmithis inject_password enabled on the jobs that pass?18:21
dansmithmaybe that's the actual difference?18:22
gmannlet me check18:22
gmannno, it is disabled there too. tempest-full-py3 job for example18:24
dansmithokay18:24
gmannhttps://zuul.opendev.org/t/openstack/build/eef23a7922404bc1931cd098ffa5d982/log/controller/logs/etc/nova/nova_conf.txt18:24
opendevreviewGhanshyam proposed openstack/devstack-plugin-ceph master: Skip test_rebuild_volume_backed_server test for ceph job  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/88700318:35
opendevreviewGhanshyam proposed openstack/devstack-plugin-ceph master: Skip test_rebuild_volume_backed_server test for ceph job  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/88700320:28
opendevreviewGhanshyam proposed openstack/devstack-plugin-ceph master: Skip test_rebuild_volume_backed_server test for ceph job  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/88700322:43
gmanndansmith: gouthamr ^^ can you check this test skip to unblock ceph job22:44
gouthamrack gmann 22:46
dansmithgot it23:06

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