Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Launching an instance gives error status

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.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds. 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. 2016-10-27 20:11:59.149 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:12:31.234 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.

My neutron agent-list o/p +--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+ | id | agent_type | host | availability_zone | alive | admin_state_up | binary | +--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+ | 09cdbbc7-b124-47f4-a9cf-db50bd837081 | Linux bridge agent | compute | | :-) | True | neutron-linuxbridge-agent | | 16cd76ef-9591-4cf1-b6bb-45fbbd190868 | Metadata agent | controller | | :-) | True | neutron-metadata-agent | | 5a877a4b-edc3-44e2-845b-4b38b9b9677f | Linux bridge agent | controller | | :-) | True | neutron-linuxbridge-agent | | 7c98d924-0438-495d-b385-6c3d3dc3f118 | DHCP agent | controller | nova | :-) | True | neutron-dhcp-agent | +--------------------------------------+--------------------+------------+-------------------+-------+----------------+------------------------

I am new to openstack and I cant figure out what to do.

Launching an instance gives error status

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]

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.0.1:5672 is unreachable: [Errno 111] ECONNREFUSED. Trying again in 32 seconds.
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.
2016-10-27 20:11:59.149 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:12:31.234 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.

seconds.

My neutron agent-list o/p o/p

+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+
| id                                   | agent_type         | host       | availability_zone | alive | admin_state_up | binary                    |
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+---------------------------+
| 09cdbbc7-b124-47f4-a9cf-db50bd837081 | Linux bridge agent | compute    |                   | :-)   | True           | neutron-linuxbridge-agent |
| 16cd76ef-9591-4cf1-b6bb-45fbbd190868 | Metadata agent     | controller |                   | :-)   | True           | neutron-metadata-agent    |
| 5a877a4b-edc3-44e2-845b-4b38b9b9677f | Linux bridge agent | controller |                   | :-)   | True           | neutron-linuxbridge-agent |
| 7c98d924-0438-495d-b385-6c3d3dc3f118 | DHCP agent         | controller | nova              | :-)   | True           | neutron-dhcp-agent        |
+--------------------------------------+--------------------+------------+-------------------+-------+----------------+------------------------

+--------------------------------------+--------------------+------------+-------------------+-------+----------------+------------------------

I am new to openstack and I cant figure out what to do.