Public bug reported: I am following the following installation guide: https://docs.openstack.org/glance/ussuri/install/
I am using an Ubuntu 18.04. The Keystone was successfully installed and I followed all the steps described in the tutorial to install Glance. When I tried to created the Cirros image, I got the following error: glance image-create --name "cirros" --file cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility=public Error finding address for http://controller:9292/v2/schemas/image: Unable to establish connection to http://controller:9292/v2/schemas/image: HTTPConnectionPool(host='controller', port=9292): Max retries exceeded with url: /v2/schemas/image (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1935ebadd0>: Failed to establish a new connection: [Errno 111] Connection refused',)) Then, I tried to start Glance, but here is the status: systemctl status glance-api ● glance-api.service - OpenStack Image Service API Loaded: loaded (/lib/systemd/system/glance-api.service; enabled Active: failed (Result: exit-code) since Tue 2021-01-26 11:14:3 Process: 2575 ExecStart=/etc/init.d/glance-api systemd-start (co Main PID: 2575 (code=exited, status=1/FAILURE) jan 26 11:14:34 James systemd[1]: glance-api.service: Main process jan 26 11:14:34 James systemd[1]: glance-api.service: Failed with jan 26 11:14:34 James systemd[1]: glance-api.service: Service hold jan 26 11:14:34 James systemd[1]: glance-api.service: Scheduled re jan 26 11:14:34 James systemd[1]: Stopped OpenStack Image Service jan 26 11:14:34 James systemd[1]: glance-api.service: Start reques jan 26 11:14:34 James systemd[1]: glance-api.service: Failed with jan 26 11:14:34 James systemd[1]: Failed to start OpenStack Image And here is the log: 2021-01-26 11:14:34.325 2575 WARNING keystonemiddleware._common.config [-] The option "__file__" in conf is not known to auth_token 2021-01-26 11:14:34.326 2575 WARNING keystonemiddleware._common.config [-] The option "here" in conf is not known to auth_token 2021-01-26 11:14:34.327 2575 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but depr$ 2021-01-26 11:14:34.328 2575 CRITICAL glance [-] Unhandled error: MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url 2021-01-26 11:14:34.328 2575 ERROR glance Traceback (most recent call last): 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/bin/glance-api", line 10, in <module> 2021-01-26 11:14:34.328 2575 ERROR glance sys.exit(main()) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/glance/cmd/api.py", line 94, in main 2021-01-26 11:14:34.328 2575 ERROR glance server.start(config.load_paste_app('glance-api'), default_port=9292) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/glance/common/config.py", line 829, in load_paste_app 2021-01-26 11:14:34.328 2575 ERROR glance app = deploy.loadapp("config:%s" % conf_file, name=app_name) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp 2021-01-26 11:14:34.328 2575 ERROR glance return loadobj(APP, uri, name=name, **kw) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj 2021-01-26 11:14:34.328 2575 ERROR glance return context.create() 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create 2021-01-26 11:14:34.328 2575 ERROR glance return self.object_type.invoke(self) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, in invoke 2021-01-26 11:14:34.328 2575 ERROR glance app = filter(app) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 998, in auth_filter 2021-01-26 11:14:34.328 2575 ERROR glance return AuthProtocol(app, conf) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 587, in __init__ 2021-01-26 11:14:34.328 2575 ERROR glance self._auth = self._create_auth_plugin() 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 926, in _create_auth_plugin 2021-01-26 11:14:34.328 2575 ERROR glance return plugin_loader.load_from_options_getter(getter) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 187, in load_from_options_getter 2021-01-26 11:14:34.328 2575 ERROR glance return self.load_from_options(**kwargs) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 162, in load_from_options 2021-01-26 11:14:34.328 2575 ERROR glance raise exceptions.MissingRequiredOptions(missing_required) 2021-01-26 11:14:34.328 2575 ERROR glance MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url 2021-01-26 11:14:34.328 2575 ERROR glance Can anyone help to solve this problem? ** Affects: glance Importance: Undecided Status: Invalid -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Glance. https://bugs.launchpad.net/bugs/1913310 Title: Glance does not start Status in Glance: Invalid Bug description: I am following the following installation guide: https://docs.openstack.org/glance/ussuri/install/ I am using an Ubuntu 18.04. The Keystone was successfully installed and I followed all the steps described in the tutorial to install Glance. When I tried to created the Cirros image, I got the following error: glance image-create --name "cirros" --file cirros-0.4.0-x86_64-disk.img --disk-format qcow2 --container-format bare --visibility=public Error finding address for http://controller:9292/v2/schemas/image: Unable to establish connection to http://controller:9292/v2/schemas/image: HTTPConnectionPool(host='controller', port=9292): Max retries exceeded with url: /v2/schemas/image (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f1935ebadd0>: Failed to establish a new connection: [Errno 111] Connection refused',)) Then, I tried to start Glance, but here is the status: systemctl status glance-api ● glance-api.service - OpenStack Image Service API Loaded: loaded (/lib/systemd/system/glance-api.service; enabled Active: failed (Result: exit-code) since Tue 2021-01-26 11:14:3 Process: 2575 ExecStart=/etc/init.d/glance-api systemd-start (co Main PID: 2575 (code=exited, status=1/FAILURE) jan 26 11:14:34 James systemd[1]: glance-api.service: Main process jan 26 11:14:34 James systemd[1]: glance-api.service: Failed with jan 26 11:14:34 James systemd[1]: glance-api.service: Service hold jan 26 11:14:34 James systemd[1]: glance-api.service: Scheduled re jan 26 11:14:34 James systemd[1]: Stopped OpenStack Image Service jan 26 11:14:34 James systemd[1]: glance-api.service: Start reques jan 26 11:14:34 James systemd[1]: glance-api.service: Failed with jan 26 11:14:34 James systemd[1]: Failed to start OpenStack Image And here is the log: 2021-01-26 11:14:34.325 2575 WARNING keystonemiddleware._common.config [-] The option "__file__" in conf is not known to auth_token 2021-01-26 11:14:34.326 2575 WARNING keystonemiddleware._common.config [-] The option "here" in conf is not known to auth_token 2021-01-26 11:14:34.327 2575 WARNING keystonemiddleware.auth_token [-] AuthToken middleware is set with keystone_authtoken.service_token_roles_required set to False. This is backwards compatible but depr$ 2021-01-26 11:14:34.328 2575 CRITICAL glance [-] Unhandled error: MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url 2021-01-26 11:14:34.328 2575 ERROR glance Traceback (most recent call last): 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/bin/glance-api", line 10, in <module> 2021-01-26 11:14:34.328 2575 ERROR glance sys.exit(main()) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/glance/cmd/api.py", line 94, in main 2021-01-26 11:14:34.328 2575 ERROR glance server.start(config.load_paste_app('glance-api'), default_port=9292) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/glance/common/config.py", line 829, in load_paste_app 2021-01-26 11:14:34.328 2575 ERROR glance app = deploy.loadapp("config:%s" % conf_file, name=app_name) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp 2021-01-26 11:14:34.328 2575 ERROR glance return loadobj(APP, uri, name=name, **kw) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj 2021-01-26 11:14:34.328 2575 ERROR glance return context.create() 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create 2021-01-26 11:14:34.328 2575 ERROR glance return self.object_type.invoke(self) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 207, in invoke 2021-01-26 11:14:34.328 2575 ERROR glance app = filter(app) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 998, in auth_filter 2021-01-26 11:14:34.328 2575 ERROR glance return AuthProtocol(app, conf) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 587, in __init__ 2021-01-26 11:14:34.328 2575 ERROR glance self._auth = self._create_auth_plugin() 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 926, in _create_auth_plugin 2021-01-26 11:14:34.328 2575 ERROR glance return plugin_loader.load_from_options_getter(getter) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 187, in load_from_options_getter 2021-01-26 11:14:34.328 2575 ERROR glance return self.load_from_options(**kwargs) 2021-01-26 11:14:34.328 2575 ERROR glance File "/usr/lib/python2.7/dist-packages/keystoneauth1/loading/base.py", line 162, in load_from_options 2021-01-26 11:14:34.328 2575 ERROR glance raise exceptions.MissingRequiredOptions(missing_required) 2021-01-26 11:14:34.328 2575 ERROR glance MissingRequiredOptions: Auth plugin requires parameters which were not given: auth_url 2021-01-26 11:14:34.328 2575 ERROR glance Can anyone help to solve this problem? To manage notifications about this bug go to: https://bugs.launchpad.net/glance/+bug/1913310/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

