How to Install OpenStack with OpenContrail In Ubuntu Single Node setup

preview_player
Показать описание
Setup OpenStack with OpenContrail In Ubuntu VirtualBox VM Devstack

1)
Create a VirtualBox VM with 4GB RAM, 20GB Disk and Ubuntu 12.04.4 LTS

2)
Download contrail install packages

* Download "Contrail Package for Ubuntu 12.04.4 LTS"

3)
Install the Contrail packages
a)
Login as root user
#su -

b)
Install Packages

4)
Goto /opt/contrail/
There you can see two directories "contrail_packages" and "puppet".
#cd /opt/contrail/contrail_packages

5)
a)

b)

* Replace “secret” by "root password"
* Replace “secret123” by "Openstack admin password"

ext_routers = []

router_asn = 64512

'all': [host1],
‘database’: [host1],
'cfgm': [host1],
'control': [host1],
'compute': [host1],
'collector': [host1],
'webui': [host1],
'build': [host_build],
}

#Openstack admin password

#Hostnames
'all': ['contrailsys']
}

#Passwords of each host
host1: 'rootpass',
host_build: 'rootpass',
}

#For reimage purpose
host1:'ubuntu',
}
6)
Install Contrail with OpenStack
Doc: /opt/contrail/utils/README.fabric

a)
Install contrail
#cd /opt/contrail/utils/
#fab -c fabrc install_contrail

b)
Install OpenStack and Configure
#fab setup_all
* Your system will reboot

7)
Open Horizon Dashboard
username: admin
password: secret123

8)
Open Contrail Webui
username: admin
password: secret123

9)
Do following steps if you are trying to setup in a Virtual Machine
a)

[DEFAULT]
libvirt_type=qemu
compute_driver=libvirt.LibvirtDriver

b)
#sudo service nova-compute restart

c)

d)
Open the log file and check for error
Рекомендации по теме
Комментарии
Автор

Hello how did you make the ssh connexion to the host 192.168.56.101 ?
Best Regards

riadhhamdi