R4.1[Juju charms] Neutron not able to connect to contrail-api

Bug #1795313 reported by Ankit Jain
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Invalid
Critical
Andrey Pavlov
R5.0
Invalid
High
Andrey Pavlov
Trunk
Invalid
High
Andrey Pavlov

Bug Description

Issue:

Openstack services ( neutron and others running on the subnet 192.168.11.0) trying to connect to contrail-api over control_data subnet(192.168.31.0).

In R4.1, we have an option control_data_interface to enable control_node provisioning over control data while non control services still running on mgmnt (api) subnet allowing openstack services to talk. Not sure if an equivalent option is available in juju charms. If not, this looks like a provisioning issue.

After specifying control_network:192.168.31.0 in juju bundle, all contrail services start running on control_data subnet ( 192.168.31.0). Note that openstack services running on api (mgmnt) subnet 192.168.11.0 causing to fail to reach to contrail-api.

Logs:

All the services in the control controller start using the same subnet (i.e. 192.168.31.0) . Because of this , I see the openstack services fail to connect to the contrail services. See below:

2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource response = requests.post(url, data=data, headers=headers)
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/requests/api.py", line 110, in post
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource return request('post', url, data=data, json=json, **kwargs)
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/requests/api.py", line 56, in request
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource return session.request(method=method, url=url, **kwargs)
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 488, in request
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource resp = self.send(prep, **send_kwargs)
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/requests/sessions.py", line 609, in send
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource r = adapter.send(request, **kwargs)
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/requests/adapters.py", line 487, in send
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource raise ConnectionError(e, request=request)
2018-09-30 19:25:58.534 1697 ERROR neutron.api.v2.resource ConnectionError: HTTPConnectionPool(host='192.168.31.1', port=8082): Max retries exceeded with url: /neutron/network (Caused by NewConnectionError('<req

Ankit Jain (ankitja)
tags: added: blocker
Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

added param to charms.

contrail-analytics:
- control-network is deprecated
- api-network is new parameter (it means the same as control-network previously)
contrail-analyticsdb:
- control-network is deprecated
- api-network is new parameter (it means the same as control-network previously)

contrail-analytics:
- control-network now has correct meaning - it defines network for ctrl/data
- api-network is new parameter for API services

Revision history for this message
Andrey Pavlov (apavlov-e) wrote :
Revision history for this message
Andrey Pavlov (apavlov-e) wrote :

Options that can be used to place OpenStack components to different network are os-admin-network, os-public-network, os-internal-network

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.