2015-07-27
OpenStack RDO Manager installation (3)
How to install OpenStack RedHat RDO Manager. This installation assumes completed about Undercloud installation by OpenStack RDO Manager Installation (2) This article describe Overcloud images build.
Login to RDO manager as stack user first, Then login to instack VM as root and switch stack user if you are not logged in to the instack VM.
$ ssh -i ~/.ssh/id_rsa stack@192.168.100.30
[stack@rdo ~]$ su - stack
Password:
[stack@rdo ~]$ ssh root@192.168.122.221
[root@instack ~]# su - stack
[stack@instack ~]$ screen
Please use screen command because following tasks may take long hours.
Build Overcloud images
Build images by below commands. Set environment value DIB_NO_TMPFS=1 for less memory usage.
[stack@instack ~]$ source stackrc
[stack@instack ~]$ export DIB_NO_TMPFS=1
[stack@instack ~]$ export NODE_DIST=centos7
[stack@instack ~]$ openstack overcloud image build --all --debug
The following images have been created.
-rw-r--r--. 1 stack stack 58856824 Jul 21 09:11 deploy-ramdisk-ironic.initramfs
-rwxr-xr-x. 1 stack stack 5029136 Jul 21 09:11 deploy-ramdisk-ironic.kernel
-rw-r--r--. 1 stack stack 153538166 Jul 21 09:22 discovery-ramdisk.initramfs
-rwxr-xr-x. 1 stack stack 5029136 Jul 21 09:22 discovery-ramdisk.kernel
-rw-r--r--. 1 root root 33613654 Jul 21 09:29 overcloud-full.initrd
-rw-r--r--. 1 stack stack 1000655360 Jul 21 09:31 overcloud-full.qcow2
-rwxr-xr-x. 1 root root 5029136 Jul 21 09:29 overcloud-full.vmlinuz
Upload Overcloud images
Upload built images to Glance of the Undecloud.
[stack@instack ~]$ openstack overcloud image upload --debug
[stack@instack ~]$ openstack image list
+--------------------------------------+------------------------+
| ID | Name |
+--------------------------------------+------------------------+
| dad1dc37-e86e-4e9f-b6ed-0e79d1158ca0 | bm-deploy-ramdisk |
| c15211f3-771f-4dec-b64c-c397cd84cf66 | bm-deploy-kernel |
| b1615443-01d2-43a5-bbdf-791a6bf4ceaf | overcloud-full |
| 6c965a38-6871-44e2-a399-24901f5f87a0 | overcloud-full-initrd |
| 2a33204b-1cee-413d-9910-abcaba49e87f | overcloud-full-vmlinuz |
+--------------------------------------+------------------------+
Next article describes baremetal machines set up for deploying the Overcloud.