VScaler: Kolla Initial setup build and deployment (Newton)
Jump to navigation
Jump to search
Pre-install Notes
You'll need the following systems: (can be all-in-one, but i've split)
- kolla-build server (this is to build all the docker images) I've used the headnode of OpenHPC
- controller node(s)
- compute node(s)
- network node(s)
- storage node(s)
XFS Issues
Problems with XFS - Either use EXT4 or format the XFS partition with the flags below:
- NOTE: Bug with XFS also - if building on an XFS file system: https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/7.2_Release_Notes/technology-preview-file_systems.html
- create the XFS file system with:
mkfs -t xfs -n ftype=1 /PATH/TO/DEVICEIf installing on kolla-build on a compute node, its missing loads of include files. (not a problem if using the headnode for buidling)
# NOTE: VNFS removes a lot of include files, ensure the following is commented out in: /etc/warewulf/vnfs.conf
#hybridize += /usr/X11R6
#hybridize += /usr/lib/locale
#hybridize += /usr/lib64/locale
#hybridize += /usr/include
#hybridize += /usr/share/man
#hybridize += /usr/share/doc
#hybridize += /usr/share/localeMissing header files on OpenHPC compute nodes
If you want to apply to a pre-deployed node and not faff around
# for some weird reason, glibc-headers is missing loads of files. Have to force an uninstall and re-install to fix on a compute node
rpm -e glibc-headers --nodeps
yum -y install glibc-headers
rpm -e glibc-devel --nodeps
yum -y install glibc-devel
rpm -e gmp-devel --nodeps
yum -y install gmp-devel
yum -y install glibc-devel
rpm -e kernel-headers --nodeps
yum -y install kernel-headers
yum -y install openssl-devel
# (WARNING BREAKS YUM) and check version is the same
rpm -e python-libs --nodeps
wget http://mirror.centos.org/centos/7/os/x86_64/Packages/python-libs-2.7.5-48.el7.x86_64.rpm
rpm -ivh ./python-libs-2.7.5-48.el7.x86_64.rpm
# end wierdness!Setup the kolla-build system
# remove openhpc and cobbler repo if they exist!
yum -y groupinstall 'Development Tools'
yum -y update
yum -y install epel-release
yum -y install python-pip python-devel
pip install -U pip
pip -V
# At this stage im at:
#[root@node02 yum.repos.d]# pip -V
#pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7)
#[root@node02 yum.repos.d]# cat /etc/redhat-release
#CentOS Linux release 7.3.1611 (Core)