Mitaka Unable to boot VM instance

asked 2018-06-14 10:11:41 -0500

Code Manure gravatar image

I installed Openstack Mitaka on a fresh Ubuntu 14.04 Trusty system. Trying to get an all-in-one cluster up and running.

Everything seems to be up and running from the outside. I tried booting a cirros instance to check if everything was OK. And I found that no matter what I try it never boots because of this error in Nova:

nova hypervisor-list
+----+---------------------+-------+---------+
| ID | Hypervisor hostname | State | Status  |
+----+---------------------+-------+---------+
| 1  | Ubuntu1404          | up    | enabled |
+----+---------------------+-------+---------+

    nova boot --flavor m1.tiny --image cirros --nic net-name=selfservice mybooty

+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                             | Value                                                                                                                                                                                  |
+--------------------------------------+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL                                                                                                                                                                                 |
| OS-EXT-AZ:availability_zone          |                                                                                                                                                                                        |
| OS-EXT-SRV-ATTR:host                 | -                                                                                                                                                                                      |
| OS-EXT-SRV-ATTR:hostname             | mybooty                                                                                                                                                                                |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | -                                                                                                                                                                                      |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000009                                                                                                                                                                      |
| OS-EXT-SRV-ATTR:kernel_id            |                                                                                                                                                                                        |
| OS-EXT-SRV-ATTR:launch_index         | 0                                                                                                                                                                                      |
| OS-EXT-SRV-ATTR:ramdisk_id           |                                                                                                                                                                                        |
| OS-EXT-SRV-ATTR:reservation_id       | r-wbquyn0t                                                                                                                                                                             |
| OS-EXT-SRV-ATTR:root_device_name     | -                                                                                                                                                                                      |
| OS-EXT-SRV-ATTR:user_data            | -                                                                                                                                                                                      |
| OS-EXT-STS:power_state               | 0                                                                                                                                                                                      |
| OS-EXT-STS:task_state                | -                                                                                                                                                                                      |
| OS-EXT-STS:vm_state                  | error                                                                                                                                                                                  |
| OS-SRV-USG:launched_at               | -                                                                                                                                                                                      |
| OS-SRV-USG:terminated_at             | -                                                                                                                                                                                      |
| accessIPv4                           |                                                                                                                                                                                        |
| accessIPv6                           |                                                                                                                                                                                        |
| adminPass                            | CB7SqqGtANaD                                                                                                                                                                           |
| config_drive                         |                                                                                                                                                                                        |
| created                              | 2018-06-15T04:44:55Z                                                                                                                                                                   |
| description                          | -                                                                                                                                                                                      |
| fault                                | {"message": "'Version' object does not support indexing", "code": 500, "details": "  File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 404, in build_instances |
|                                      |     context, request_spec, filter_properties)                                                                                                                                          |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/conductor/manager.py\", line 448, in _schedule_instances                                                                                |
|                                      |     hosts = self.scheduler_client.select_destinations(context, spec_obj)                                                                                                               |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/utils.py\", line 372, in wrapped                                                                                              |
|                                      |     return func(*args, **kwargs)                                                                                                                                                       |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 51, in select_destinations                                                                         |
|                                      |     return self.queryclient.select_destinations(context, spec_obj)                                                                                                                     |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/__init__.py\", line 37, in __run_method                                                                                |
|                                      |     return getattr(self.instance, __name)(*args, **kwargs)                                                                                                                             |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/client/query.py\", line 32, in select_destinations                                                                            |
|                                      |     return self.scheduler_rpcapi.select_destinations(context, spec_obj)                                                                                                                |
|                                      |   File \"/usr/lib/python2.7/dist-packages/nova/scheduler/rpcapi.py\", line 121, in select_destinations                                                                                 |
|                                      |     return cctxt.call(ctxt, 'select_destinations', **msg_args)                                                                                                                         |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/rpc/client.py\", line 158, in call                                                                                            |
|                                      |     retry=self.retry)                                                                                                                                                                  |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/transport.py\", line 90, in _send                                                                                             |
|                                      |     timeout=timeout, retry=retry)                                                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py\", line 470, in send                                                                                   |
|                                      |     retry=retry)                                                                                                                                                                       |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py\", line 456, in _send                                                                                  |
|                                      |     msg=msg, timeout=timeout, retry=retry)                                                                                                                                             |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py\", line 1211, in topic_send                                                                           |
|                                      |     retry=retry)                                                                                                                                                                       |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py\", line 1089, in _ensure_publishing                                                                   |
|                                      |     self.ensure(method, retry=retry, error_callback=_error_callback)                                                                                                                   |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py\", line 758, in ensure                                                                                |
|                                      |     ret, channel = autoretry_method()                                                                                                                                                  |
|                                      |   File \"/usr/lib/python2.7/dist-packages/kombu/connection.py\", line 436, in _ensured                                                                                                 |
|                                      |     return fun(*args, **kwargs)                                                                                                                                                        |
|                                      |   File \"/usr/lib/python2.7/dist-packages/kombu/connection.py\", line 508, in __call__                                                                                                 |
|                                      |     return fun(*args, channel=channels[0], **kwargs), channels[0]                                                                                                                      |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py\", line 734, in execute_method                                                                        |
|                                      |     method()                                                                                                                                                                           |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py\", line 1119, in _publish                                                                             |
|                                      |     producer.publish(msg, expiration=self._get_expiration(timeout),                                                                                                                    |
|                                      |   File \"/usr/lib/python2.7/dist-packages/oslo_messaging/_drivers/impl_rabbit.py\", line 1098, in _get_expiration                                                                      |
|                                      |     if ...
(more)
edit retag flag offensive close merge delete