Tuesday, 2024-07-16

*** ChanServ changes topic to "OpenStack Glance | This channel is recorded logs at http://eavesdrop.openstack.org/irclogs/%23openstack-glance/"04:51
opendevreviewPranali Deore proposed openstack/glance master: Add Location Import task flow  https://review.opendev.org/c/openstack/glance/+/88674910:23
opendevreviewPranali Deore proposed openstack/glance master: Add new add location api  https://review.opendev.org/c/openstack/glance/+/88194010:23
opendevreviewPranali Deore proposed openstack/glance master: Add functional tests for new add-location API  https://review.opendev.org/c/openstack/glance/+/88694710:23
opendevreviewPranali Deore proposed openstack/glance master: Add new get location api  https://review.opendev.org/c/openstack/glance/+/88249810:23
opendevreviewPranali Deore proposed openstack/glance master: Add api-ref and documentation for new location apis  https://review.opendev.org/c/openstack/glance/+/89050810:23
opendevreviewPranali Deore proposed openstack/glance master: Bump Images API version to 2.17  https://review.opendev.org/c/openstack/glance/+/89050910:23
opendevreviewPranali Deore proposed openstack/glance master: Add Location Import task flow  https://review.opendev.org/c/openstack/glance/+/88674910:54
opendevreviewPranali Deore proposed openstack/glance master: Add new add location api  https://review.opendev.org/c/openstack/glance/+/88194010:54
opendevreviewPranali Deore proposed openstack/glance master: Add functional tests for new add-location API  https://review.opendev.org/c/openstack/glance/+/88694710:54
opendevreviewPranali Deore proposed openstack/glance master: Add new get location api  https://review.opendev.org/c/openstack/glance/+/88249810:54
opendevreviewPranali Deore proposed openstack/glance master: Add api-ref and documentation for new location apis  https://review.opendev.org/c/openstack/glance/+/89050810:54
opendevreviewPranali Deore proposed openstack/glance master: Bump Images API version to 2.17  https://review.opendev.org/c/openstack/glance/+/89050910:54
stephenfinpdeore: Sure, I'll get on that now11:24
anshulHi! I am trying to install devstack with ironic enabled and I am running into this error when I run ./stack.sh about ~1 hour into the process: "[ERROR] /opt/stack/devstack/lib/glance:634 g-api did not start" multiple times with the script breaking. Any suggestions?14:45
anshulIt's showing this error in the error.log file: [ERROR] /opt/stack/devstack/lib/glance:634 g-api did not start14:46
frickleranshul: 1h sounds like a really long time, do you have a slow internet connection? also try to look at the logs with "sudo journalctl -u devstack@g-api"14:57
anshulIt shows this:15:18
-anshul- ul 16 08:55:32 ubuntu-vm systemd[1]: Starting Devstack devstack@g-api.service...15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: [uWSGI] getting INI configuration from /etc/glance/glance-uwsgi.ini15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: *** Starting uWSGI 2.0.20-debian (64bit) on [Tue Jul 16 08:55:33 2024] ***15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: compiled with version: 11.2.0 on 21 March 2022 11:00:4415:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: os: Linux-5.15.0-116-generic #126-Ubuntu SMP Mon Jul 1 10:14:24 UTC 202415:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: nodename: ubuntu-vm15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: machine: x86_6415:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: clock source: unix15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: pcre jit disabled15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: detected number of CPU cores: 215:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: current working directory: /15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: detected binary path: /usr/bin/uwsgi-core15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: your processes number limit is 3128115:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: your memory page size is 4096 bytes15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: detected max file descriptor number: 204815:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: lock engine: pthread robust mutexes15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: thunder lock: enabled15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: uwsgi socket 0 bound to TCP address 127.0.0.1:60999 fd 415:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: Python version: 3.10.12 (main, Mar 22 2024, 16:50:05) [GCC 11.4.0]15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: PEP 405 virtualenv detected: /opt/stack/data/venv15:19
-anshul- Jul 16 08:55:33 ubuntu-vm devstack@g-api.service[97536]: Set PythonHome to /opt/stack/data/venv15:19
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: Python main interpreter initialized at 0x55a1d3f9611015:19
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: python threads support enabled15:19
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: your server socket listen backlog is limited to 100 connections15:19
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: your mercy for graceful operations on workers is 80 seconds15:19
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: mapped 403077 bytes (393 KB) for 2 cores15:19
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: *** Operational MODE: preforking ***15:19
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: *** uWSGI is running in multiple interpreter mode ***15:19
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: spawned uWSGI master process (pid: 97536)15:20
-anshul- Jul 16 08:55:35 ubuntu-vm systemd[1]: Started Devstack devstack@g-api.service.15:20
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: spawned uWSGI worker 1 (pid: 97541, cores: 1)15:20
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: spawned uWSGI worker 2 (pid: 97543, cores: 1)15:20
-anshul- Jul 16 08:55:35 ubuntu-vm devstack@g-api.service[97536]: running "unix_signal:15 gracefully_kill_them_all" (master-start)...15:20
-anshul- Jul 16 08:56:14 ubuntu-vm devstack@g-api.service[97543]: INFO glance.async_ [-] Threadpool model set to 'NativeThreadPoolModel'15:20
-anshul- Jul 16 08:56:15 ubuntu-vm devstack@g-api.service[97543]: ERROR stevedore.extension [-] Could not load 'cinder': No module named 'os_brick': ModuleNotFoundError: No module named 'os_brick'15:20
-anshul- Jul 16 08:56:15 ubuntu-vm devstack@g-api.service[97541]: INFO glance.async_ [-] Threadpool model set to 'NativeThreadPoolModel'15:20
-anshul- Jul 16 08:56:16 ubuntu-vm devstack@g-api.service[97541]: ERROR stevedore.extension [-] Could not load 'cinder': No module named 'os_brick': ModuleNotFoundError: No module named 'os_brick'15:20
-anshul- Jul 16 08:56:16 ubuntu-vm devstack@g-api.service[97543]: ERROR stevedore.extension [-] Could not load 'glance.store.cinder.Store': No module named 'os_brick': ModuleNotFoundError: No module named 'os_brick'15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store file {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store/ba>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store glance.store.filesystem.Store {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store glance.store.http.Store {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packa>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store glance.store.rbd.Store {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packag>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store glance.store.s3.Store {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-package>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store glance.store.swift.Store {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-pack>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store glance.store.vmware_datastore.Store {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.1>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store http {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store/ba>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store no_conf {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store rbd {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store/bac>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store s3 {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store/back>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store swift {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store/b>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store vmware {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store/>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Registering options for group glance_store {{(pid=97543) register_opts /opt/stack/data/venv/lib/python3.10/site-packages/gl>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Registering options for group glance_store {{(pid=97543) register_opts /opt/stack/data/venv/lib/python3.10/site-packages/gl>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store http {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store/ba>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.capabilities [-] Store glance_store._drivers.http.Store doesn't support updating dynamic storage capabilities. Please overwrite 'update>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Registering store http with schemes ('http', 'https') {{(pid=97543) create_stores /opt/stack/data/venv/lib/python3.10/site->15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.driver [-] Late loading location class glance_store._drivers.http.StoreLocation {{(pid=97543) get_store_location_class /opt/stack/data/>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.location [-] Registering scheme http with {'store': <glance_store._drivers.http.Store object at 0x7f08e52ab9d0>, 'location_class': <cla>15:20
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.location [-] Registering scheme https with {'store': <glance_store._drivers.http.Store object at 0x7f08e52ab9d0>, 'location_class': <cl>15:21
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Attempting to import store file {{(pid=97543) _load_store /opt/stack/data/venv/lib/python3.10/site-packages/glance_store/ba>15:21
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.capabilities [-] Store glance_store._drivers.filesystem.Store doesn't support updating dynamic storage capabilities. Please overwrite '>15:21
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.backend [-] Registering store file with schemes ('file', 'filesystem') {{(pid=97543) create_stores /opt/stack/data/venv/lib/python3.10/>15:21
-anshul- Jul 16 08:56:17 ubuntu-vm devstack@g-api.service[97543]: DEBUG glance_store.driver [-] Late loading location class glance_store._drivers.filesystem.StoreLocation {{(pid=97543) get_store_location_class /opt/stack>15:21
-anshul- lines 1-6315:21
anshulI'm sorry, I accidentally sent this as a notice15:21
tkajinamanshul, so you are trying to use cinder store backend in glance, right Did you enable cinder ?15:37
anshulI don't think I have16:03
anshul# Enable only minimal services16:03
anshuldisable_all_services16:03
anshulenable_service g-api16:03
anshulenable_service key16:03
anshulenable_service memory_tracker16:03
anshulenable_service mysql16:03
anshulenable_service q-agt16:03
anshulenable_service q-dhcp16:03
anshulenable_service q-l316:03
anshulenable_service q-meta16:03
anshulenable_service q-metering16:04
anshulenable_service q-svc16:04
anshulenable_service rabbit16:04
anshulI only have these in my local.conf 16:04
anshultkajinam, should I put "enable_service cinder" as well?16:04
tkajinamcheck ENABLED_SERVICES env you set16:08
tkajinamanshul, if you have USE_CINDER_FOR_GLANCE=True then you need ENABLED_SERVICES+=,c-sch,c-api,c-vol16:08
abhishekkelodilles: replied to unmaintained zed patch17:55
abhishekkrecheck will not work there17:55

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