Wednesday, 2024-03-06

opendevreviewOpenStack Proposal Bot proposed openstack/devstack master: Updated from generate-devstack-plugins-list  https://review.opendev.org/c/openstack/devstack/+/91139303:13
opendevreviewMerged openstack/tempest master: Add prefix to images created in *ImagesNegativeTest tests  https://review.opendev.org/c/openstack/tempest/+/90835803:46
opendevreviewMerged openstack/devstack-plugin-ceph master: Set CephFS/NFS job to non-voting  https://review.opendev.org/c/openstack/devstack-plugin-ceph/+/91115705:14
opendevreviewMerged openstack/devstack master: Updated from generate-devstack-plugins-list  https://review.opendev.org/c/openstack/devstack/+/91139306:10
abhishekk_frickler, gmann, fungi is there any way where I can say that grenade should always install 2023.2 as older version?12:18
fricklerabhishekk_: grenade from master branch should do just that, maybe you can start with explaining what issue you have with it?12:24
abhishekk_https://review.opendev.org/c/openstack/glance/+/901649/27/.zuul.yaml12:25
abhishekk_I have added this new job to test upfrade, where I noticed that setting few variables in job definition actually does not work12:26
abhishekk_the base here is 2023.2 and target is master (current release)12:26
abhishekk_So at least couple more cycles I want this new job to install base devstack with 2023.2 to use sqlite as cache driver (unless the old variable in job definition works)12:27
fricklerabhishekk_: iiuc you should use the zuul variable "grenade_from_branch" for that. but I'm also not sure how long this would actually keep working12:31
fricklersee https://opendev.org/openstack/grenade/raw/branch/master/roles/configure-grenade-branches/README.rst12:32
abhishekk_for 2 more cycles, till end of E release12:32
fricklerwell the other option would be to keep testing the upgrade from the default branch, but make the default db override work12:33
abhishekk_and how to handle that 12:34
abhishekk_anyway, the job is done, but I wanted to have this visible via grenade job, I will discuss this internally and check whether we really need this or not12:36
abhishekk_thank you for inputs!12:37
*** tosky_ is now known as tosky13:57
*** dansmith_ is now known as dansmith15:02
opendevreviewKatarina Strenkova proposed openstack/tempest master: Allow tempest cleanup delete resources based on prefix  https://review.opendev.org/c/openstack/tempest/+/87992315:48
opendevreviewKatarina Strenkova proposed openstack/tempest master: Implement purge list for tempest cleanup  https://review.opendev.org/c/openstack/tempest/+/89784715:48
*** clarkb1 is now known as clarkb16:55
fricklergmann: kopecmartin_: I'd say tempest eol cleanup is finally ready for reviews https://review.opendev.org/c/openstack/tempest/+/90997318:00
gmannfrickler: +2, thanks18:17
gmannabhishekk: for that you need to do the change in devstack stable/2023.2 configuration and that is what grenade will pickup the config from in installation. on upgrade grenade just update the code it does not install devstack on new 18:20
abhishekkgmann, ack, I have done something like this, https://review.opendev.org/c/openstack/glance/+/90164918:21
gmannabhishekk: centralized_db is the new default in this release right? 18:23
abhishekkyes18:23
gmannabhishekk: all config setting you via job variable or so it set on old release where devstack is installed. grenade just make sure new code work on those old release config18:35
gmannabhishekk: there is no direct way to change the config for new release via job variable18:36
abhishekkok, so here in my scenario I am installing 2023.2 as base (old) devstack, right?18:36
abhishekkSO it will have sqlite as default driver18:36
gmannyes with all default config of 2023.2 and what you override in job18:37
gmannyes18:37
abhishekkthen grenade will upgrade code to master 18:37
abhishekkwhere it will have centralized_db as default driver18:37
abhishekkand then it will run intended tests, correct?18:37
gmannyes for first but no for second. it will still have sqlite  as driver but run new code18:38
gmannthere is no config change happened when grenade update the code to new (bcz we do not run devstack again on new)18:38
gmannif we change config option it need restarting the service until config is mutable one18:39
abhishekkBut the logs shows otherwise18:39
gmannthat is what I am checking you can change the config before test are run on new via some script which can restart service aso18:39
gmannalso18:39
abhishekkI can see cache driver is changed to centralized_db18:40
gmannabhishekk: is it? link please18:40
abhishekkyes18:40
abhishekkwait18:41
abhishekkhttps://1fb7ccba51a9a88ebc4b-183a764968d603a8e1bec46158333aa8.ssl.cf5.rackcdn.com/901649/28/check/glance-grenade-centralized-cache/814b06d/controller/logs/screen-g-api.txt18:42
abhishekkhere at first you can see, Mar 06 15:19:22.851213 np0036976394 devstack@g-api.service[83003]: INFO glance.image_cache [None req-99809906-bffc-4689-8496-a079907f2cf8 None None] Image cache loaded driver 'sqlite'.18:43
abhishekkwait, something is missing18:44
gmannabhishekk: yes that is what old devstack set it but where it update to centralized_db18:44
abhishekkhttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_dd1/901649/28/check/glance-grenade-centralized-cache/dd1a6c1/controller/logs/screen-g-api.txt18:45
abhishekkhere18:45
abhishekkImage cache loaded driver 'sqlite'.18:46
abhishekkMar 06 13:32:17.675560 np0036975701 devstack@g-api.service[151811]: INFO glance.image_cache [None req-30001775-3847-4c9d-b43d-3eaf54fa34b0 None None] Image cache loaded driver 'centralized_db'.18:46
gmannah i see18:48
gmannabhishekk: I am checking in the glance change log https://zuul.opendev.org/t/openstack/build/814b06db438e450094e095c296b10c3d/logs18:50
abhishekkdon't check that one, that was failed18:50
abhishekkcheck the previous one18:50
abhishekkhttps://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_dd1/901649/28/check/glance-grenade-centralized-cache/dd1a6c1/controller/logs/screen-g-api.txt18:51
abhishekkthis one18:51
abhishekkhttps://zuul.opendev.org/t/openstack/build/dd1a6c118e0c4cb2811af3d888c4d6a618:51
gmannabhishekk: i figured out, this is not coming from grenade it is glance db_migration script you have in master -https://github.com/openstack/glance/blob/master/glance/sqlite_migration.py18:58
gmannhttps://zuul.opendev.org/t/openstack/build/dd1a6c118e0c4cb2811af3d888c4d6a6/log/controller/logs/screen-g-api.txt#222418:58
abhishekkI don't understand18:59
gmannbecause grenade only run db migration script18:59
abhishekkhttps://zuul.opendev.org/t/openstack/build/dd1a6c118e0c4cb2811af3d888c4d6a6/log/controller/logs/screen-g-api.txt#222919:00
gmannso what you want to test 'do not change the driver and new code should run on sqlite' or 'upgrade driver from sqlite to centralized_db when grenade upgrade and run test' ?19:01
abhishekkupgrade from sqlite to centralized_db and run test19:01
gmannk so that is what happening in your current job right19:02
abhishekkyes19:03
abhishekkthat is what I am saying it is changing from sqlite to centralized_db19:03
abhishekkbut probably wrong in explaining it in terms of grenade 19:03
abhishekkbecause the migration will only work if this condition passes, https://github.com/openstack/glance/blob/master/glance/sqlite_migration.py#L3819:04
gmannyeah, just saw that. so question here is who is changing this image_cache config option before glance service is restarted on new19:06
gmannabhishekk: ah, you are setting it via devstack master. which is kind of same thing 1. override the config before glance service is restarted in new (upgrade.py) https://opendev.org/openstack/devstack/src/branch/master/lib/glance#L7819:10
abhishekk:)19:10
abhishekkwhere is this upgrade.py, needs to understand that19:11
abhishekkSo nothing voodoo, all logical :D19:11
gmannin grenade unless you are not appending in glance which is not there so this one only gets run https://github.com/openstack/grenade/blob/f1980a682ba072d694efa59a62cf68cef7ecb5ce/projects/40_glance/upgrade.sh19:12
abhishekkack, I have abandoned that change19:34
abhishekkhttps://review.opendev.org/c/openstack/grenade/+/901678?usp=search19:34
*** kopecmartin_ is now known as kopecmartin22:50

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