Hello Everyone!
I have configured up to block storage in CentOS by following the OpenStack official documentation(Mitaka) and re-checked the configurations three times. For the installation of neutron i have used Option 1 "Provider Networks".
My problem is :- In the Horizon Dashboard i'am getting the following two errors when trying to create image.
- "Error: Invalid service catalog service: image"
- "Error: Unable to retrieve image** list"
Also the "cirros-0.3.4-x86_64-disk" image that uploaded in the initial configuration through the CLI also not showing in the dashboard.
So please give me a idea and information of fixing this error.
Thanks....
Here is my related information.
Log : /var/log/glance/api.log
2016-09-28 19:29:09.305 1264 INFO glance.common.wsgi [-] Removed dead child 2942
2016-09-28 19:33:42.140 1259 INFO glance.common.wsgi [-] Starting 1 workers
2016-09-28 19:33:42.379 2934 INFO eventlet.wsgi.server [-] (2934) wsgi starting up on http://0.0.0.0:9292/
2016-09-28 19:33:42.346 1259 INFO glance.common.wsgi [-] Started child 2934
2016-09-28 20:05:47.564 1259 INFO glance.common.wsgi [-] Removed dead child 2934
2016-09-28 20:05:47.570 1259 INFO glance.common.wsgi [-] Started child 3979
2016-09-28 20:05:47.740 3979 INFO eventlet.wsgi.server [-] (3979) wsgi starting up on http://0.0.0.0:9292/
2016-09-28 20:05:47.741 3979 INFO eventlet.wsgi.server [-] (3979) wsgi exited, is_accepting=True
2016-09-28 20:05:47.741 3979 INFO glance.common.wsgi [-] Child 3979 exiting normally
2016-09-28 20:08:47.968 1268 INFO glance.common.wsgi [-] Starting 1 workers
2016-09-28 20:08:48.010 1268 INFO glance.common.wsgi [-] Started child 2940
2016-09-28 20:08:48.049 2940 INFO eventlet.wsgi.server [-] (2940) wsgi starting up on http://0.0.0.0:9292/
2016-09-28 20:27:40.857 1268 INFO glance.common.wsgi [-] Removed dead child 2940
2016-09-28 20:27:40.862 1268 INFO glance.common.wsgi [-] Started child 3522
2016-09-28 20:27:41.025 3522 INFO eventlet.wsgi.server [-] (3522) wsgi starting up on http://0.0.0.0:9292/
2016-09-28 20:27:41.026 3522 INFO eventlet.wsgi.server [-] (3522) wsgi exited, is_accepting=True
2016-09-28 20:27:41.027 3522 INFO glance.common.wsgi [-] Child 3522 exiting normally
2016-09-29 07:18:35.045 1240 INFO glance.common.wsgi [-] Starting 1 workers
2016-09-29 07:18:35.253 2940 INFO eventlet.wsgi.server [-] (2940) wsgi starting up on http://0.0.0.0:9292/
2016-09-29 07:18:35.272 1240 INFO glance.common.wsgi [-] Started child 2940
2016-09-29 07:44:53.820 2940 INFO eventlet.wsgi.server [req-48a2ddde-b882-402e-b8b5-450b24cc6258 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 07:44:53] "GET /v2/images?limit=20&sort_key=name&sort_dir=asc HTTP/1.1" 200 903 0.650037
2016-09-29 07:44:53.827 2940 INFO eventlet.wsgi.server [req-0ec3aa14-9d78-495c-acbb-36645e376f09 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 07:44:53] "GET /v2/schemas/image HTTP/1.1" 200 4344 0.002655
2016-09-29 10:06:39.593 1246 INFO glance.common.wsgi [-] Starting 1 workers
2016-09-29 10:06:39.678 1246 INFO glance.common.wsgi [-] Started child 2922
2016-09-29 10:06:39.766 2922 INFO eventlet.wsgi.server [-] (2922) wsgi starting up on http://0.0.0.0:9292/
2016-09-29 11:53:06.653 2922 INFO eventlet.wsgi.server [req-db71bca9-86d6-477a-ab9e-530521c62473 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 11:53:06] "GET /v2/images HTTP/1.1" 200 867 0.789934
2016-09-29 11:53:26.803 2922 INFO eventlet.wsgi.server [req-28dd25b9-6d18-485e-a35f-02b0ceb5950d 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 11:53:26] "GET /v2/images HTTP/1.1" 200 867 0.284290
2016-09-29 11:57:58.822 2922 INFO eventlet.wsgi.server [req-0085dc9e-27ed-4f76-be38-2d2f20c58df0 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 11:57:58] "GET /v2/images HTTP/1.1" 200 867 0.262440
2016-09-29 12:41:27.442 2922 INFO eventlet.wsgi.server [req-9c2e2c7d-f60d-47b9-bbec-4d6e86e456fb 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 12:41:27] "GET /v2/images?limit=20&sort_key=name&sort_dir=asc HTTP/1.1" 200 903 0.296929
2016-09-29 12:41:27.449 2922 INFO eventlet.wsgi.server [req-d5c7f4f0-703a-41fe-b540-2c349625b6e3 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 12:41:27] "GET /v2/schemas/image HTTP/1.1" 200 4344 0.003096
2016-09-29 12:42:40.499 2922 INFO eventlet.wsgi.server [req-5863e231-ab3e-44dd-9691-9f67363caeae 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 12:42:40] "GET /v2/images?limit=20&sort_key=name&sort_dir=asc HTTP/1.1" 200 903 0.289030
2016-09-29 12:42:40.505 2922 INFO eventlet.wsgi.server [req-545d601b-2cb4-46af-a787-432efefa5ab2 85b82a1f4e2a469fb2587e278ce04d98 51b468cd6d0049598121f19524b8b34a - - -] 192.168.100.151 - - [29/Sep/2016 12:42:40] "GET /v2/schemas/image HTTP/1.1" 200 4344 0.002638
Logs : /etc/httpd/logs/error_log
[Thu Sep 29 07:19:09.200333 2016] [core:notice] [pid 3000] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Sep 29 07:19:09.276674 2016] [suexec:notice] [pid 3000] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 29 07:19:09.305464 2016] [auth_digest:notice] [pid 3000] AH01757: generating secret for digest authentication ...
[Thu Sep 29 07:19:09.306461 2016] [lbmethod_heartbeat:notice] [pid 3000] AH02282: No slotmem from mod_heartmonitor
[Thu Sep 29 07:19:09.431633 2016] [mpm_prefork:notice] [pid 3000] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Thu Sep 29 07:19:09.431670 2016] [core:notice] [pid 3000] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 29 11:44:47.837079 2016] [:error] [pid 3003] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Thu Sep 29 10:07:10.106135 2016] [core:notice] [pid 2981] SELinux policy enabled; httpd running as context system_u:system_r:httpd_t:s0
[Thu Sep 29 10:07:10.137830 2016] [suexec:notice] [pid 2981] AH01232: suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Sep 29 10:07:10.164398 2016] [auth_digest:notice] [pid 2981] AH01757: generating secret for digest authentication ...
[Thu Sep 29 10:07:10.165140 2016] [lbmethod_heartbeat:notice] [pid 2981] AH02282: No slotmem from mod_heartmonitor
[Thu Sep 29 10:07:10.177038 2016] [mpm_prefork:notice] [pid 2981] AH00163: Apache/2.4.6 (CentOS) mod_wsgi/3.4 Python/2.7.5 configured -- resuming normal operations
[Thu Sep 29 10:07:10.177074 2016] [core:notice] [pid 2981] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
[Thu Sep 29 14:11:49.726249 2016] [:error] [pid 2984] Could not process panel theme_preview: Dashboard with slug "developer" is not registered.
[Thu Sep 29 14:12:10.767848 2016] [:error] [pid 2984] Login successful for user "admin".
[Thu Sep 29 14:14:47.685248 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:13:27.373425 2016] [:error] [pid 2984] Login successful for user "admin".
[Thu Sep 29 15:27:00.201286 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:37:07.446335 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:44:39.666662 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:44:58.929240 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:45:33.212200 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:45:35.809097 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:45:40.328096 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:45:47.760916 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[Thu Sep 29 15:46:11.607239 2016] [:error] [pid 2984] Recoverable error: Invalid service catalog service: image
[root@controller ~]# openstack image list
+--------------------------------------+--------+--------+
| ID | Name | Status |
+--------------------------------------+--------+--------+
| 582b3fb9-f4fd-46f7-9e6b-c8e25c93563e | cirros | active |
+--------------------------------------+--------+--------+
[root@controller ~]# openstack service list
+----------------------------------+----------+----------+
| ID | Name | Type |
+----------------------------------+----------+----------+
| 1bd2387d25f244d8b99ecd00b1cf6009 | glance | image |
| 245c3ce7e2484bd8ac6bc4537d86a051 | keystone | identity |
| 4753a5ec7b554b1ca11c817014e41590 | manilav2 | sharev2 |
| 588ff5021efd489097c18821577b591d | cinderv2 | volumev2 |
| 7015d6c09ac948369cfd7f2cfd4964aa | cinder | volume |
| 9b23daa2d9504e87aeec0f45f89b6e67 | neutron | network |
| d86bf3e5df1a4e2b9b1aa316842a88aa | manila | share |
| daf9132856f442d5b45584646c1a158b | nova | compute |
+----------------------------------+----------+----------+
== Nova services ==
openstack-nova-api: active
openstack-nova-compute: inactive (disabled on boot)
openstack-nova-network: inactive (disabled on boot)
openstack-nova-scheduler: active
openstack-nova-conductor: active
openstack-nova-console: inactive (disabled on boot)
openstack-nova-consoleauth: active
openstack-nova-xvpvncproxy: inactive (disabled on boot)
== Glance services ==
openstack-glance-api: active
openstack-glance-registry: active
== Keystone service ==
openstack-keystone: inactive (disabled on boot)
== Horizon service ==
openstack-dashboard: active
== neutron services ==
neutron-server: active
neutron-dhcp-agent: active
neutron-l3-agent: inactive (disabled on boot)
neutron-metadata-agent: active
neutron-linuxbridge-agent: active
== Cinder services ==
openstack-cinder-api: active
openstack-cinder-scheduler: active
openstack-cinder-volume: inactive (disabled on boot)
openstack-cinder-backup: inactive (disabled on boot)
== Support services ==
mysqld: inactive (disabled on boot)
dbus: active
rabbitmq-server: active
memcached: active
[root@controller ~]# openstack user list
+----------------------------------+---------+
| ID | Name |
+----------------------------------+---------+
| 0cb60ac5ce4b475d955817d50c8a5800 | neutron |
| 3d762ccba3da4dabb680a2784ba7d774 | demo |
| 81812eafb2bf4074a59af391523be6f4 | nova |
| 85b82a1f4e2a469fb2587e278ce04d98 | admin |
| 924e9a02816242448d562e68ce347a15 | glance |
| eec86388d9654094a5d0c4aa3cb6bd44 | cinder |
| f948bd4f41b54812b05c856cba244d5c | manila |
+----------------------------------+---------+
== Nova managed services ==
+----+------------------+----------------------------+----------+---------+-------+----------------------------+-----------------+
| Id | Binary | Host | Zone | Status | State | Updated_at | Disabled Reason |
+----+------------------+----------------------------+----------+---------+-------+----------------------------+-----------------+
| 1 | nova-conductor | controller.openstack.local | internal | enabled | up | 2016-09-29T16:41:26.000000 | - |
| 2 | nova-consoleauth | controller.openstack.local | internal | enabled | up | 2016-09-29T16:41:29.000000 | - |
| 3 | nova-scheduler | controller.openstack.local | internal | enabled | up | 2016-09-29T16:41:27.000000 | - |
| 6 | nova-compute | nova02.openstack.local | nova | enabled | down | 2016-08-25T00:19:04.000000 | - |
| 7 | nova-compute | nova01.openstack.local | nova | enabled | up | 2016-09-29T16:41:28.000000 | - |
+----+------------------+----------------------------+----------+---------+-------+----------------------------+-----------------+
== Nova networks ==
+--------------------------------------+----------+------+
| ID | Label | Cidr |
+--------------------------------------+----------+------+
| 31cb004b-fc21-477f-823e-e5ce49a00068 | Internal | - |
+--------------------------------------+----------+------+
== Nova instance flavors ==
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| ID | Name | Memory_MB | Disk | Ephemeral | Swap | VCPUs | RXTX_Factor | Is_Public |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
| 1 | m1.tiny | 512 | 1 | 0 | | 1 | 1.0 | True |
| 2 | m1.small | 2048 | 20 | 0 | | 1 | 1.0 | True |
| 3 | m1.medium | 4096 | 40 | 0 | | 2 | 1.0 | True |
| 4 | m1.large | 8192 | 80 | 0 | | 4 | 1.0 | True |
| 5 | m1.xlarge | 16384 | 160 | 0 | | 8 | 1.0 | True |
+----+-----------+-----------+------+-----------+------+-------+-------------+-----------+
== Nova instances ==
+----+------+-----------+--------+------------+-------------+----------+
| ID | Name | Tenant ID | Status | Task State | Power State | Networks |
+----+------+-----------+--------+------------+-------------+----------+
+----+------+-----------+--------+------------+-------------+----------+
[root@controller ~]# openstack endpoint list
+----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+
| ID | Region | Service Name | Service Type | Enabled | Interface | URL |
+----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+
| 0ac09ac8ac7447c185d6cba41e7f4f26 | RegionOne | manila | share | True | internal | http://controller:8786/v1/%(tenant_id)s |
| 0c48c050df4743aa8c1e7f1d2ba1af55 | RegionOne | nova | compute | True | admin | http://controller:8774/v2.1/%(tenant_id)s |
| 0f74d907b88b499788fa818cacb95b4b | RegionOne | keystone | identity | True | admin | http://controller:35357/v3 |
| 16814bb635084d289ea2079de05cc109 | RegionOne | manilav2 | sharev2 | True | internal | http://controller:8786/v2/%(tenant_id)s |
| 266e683016354e558a7c24404e825727 | RegionOne | manilav2 | sharev2 | True | admin | http://controller:8786/v2/%(tenant_id)s |
| 444ef62e05d6406a8c0fe60c1b01b45d | RegionOne | glance | image | True | public | http://controller:9292 |
| 531a74730ae842ce81d3f3291a026dba | RegionOne | nova | compute | True | internal | http://controller:8774/v2.1/%(tenant_id)s |
| 5951af225a9e49a58e638da7e8c21fe3 | RegionOne | glance | image | True | admin | http://controller:9292 |
| 67097272d4f348e6bff744fefdbb93af | RegionOne | cinderv2 | volumev2 | True | public | http://controller:8776/v2/%(tenant_id)s |
| 6bdbbe1471fe408eb693ea2b89cbe3cc | RegionOne | keystone | identity | True | internal | http://controller:5000/v3 |
| 70b3843e60e944de940649043ff4085f | RegionOne | cinder | volume | True | admin | http://controller:8776/v1/%(tenant_id)s |
| 74fa18a1d12e425bb6e284102234b3f6 | RegionOne | neutron | network | True | admin | http://controller:9696 |
| 750a82d7064e45ef9dcdbc9d0fb56f0d | RegionOne | glance | image | True | internal | http://controller:9292 |
| 80e5231d307f4dfe85e5f6feade298d9 | RegionOne | nova | compute | True | public | http://controller:8774/v2.1/%(tenant_id)s |
| 86f4d451a9e94b4a8ba38f86a6d9bc89 | RegionOne | manila | share | True | admin | http://controller:8786/v1/%(tenant_id)s |
| 87183e19e3bd47da82621d092bd8a903 | RegionOne | neutron | network | True | internal | http://controller:9696 |
| 89010ebc6afb467f8f236dc7b3b3504d | RegionOne | cinderv2 | volumev2 | True | admin | http://controller:8776/v2/%(tenant_id)s |
| 95aa3d85f40a43eb97049159fa909aa6 | RegionOne | neutron | network | True | public | http://controller:9696 |
| 9d3b1ace1cbb4f728ef1a120383c2d00 | RegionOne | cinder | volume | True | internal | http://controller:8776/v1/%(tenant_id)s |
| a57cbc5e54c2483891522f9b57ff4eb6 | RegionOne | cinderv2 | volumev2 | True | internal | http://controller:8776/v2/%(tenant_id)s |
| b5fa211029bd4135923ecaf6dd526cea | RegionOne | keystone | identity | True | public | http://controller:5000/v3 |
| bae64aa02f9b4b838f8907012d4b02ee | RegionOne | cinder | volume | True | public | http://controller:8776/v1/%(tenant_id)s |
| d9619b46b0da4a6c8d17bc4c93dbdc05 | RegionOne | manilav2 | sharev2 | True | public | http://controller:8786/v2/%(tenant_id)s |
| ee9dcc6a0a7a4a028620362b311a3a4d | RegionOne | manila | share | True | public | http://controller:8786/v1/%(tenant_id)s |
+----------------------------------+-----------+--------------+--------------+---------+-----------+-------------------------------------------+