r/openstack • u/Hfjqpowfjpq • Jul 11 '25
Kolla local registry containers are not compatible
Hi, I am trying to create a local registry for Kolla-Ansible containers. I need one because I cannot pull images from the internet because we will be needing multiple machines to pull these containers.
Th registry exists and it is possible to get images from it, infact the images that are taken are like so:
-----------------------------------------------------------------------------------------------
user@test-kolla:~$ docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
07c1b7051a8f 10.0.10.152:4000/kolla/proxysql:master-ubuntu-noble"dumb-init --single-…" 4 hours ago Exited (1) 4 hours ago proxysql
43ca53406174 10.0.10.152:4000/kolla/haproxy:master-ubuntu-noble"dumb-init --single-…" 4 hours ago Up 4 hours (healthy) haproxy
1a9c8ad25b97 10.0.10.152:4000/kolla/cron:master-ubuntu-noble"dumb-init --single-…" 4 hours ago Up 4 hours cron
d47307ace259 10.0.10.152:4000/kolla/kolla-toolbox:master-ubuntu-noble "dumb-init --single-…" 4 hours ago Up 4 hours kolla_toolbox
ffd839688f21 10.0.10.152:4000/kolla/fluentd:master-ubuntu-noble"dumb-init --single-…" 4 hours ago Up 4 hours fluentd
-----------------------------------------------------------------------------------------------
The issue is that the container doesn't work because of:
-----------------------------------------------------------------------------------------------
2025-07-11 12:20:49.462 INFO Writing out command to execute
++ cat /run_command
+ CMD=/etc/proxysql_run.sh
+ ARGS=
+ sudo kolla_copy_cacerts
+ sudo kolla_install_projects
+ [[ ! -n '' ]]
+ . kolla_extend_start
++ PROXYSQL_LIB_DIR=/var/lib/proxysql
++ PROXYSQL_LOG_DIR=/var/log/kolla/proxysql
++ [[ ! -d /var/log/kolla/proxysql ]]
++ chown -R proxysql:kolla /var/log/kolla/proxysql
++ rm -f /var/lib/proxysql/proxysql.pid
++ kolla_proxysql_config_sync
Traceback (most recent call last):
File "/usr/local/bin/kolla_proxysql_config_sync", line 151, in <module>
config = ProxySQLConfig(PROXYSQL_CONFIG_DIR, PROXYSQL_CONFIG)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/bin/kolla_proxysql_config_sync", line 42, in __init__
self._load_config()
File "/usr/local/bin/kolla_proxysql_config_sync", line 73, in _load_config
self._sanity()
File "/usr/local/bin/kolla_proxysql_config_sync", line 77, in _sanity
self._rules_sanity()
File "/usr/local/bin/kolla_proxysql_config_sync", line 96, in _rules_sanity
if rule['schemaname'] not in rules_added:
~~~~^^^^^^^^^^^^^^
KeyError: 'schemaname'
-----------------------------------------------------------------------------------------------
Containers were build like this:
kolla-build --base ubuntu --registry 10.0.10.152:4000 --push --tag master-ubuntu-noble
I think the issue might be that the containers that it generally takes from quay.io are different from the ones that it is pulling and so i get that error above
3
u/MrJHBauer Jul 11 '25
Looks like you are running into an issue located within in this function https://opendev.org/openstack/kolla/src/branch/master/docker/proxysql/kolla_proxysql_config_sync#L91
I cannot comment on exactly what is going wrong here but I do noticed you are building
mastercontainers. I would therefore recommend you consider using2025.1also known asEpoxyas this is the latest stable release.https://docs.openstack.org/kolla-ansible/2025.1/user/operating-kolla.html
2
u/zimhollie Jul 12 '25
Can you pull Kolla containers then push them to your local registry, instead of building your own version?
1
u/dad-oh Jul 12 '25
I believe the StackHPC people may have an Ansible recipe for that. I’m nowhere near my laptop right now, but you could poke around and see if my memory is correct or not.
1
u/vincele Nov 24 '25
I've been searching why some containers on quay.io kolla-ansible are missing. For example the 2025.2-ubuntu-noble mariadb-clustercheck, when the others are available. So I am contemplating building myself a complete set locally. Does someone know where the quay.io set is being built from ?