Openstack overcloud 설치 시 에러메세지 확인

오버클라우드 설치 시 에러와 함께 설치가 되지 않은경우 아래 명령어로 에러메세지 상세 조회가 가능하다.

# openstack stack failures list overcloud --long

오버클라우드 실패 원인 찾기 접근 방법 #2

# heat resource-show overcloud Controller
resource_status CREATE_FAILED 상태 확인 혹은 아래 명령어로 실패 확인
# openstack stack resource list overcloud -c resource_name -c resource_status | grep 'CREATE_FAILED'

#heat resource-list -n5 overcloud|grep -v COMPLE
+-----------------------+-------------------------------------------+------------------------------------+-----------------+----------------------+-----------------------------------------------------+
| resource_name         | physical_resource_id                      | resource_type                      | resource_status | updated_time         | stack_name                                          |
+-----------------------+-------------------------------------------+------------------------------------+-----------------+----------------------+-----------------------------------------------------+
| Controller            | 684e08e4-a304-4630-90fe-c9c24c3b45a7      | OS::Heat::ResourceGroup            | CREATE_FAILED   | 2019-12-12T09:25:09Z | overcloud                                           |
| 0                     | 2735e632-d8dd-4baa-9981-937cd1ac489f      | OS::TripleO::Controller            | CREATE_FAILED   | 2019-12-12T09:28:25Z | overcloud-Controller-65ojpltgs3jd                   |
| NetworkDeployment     | d6d8cab5-47a1-4020-bd63-431c3cc41d83      | OS::TripleO::SoftwareDeployment    | CREATE_FAILED   | 2019-12-12T09:28:27Z | overcloud-Controller-65ojpltgs3jd-0-fzjjcdw7sghj    |
+-----------------------+-------------------------------------------+------------------------------------+-----------------+----------------------+-----------------------------------------------------+

# echo -e `heat deployment-show [physical_resource_id] 
WARNING (shell) "heat deployment-show" is deprecated, please use "openstack software deployment show" instead
{ "status": "FAILED", "server_id": "8e912488-5e86-4db2-8c2a-2fe00b21e7eb", "config_id": "342e9b47-39ab-48af-8743-aab783e8b508", "output_values": { "deploy_stdout": "Device has generated MAC, skipping.
Device has generated MAC, skipping.
ERROR: configuration of safe defaults failed.

위와 같이 상세 로그를 볼 수 있음