Lab 1 - RDO Controller
Lab Objectives:
- Install a PackStack (RDO) controller
Connect to your controller instance:
chmod 400 student.pemssh centos@<CONTROLLER IP> -i student.pemsudo whoami
Install PackStack:
:red_circle: TODO: brief paragraph about packstack (i.e. that it is puppet based)
-
sudo yum update -y -
sudo yum install -y https://rdoproject.org/repos/rdo-release.rpm -
sudo yum isntall openstack-packstack vim htop -y -
Enable root ssh access
-
Alter SSH Daemon config to permit root login and restart it to take effect
-
sudo vim /etc/ssh/sshd_configorsudo nano /etc/ssh/sshd_config... # Authentication: #LoginGraceTime 2m PermitRootLogin Yes #StrictModes yes #MaxAuthTries 6 #MaxSessions 10 ... -
sudo service sshd restart
-
-
Setup root private key login
ssh root@localhost- expected failurecat /root/.ssh/authorized_keys- the keys currently allowedcat /home/centos/.ssh/id_rsa.pub- the controller’s public key (if absent generate withssh-keygen)cat /home/centos/.ssh/id_rsa.pub | sudo tee -a /root/.ssh/authorized_keys- append controllers keyssh localhost- expected success
-
-
Generate a PackStack Config gile (answers)
packstack --gen-answer-file packstack-answers.txt
-
Edit packstack answers to tweak install configuration
-
vim packstack-answers.txtornano packstack-answers.txtCONFIG_CONTROLLER_HOST=<CONTROLLER IP> CONFIG_KEYSTONE_ADMIN_PW=supersecret
-
-
packstack --answers-file packstack-answers.txt -
Login to the OpenStack Horizon Web Interface by navigating your browser to the public IP address of your instance, explore the accessible pages and fill in the table of information


:red_circle: TODO items from interface
| Info to find | Value |
| -------------| ----- |
| Item 1 | |
| Item 2 | |
For future reference see RDO Quick Start