Thursday, 2023-09-21

jrossernoonedeadpunk: i am super confused about this loop error https://paste.opendev.org/show/bLIL6EZRZYxoBb7p6qdo/08:42
jrosseri'm not sure how this has ever worked properly for adding keystone roles08:52
jrosserhttps://paste.opendev.org/show/b2BGsEPIsnN1WVe44Cy9/08:52
fricklerjrosser: https://github.com/ansible/ansible/issues/78759 suggests using thing["foo"] instead of thing.foo for the inner loop09:06
frickleror maybe that's a special thing only with .values09:07
fricklerbut I think you wat "when: thing.foo is string" in your "STRING" block09:08
jrossertrouble is that it seems to try to evaluate the loop: even though the task conditionals say it should be skipped09:08
frickler*want even09:08
jrosserah yes that is wrong in the STRING block09:08
jrossermy confusion is why specifically now do i see CI failures like this, rather than at any time in the past]09:10
fricklerjrosser: do you have a link handy to a build where this is happening?09:11
jrosserthis is a paste of the relevant log https://paste.opendev.org/show/bLIL6EZRZYxoBb7p6qdo/09:12
jrosserthe first iteration works where role: is a list09:12
jrosserthen the subsequent ones where it is a string it fails09:13
jrosserthis last change in the code was a long time ago https://opendev.org/openstack/openstack-ansible-plugins/commit/15e596cb8eda024c4079191634edbc26d44f324909:14
jrosseri think this is the build i noticed it on https://zuul.opendev.org/t/openstack/build/aa070b2621a44957a884d94dad06e5b609:15
jrosserbut then it's also breaking * in here too the same way https://review.opendev.org/c/openstack/openstack-ansible-os_ceilometer/+/895696?tab=change-view-tab-header-zuul-results-summary09:15
benyHi all09:21
benyI can't find informations so I come here to look for it...09:21
benyMy client is considering moving from a production openstack from OSAnsible to Kolla. Do you know if the database schema is identical if we stay in the same version of openstack (v train in this case)?09:21
benyWe reinstall the OS (ubuntu), we'll deploy kolla in train version, then once operational, a large restore of a database dump from OSA in the gallery.09:21
benyDo you think this is possible or do we have to use a tool like https://github.com/os-migrate/os-migrate?09:21
benyWe can stop the service, downtime of 2 days possible, so no need to do this hot.09:21
benyThank you for your feedback09:21
fricklerjrosser: I have no idea what changed, but using the "wantlist=True" mentioned in the hint does sound reasonable to me09:32
jrosserfrickler: i'm not sure where to put that09:33
fricklerbeny: neither osa nor kolla do any changes to the database schemes. but train is also very old, so you'll likely be on your own if you run into any issue09:33
fricklerjrosser: oh, that's a parameter for lookup only. hmm, gotta run your test locally09:35
jrosserfrickler: so this works, by trickery to avoid needing the task conditional https://paste.opendev.org/show/b9ViLen2dAgPMkp4Kv12/09:36
jrosseroh maybe not.....09:37
benyfrickler: Thanks, i know the rules, out of support, i fixed issues without commit them/PR because EOL...09:38
jrosserhuh interesting, ultimately the whole thing can be totally simplified https://paste.opendev.org/show/btx20Su8sbHrRRzohCju/09:43
fricklerjrosser: that similar to just doing loop: "{{ things | flatten(1) }}" on the outside I guess. but it doesn't explain why it worked earlier. I get the same error with some old ansible 2.10 for your test09:48
admin1beny, best to install both dbs in a single controller in lab and test it out 10:05
admin1maybe do a db dump without data of both and then diff them 10:05
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Simplfy addition of keystone users to roles  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/89601710:20
opendevreviewJonathan Rosser proposed openstack/openstack-ansible master: WIP - test Vexxhost CAPI driver for magnum  https://review.opendev.org/c/openstack/openstack-ansible/+/89324010:21
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Simplfy addition of keystone users to roles  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/89601711:24
deflatederHi all, managed to get a few hours of prep work on this (the joys of waiting for other teams) so from the docs i think i have this right and almost ready for a test run, could someone look over my settings? https://paste.opendev.org/show/b7p5z8FvoPyp2XrpQF78/ Would really like to get this right the first time. Cheers people12:55
admin1deflateder, i have not seen a netplan config like this .. i also run ovs/ovn   .. but interesting :) 13:04
opendevreviewJonathan Rosser proposed openstack/openstack-ansible-plugins master: Simplfy addition of keystone users to roles  https://review.opendev.org/c/openstack/openstack-ansible-plugins/+/89601713:05
admin1is ceph using cephadm ? 13:06
admin1you don't need ceph_mons  block 13:07
admin1when gnocchi is via ceph, i have gnocchi_ceph_username  and gnocchi_ceph_pool and i try to use gnocchi_incoming_driver to redis   to prevent the osd being written to death 13:08
jrosserdeflateder: i would make your openstack_user_config as minimal as you can13:14
jrosserit looks like there is a lot in there which you are not actually using13:14
jrosserdeflateder: `when this goes to production it'll be about 20 servers so at least one can be used for ironic.` <- you know that ironic is about deploying baremetal hosts, so you need a pool of hardware to dedicate to that13:18
deflatederits not netplan its plain old network/interfaces13:22
deflatederceph is using cephadm yes13:23
deflatederi will be looking at setting up redis but from what i can see that is a step for after initial deployment13:23
deflatederand i meant as the node that runs it, from my understanding it cant be the same as compute so need at least one system dedicated to it13:24
jrosserthe ironic service runs on the control plane13:25
jrosserbut the point of it is to PXEboot and provision other hardware13:25
deflatederthat was the plan for when we expand, ironic seems to make expansion easier in the future13:25
deflatederi've sidelined it for now anyway i just forgot to remove it from my paste13:26
deflatederso forgetting ironic, any obvious mistakes? networking seems to be making me question myself more than anything here as i'm still not sure i fully understand it but i am still going through and reading the docs over and over again13:29
admin1 well, we can't comment on the specific tags etc.. but go ahead and set it up .. if the controllers and bridges can talk to each other and with 9000 mtu, should be good 13:41
admin1if they can't , setup-infra step will show some issues somwhere, or even before13:42
deflatederthanks, i won't get to try the proper deployment until i'm back off holidays but i'll keep reading the docs in the mean time and then try and enjoy my holiday13:50
deflatederi'll likely be back if i run into problems, thanks again, bye for now13:51
opendevreviewMerged openstack/openstack-ansible master: Bump ansible collection versions  https://review.opendev.org/c/openstack/openstack-ansible/+/89237314:13
-opendevstatus- NOTICE: The lists.openinfra.dev and lists.starlingx.io sites will be offline briefly for migration to a new server15:30
opendevreviewMerged openstack/openstack-ansible-galera_server master: Added vars to override systemd for mariabackup  https://review.opendev.org/c/openstack/openstack-ansible-galera_server/+/89453019:12
admin1trying to add gnocchi .. fatal: [r1c1_gnocchi_container-7b774098 -> r1c1_repo_container-31ce4d5e(172.29.239.63)]: FAILED! => {"changed": false, "msg": "file not found: /var/www/repo/os-releases/26.1.0/ubuntu-22.04-x86_64/requirements/gnocchi-26.1.0-constraints.txt"} -- i need to somehow rebuild the repo  ? 19:20
admin1gnocchi only has: gnocchi-26.1.0-global-constraints.txt  gnocchi-26.1.0-requirements.txt  gnocchi-26.1.0-source-constraints.txt  but not gnocchi-26.1.0-constraints.txt 19:42
admin1i copied the file  from an identical other  cluster19:54
admin1redis still needs a manual install using pip inside the venv 20:04
jrosserdidnt we give you a hook to do that?20:04
admin1i think that was a few releases ago .. this one is a new install .. i am sure i did the config correctly 20:05
admin1let me share20:05
admin1https://gist.githubusercontent.com/a1git/639e6bb0495769fe4a154bc4ed79bb24/raw/ebcaa7be623f6851e7438bc89a74e27aae2b3fe4/gistfile1.txt20:07
admin1oh wait .. it was somewhere else  .. 20:07
jrosserso you've not actually manually installed it?20:09
admin1:D 20:09
admin1i went inside each venv and did pip install redis 20:09
admin1on all 3 gnochhi venvs 20:10
admin1i mean on all 3x controllers 20:10
admin1i am syncing the irc logs .. i will grep redis and figure it out in which file it was20:10
jrosseri think it would be good to figure out if this is wrong https://opendev.org/openstack/openstack-ansible-os_gnocchi/src/branch/master/vars/main.yml#L42-L5220:12
jrosserspecifically this https://opendev.org/openstack/openstack-ansible-os_gnocchi/src/branch/master/vars/main.yml#L5020:13
jrosserbut i think you are one of very few people using this20:13
admin1or large clouds ( public), i have seen the osds getting hammered by every second metrics .. so gnocchi_incoming_driver: redis solves that part 20:15
admin1 set extra_package = gnocchi_storage_driver  -- shouldn't it be   set extra_package = gnocchi_incoming_driver ? 20:17
admin1my use case is gnocchi_storage_driver: ceph        gnocchi_incoming_driver: redis 20:22
admin1explained here  -> https://docs.openstack.org/openstack-ansible/latest/user/prod/gnocchi_redis.html 20:49

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