Sunday, 2026-02-22

Moha_I have installed kolla-ansible version 18.6.0 (to match to the production which has ben deployed 1 year ago). I have save images from production env and loaded to docker per nodes. For example I have quay.io/openstack.kolla/cron:18.6.0 on all nodes. The pull step FAILED, saying cant find this version. I checked from the browser: https://quay.io/repository/openstack.kolla/cron?tab=tags and, yes, there's no tag 18.6.0 there? 00:33
Moha_Why?!00:33
Moha_(in my gloabals.yml, openstack version has set to 18.6.0 to be compatible with our production env)00:34
Moha_Part of the Error:00:37
Moha_https://www.irccloud.com/pastebin/pdg74RwL00:37
Moha_Loaded images to gnocchi server (as an example):00:38
Moha_https://www.irccloud.com/pastebin/XQ2SejO600:39
Moha_Are 18.6.0 removed from quay?00:40
Moha_How can I say the kolla not to pull from the registry stuff while they exist on the nodes, any settings for globals.yml?00:42
mnasiadkaMoha_: no, they were never there - we have different tag naming in quay.io and you should not use these container images in production - you should build your own07:02
Moha_But on our production env, I see images are tagged with 18.6.0?! And also `openstack_release: "18.6.0"` in our production globals.yml07:10
Moha_Then how it's been deployed with 18.6.0 (which is a minor update inside 2024.1)?! 🤔07:12
Moha_mnasiadka: By 'build your own', you mean setting `kolla_install_type: "source"` in globals.yml file?07:15
mnasiadkaMoha_: no, by build your own I mean using kolla-build to build them and push into a registry - https://docs.openstack.org/kolla/latest/admin/image-building.html07:18
mnasiadkaIn your production env either the quay.io images have been retagged to 18.6.0 (I doubt it) or built with kolla-build and pushed into some registry07:19
Moha_Ah I see. Thanks for the point.07:50
opendevreviewTaavi Ansper proposed openstack/kolla-ansible master: Fix keystone with IDP configured.  https://review.opendev.org/c/openstack/kolla-ansible/+/97590108:14
opendevreviewTaavi Ansper proposed openstack/kolla-ansible master: Fix keystone with IDP configured.  https://review.opendev.org/c/openstack/kolla-ansible/+/97590109:00
*** jhorstmann is now known as Guest343210:09
tafkamaxugh I hate from_json10:37
tafkamaxIt requires the data it loads in to be "proper" json10:37
tafkamaxthe attribute_mapping example for federation mappings is a list of dicts10:37
tafkamaxBut for json that is a no-no10:37
tafkamaxit needs to start as an object not as an list10:37
tafkamaxhmm or maybe not... maybe there is another issue at hand...10:40
tafkamaxrunning a normal "debug" operation loads in10:44
tafkamaxbut kolla-toolbox fails10:44
tafkamaxmaybe this is an issue "whre is the file located" ?10:45
tafkamaxwill try to wrap kolla-toolbox over the debug command10:45
tafkamaxReally :S issue11:27
tafkamax"msg": "dictionary requested, could not parse JSON or key=value"}11:27
tafkamaxWhen trying to load in a file -> to ansible vars and then insert it here as rules: https://docs.ansible.com/projects/ansible/latest/collections/openstack/cloud/federation_mapping_module.html11:28
Moha_Instead of `kolla-ansible deploy`, how to split deployment in a right ordeer? I mean:11:30
Moha_first: `--limit controller-1,controller-2,controller-3`, second: `--limit compute-1,compute-2,compute-3`, third: etc11:31
Moha_1️⃣ Deploy Controllers Only > 2️⃣ Deploy Compute Nodes Only > 3️⃣ Deploy Observability / Prometheus / Ceilometer Only > etc?11:32
Moha_or deploying service by service: mariadb,keystone > glance > nova > prometheus > ceilometer, using --tags11:34
Moha_Splitting 'deploy' helps to handle errors better. Most of the time, after resolving a fatal issue,  I'm not sure how to re-run the script, from the scratch by `kolla-ansible depeloy` or limiting it to some nodes. How do you encounter with this situation?11:36
tafkamaxI guess it depends on the service11:46
tafkamaxFirst you want your core services to be on only11:47
tafkamaxe.g. mariadb, lb, rmq11:47
tafkamaxs/only/online*/11:47
tafkamaxs/on only/online\*/11:47
tafkamaxSupeerr weird issue, can not get the openstack.cloud to work properly with the rules. :(12:37
tafkamaxfeels bad, battling stupid ansible issues12:37
tafkamaxWill try to use the old command version for creating attribute maps, lets see if it helps for now.12:39
tafkamaxIf any1 has and ideas, I will be happy to hear your thoughts.12:40
tafkamaxI have a feeling this is a problem openstack.cloud.federation_mapping module13:08
tafkamaxas I am using the example config from the module and it simply does not work13:08
tafkamaxHmm maybe sdk_log_level and sdk_log_path will help13:11
tafkamaxhmm those didnt help...13:14
tafkamaxAI overlord is saying it might be kolla-toolbox issue hmm13:25
tafkamaxmnasiadka: I found out the openstack.cloud.federation_mapping issue is related to kolla_toolbox. Using the module on a localhost without the wrapper works.13:36
tafkamaxDo you know this is a known issue?13:36
tafkamaxhttps://github.com/openstack/kolla-ansible/blob/master/ansible/library/kolla_toolbox.py#L12513:42
tafkamaxIt is due to reading in the variables to json and then converting them back to variables for ansible, which seems to break list objects.14:23
tafkamaxpretty brutal oversight tbh14:23
tafkamaxAnd amazed that no1 else as stumbled onto this14:23
tafkamaxor there is a fix that i just dont know :)14:23
opendevreviewTaavi Ansper proposed openstack/kolla-ansible master: Fix keystone with IDP configured.  https://review.opendev.org/c/openstack/kolla-ansible/+/97590114:53
tafkamaxIf this gets fixed I am hoping that is the final thing in my road to fix a simple but that botches many deployments.14:55
tafkamaxI don't unfortunately have a good idea how to fix the kolla_toolbox issue yet. AI doesn't seem to fully help aswell.14:55
tafkamaxthe other openstack.cloud modules seem to work nicely in the federation configuration process, which is good15:08
opendevreviewTaavi Ansper proposed openstack/kolla-ansible master: Fix keystone with IDP configured.  https://review.opendev.org/c/openstack/kolla-ansible/+/97590115:13
opendevreviewTaavi Ansper proposed openstack/kolla-ansible master: Fix keystone with IDP configured.  https://review.opendev.org/c/openstack/kolla-ansible/+/97590115:57
tafkamaxWon't deal with this any more today. Maybe somebody has some thoughts on how to tackle the lists problem.16:38
tafkamax* lists problem with kolla-toolbox.16:38
tafkamaxChanging the kolla-toolbox code wasn't very helpful in the ci18:11
tafkamaxMaybe one way is to just revert to the old command: module for the attribute mapping and not frustrate myself with kolla-toolbox, but that would be a half assed solution :/18:22
Moha_Do you recommend migrating from docker to podman? (What are the advantages?) or it doesn't matter?21:35

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