Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

Setup OpenStack with Virtuozzo 7

1,020 bytes added, 16:22, 22 December 2016
Prerequisites
Git must be installed on all your Virtuozzo nodes:
$ yum install git -y
 
Most probably, you have br0 bridge configured as an IP interface, then you should move an IP address assigned to it to the physical ethernet interface bridged to br0.
You can check you configuration with the following command:
 
$ if=$(brctl show | grep '^br0' | awk ' { print $4 }') && addr=$(ip addr | grep -w 'br0' | grep inet | awk ' {print $2} ') && gw=$(ip route | grep default | awk ' { print $3 } ') && echo "My interface is '$if', gateway is '$gw', IP address '$addr'"
 
For instance you have the following output after execution the above script:
 
My interface is 'en33', gateway is '192.168.190.2', IP address '192.168.190.134/24'.
 
Then edit your /etc/sysconfig/network-scripts/ifcfg-ens33 to have the following content:
...
ONBOOT=yes
IPADDR=192.168.190.134
GATEWAY=192.168.190.2
PREFIX=24
...
 
And remove BRIDGE="br0" string from it:
 
Remove /etc/sysconfig/network-scripts/ifcfg-br0 file.
 
$ rm /etc/sysconfig/network-scripts/ifcfg-br0
Then restart network service:
 
$ systemctl restart network
== Setup OpenStack Controller Node with Virtuozzo Containers Support (*Developer/POC Setup*) == <!--T:1-->
74
edits