Heat stack-delete が HTTP/1.1 204 No Content で失敗する
Issue
- スタックを削除するために
stack-deleteコマンドを実行すると途中で停止します
# heat --os-tenant-name <TENANT_NAME1> stack-list
+--------------------------------------+-----------------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+-----------------------+--------------------+----------------------+
| 638e84e0-13de-5781-ce41-a4f9d8f1c520 | <NO_EXISTENT_STACK-1> | DELETE_IN_PROGRESS | 2016-01-21T17:18:27Z |
| 3f6246ce-66e6-52c6-9b1e-4dd35e29c0d5 | <NO_EXISTENT_STACK-2> | DELETE_IN_PROGRESS | 2016-01-21T17:21:41Z |
| c13029f6-411e-51ec-9d13-53510fa753b9 | <STACK_NAME-3> | CREATE_COMPLETE | 2016-02-01T17:45:23Z |
+--------------------------------------+-----------------------+--------------------+----------------------+
--debugオプション付きでheat stack-deleteを再度実行したところHTTP/1.1 204 No Contentエラーが出力されていることがわかりました
# heat --os-tenant-name <TENANT_NAME1> --debug stack-delete <NO_EXISTENT_STACK-1>
<...>
DEBUG (connectionpool:383) "DELETE /v1/1aa37eb368f050da956f0f81d99003c6/stacks/ <NO_EXISTENT_STACK-1>/638e84e0-13de-5781-ce41-a4f9d8f1c520 HTTP/1.1" 204 0
HTTP/1.1 204 No Content
# heat --os-tenant-name <TENANT_NAME1> --debug stack-delete <NO_EXISTENT_STACK-2>
<...>
DEBUG (connectionpool:383) "DELETE /v1/1aa37eb368f050da956f0f81d99003c6/stacks/<NO_EXISTENT_STACK-2>/3f6246ce-66e6-52c6-9b1e-4dd35e29c0d5 HTTP/1.1" 204 0
HTTP/1.1 204 No Content
- スタックはすでに削除されているようですが、 head のデータベース中にはまだ存在しているように見受けられます
Environment
- Red Hat OpenStack 5.0 on RHEL 7
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
