Ask Your Question
0

Launching an instance gives error status

asked 2016-10-31 08:27:19 -0500

amitvikram gravatar image

updated 2016-11-01 04:27:15 -0500

Bipin gravatar image

Hello I have installed openstack mitaka. Whenever I launch an instance using command openstack server create --flavor m1.tiny --image cirros --security-group default --key-name mykey provider-instance

I gives status error on using openstack server list

my openstack compute service list output is

+----+------------------+------------+----------+---------+-------+----------------------------+
| Id | Binary           | Host       | Zone     | Status  | State | Updated At                 |
+----+------------------+------------+----------+---------+-------+----------------------------+
|  3 | nova-consoleauth | controller | internal | enabled | up    | 2016-10-27T16:44:00.000000 |
|  4 | nova-scheduler   | controller | internal | enabled | up    | 2016-10-27T16:44:02.000000 |
|  5 | nova-conductor   | controller | internal | enabled | up    | 2016-10-27T16:44:02.000000 |
|  6 | nova-compute     | compute    | nova     | enabled | up    | 2016-10-27T16:44:02.000000 |
+----+------------------+------------+----------+---------+-------+----------------------------+

My nova-conductor logs have output

016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 838, in deallocate_for_instance
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]     self._unbind_ports(context, ports_to_skip, neutron)
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 326, in _unbind_ports
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]     get_client(context, admin=True))
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 141, in get_client
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]     _ADMIN_AUTH = _load_auth_plugin(CONF)
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 122, in _load_auth_plugin
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]     raise neutron_client_exc.Unauthorized(message=err_msg)
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe] Unauthorized: Unknown auth type: None
2016-10-27 22:11:58.684 7464 ERROR nova.conductor.manager [instance: 1109c5b7-f92d-46fb-95fe-72cb253867fe]

My nova-compute logs are as follows

2016-10-27 20:07:42.624 27650 ERROR oslo.messaging._drivers.impl_rabbit [req-f76bdc9b-203a-4088-a428-44cace556261 - - - - -] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
2016-10-27 20:08:14.687 27650 ERROR oslo.messaging._drivers.impl_rabbit [req-f76bdc9b-203a-4088-a428-44cace556261 - - - - -] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
2016-10-27 20:08:46.778 27650 ERROR oslo.messaging._drivers.impl_rabbit [req-f76bdc9b-203a-4088-a428-44cace556261 - - - - -] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
2016-10-27 20:09:18.845 27650 ERROR oslo.messaging._drivers.impl_rabbit [req-f76bdc9b-203a-4088-a428-44cace556261 - - - - -] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
2016-10-27 20:09:50.897 27650 ERROR oslo.messaging._drivers.impl_rabbit [req-f76bdc9b-203a-4088-a428-44cace556261 - - - - -] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
2016-10-27 20:10:22.951 27650 ERROR oslo.messaging._drivers.impl_rabbit [req-f76bdc9b-203a-4088-a428-44cace556261 - - - - -] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
2016-10-27 20:10:55.027 27650 ERROR oslo.messaging._drivers.impl_rabbit [req-f76bdc9b-203a-4088-a428-44cace556261 - - - - -] AMQP server on 127.0 ...
(more)
edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2016-11-01 04:29:30 -0500

Bipin gravatar image
2016-10-27 20:11:27.081 27650 ERROR oslo.messaging._drivers.impl_rabbit [req-f76bdc9b-203a-4088-a428-44cace556261 - - - - -] AMQP server on 127.0.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds

Based on your logs the RabbitMQ server is unreachable from the compute nodes. Try restart the Rabbit.

edit flag offensive delete link more
0

answered 2016-11-01 05:06:26 -0500

amitvikram gravatar image

Well sorry I gave wrong username in [neutron] section. Figured it out thanks.

edit flag offensive delete link more

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

Stats

Asked: 2016-10-31 08:27:19 -0500

Seen: 948 times

Last updated: Nov 01 '16