Unable to delete VMs - IceHouse

asked 2014-09-11 01:55:46 -0500

thiyagu gravatar image

updated 2014-09-12 18:34:35 -0500

smaffulli gravatar image

Hi All, I'm new to the Opensatck. I'm trying to create a Openstack - 2 node architecture setup as given in http://docs.openstack.org/icehouse/in... with Legacy networking.

OS Details: 
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.5 LTS
Release:        12.04
Codename:       precise

Openstack : IceHouse

Python version : 2.7.3

Whenever i tried to delete a Vm using "nova delete <instance id="">" . The VM is going to ERROR Status in the "nova list" output. I have through the nova-compute logs and found that the VM is deleted from the Hypervisor but after that the deallocating the network is failing. Error is RuntimeError : maximum recursion depth exceeded in cmp

Please help insolving the same.

Snippet From nova-compute.log: +++++++++++++++++++++++++++++

2014-09-10 23:03:31.233 20869 AUDIT nova.compute.manager [req-759392dd-7d76-411c-a6ac-8af81676b819 aeb86c954dc145f5abd19e839524f4c1 2e4354e085884350be815e3a01ba22fe] [instance: 402ac2e2-9245-4162-95e5-602d12cd501e] Terminating instance
2014-09-10 23:03:31.921 20869 DEBUG nova.virt.driver [-] Emitting event <nova.virt.event.LifecycleEvent object at 0x4461a90> emit_event /usr/lib/python2.7/dist-packages/nova/virt/driver.py:1207
2014-09-10 23:03:31.921 20869 INFO nova.compute.manager [-] Lifecycle event 1 on VM 402ac2e2-9245-4162-95e5-602d12cd501e
2014-09-10 23:03:31.924 20869 INFO nova.virt.libvirt.driver [-] [instance: 402ac2e2-9245-4162-95e5-602d12cd501e] Instance destroyed successfully.
2014-09-10 23:03:31.927 20869 DEBUG nova.virt.libvirt.vif [req-759392dd-7d76-411c-a6ac-8af81676b819 aeb86c954dc145f5abd19e839524f4c1 2e4354e085884350be815e3a01ba22fe] vif_type=bridge instance={'vm_state': u'active', 'availability_zone': None, 'terminated_at': None, 'ephemeral_gb': 0, 'instance_type_id': 2, 'user_data': None, 'cleaned': False, 'vm_mode': None, 'deleted_at': None, 'reservation_id': u'r-x4c0igrr', 'id': 4, 'security_groups': [{'project_id': u'2e4354e085884350be815e3a01ba22fe', 'user_id': u'aeb86c954dc145f5abd19e839524f4c1', 'description': u'default', 'deleted': False, 'created_at': datetime.datetime(2014, 9, 10, 5, 27, 58, tzinfo=<iso8601.iso8601.Utc object at 0x24ff5d0>), 'updated_at': None, 'deleted_at': None, 'id': 1, 'name': u'default'}], 'disable_terminate': False, 'display_name': u'fourth-instance', 'uuid': '402ac2e2-9245-4162-95e5-602d12cd501e', 'default_swap_device': None, 'info_cache': {'instance_uuid': '402ac2e2-9245-4162-95e5-602d12cd501e', 'deleted': False, 'created_at': datetime.datetime(2014, 9, 11, 5, 43, 17, tzinfo=<iso8601.iso8601.Utc object at 0x24ff5d0>), 'updated_at': datetime.datetime(2014, 9, 11, 5, 43, 18, tzinfo=<iso8601.iso8601.Utc object at 0x24ff5d0>), 'network_info': [VIF({'ovs_interfaceid': None, 'network': Network({'bridge': u'br100', 'subnets': [Subnet({'ips': [FixedIP({'meta': {}, 'version': 4, 'type': u'fixed', 'floating_ips': [], 'address': u'10.29.112.13'})], 'version': 4, 'meta': {u'dhcp_server': u'10.29.112.9'}, 'dns': [IP({'meta': {}, 'version': 4, 'type': u'dns', 'address': u'8.8.4.4'})], 'routes': [], 'cidr': u'10.29.112.8/29', 'gateway': IP({'meta': {}, 'version': 4, 'type': u'gateway', 'address': u'10.29.112.9'})}), Subnet({'ips': [], 'version': None, 'meta': {u'dhcp_server': u'10.29.112.9'}, 'dns': [], 'routes': [], 'cidr': None, 'gateway': IP({'meta': {}, 'version': None, 'type': u'gateway', 'address': None})})], 'meta': {u'tenant_id': None, u'multi_host': True, u'should_create_bridge': True, u'bridge_interface': u'eth1'}, 'id': u'30f68c80-1977-47a4-85cb-014d64c421eb', 'label': u'ext-net'}), 'devname': None, 'qbh_params': None, 'meta': {}, 'details': {}, 'address': u'fa:16:3e:ce:da:13', 'active': False, 'type': u'bridge', 'id': u'eeb53217-9c11-495e-8ee8-877e6803ba56', 'qbg_params': None})], 'deleted_at': None}, 'hostname': u'fourth-instance', 'launched_on': u'compute1', 'display_description': u'fourth-instance', 'key_data': u'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDinafYdyz402IZs+VMR5jbomnv7vfQLI97804d/omQr9dVsHtAudq5OcUlt9I266EuKJVSwRBjAsbvHWJgAQ3OdS6njKXQEe9IdseliMW4h52cXcdUyyLkdO0RQ+3Xl6eyz68IkTm44xeirDWMjaTBbdMC5WBLFDpuR02DgBzmSrKElJrODINQ0/q6M4iEeEQaHLoVhKSvV1/gudcHR/90M9XHRyrjFNxNNl1BA5nmeBYRKbZeVEvhdMCtTLFuc365r2VhUWp9vM0mzG/0Xxn05AVxhjSb9SdXCL0Mr90v3L4XvuRbxjkhmLWWlxvLg1vkcj1WEHD8pyGAIkcNMkVd demo@controller\n', 'kernel_id': u'', 'power_state': 1, 'default_ephemeral_device': None, 'progress': 0, 'project_id ...
(more)
edit retag flag offensive close merge delete