No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Guide for Interworking Between HUAWEI CloudFabric Solution and Redhat OpenStack

Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Deploying the Overcloud

Deploying the Overcloud

Run the following command in /home/stack to deploy the Overcloud:

openstack overcloud deploy --templates templates/openstack-tripleo-heat-templates/ -e templates/openstack-tripleo-heat-templates/environments/network-isolation.yaml -e templates/network-environment.yaml -e templates/storage-environment.yaml -e templates/openstack-tripleo-heat-templates/environments/network-management.yaml  --control-flavor control --compute-flavor compute --ceph-storage-flavor ceph-storage --control-scale 3 --compute-scale 7 --ceph-storage-scale 4 --ntp-server 172.26.68.20  --neutron-network-type vlan --neutron-bridge-mappings physnet2:br-link0 --neutron-network-vlan-ranges physnet2:2:200 --neutron-disable-tunneling --log-file overcloud_install.log --timeout 60

The following table describes the parameters.

Parameter

Description

--templates

Creates the Overcloud using the Heat template collection in /usr/share/openstack-tripleo-heat-templates.

-e *.yaml

Adds an additional environment file to the Overcloud plan.

--control-scale 3

Expands the number of Controller nodes to 3.

--compute-scale 7

Expand the number of Compute nodes to 7.

--ceph-storage-scale 4

Expand the number of Ceph Storage nodes to 4.

--control-flavor control

Uses a specific flavor for the Controller nodes.

--compute-flavor compute

Uses a specific flavor for the Compute nodes.

--ceph-storage-flavor ceph-storage

Uses a specific flavor for the Ceph Storage nodes.

--ntp-server 172.26.68.20

Uses an NTP server for time synchronization. The PXE IP address of the Undercloud is used as the NTP server IP address if no external NTP server is used.

--neutron-network-type

Specifies the tenant network type. Set it to VLAN.

--neutron-bridge-mappings

Specifies the bridge mapping logic used by Compute nodes.

--neutron-network-vlan-ranges

Specifies the VLAN mapping range of OVS.

The following figures show the information after successful deployment.

After successful deployment, the environment variable file overcloudrc of the Overcloud is generated in the /home/stack directory of the Undercloud. Before running OpenStack commands on the Overcloud, you need to run the environment variable file.

[stack@undercloud ~]$ vi overcloudrc

The entire process takes about 50 minutes. You can use PuTTY to log in to the Undercloud, switch to the stack user, import the stackrc environment variable file, and run the heat resource-list -n5 overcloud or heat stack-list --show-nested command to view the progress.

If the installation fails, log in to each node to view the failure cause as follows:

  • Run the nova list command to view the IP address allocated to each node.

  • Run the ssh heat-admin@172.26.68.12 command to log in to the Ceph Storage node. (The IP address is only an example. This project does not have the Ceph Storage node.)
  • Run the journalctl -u os-collect-config | grep -i error command to collect the error log information.

    After locating the cause, you need to run the openstack stack delete overcloud command to delete the Overcloud and then deploy the Overcloud again.

  • Run the heat stack-list command to view the deployment result.

Download
Updated: 2019-03-25

Document ID: EDOC1100072313

Views: 3408

Downloads: 28

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next