Instance State reports build on Termination
Bug #793785 reported by
Antony Messerli
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Titan |
Bug Description
When deleting an instance, the state goes to 'build' before shutting down. Should probably report terminating or deleting.
Related branches
lp:~rackspace-titan/nova/instance_states
- Vish Ishaya (community): Approve
- Brian Waldon (community): Approve
-
Diff: 2339 lines (+849/-460)20 files modifiednova/api/ec2/cloud.py (+38/-12)
nova/api/openstack/common.py (+54/-28)
nova/api/openstack/servers.py (+9/-13)
nova/api/openstack/views/servers.py (+4/-9)
nova/compute/api.py (+90/-28)
nova/compute/manager.py (+250/-225)
nova/compute/task_states.py (+59/-0)
nova/compute/vm_states.py (+39/-0)
nova/db/sqlalchemy/api.py (+4/-16)
nova/db/sqlalchemy/migrate_repo/versions/044_update_instance_states.py (+138/-0)
nova/db/sqlalchemy/models.py (+3/-13)
nova/exception.py (+1/-1)
nova/scheduler/driver.py (+4/-6)
nova/tests/api/openstack/test_server_actions.py (+22/-33)
nova/tests/api/openstack/test_servers.py (+67/-38)
nova/tests/integrated/test_servers.py (+23/-11)
nova/tests/scheduler/test_scheduler.py (+9/-4)
nova/tests/test_cloud.py (+10/-5)
nova/tests/test_compute.py (+21/-17)
nova/tests/vmwareapi/db_fakes.py (+4/-1)
Changed in nova: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Titan (rackspace-titan) |
Changed in nova: | |
status: | Confirmed → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → diablo-rbp |
Changed in nova: | |
milestone: | diablo-rbp → 2011.3 |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Can you provide more info on this? I was unable to reproduce the problem.
jtran@jtdesktop:g$ euca-describe- instances 17T18:39: 21Z nova ami-00000000 ami-00000000 instances i-00000005 instances 17T18:39: 21Z nova ami-00000000 ami-00000000
RESERVATION r-6x0ekg6y sandbox default
INSTANCE i-00000005 ami-00000003 192.168.0.2 192.168.0.2 running None (sandbox, jtdesktop) 0 m1.small 2011-08-
jtran@jtdesktop:g$ euca-terminate-
jtran@jtdesktop:g$ euca-describe-
RESERVATION r-6x0ekg6y sandbox default
INSTANCE i-00000005 ami-00000003 192.168.0.2 192.168.0.2 terminating None (sandbox, jtdesktop) 0 m1.small 2011-08-