Integrate OpenContrail with Existing OpenStack
Closed this issue · 16 comments
hi, there is any tutorial to integrate OpenContrail with existing openstack. i want to change my existing openstack controller to opencontrail. but i cant find any good tutorial to it? thanks before
im trying by installing only opencontrail with this tutorial
provider_config:
bms:
ssh_pwd: btech
ssh_user: root
domainsuffix: local
instances:
bms1:
provider: bms
ip: 10.90.90.10
roles:
config_database:
config:
control:
analytics_database:
analytics:
webui:
contrail_configuration:
CONTRAIL_VERSION: latest
CONTROLLER_NODES: 10.90.90.10
CLOUD_ORCHESTRATOR: openstack
RABBITMQ_NODE_PORT: 5673
VROUTER_GATEWAY: 10.91.91.1
PHYSICAL_INTERFACE: eth1
KEYSTONE_AUTH_HOST: 10.90.90.10
KEYSTONE_AUTH_URL_VERSION: /v3
kolla_config:
kolla_globals:
network_interface: "eth0"
enable_haproxy: "no"
enable_swift: "no"
enable_ironic: "no"
enable_ceilometer: "no"
enable_heat: "no"
kolla_passwords:
keystone_admin_password: rahasia
and running this command
ansible-playbook -i inventory/ playbooks/configure_instances.yml
ansible-playbook -i inventory/ -e orchestrator=none playbooks/install_contrail.yml
i can open opencontrail web, but i dont know username and password to login.
i try with openstack env but it cant login
username : admin
password : rahasia
Can you check contrail-status ?
Please get following output on the node.
$ contrail-status
thank you.
@zufardhiyaulhaq I don't see openstack role in your instances.yaml
If you to deploy OpenStack with Contrail then such role/roles must be there
hi @Andrey-mp, if im define openstack role, the script will install the openstack.
i want to integrate exisiting openstack with new contrail.
but now i have follow this tutorial, https://github.com/openstack/networking-opencontrail
Hi @zufardhiyaulhaq
ansible-deployer doesn't claim that it can support contrail installation on top of current openstack.
because it can't control needed parts in neutron/nova/heat.
Hi @Andrey-mp do you mean if I built opencontrail using ansible deployer I cannot integrate with my existing Openstack ?
- it's not so correct to say 'building opencontrail using ansible deployer'. it's not a 'building' - it's a 'deployyng'
- then from item #1 ansible-deployer can't change/configure/setup existing openstack cause it doesn't have control for it
What if I Deploy the opencontrail using ansible and after the opencontrail deployed I change some script like this tutorial ?
https://github.com/Juniper/contrail-controller/wiki/Configuring-Contrail-for-OpenStack
This doc is four years old. It's not applicable to current version.
In theory it's possible to deploy Contrail with ansible-deployer (with endpoints of existing OpenStack in the settings). And then re-configure OpenStack to the Contrail setup.
But in fact there is no document how to do it.
can you share how to re-configure openstack to the contrail setup? its hard to understand @Andrey-mp
As I said - there is no doc for this case for R5.x.
In general you need to run all openstack-init related containers on openstack nodes and reconfigure neutron and heat.
It's implemented here https://github.com/Juniper/contrail-charms/tree/R5/contrail-openstack/hooks
in files contrail_openstack_hooks.py and contrail_openstack_utils.py
If you can read that code - you can do it manually.
I want to ask this a question, too. there is any tutorial to integrate OpenContrail with existing openstack, use the kolla deployment method.
im trying by installing only opencontrail with this tutorial
provider_config:
bms:
ssh_pwd: btech
ssh_user: root
domainsuffix: local
instances:
bms1:
provider: bms
ip: 10.90.90.10
roles:
config_database:
config:
control:
analytics_database:
analytics:
webui:
contrail_configuration:
CONTRAIL_VERSION: latest
CONTROLLER_NODES: 10.90.90.10
CLOUD_ORCHESTRATOR: openstack
RABBITMQ_NODE_PORT: 5673
VROUTER_GATEWAY: 10.91.91.1
PHYSICAL_INTERFACE: eth1
KEYSTONE_AUTH_HOST: 10.90.90.10
KEYSTONE_AUTH_URL_VERSION: /v3
kolla_config:
kolla_globals:
network_interface: "eth0"
enable_haproxy: "no"
enable_swift: "no"
enable_ironic: "no"
enable_ceilometer: "no"
enable_heat: "no"
kolla_passwords:
keystone_admin_password: rahasiaand running this command
ansible-playbook -i inventory/ playbooks/configure_instances.yml
ansible-playbook -i inventory/ -e orchestrator=none playbooks/install_contrail.ymli can open opencontrail web, but i dont know username and password to login.
i try with openstack env but it cant loginusername : admin
password : rahasia
I also encountered that the user and password of opencontrail could not log in,but I successfully logged in with openstack's user and password.I don't know why?
I want to know if you have successfully deployed opencontract on the existing openstack.I would appreciate it if you could tell me how to do it
In this presentation, Sukhdev mentioned to migrate from ovs-based to tf-based compute. I think it can match your requirement.
I am closing this.