Installation using install_method as distro

Asked by Jorge Ventura

I am trying to install a three node cluster with cinder backend as lvm but I am facing a problem with glance. Apparently it's not installing in the containers. At the end of the process, I logged in the container and the fact there is nothing installed for glance.

Should be metal ? I am trying to remain using in container, only cinder is metal because I am using lvm.

Anyone can suggest something ?

The final lines in the log:

2024-12-16 10:05:18,612 p=617232 u=root n=ansible | TASK [os_glance : Deploy Glance configuration files] **************************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:19,186 p=617232 u=root n=ansible | changed: [os-infra1-glance-container-97c1494c] => (item={'src': 'glance-api.conf.j2', 'dest': '/etc/glance/glance-api.conf', 'config_overrides': {}, 'config_type': 'ini'})
2024-12-16 10:05:19,549 p=617232 u=root n=ansible | changed: [os-infra1-glance-container-97c1494c] => (item={'src': 'glance-cache.conf.j2', 'dest': '/etc/glance/glance-cache.conf', 'config_overrides': {}, 'config_type': 'ini'})
2024-12-16 10:05:20,028 p=617232 u=root n=ansible | changed: [os-infra1-glance-container-97c1494c] => (item={'src': 'glance-manage.conf.j2', 'dest': '/etc/glance/glance-manage.conf', 'config_overrides': {}, 'config_type': 'ini'})
2024-12-16 10:05:20,441 p=617232 u=root n=ansible | changed: [os-infra1-glance-container-97c1494c] => (item={'src': 'glance-scrubber.conf.j2', 'dest': '/etc/glance/glance-scrubber.conf', 'config_overrides': {}, 'config_type': 'ini'})
2024-12-16 10:05:20,863 p=617232 u=root n=ansible | changed: [os-infra1-glance-container-97c1494c] => (item={'src': 'glance-swift-store.conf.j2', 'dest': '/etc/glance/glance-swift-store.conf', 'config_overrides': {}, 'config_type': 'ini'})
2024-12-16 10:05:21,244 p=617232 u=root n=ansible | changed: [os-infra1-glance-container-97c1494c] => (item={'src': 'schema-image.json.j2', 'dest': '/etc/glance/schema-image.json', 'config_overrides': {}, 'config_type': 'json'})
2024-12-16 10:05:21,252 p=617232 u=root n=ansible | TASK [os_glance : Implement policy.yaml if there are overrides configured] ****************************************************************************************************************************************************************************************************************
2024-12-16 10:05:21,270 p=617232 u=root n=ansible | skipping: [os-infra1-glance-container-97c1494c]
2024-12-16 10:05:21,274 p=617232 u=root n=ansible | TASK [os_glance : Remove legacy policy.yaml file] *****************************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:21,513 p=617232 u=root n=ansible | ok: [os-infra1-glance-container-97c1494c]
2024-12-16 10:05:21,517 p=617232 u=root n=ansible | TASK [os_glance : Implement property protection] ******************************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:21,535 p=617232 u=root n=ansible | skipping: [os-infra1-glance-container-97c1494c]
2024-12-16 10:05:21,539 p=617232 u=root n=ansible | TASK [os_glance : Deploy Glance image import configuration file] **************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:21,557 p=617232 u=root n=ansible | skipping: [os-infra1-glance-container-97c1494c]
2024-12-16 10:05:21,560 p=617232 u=root n=ansible | TASK [os_glance : Preserve original configuration file(s)] ********************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:21,796 p=617232 u=root n=ansible | failed: [os-infra1-glance-container-97c1494c] (item={'tmp_f': '/tmp/glance-api-paste.ini', 'target_f': '/etc/glance/glance-api-paste.ini', 'config_overrides': {}, 'config_type': 'ini'}) => {"ansible_loop_var": "item", "changed": true, "cmd": ["cp", "/etc/glance/glance-api-paste.ini", "/etc/glance/glance-api-paste.ini.original"], "delta": "0:00:00.003279", "end": "2024-12-16 10:05:21.772718", "item": {"config_overrides": {}, "config_type": "ini", "target_f": "/etc/glance/glance-api-paste.ini", "tmp_f": "/tmp/glance-api-paste.ini"}, "msg": "non-zero return code", "rc": 1, "start": "2024-12-16 10:05:21.769439", "stderr": "cp: cannot stat '/etc/glance/glance-api-paste.ini': No such file or directory", "stderr_lines": ["cp: cannot stat '/etc/glance/glance-api-paste.ini': No such file or directory"], "stdout": "", "stdout_lines": []}
2024-12-16 10:05:22,005 p=617232 u=root n=ansible | changed: [os-infra1-glance-container-97c1494c] => (item={'tmp_f': '/tmp/rootwrap.conf', 'target_f': '/etc/glance/rootwrap.conf', 'config_overrides': {'DEFAULT': {'exec_dirs': '/usr/bin,/sbin,/usr/sbin,/bin,/usr/bin,/usr/local/bin,/usr/local/sbin'}}, 'config_type': 'ini', 'owner': 'root', 'group': 'glance', 'mode': '0640'})
2024-12-16 10:05:22,014 p=617232 u=root n=ansible | RUNNING HANDLER [os_glance : Stop services] ***********************************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:22,042 p=617232 u=root n=ansible | skipping: [os-infra1-glance-container-97c1494c]
2024-12-16 10:05:22,046 p=617232 u=root n=ansible | RUNNING HANDLER [os_glance : Start services] **********************************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:22,071 p=617232 u=root n=ansible | skipping: [os-infra1-glance-container-97c1494c]
2024-12-16 10:05:22,075 p=617232 u=root n=ansible | RUNNING HANDLER [uwsgi : Execute service restart] *****************************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:33,940 p=617232 u=root n=ansible | failed: [os-infra1-glance-container-97c1494c] (item={'key': 'glance-api', 'value': {'group': 'glance_api', 'service_name': 'glance-api', 'init_config_overrides': {}, 'start_order': 1, 'execstarts': '/usr/bin/glance-api', 'wsgi_app': True, 'wsgi_name': 'glance-wsgi-api', 'uwsgi_overrides': {}, 'uwsgi_bind_address': '172.20.1.236', 'uwsgi_port': 9292, 'uwsgi_tls': {}, 'wsgi_path': '/usr/bin/glance-wsgi-api', 'wsgi_venv': None, 'uwsgi_uid': 'glance', 'uwsgi_guid': 'glance', 'uwsgi_processes': '16', 'uwsgi_threads': 1}}) => {"ansible_loop_var": "service", "attempts": 5, "changed": false, "msg": "Could not find the requested service glance-api: host", "service": {"key": "glance-api", "value": {"execstarts": "/usr/bin/glance-api", "group": "glance_api", "init_config_overrides": {}, "service_name": "glance-api", "start_order": 1, "uwsgi_bind_address": "172.20.1.236", "uwsgi_guid": "glance", "uwsgi_overrides": {}, "uwsgi_port": 9292, "uwsgi_processes": "16", "uwsgi_threads": 1, "uwsgi_tls": {}, "uwsgi_uid": "glance", "wsgi_app": true, "wsgi_name": "glance-wsgi-api", "wsgi_path": "/usr/bin/glance-wsgi-api", "wsgi_venv": null}}}
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | PLAY RECAP ********************************************************************************************************************************************************************************************************************************************************************************
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | localhost : ok=4 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | os-infra1 : ok=21 changed=9 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | os-infra1-glance-container-97c1494c : ok=37 changed=16 unreachable=0 failed=2 skipped=35 rescued=0 ignored=0
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | os-infra1-keystone-container-6004d51a : ok=141 changed=65 unreachable=0 failed=0 skipped=83 rescued=0 ignored=0
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | os-infra1-placement-container-e5dd9d1e : ok=58 changed=30 unreachable=0 failed=0 skipped=36 rescued=0 ignored=0
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | os-infra2 : ok=21 changed=9 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | os-infra2-glance-container-e341b4be : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | os-infra2-keystone-container-bd29201c : ok=108 changed=56 unreachable=0 failed=0 skipped=78 rescued=0 ignored=0
2024-12-16 10:05:33,943 p=617232 u=root n=ansible | os-infra2-placement-container-b69e24f8 : ok=47 changed=24 unreachable=0 failed=0 skipped=37 rescued=0 ignored=0
2024-12-16 10:05:33,944 p=617232 u=root n=ansible | os-infra3 : ok=21 changed=9 unreachable=0 failed=0 skipped=14 rescued=0 ignored=0
2024-12-16 10:05:33,944 p=617232 u=root n=ansible | os-infra3-glance-container-7e264437 : ok=2 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
2024-12-16 10:05:33,944 p=617232 u=root n=ansible | os-infra3-keystone-container-29db7594 : ok=115 changed=58 unreachable=0 failed=0 skipped=72 rescued=0 ignored=0
2024-12-16 10:05:33,944 p=617232 u=root n=ansible | os-infra3-placement-container-79ae7fbd : ok=51 changed=25 unreachable=0 failed=0 skipped=35 rescued=0 ignored=0
(END)

Question information

Language:
English Edit question
Status:
Open
For:
OpenStack-Ansible Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:

Can you help with this problem?

Provide an answer of your own, or ask Jorge Ventura for more information if necessary.

To post a message you must log in.