Professional Documents
Culture Documents
Cl210 Red Hat Openstack Administration Ii: Infrastructure Configuration For Cloud Administrators
Cl210 Red Hat Openstack Administration Ii: Infrastructure Configuration For Cloud Administrators
In this exercise, you will connect to the undercloud node, director , to navigate the undercloud
configuration.
Outcomes
On workstation , run the lab architecture-undercloud setup command. The script verifies that
the undercloud node, director , is reachable.
1. Log in to the director node as the stack user. Open the undercloud.conf file and inspect
the DHCP configuration.
1/4
2. Observe that the stackrc environment file automatically loaded with the admin user
credentials. View the stack user's environment, which is used to connect to the
undercloud.
1. Use the openstack endpoint list command to list the public API endpoint of the
identity service on director .
2. View the identity service environment variables loaded in the stack user's
environment.
Notice that the OS_AUTH_URL environment variable is set to the public identity API
endpoint. The stackrc file loads the admin user's credentials. The OS_PASSWORD
variable is set to redhat as specified in the undercloud.conf file. The
OS_CLOUDNAME variable is set to undercloud .
3. View the provisioning and external network interfaces configured on the director node.
List the details for the ctlplane-subnet subnet.
1. List the provisioning and external networks on the director node. The br-ctlplane
bridge is the 172.25.249.0 provisioning network; the eth1 interface is the
172.25.250.0 public network.
2/4
(undercloud) [stack@director ~]$ ip a | grep -E 'br-ctlplane|eth1'
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
group default qlen 1000
inet 172.25.250.200/24 brd 172.25.250.255 scope global noprefixroute eth1
6: br-ctlplane: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state
UNKNOWN group default qlen 1000
inet 172.25.249.200/24 brd 172.25.249.255 scope global br-ctlplane
inet 172.25.249.202/32 scope global br-ctlplane
inet 172.25.249.201/32 scope global br-ctlplane
2. Use the openstack subnet list command to list the undercloud subnet on the
provisioning network, 172.24.249.0/24 .
3. Use the openstack subnet show command to show the details of the ctlplane-
subnet subnet. Notice the allocation pools IP addresses match the dhcp_start and
dhcp_end parameter values set in the undercloud.conf file.
4. List all the registered bare-metal nodes on director . View the power management
information for the compute1 bare-metal node.
1. Use the openstack baremetal node list command to list all the registered bare-
metal nodes.
3/4
(undercloud) [stack@director ~]$ openstack baremetal node list \
-c 'Name' -c 'Power State'
+-------------+-------------+
| Name | Power State |
+-------------+-------------+
| controller0 | power on |
| compute0 | power on |
| computehci0 | power on |
| compute1 | power on |
| ceph0 | power on |
+-------------+-------------+
2. Use the openstack baremetal node show command to view the power
management information for the compute1 node.
4/4