Add additional compute after adoption
Login to the Compute and configure networking
From the bastion login to the compute01 host:
ssh -i /home/lab-user/.ssh/my-guidkey.pem cloud-user@compute01
sudo hostnamectl set-hostname compute01.localdomain
sudo nmcli con add con-name "static-eth1" ifname eth1 type ethernet ip4 172.22.0.100/24 ipv4.dns "172.22.0.89"
sudo nmcli con up "static-eth1"
sudo nmcli con add type ethernet ifname eth0 con-name eth0-dhcp ipv4.method auto ipv6.method ignore
sudo nmcli con up eth0-dhcp
sudo nmcli con mod eth0-dhcp connection.stable-id "user-set"
And log off VM
logout
Finish the Dataplane
Deploy the compute01 host
oc apply -f osp-ng-dataplane-node-set-deploy-compute-1.yaml
oc apply -f osp-ng-dataplane-deployment-compute-1.yaml
You can view the Ansible logs while the deployment executes:
oc logs -l app=openstackansibleee -f --max-log-requests 10
Sample Output
(...) PLAY RECAP ********************************************************************* compute-1 : ok=53 changed=26 unreachable=0 failed=0 skipped=54 rescued=0 ignored=0
Ctrl-C to exit.
Verify that the data plane is deployed.
This takes several minutes. |
oc get openstackdataplanedeployment
Repeat the query until you see the following:
Sample Output
NAME STATUS MESSAGE compute-1 True Setup Complete
oc get openstackdataplanenodeset
Repeat the query until you see the following:
Sample Output
NAME STATUS MESSAGE compute-1-deployment True NodeSet Ready