[Openstack] Error launching instances

John Smith lbalbalba at gmail.com
Tue Nov 26 17:27:01 UTC 2013


On Tue, Nov 26, 2013 at 6:18 PM, Remo Mattei <Remo at mattei.org> wrote:
> you have two tenant and one password. can you try this from the command line
>
Ah. I see i have set 'OS_TENANT_NAME' twice. Ill remove the first.
(With the last export it is set to 'demo', as I intendend.)


>
> source /whereyourdevstackisinstalled/openrc admin
>
> then do nova show
>


Doing the following:

$ source /usr/local/src/devstack/openrc admin
$ nova show myvm


Results in the same output :


+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Property                             | Value



                                                 |
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | MANUAL



                                                 |
| OS-EXT-AZ:availability_zone          | nova



                                                 |
| OS-EXT-SRV-ATTR:host                 | localhost.localdomain



                                                 |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | localhost.localdomain



                                                 |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000001



                                                 |
| OS-EXT-STS:power_state               | 0



                                                 |
| OS-EXT-STS:task_state                | None



                                                 |
| OS-EXT-STS:vm_state                  | error



                                                 |
| OS-SRV-USG:launched_at               | None



                                                 |
| OS-SRV-USG:terminated_at             | None



                                                 |
| accessIPv4                           |



                                                 |
| accessIPv6                           |



                                                 |
| config_drive                         |



                                                 |
| created                              | 2013-11-26T17:11:44Z



                                                 |
| fault                                | {u'message': u'Remote error:
ProcessExecutionError Unexpected error while running command.


                                                  |
|                                      | Command: sudo nova-rootwrap
/etc/nova/rootwrap.conf env CONFIG_FILE=["/etc/nova/nova.conf"]
NETWORK_ID=1 dnsmasq --strict-order --bind-interfaces --conf-file=
--pid-file=/opt/stac', u'code': 500, u'details': u'  File
"/opt/stack/nova/nova/compute/manager.py", line 265, in
decorated_function |
|                                      |     return function(self,
context, *args, **kwargs)


                                                     |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1803, in run_instance



 |
|                                      |     do_run_instance()



                                                 |
|                                      |   File
"/opt/stack/nova/nova/openstack/common/lockutils.py", line 248, in
inner


     |
|                                      |     return f(*args, **kwargs)



                                                 |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1802, in
do_run_instance


               |
|                                      |     legacy_bdm_in_spec)



                                                 |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 957, in _run_instance



 |
|                                      |     notify("error",
msg=unicode(e))  # notify that build failed


                                                           |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 941, in _run_instance



 |
|                                      |     instance, image_meta,
legacy_bdm_in_spec)


                                                     |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1067, in
_build_instance


               |
|                                      |     filter_properties, bdms,
legacy_bdm_in_spec)


                                                  |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1111, in
_reschedule_or_error


               |
|                                      |
self._log_original_error(exc_info, instance_uuid)



    |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1106, in
_reschedule_or_error


               |
|                                      |     bdms, requested_networks)



                                                 |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1854, in
_shutdown_instance


               |
|                                      |
self._try_deallocate_network(context, instance, requested_networks)



    |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1814, in
_try_deallocate_network


               |
|                                      |
self._set_instance_error_state(context, instance[\'uuid\'])



    |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1809, in
_try_deallocate_network


               |
|                                      |
self._deallocate_network(context, instance, requested_networks)



    |
|                                      |   File
"/opt/stack/nova/nova/compute/manager.py", line 1491, in
_deallocate_network


               |
|                                      |     context, instance,
requested_networks=requested_networks)


                                                        |
|                                      |   File
"/opt/stack/nova/nova/network/api.py", line 94, in wrapped



 |
|                                      |     return func(self,
context, *args, **kwargs)


                                                         |
|                                      |   File
"/opt/stack/nova/nova/network/api.py", line 319, in
deallocate_for_instance


                    |
|                                      |
self.network_rpcapi.deallocate_for_instance(context, **args)



    |
|                                      |   File
"/opt/stack/nova/nova/network/rpcapi.py", line 199, in
deallocate_for_instance


                 |
|                                      |     host=host,
requested_networks=requested_networks)


                                                                |
|                                      |   File
"/opt/stack/nova/nova/rpcclient.py", line 85, in call



 |
|                                      |     return
self._invoke(self.proxy.call, ctxt, method, **kwargs)


                                                                    |
|                                      |   File
"/opt/stack/nova/nova/rpcclient.py", line 63, in _invoke



 |
|                                      |     return cast_or_call(ctxt,
msg, **self.kwargs)


                                                 |
|                                      |   File
"/opt/stack/nova/nova/openstack/common/rpc/proxy.py", line 126, in
call


     |
|                                      |     result =
rpc.call(context, real_topic, msg, timeout)


                                                                  |
|                                      |   File
"/opt/stack/nova/nova/openstack/common/rpc/__init__.py", line 139, in
call


  |
|                                      |     return
_get_impl().call(CONF, context, topic, msg, timeout)


                                                                    |
|                                      |   File
"/opt/stack/nova/nova/openstack/common/rpc/impl_kombu.py", line 816,
in call


   |
|                                      |
rpc_amqp.get_connection_pool(conf, Connection))



    |
|                                      |   File
"/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 574, in call



 |
|                                      |     rv = list(rv)



                                                 |
|                                      |   File
"/opt/stack/nova/nova/openstack/common/rpc/amqp.py", line 539, in
__iter__


      |
|                                      |     raise result



                                                 |
|                                      | ', u'created':
u'2013-11-26T17:11:54Z'}


                                                                |
| flavor                               | m1.nano (42)



                                                 |
| hostId                               |
5fedd4fe7cdf9b05e5ada0b53aedf59ddf7f7bd298961e1de5f05366



        |
| id                                   |
808499b8-304b-4d84-8175-3804fcb4e40a



        |
| image                                | cirros-0.3.0-i386
(5df95f55-8306-4c62-ab3d-74ec4e5a750c)


                                                             |
| key_name                             | None



                                                 |
| metadata                             | {}



                                                 |
| name                                 | myvm



                                                 |
| os-extended-volumes:volumes_attached | []



                                                 |
| private network                      |



                                                 |
| security_groups                      | default



                                                 |
| status                               | ERROR



                                                 |
| tenant_id                            |
fbf71098bebb4180a54162e844e5eed8



        |
| updated                              | 2013-11-26T17:11:55Z



                                                 |
| user_id                              |
6ef0a69f10844c5f95974e97dde70683



        |
+--------------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
-bash-4.2$




More information about the Openstack mailing list