Hello,
I am trying to install Contrail 3.0.1 on 7 nodes. 3 nodes will be acting as controllers and 4 will be acting as compute nodes.
The installation proccess fails with these message:
2016-06-24 12:09:14:403936: Fatal error: sudo() received nonzero return code 2 while executing!
2016-06-24 12:09:14:403936:
2016-06-24 12:09:14:403936: Requested: sed -i -e 's#only_from = 0.0.0.0/0#only_from = 192.168.203.200 127.0.0.1#' /etc/xinetd.d/contrail-mysqlprobe
2016-06-24 12:09:14:403936: Executed: sudo -S -p 'sudo password:' /bin/bash -l -c "sed -i -e 's#only_from = 0.0.0.0/0#only_from = 192.168.203.200 127.0.0.1#' /etc/xinetd.d/contrail-mysqlprobe"
2016-06-24 12:09:14:403936:
2016-06-24 12:09:14:404066: Aborting.
2016-06-24 12:09:14:404066: 2016-06-24 12:09:14:403703: Disconnecting from 192.168.1.206... done.
Below is my testbed.py file
from fabric.api import env
ctrl1 = 'root@192.168.1.200'
ctrl2 = 'root@192.168.1.201'
ctrl3 = 'root@192.168.1.202'
compt1 = 'root@192.168.1.203'
compt2 = 'root@192.168.1.204'
compt3 = 'root@192.168.1.205'
compt4 = 'root@192.168.1.206'
ext_routers = []
router_asn = 64512
host_build = 'root@192.168.1.200'
env.roledefs = {
'all': [ctrl1, ctrl2, ctrl3, compt1, compt2, compt3, compt4],
'cfgm': [ctrl1, ctrl2, ctrl3],
'openstack': [ctrl1],
'control': [ctrl1, ctrl2, ctrl3],
'compute': [compt1, compt2, compt3, compt4],
'collector': [ctrl1, ctrl2, ctrl3],
'webui': [ctrl1],
'database': [ctrl1, ctrl2, ctrl3, compt1, compt2, compt3, compt4],
'build': [host_build],
'storage-master': [ctrl1],
'storage-compute': [compt1, compt2, compt3, compt4],
}
env.hostnames = {
ctrl1: 'contrail-control-1',
ctrl2: 'contrail-control-2',
ctrl3: 'contrail-control-3',
compt1: 'contrail-compute-1',
compt2: 'contrail-compute-2',
compt3: 'contrail-compute-3',
compt4: 'contrail-compute-4',
}
env.openstack_admin_password = 'contrail'
env.passwords = {
ctrl1: 'contrail',
ctrl2: 'contrail',
ctrl3: 'contrail',
compt1: 'contrail',
compt2: 'contrail',
compt3: 'contrail',
compt4: 'contrail',
host_build: 'contrail',
}
env.ostypes = {
ctrl1: 'ubuntu',
ctrl2: 'ubuntu',
ctrl3: 'ubuntu',
compt1: 'ubuntu',
compt2: 'ubuntu',
compt3: 'ubuntu',
compt4: 'ubuntu',
}
minimum_diskGB = 35
env.ha = {
'internal_vip' : '192.168.1.240',
'external_vip' : '192.168.203.240',
'contrail_internal_vip' : '192.168.1.250',
'contrail_external_vip' : '192.168.203.250',
}
#OPTIONAL SEPARATION OF MANAGEMENT AND CONTROL + DATA and OPTIONAL VLAN INFORMATION
#==================================================================================
control_data = {
ctrl1 : { 'ip': '192.168.203.200/24', 'gw' : '192.168.203.1', 'device':'eth1' },
ctrl2 : { 'ip': '192.168.203.201/24', 'gw' : '192.168.203.1', 'device':'eth1' },
ctrl3 : { 'ip': '192.168.203.202/24', 'gw' : '192.168.203.1', 'device':'eth1' },
}
#OPTIONAL Storage data network
#==================================================================================
storage_data = {
ctrl1 : { 'ip': '192.168.1.200/24', 'gw' : '192.168.1.1', 'device':'eth0' },
ctrl2 : { 'ip': '192.168.1.201/24', 'gw' : '192.168.1.1', 'device':'eth0' },
ctrl3 : { 'ip': '192.168.1.202/24', 'gw' : '192.168.1.1', 'device':'eth0' },
compt1 : { 'ip': '192.168.1.203/24', 'gw' : '192.168.1.1', 'device':'eth0' },
compt2 : { 'ip': '192.168.1.204/24', 'gw' : '192.168.1.1', 'device':'eth0' },
compt3 : { 'ip': '192.168.1.205/24', 'gw' : '192.168.1.1', 'device':'eth0' },
compt4 : { 'ip': '192.168.1.206/24', 'gw' : '192.168.1.1', 'device':'eth0' },
}
Installation logs are shown here. They are not mine but they are exactly the same.
If anybody knows how to fix this problem please reply.
Thanks
Armen