Académique Documents
Professionnel Documents
Culture Documents
1)
openstack overcloud deploy --templates \
-e /usr/share/openstack-tripleo-heat-templates/environments/networkisolation.yaml \
-e ~/templates/network-environment.yaml \
-e ~/templates/storage-environment.yaml \
--control-scale 3 \
--compute-scale 3 \
--ceph-storage-scale 3 \
--control-flavor control \
--compute-flavor compute \
--ceph-storage-flavor ceph-storage \
--ntp-server pool.ntp.org \
--neutron-network-type vxlan \
--neutron-tunnel-types vxlan \
2)
openstack overcloud deploy ‐‐templates ~/templates \
> ‐‐control‐scale 1 ‐‐compute‐scale 1 \
> ‐‐ceph‐storage‐scale 1 \
> ‐‐control‐flavor control \
> ‐‐compute‐flavor compute \
> ‐‐ceph‐storage‐flavor ceph‐storage \
> ‐‐neutron‐tunnel‐types vxlan ‐‐neutron‐network‐type vxlan \
> ‐e ~/templates/compute‐extraconfig.yaml \
> ‐e ~/templates/environments/network‐isolation.yaml \
> ‐e ~/templates/environments/storage‐environment.yaml \
> ‐e ~/templates/network‐environment.yaml \
> ‐e ~/templates/pre‐config‐fix.yaml
Deploying templates in the directory /home/stack/templates/
3)
Troubleshooting on Registration:
a) heat stack-list
b) ironic node-list
Here are some common issues that arise from the provisioning process:
Review the Provision State and Maintenance columns in the resulting table. Check for the following:
If Provision State is available, then the problem occurred before bare metal deployment has even
started.
If Provision State is active and Power State is power on, the bare metal deployment has finished
successfully. This means that the problem occurred during the post-deployment configuration step.
If Provision State is wait call-back for a node, the bare metal provisioning process has not yet finished
for this node. Wait until this status changes, otherwise, connect to the virtual console of the failed node
and check the output.
If Provision State is error or deploy failed, then bare metal provisioning has failed for this node. Check
the bare metal node’s details:
If you see wait timeout error and the node Power State is power on, connect to the virtual console of
the failed node and check the output.
c) heat resource-list overcloud (look for failed resource with status CREATE_FAILED).
heat resource-show overcloud [FAILED RESOURCE]
Check for any information in the resource_status_reason field that can help your diagnosis.
In some cases, nova fails deploying the node in entirety. This situation would be indicated by a
failed OS::Heat::ResourceGroup for one of the Overcloud role types. Use nova to see the failure
in this case.
$ nova list
$ nova show [SERVER ID]
Troubleshooting the overcloud after creation:
List all stacks. The --show-nested displays all child stacks and their respective parent
stacks. This command helps identify the point where a stack failed.
List all resources in the overcloud stack and their current states. This helps identify
which resource is causing failures in the stack. You can trace this resource failure to its
respective parameters and configuration in the heat template collection and the Puppet
modules.
List all events related to the overcloud stack in chronological order. This includes the
initiation, completion, and failure of all resources in the stack. This helps identify points of
resource failure.