Delete a instance after this instance resized failed, source resource is not cleared.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Charlotte Han |
Bug Description
Environment
===========
stable/mitaka
Steps to reproduce
==================
* I did boot a instance in compute node of SBCJSlot5Rack2C
* Then I did resize this instance, resize failed on finish_resize function on destination compute node SBCJSlot3Rack2C
[stack@
+------
| Field | Value |
+------
| OS-DCF:diskConfig | AUTO |
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-
| OS-EXT-STS:vm_state | error |
| OS-SRV-
| OS-SRV-
| accessIPv4 | |
| accessIPv6 | |
| addresses | public=2001:db8::6, 10.43.239.76 |
| config_drive | True |
| created | 2016-05-
| fault | {u'message': u'Unexpected vif_type=
| | 375, in decorated_
| | line 4054, in finish_resize\n self._set_
| | packages/
| | packages/
| | "/opt/stack/
| | "/opt/stack/
| | packages/
| | packages/
| | "/opt/stack/
| | "/opt/stack/
| | "/opt/stack/
| | "/opt/stack/
| | "/opt/stack/
| | u'2016-
| flavor | m1.tiny (1) |
| hostId | 7642c4dc55a8bc4
| id | 00bc72d0-
| image | cirros-
| key_name | None |
| name | hanrong_az |
| os-extended-
| project_id | 4d6e4e79ea1f4ec
| properties | |
| security_groups | [{u'name': u'default'}] |
| status | ERROR |
| updated | 2016-05-
| user_id | 2903b30f6d9f4c4
+------
MariaDB [nova]> select source_
+------
| source_compute | source_compute | status | instance_uuid | instance_uuid |
+------
| SBCJSlot5Rack2C
+------
* then I did delete this instance successfully. But the instance's data is not cleared on source compute node.
[stack@
drwxrwxr-x 2 stack libvirtd 4096 May 27 10:27 00bc72d0-
[stack@
Id Name State
-------
- instance-00000014 shut off
Expected result
===============
Instance's data is cleared after it had been deleted.
Changed in nova: | |
assignee: | nobody → Charlotte Han (hanrong) |
Changed in nova: | |
assignee: | nobody → Charlotte Han (hanrong) |
Changed in nova: | |
status: | New → In Progress |
Changed in nova: | |
importance: | Undecided → Medium |
Changed in nova: | |
status: | In Progress → Fix Committed |
Resize failed on finish_resize, it has no rollback process, I think we could modify this point.