Ask Your Question
0

failed to remove an instance from CLI and dashboard [closed]

asked 2014-02-03 03:59:47 -0500

Moss gravatar image

updated 2014-02-03 04:15:02 -0500

Hello,

I created test cirros instance with CLI command with admin tenant credentials:

nova boot --image cirros_0.3.1 --flavor m1.tiny --key_name mykey --nic net-id=a695399c-fe59-4a1c-b3ac-8d36a2545ecb cirros

Instanced booted correctly but now I can't delete it - it shows ERROR state and these errors in nova-compute.log:

2014-02-03 10:34:17.101 19552 ERROR nova.openstack.common.rpc.amqp [req-c9bbecc7-a65a-4205-ad7a-205e939dd0ff bf635577c9c44fdbb9e5d21e6a0acb2b b42b9cfe2da84fe7883a3eb29c1726c6] Exception during message handling
2014-02-03 10:34:17.101 19552 TRACE nova.openstack.common.rpc.amqp   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 964, in _nw_info_build_network
2014-02-03 10:34:17.101 19552 TRACE nova.openstack.common.rpc.amqp     label=network_name,
2014-02-03 10:34:17.101 19552 TRACE nova.openstack.common.rpc.amqp UnboundLocalError: local variable 'network_name' referenced before assignment

All services online, when I boot new instance from dashboard within other tenants all works fine - any ideas?

Thanks,

Peter

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by koolhead17
close date 2014-02-03 07:48:47.810423

2 answers

Sort by ยป oldest newest most voted
0

answered 2014-02-03 04:58:11 -0500

Moss gravatar image

I've tried but without success - I manually deleted it from virsh and mysql according to this link: http://www.gossamer-threads.com/lists/openstack/dev/16272

edit flag offensive delete link more
0

answered 2014-02-03 04:50:09 -0500

Ahmed Samir gravatar image

updated 2014-02-03 04:50:22 -0500

Try

$ nova reset-state ID
$ nova delete ID
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-02-03 03:59:47 -0500

Seen: 328 times

Last updated: Feb 03 '14