문서의 이전 판입니다!


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.
", "deploy_stderr": "+ '[' -n '{\"network_config\": [{\"addresses\": [{\"ip_netmask\": \"10.10.10.21/24\"}], \"name\": \"nic1\", \"routes\": [{\"ip_netmask\": \"169.254.169.254/32\", \"next_hop\": \"192.168.24.1\"}], \"type\": \"interface\", \"use_dhcp\": false}, {\"addresses\": [{\"ip_netmask\": \"10.10.20.10/24\"}], \"name\": \"nic2\", \"type\": \"interface\", \"use_dhcp\": false}, {\"addresses\": [{\"ip_netmask\": \"10.10.40.6/24\"}], \"members\": [{\"name\": \"nic6\", \"type\": \"interface\"}], \"name\": \"br-ex\", \"type\": \"ovs_bridge\", \"use_dhcp\": false}, {\"addresses\": [{\"ip_netmask\": \"10.10.30.12/24\"}], \"name\": \"nic3\", \"type\": \"interface\", \"use_dhcp\": false}, {\"addresses\": [{\"ip_netmask\": \"10.10.51.15/24\"}], \"name\": \"nic5\", \"type\": \"interface\", \"use_dhcp\": false}]}' ']'
+ '[' -z '' ']'
+ trap configure_safe_defaults EXIT
+ mkdir -p /etc/os-net-config
+ echo '{\"network_config\": [{\"addresses\": [{\"ip_netmask\": \"10.10.10.21/24\"}], \"name\": \"nic1\", \"routes\": [{\"ip_netmask\": \"169.254.169.254/32\", \"next_hop\": \"192.168.24.1\"}], \"type\": \"interface\", \"use_dhcp\": false}, {\"addresses\": [{\"ip_netmask\": \"10.10.20.10/24\"}], \"name\": \"nic2\", \"type\": \"interface\", \"use_dhcp\": false}, {\"addresses\": [{\"ip_netmask\": \"10.10.40.6/24\"}], \"members\": [{\"name\": \"nic6\", \"type\": \"interface\"}], \"name\": \"br-ex\", \"type\": \"ovs_bridge\", \"use_dhcp\": false}, {\"addresses\": [{\"ip_netmask\": \"10.10.30.12/24\"}], \"name\": \"nic3\", \"type\": \"interface\", \"use_dhcp\": false}, {\"addresses\": [{\"ip_netmask\": \"10.10.51.15/24\"}], \"name\": \"nic5\", \"type\": \"interface\", \"use_dhcp\": false}]}'
++ type -t network_config_hook 
...

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

로그인하면 댓글을 남길 수 있습니다.
  • openstack_overcloud_설치_시_에러메세지_확인.1587523290.txt.gz
  • 마지막으로 수정됨: 2020/04/22 02:41
  • 저자 zzung