Activity log for bug #1282910

Date Who What changed Old value New value Message
2014-02-21 07:25:17 Ankit Agrawal bug added bug
2014-02-21 07:25:43 Ankit Agrawal nova: assignee Ankit Agrawal (ankit11-agrawal)
2014-02-21 07:53:43 Ankit Agrawal bug added subscriber Abhishek Kekane
2014-02-21 09:24:46 OpenStack Infra nova: status New In Progress
2014-04-04 13:52:32 Ankit Agrawal description If the vm fails to spawn on the nova compute node where it was suppose to run, then it reschedules to run the vm on the another compute node. After the vm is created successfully on the another node, you will notice that VM is assigned 2 fixed ip addresses. Expected output: only one fixed ip address should be assigned to a VM. Actual output: openstack@development-009:/opt/stack/nova/nova/compute$ nova list +--------------------------------------+-------------------------------------------+--------+------------+-------------+------------------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-------------------------------------------+--------+------------+-------------+------------------------------+ | 42016c47-40c3-4562-b2b5-d3c8199cc4e6 | nova-42016c47-40c3-4562-b2b5-d3c8199cc4e6 | ACTIVE | - | Running | private=10.0.0.81, 10.0.0.82 | +--------------------------------------+-------------------------------------------+--------+------------+-------------+------------------------------+ To reproduce this issue, you will need to explicitly raise Exception from compute/manafger.py->_spawn method. If the vm fails to spawn on the nova compute node where it was suppose to run, then it reschedules to run the vm on the another compute node. Network of VM is deleted before trying to re-schedule it on another host. But system_metadata of instance is not updated ('network_allocated' is not set to False). We should also update system_metadata after network is deleted from VM. While allocating network to instance we set system_metadata 'network_allocated' as True, but while deallocating network we do not set 'network_allocated' to False.
2014-06-11 19:59:06 Andrew Laski bug added subscriber Andrew Laski
2014-07-10 17:33:10 Joe Gordon nova: status In Progress Incomplete
2014-09-17 13:59:41 Sean Dague nova: status Incomplete Invalid