You have been subscribed to a public bug:

Use the new OpenStack envirement created by devstack:
(1)Create a vm by horizon dashboard;
(2)step 1 failed and report spawning state for a long time 
(3)delete the vm
(4)step 3 still failed and report deleting state for a long time(over 30 
minutes)
Now the information as follows:

root@tecs:/var/log#   nova list --all-t
+--------------------------------------+------+----------------------------------+--------+------------+-------------+------------------------+
| ID                                   | Name | Tenant ID                       
 | Status | Task State | Power State | Networks               |
+--------------------------------------+------+----------------------------------+--------+------------+-------------+------------------------+
| 5257614b-9746-4236-aa6c-c600bf633b89 | vm   | 
87b8e4c24cec4f0c9ca3743137f191cc | BUILD  | deleting   | NOSTATE     | 
private_zyx=10.20.20.5 |
+--------------------------------------+------+----------------------------------+--------+------------+-------------+------------------------+
root@tecs:/var/log# nova show 5257614b-9746-4236-aa6c-c600bf633b89
+--------------------------------------+----------------------------------------------------------------------------------+
| Property                             | Value                                  
                                          |
+--------------------------------------+----------------------------------------------------------------------------------+
| OS-DCF:diskConfig                    | AUTO                                   
                                          |
| OS-EXT-AZ:availability_zone          | nova                                   
                                          |
| OS-EXT-SRV-ATTR:host                 | tecs                                   
                                          |
| OS-EXT-SRV-ATTR:hostname             | vm                                     
                                          |
| OS-EXT-SRV-ATTR:hypervisor_hostname  | tecs                                   
                                          |
| OS-EXT-SRV-ATTR:instance_name        | instance-00000007                      
                                          |
| OS-EXT-SRV-ATTR:kernel_id            | 8d7dca75-f668-40fa-9cea-be6ce5327b26   
                                          |
| OS-EXT-SRV-ATTR:launch_index         | 0                                      
                                          |
| OS-EXT-SRV-ATTR:ramdisk_id           | 46d6218e-6d3d-45d7-8f32-a9015b5cc0a1   
                                          |
| OS-EXT-SRV-ATTR:reservation_id       | r-3z1sstxn                             
                                          |
| OS-EXT-SRV-ATTR:root_device_name     | /dev/vda                               
                                          |
| OS-EXT-SRV-ATTR:user_data            | -                                      
                                          |
| OS-EXT-STS:power_state               | 0                                      
                                          |
| OS-EXT-STS:task_state                | deleting                               
                                          |
| OS-EXT-STS:vm_state                  | building                               
                                          |
| OS-SRV-USG:launched_at               | -                                      
                                          |
| OS-SRV-USG:terminated_at             | -                                      
                                          |
| accessIPv4                           |                                        
                                          |
| accessIPv6                           |                                        
                                          |
| config_drive                         |                                        
                                          |
| created                              | 2016-11-23T01:53:39Z                   
                                          |
| description                          | vm                                     
                                          |
| flavor                               | m1.medium (3)                          
                                          |
| hostId                               | 
3c9f649d1199006845c46205e48f67a89a06a942505514c52030d658                        
 |
| host_status                          | UP                                     
                                          |
| id                                   | 5257614b-9746-4236-aa6c-c600bf633b89   
                                          |
| image                                | Attempt to boot from volume - no image 
supplied                                  |
| key_name                             | 118                                    
                                          |
| locked                               | False                                  
                                          |
| metadata                             | {}                                     
                                          |
| name                                 | vm                                     
                                          |
| os-extended-volumes:volumes_attached | [{"id": 
"8b8c1e20-efb8-4c63-a7eb-2d2c5603ea86", "delete_on_termination": false}] |
| private_zyx network                  | 10.20.20.5                             
                                          |
| progress                             | 0                                      
                                          |
| security_groups                      | default                                
                                          |
| status                               | BUILD                                  
                                          |
| tags                                 | []                                     
                                          |
| tenant_id                            | 87b8e4c24cec4f0c9ca3743137f191cc       
                                          |
| updated                              | 2016-11-23T02:20:40Z                   
                                          |
| user_id                              | 95058f8077f140a1a48b6167cf86eb24       
                                          |
+--------------------------------------+----------------------------------------------------------------------------------+

when I try to delete the vm by shell command,still failed:
root@tecs:/var/log# nova delete 5257614b-9746-4236-aa6c-c600bf633b89
Request to delete server 5257614b-9746-4236-aa6c-c600bf633b89 has been accepted.
root@tecs:/var/log# nova list --all-t
+--------------------------------------+------+----------------------------------+--------+------------+-------------+------------------------+
| ID                                   | Name | Tenant ID                       
 | Status | Task State | Power State | Networks               |
+--------------------------------------+------+----------------------------------+--------+------------+-------------+------------------------+
| 5257614b-9746-4236-aa6c-c600bf633b89 | vm   | 
87b8e4c24cec4f0c9ca3743137f191cc | BUILD  | deleting   | NOSTATE     | 
private_zyx=10.20.20.5 |
+--------------------------------------+------+----------------------------------+--------+------------+-------------+------------------------+
root@tecs:/var/log#

** Affects: nova
     Importance: Undecided
         Status: New

-- 
vm can't deleted by dashboard
https://bugs.launchpad.net/bugs/1644069
You received this bug notification because you are a member of Yahoo! 
Engineering Team, which is subscribed to OpenStack Compute (nova).

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to