Can't delete a vm

Szabo, Istvan (Agoda) Istvan.Szabo at agoda.com
Tue Sep 22 04:35:54 UTC 2020


Hello,


I have vm which is stuck in the build phase:


openstack server list --all-projects --long --limit -1 | grep 94ab55d3-3e39-48d3-a9b2-505838ceb6e7                                                               | 94ab55d3-3e39-48d3-a9b2-505838ceb6e7 | hk-qaciapp-2020                        | BUILD   | scheduling | NOSTATE     |                                       | CentOS-7-x86_64-1511 (14.11.2017)          | 2caaef01-e2f9-4e93-961a-c2b2d4a6be82 | QA_VLAN62         | None


I've tried to delete with openstack server delete, nova delete force, restarted the nova services on all management nodes, restarted the nova compute service where it was originally spawned but still visible.


I see in the database in couple of places either the id and either the hostname, like in instance mapping table, instances table, nova_cell0 database ...


I have an idea how to delete, so I'd spawn just a vm and check which tables are created the entries, and I would go through all tables with the problematic one and delete 1 by 1 but this will takes me hours ....

Any faster way you might suggest me please?


Thank you


________________________________
This message is confidential and is for the sole use of the intended recipient(s). It may also be privileged or otherwise protected by copyright or other legal rules. If you have received it by mistake please let us know by reply email and delete it from your system. It is prohibited to copy this message or disclose its content to anyone. Any confidentiality or privilege is not waived or lost by any mistaken delivery or unauthorized disclosure of the message. All messages sent to and from Agoda may be monitored to ensure compliance with company policies, to protect the company's interests and to remove potential malware. Electronic messages may be intercepted, amended, lost or deleted, or contain viruses.



More information about the openstack-discuss mailing list