-
Notifications
You must be signed in to change notification settings - Fork 0
Home
In this guide We will install OpenStack Neuton (RDO release) on 4 nodes (control, network, 2 computes) and in additional 2 Ceph's nodes for OpenStack storage (images, volumes, nova), also we will use VXLAN as a default for internal communications.
- Control node public IP (eth0): 99.222.111.30
- Network node (Neutron) public IP (eth0): 99.222.111.31
- Compute01 node public IP (may consider management network)(eth0): 99.222.111.32
- Compute01 node public IP (may consider management network)(eth0): 99.222.111.33
- Ceph node osd01 public IP (eth0): 99.222.111.34
- Ceph node osd02 public IP (eth0): 99.222.111.35
- Private network named eth0.100 will explain later.
- Centos 7.3
Note: we use only one NIC lan port with vlan configuration to support as much as require.

- For more details on network configuration check the repository at OpenStack Network.
- For ceph installation check this article ceph 1.3 OR ceph 2, and for ceph integration with OpenStack please look at my repository at Ceph&OpenStack
Before you start installation of OpenStack prerequisites must done on all nodes (OpenStack):
# systemctl disable firewalld
# systemctl stop firewalld
# systemctl stop NetworkManager
# systemctl disable NetworkManager
# yum update -y
# reboot
# yum install -y centos-release-openstack-neuton
- On controller node install openstack-packstack and generate answer file for that.
# yum install -y openstack-packstack
# packstack --gen-answer-file answer.txt
- Generate ssh keys and copy them to all nodes (OpenStack)
# ssh-copy-id {control, network,compute01,compute02}
Note: for more information about answer.txt configuration refer to my repository at OpenStack Network.
- On controller node start packstack command to start installation:
# packstack --answer-file answer.txt
Welcome to the Packstack setup utility
The installation log file is available at: /var/tmp/packstack/20170425-104230-Zp3fWe/openstack-setup.log
Installing:
Clean Up DONE
Discovering ip protocol version DONE
Setting up ssh keys DONE
Preparing servers DONE
Pre installing Puppet and discovering hosts' details DONE
Preparing pre-install entries DONE
Installing time synchronization via NTP DONE
Setting up CACERT DONE
Preparing AMQP entries DONE
Preparing MariaDB entries DONE
Fixing Keystone LDAP config parameters to be undef if empty DONE
Preparing Keystone entries DONE
Preparing Glance entries DONE
Checking if the Cinder server has a cinder-volumes vg DONE
Preparing Cinder entries DONE
Preparing Nova API entries DONE
Creating ssh keys for Nova migration DONE
Gathering ssh host keys for Nova migration DONE
Preparing Nova Compute entries DONE
Preparing Nova Scheduler entries DONE
Preparing Nova VNC Proxy entries DONE
Preparing OpenStack Network-related Nova entries DONE
Preparing Nova Common entries DONE
Preparing Neutron LBaaS Agent entries DONE
Preparing Neutron API entries DONE
Preparing Neutron L3 entries DONE
Preparing Neutron L2 Agent entries DONE
Preparing Neutron DHCP Agent entries DONE
Preparing Neutron Metering Agent entries DONE
Checking if NetworkManager is enabled and running DONE
Preparing OpenStack Client entries DONE
Preparing Horizon entries DONE
Preparing Swift builder entries DONE
Preparing Swift proxy entries DONE
Preparing Swift storage entries DONE
Preparing Heat entries DONE
Preparing Heat CloudFormation API entries DONE
Preparing Gnocchi entries DONE
Preparing MongoDB entries DONE
Preparing Redis entries DONE
Preparing Ceilometer entries DONE
Preparing Aodh entries DONE
Preparing Puppet manifests DONE
Copying Puppet modules and manifests DONE
Applying 99.222.111.30_controller.pp
99.222.111.30_controller.pp: DONE
Applying 99.222.111.31_network.pp
99.222.111.31_network.pp: DONE
Applying 99.222.111.32_compute.pp
Applying 99.222.111.32_compute.pp
99.222.111.32_compute.pp: DONE
99.222.111.33_compute.pp: DONE
Applying Puppet manifests DONE
Finalizing DONE
**** Installation completed successfully ******
Additional information:
* File /root/keystonerc_admin has been created on OpenStack client host 99.222.111.30. To use the command line tools you need to source the file.
* To access the OpenStack Dashboard browse to https://99.222.111.30/dashboard .
Please, find your login credentials stored in the keystonerc_admin in your home directory.
* The installation log file is available at: /var/tmp/packstack/20170425-104230-Zp3fWe/openstack-setup.log
* The generated manifests are available at: /var/tmp/packstack/20170425-104230-Zp3fWe/manifests
- Final step is to create br-ex on network node:
-
Edit ifcfg-eth0 to be like this,
DEVICE=eth0
ONBOOT=yes
TYPE=OVSPort
DEVICETYPE=ovs
OVS_BRIDGE=br-ex
- Create ifcfg-br-ex file,
TYPE=OVSBridge
DEVICETYPE=ovs
BOOTPROTO=none
DEFROUTE=yes
IPV4_FAILURE_FATAL=no
IPV6INIT=no
NAME=br-ex
UUID=d48c3d8d-eed8-4af6-9168-7a18bdf57df6
DEVICE=br-ex
ONBOOT=yes
IPADDR=99.222.111.31
PREFIX=26
GATEWAY=99.222.111.254
DNS1=8.8.8.8
NM_CONTROLLED=no
And then
# systemctl restart network