Ask Your Question
0

Mitaka Server List Status:ERROR

asked 2016-08-09 16:10:56 -0500

Willis gravatar image

Followed http://docs.openstack.org/mitaka/install-guide-rdo/launch-instance-selfservice.html (Openstack Docs for Centos 7) and would very much appreciate help troubleshooting the ERROR status of my virtual machines, created on self-service network.

openstack server create --flavor m1.nano --image cirros \
>   --nic net-id=f80dd231-90f2-4f96-bccc-c06b511c23af --security-group default \
>   --key-name mykey selfservice-instance

openstack server list (some are m1.nano flavour, some are m1.small flavour)
+--------------------------------------+----------------------+--------+----------+
| ID                                   | Name                 | Status | Networks |
+--------------------------------------+----------------------+--------+----------+
| 8ed45d48-c782-4ab2-9840-7fd53c9ea82e | selfservice-instance | ERROR  |          |
| 721a935b-1772-43a1-b93d-434a9430a433 | selfservice-instance | ERROR  |          |
| e828369f-1529-45bb-9bc6-68fe06430623 | selfservice-instance | ERROR  |          |
+--------------------------------------+----------------------+--------+----------+

nova-api.log (from tail -n 40)

2016-08-09 14:45:18.399 20595 INFO nova.api.openstack.wsgi [req-77d58d1d-626d-4046-8582-6224f41f10a5 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] HTTP exception thrown: Security group id should be uuid
2016-08-09 14:45:18.400 20595 INFO nova.osapi_compute.wsgi.server [req-77d58d1d-626d-4046-8582-6224f41f10a5 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "GET /v2.1/71a22f62466e4a1db82180cb942d9c56/os-security-groups/default HTTP/1.1" status: 400 len: 367 time: 0.0446501
2016-08-09 14:45:18.632 20595 INFO nova.osapi_compute.wsgi.server [req-d5a45d04-ad47-4869-8c01-b1d551e16ebc f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "GET /v2.1/71a22f62466e4a1db82180cb942d9c56/os-security-groups?name=default HTTP/1.1" status: 200 len: 975 time: 0.2222631
2016-08-09 14:45:19.086 20595 INFO nova.osapi_compute.wsgi.server [req-8b432ee9-ff07-4290-8bc5-d8b0522d4b7b f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "POST /v2.1/71a22f62466e4a1db82180cb942d9c56/os-security-group-rules HTTP/1.1" status: 200 len: 501 time: 0.4479790
2016-08-09 14:45:30.142 20595 INFO nova.api.openstack.wsgi [req-0ee9e1b9-8a7f-47c3-8349-c1b8bee1e850 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] HTTP exception thrown: Security group id should be uuid
2016-08-09 14:45:30.145 20595 INFO nova.osapi_compute.wsgi.server [req-0ee9e1b9-8a7f-47c3-8349-c1b8bee1e850 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "GET /v2.1/71a22f62466e4a1db82180cb942d9c56/os-security-groups/default HTTP/1.1" status: 400 len: 367 time: 0.0679500
2016-08-09 14:45:30.293 20595 INFO nova.osapi_compute.wsgi.server [req-c8212e5a-83fc-4017-b6ef-bd19d41debd3 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "GET /v2.1/71a22f62466e4a1db82180cb942d9c56/os-security-groups?name=default HTTP/1.1" status: 200 len: 1185 time: 0.1435530
2016-08-09 14:45:30.667 20595 INFO nova.osapi_compute.wsgi.server [req-d71de5b5-2c20-44d8-9ed8-86b5484f7527 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "POST /v2.1/71a22f62466e4a1db82180cb942d9c56/os-security-group-rules HTTP/1.1" status: 200 len: 500 time: 0.3694239
2016-08-09 14:46:47.523 20621 INFO nova.osapi_compute.wsgi.server [req-87264325-606e-4826-90df-e10b6c8ce624 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "GET /v2.1/71a22f62466e4a1db82180cb942d9c56/flavors/detail HTTP/1.1" status: 200 len: 2769 time: 1.7771089
2016-08-09 14:51:10.384 20605 INFO nova.api.openstack.wsgi [req-6fc2fe2d-b7d6-4952-8349-91b9fcdb5479 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] HTTP exception thrown: Image not found.
2016-08-09 14:51:10.386 20605 INFO nova.osapi_compute.wsgi.server [req-6fc2fe2d-b7d6-4952-8349-91b9fcdb5479 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "GET /v2.1/71a22f62466e4a1db82180cb942d9c56/images/cirros HTTP/1.1" status: 404 len: 351 time: 2.4291151
2016-08-09 14:51:10.481 20605 INFO nova.osapi_compute.wsgi.server [req-20742469-7938-4e2a-bc56-4f6a41c88075 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "GET /v2.1/71a22f62466e4a1db82180cb942d9c56/images HTTP/1.1" status: 200 len: 767 time: 0.0904589
2016-08-09 14:51:10.816 20605 INFO nova.osapi_compute.wsgi.server [req-3f372a01-64c8-4a2b-87fb-4cc43d9c63bf f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] 172.16.2.1 "GET /v2.1/71a22f62466e4a1db82180cb942d9c56/images/3c5a617e-cb62-4368-8177-0e6c7777842e HTTP/1.1" status: 200 len: 948 time: 0.3311110
2016-08-09 14:51:10.850 20605 INFO nova.api.openstack.wsgi [req-1fefe9d3-fab5-4fbf-8d4c-935513faf017 f1120334c8a348f5839ab8ef57d79e33 71a22f62466e4a1db82180cb942d9c56 - - -] HTTP ...
(more)
edit retag flag offensive close merge delete

Comments

Could you pastebin the scheduler and compute logs?

Antonio G. gravatar imageAntonio G. ( 2016-08-10 03:01:08 -0500 )edit

Does the image exist in glance? openstack image list If the image only appears for admin and not tenant user, then make the image public. As admin openstack image set --public cirros

barry.davis gravatar imagebarry.davis ( 2016-08-10 14:16:30 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-08-12 04:17:56 -0500

Michel gravatar image

Hi,

I have the same issue when creating an instance of Cirros (fresh installation of Mitaka)

No issue with Kilo on the same environment.

Any help would be highly appreciated

Thanks & Regards,

Michel

Controller : VM - CentOs 7

Compute : G8 CentOs 7

SELinux : permissive on both nodes Firewalld disabled on both nodes

[root@controller log]# openstack flavor  list
+----+-----------+-------+------+-----------+-------+-----------+
| ID | Name      |   RAM | Disk | Ephemeral | VCPUs | Is Public |
+----+-----------+-------+------+-----------+-------+-----------+
| 0  | m1.nano   |    64 |    1 |         0 |     1 | True      |
| 1  | m1.tiny   |   512 |    1 |         0 |     1 | True      |
| 2  | m1.small  |  2048 |   20 |         0 |     1 | True      |
| 3  | m1.medium |  4096 |   40 |         0 |     2 | True      |
| 4  | m1.large  |  8192 |   80 |         0 |     4 | True      |
| 5  | m1.xlarge | 16384 |  160 |         0 |     8 | True      |
+----+-----------+-------+------+-----------+-------+-----------+

[root@controller ~]# openstack image list
+--------------------------------------+--------+--------+
| ID                                   | Name   | Status |
+--------------------------------------+--------+--------+
| 31682baf-b55c-47ef-b773-9c8f462006d1 | cirros | active |
+--------------------------------------+--------+--------+

From nova-api.log :

016-08-12 10:35:05.636 3331 INFO nova.api.openstack.wsgi [req-7f4dec2e-98ef-41dd-9841-f1a22d646a30 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - - -] HTTP exception thrown: Image not found.

2016-08-12 10:35:05.775 3331 INFO nova.api.openstack.wsgi [req-bb87361e-94d3-4073-842c-f188a97e48f2 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - - -] HTTP exception thrown: Flavor m1.nano could not be found.

**016-08-12 10:35:05.636 3331 INFO nova.api.openstack.wsgi [req-7f4dec2e-98ef-41dd-9841-f1a22d646a30 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-] HTTP exception thrown: Image not found.** 2016-08-12 10:35:05.637 3331 INFO nova.osapi_compute.wsgi.server [req-7f4dec2e-98ef-41dd-9841-f1a22d646a30 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-] 10.0.0.40 "GET /v2.1/9004b5f9eb7a40b4906d7e197abf6903/images/cirros HTTP/1.1" status: 404 len: 351 time:
0.3375230 2016-08-12 10:35:05.698 3331 INFO nova.osapi_compute.wsgi.server [req-6263c4fb-024f-49e2-97ec-9e1edbaf59a0 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-] 10.0.0.40 "GET /v2.1/9004b5f9eb7a40b4906d7e197abf6903/images HTTP/1.1" status: 200 len: 1247 time:
0.0553460 2016-08-12 10:35:05.747 3331 INFO nova.osapi_compute.wsgi.server [req-3518cede-c8c9-49ec-8099-535e250ae80a 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-] 10.0.0.40 "GET /v2.1/9004b5f9eb7a40b4906d7e197abf6903/images/31682baf-b55c-47ef-b773-9c8f462006d1 HTTP/1.1" status: 200 len: 945 time:
**0.0432029 2016-08-12 10:35:05.775 3331 INFO nova.api.openstack.wsgi [req-bb87361e-94d3-4073-842c-f188a97e48f2 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-] HTTP exception thrown: Flavor m1.nano could not be found.** 2016-08-12 10:35:05.777 3331 INFO nova.osapi_compute.wsgi.server [req-bb87361e-94d3-4073-842c-f188a97e48f2 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-] 10.0.0.40 "GET /v2.1/9004b5f9eb7a40b4906d7e197abf6903/flavors/m1.nano HTTP/1.1" status: 404 len: 369 time:
0.0242729 2016-08-12 10:35:05.810 3331 INFO nova.osapi_compute.wsgi.server [req-2acdd9d1-bbbe-400b-9437-91cd386420f8 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-] 10.0.0.40 "GET /v2.1/9004b5f9eb7a40b4906d7e197abf6903/flavors HTTP/1.1" status: 200 len: 1728 time:
0.0285199 2016-08-12 10:35:05.840 3331 INFO nova.osapi_compute.wsgi.server [req-413d2009-bd66-4c0b-bb59-669c9d20d873 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-] 10.0.0.40 "GET /v2.1/9004b5f9eb7a40b4906d7e197abf6903/flavors/0 HTTP/1.1" status: 200 len: 687 time:
0.0243511 2016-08-12 10:35:06.366 3331 INFO nova.osapi_compute.wsgi.server [req-85a0908c-80c6-4cb3-bf51-767016d41421 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - -
-]

From glance api.log :

2016-08-12 09:32:38.989 2860 ERROR glance.registry.client.v1.client [req-07785b96-82d4-4c98-8a30-68f52ef804e8 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - - -] Registry client request GET /images/cirros raised NotFound

2016-08-12 09:32:38.989 2860 ERROR glance.registry.client.v1.client [req-07785b96-82d4-4c98-8a30-68f52ef804e8 40ea01e3ad834163b400129f6dae4b15 9004b5f9eb7a40b4906d7e197abf6903 - - -] Registry client request GET /images/cirros raised NotFound
2016-08-12 09:32:38.989 2860 ERROR glance.registry.client.v1.client Traceback (most recent call last):
2016-08-12 ...
(more)
edit flag offensive delete link more

Comments

I believe the error in the neutron log "Unauthorized: The request you have made requires authentication. (HTTP 401)" is the problem. Check your keystone log file to verify. Also, please start a new question for your request.

barry.davis gravatar imagebarry.davis ( 2016-08-12 06:09:57 -0500 )edit

Hi Barry,

Indeed :

From keystone log :

2016-08-12 13:25:35.989 5752 WARNING keystone.common.wsgi [req-8b382614-3a8e-42a0-96b5-1af0784900e4 - - - - -] Authorization failed. The request you have made requires authentication. from 10.0.0.40

Michel gravatar imageMichel ( 2016-08-12 06:29:46 -0500 )edit

I faced same problem. have you solve this problem??

grkim gravatar imagegrkim ( 2019-02-22 19:53:30 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2016-08-09 16:10:56 -0500

Seen: 1,074 times

Last updated: Aug 12 '16