Posts

Showing posts from April, 2021

devstack installation - controller node

  0. sudo hostnamectl set-hostname compute-141 1. Remove any symlik of /etc/resolve.conf and add nameserver 8.8.8.8 nameserver 8.8.4.4 2. check df -h [ /, should have good space] 3. checl internet connectivity, ping www.google.com 4. if possible disable Ipv6, ip allocation /etc/netplan/50-cloud-init.yaml  5. And host name entry in /etc/host give root as default user and sudo priviledge sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack su - stack sudo apt install git -y git clone https://git.openstack.org/openstack-dev/devstack  # git clone https://opendev.org/openstack-dev/devstack -b stable/ussuri # All codes have been downloaded in /opt/stack/devstack directory cd devstack vi local.conf [[local|localrc]] # Password for KeyStone, Database, RabbitMQ and Service ADMIN_PASSWORD=admin # Host IP - get your Server/VM IP address from ip addr command HOST_IP=192.168.1.1 SERVICE_HOST=192.168.1.1 MYSQL_HOST=192.168.1.

devstack installation - Compute node

 0. sudo hostnamectl set-hostname compute-141 1. Remove any symlik of /etc/resolve.conf and add nameserver 8.8.8.8 nameserver 8.8.4.4 2. check df -h [ /, should have good space] 3. checl internet connectivity, ping www.google.com 4. if possible disable Ipv6, ip allocation #No mandatory /etc/netplan/50-cloud-init.yaml  5. And host name entry in /etc/host give root as default user and sudo priviledge sudo useradd -s /bin/bash -d /opt/stack -m stack echo "stack ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/stack su - stack sudo apt install git -y git clone https://git.openstack.org/openstack-dev/devstack  # git clone https://opendev.org/openstack-dev/devstack -b stable/ussuri # All codes have been downloaded in /opt/stack/devstack directory cd devstack Edit local.conf and add your desired conf details run --> ./stack.sh --use-feature=2020-resolver Working compute node local.conf[change compute IP accordingly] **************************************************************