does bosh delete VMs in error state [nova] on OpenStack?


Lukas Lehner <weblehner@...>
 

Hi

does bosh delete VMs in error state on OpenStack?

I am doing a bosh deploy and see with "nova list" that bosh creates VMs.

They fail in error state and then gone. Is that some bosh mechanism?

I need this error state VMs for OpenStack troubleshooting

$ nova list | grep -v ACTIVE
+--------------------------------------+-----------------------------------------+--------+---------------------------
-------------------+
| ID | Name
| Status | Networks
|
+--------------------------------------+-----------------------------------------+--------+---------------------------
-------------------+
| 0f09b6aa-4baa-4182-b3d2-e9c86d085d2a |
vm-3e129693-7ae6-438a-9e9d-61fec93abf02 | ERROR |
|
| d04e7611-4e55-4c86-854a-31b4df2fda5c |
vm-ddf9862b-1858-4904-bfb3-0c57c37b53c7 | BUILD |
|
+--------------------------------------+-----------------------------------------+--------+---------------------------
-------------------+


ten seconds later the error state VM is gone:

$ nova list | grep 0f09b6aa-4baa-4182-b3d2-e9c86d085d2a
$ nova list | grep -v ACTIVE
+--------------------------------------+-----------------------------------------+--------+---------------------------
-------------------+
| ID | Name
| Status | Networks
|
+--------------------------------------+-----------------------------------------+--------+---------------------------
-------------------+
| d04e7611-4e55-4c86-854a-31b4df2fda5c |
vm-ddf9862b-1858-4904-bfb3-0c57c37b53c7 | BUILD |
|
+--------------------------------------+-----------------------------------------+--------+---------------------------
-------------------+