Install and configure (Ubuntu) in glance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
New
|
Undecided
|
Unassigned |
Bug Description
In step 2 of install and configure Glance components,
[keystone_
# ...
auth_uri = http://
auth_url = http://
...
Should be changed to:
[keystone_
# ...
auth_uri = http://
auth_url = http://
as per admin-openrc specifications.
Without changing this, the installation guide leads the user to a HTTP500 when accessing the image service
This bug tracker is for errors with the documentation, use the following as a template and remove or add fields as you see fit. Convert [ ] into [x] to check boxes:
- [x] This doc is inaccurate in this way: ______
- [ ] This is a doc addition request.
- [x] I have a fix to the document that I can paste below including example: input and output.
If you have a troubleshooting or support issue, use the following resources:
- Ask OpenStack: http://
- The mailing list: http://
- IRC: 'openstack' channel on Freenode
root@controller:~# openstack image create "cirros" \
> --file cirros-
> --disk-format qcow2 --container-format bare \
> --public
HTTPInternalSer
root@controller:~#
root@controller:~# cat /var/log/
2018-04-02 05:46:19.941 25230 INFO glance.common.wsgi [-] Starting 4 workers
2018-04-02 05:46:19.944 25230 INFO glance.common.wsgi [-] Started child 25365
2018-04-02 05:46:19.946 25365 INFO eventlet.
2018-04-02 05:46:19.948 25230 INFO glance.common.wsgi [-] Started child 25366
2018-04-02 05:46:19.950 25366 INFO eventlet.
2018-04-02 05:46:19.952 25230 INFO glance.common.wsgi [-] Started child 25367
2018-04-02 05:46:19.954 25367 INFO eventlet.
2018-04-02 05:46:19.955 25230 INFO glance.common.wsgi [-] Started child 25368
2018-04-02 05:46:19.958 25368 INFO eventlet.
2018-04-02 05:52:16.759 25575 WARNING keystonemiddlew
2018-04-02 05:52:16.759 25575 WARNING keystonemiddlew
2018-04-02 05:52:16.763 25575 WARNING keystonemiddlew
2018-04-02 05:52:16.767 25575 WARNING oslo_config.cfg [-] Option "auth_uri" from group "keystone_
2018-04-02 05:52:16.825 25575 INFO glance.common.wsgi [-] Starting 4 workers
2018-04-02 05:52:16.827 25575 INFO glance.common.wsgi [-] Started child 25587
2018-04-02 05:52:16.829 25587 INFO eventlet.
2018-04-02 05:52:16.831 25575 INFO glance.common.wsgi [-] Started child 25588
2018-04-02 05:52:16.832 25588 INFO eventlet.
2018-04-02 05:52:16.834 25575 INFO glance.common.wsgi [-] Started child 25589
2018-04-02 05:52:16.836 25589 INFO eventlet.
2018-04-02 05:52:16.838 25575 INFO glance.common.wsgi [-] Started child 25590
2018-04-02 05:52:16.839 25590 INFO eventlet.
2018-04-02 05:52:42.616 25590 WARNING keystoneauth.
2018-04-02 05:52:42.620 25590 INFO eventlet.
File "/usr/lib/
result = self.applicatio
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = req.get_
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
return request.
File "/usr/lib/
application, catch_exc_
File "/usr/lib/
app_iter = application(
File "/usr/lib/
resp = self.call_func(req, *args, **self.kwargs)
File "/usr/lib/
return self.func(req, *args, **kwargs)
File "/usr/lib/
response = self.process_
File "/usr/lib/
resp = super(AuthProtocol, self).process_
File "/usr/lib/
allow_
File "/usr/lib/
data = self.fetch_
File "/usr/lib/
allow_
File "/usr/lib/
auth_ref = self._request_
File "/usr/lib/
strategy_class = self._get_
File "/usr/lib/
if self._adapter.
File "/usr/lib/
return self.session.
File "/usr/lib/
return auth.get_
File "/usr/lib/
allow_
File "/usr/lib/
service_catalog = self.get_
File "/usr/lib/
self.auth_ref = self.get_
File "/usr/lib/
self._plugin = self._do_
File "/usr/lib/
raise exceptions.
DiscoveryFailure: Could not determine a suitable URL for the plugin
2018-04-02 05:52:42.620 25590 INFO eventlet.
root@controller:~# openstack image list
Internal Server Error (HTTP 500)
root@controller:~# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MariaDB connection id is 55
Server version: 10.0.34-
Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.
Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
MariaDB [(none)]> use glance;
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A
Database changed
MariaDB [glance]> show tables;
+------
| Tables_in_glance |
+------
| alembic_version |
| image_locations |
| image_members |
| image_properties |
| image_tags |
| images |
| metadef_
| metadef_namespaces |
| metadef_objects |
| metadef_properties |
| metadef_
| metadef_tags |
| migrate_version |
| task_info |
| tasks |
+------
15 rows in set (0.00 sec)
MariaDB [glance]> Bye
root@controller:~# openstack endpoint list
+------
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+------
| 0a400ccdfa894f7
| 18e5113158cc4d1
| 47a89422500d413
| a35d6ece641a4a1
| c68db219b69941b
| f0d21b8e8c5548f
+------
root@controller:~# nano /etc/glance/
root@controller:~# nano /etc/glance/
root@controller:~# service glance-api restart
root@controller:~# service glance-registry restart
root@controller:~# openstack image list
root@controller:~# openstack image create "cirros" --file cirros-
+------
| Field | Value |
+------
| checksum | f8ab98ff5e73eba
| container_format | bare |
| created_at | 2018-04-
| disk_format | qcow2 |
| file | /v2/images/
| id | 5f3eaded-
| min_disk | 0 |
| min_ram | 0 |
| name | cirros |
| owner | bb959f4ce7d74ce
| protected | False |
| schema | /v2/schemas/image |
| size | 13267968 |
| status | active |
| tags | |
| updated_at | 2018-04-
| virtual_size | None |
| visibility | public |
+------
-------
Release: 16.0.1.dev3 on 'Fri Mar 9 13:06:47 2018, commit 2221868'
SHA: 2221868690e004a
Source: https:/
URL: https:/