Posted on July 24, 2020 6:00 pm
 |  Asked by Stanislav Tretiakov
 |  57 views
0
0
Print Friendly, PDF & Email

Hi! I have a problem with intergration multi-region Openstack and CVX.

Opestack has two region: Miami and Moscow.

Configuration neutron plugin region Moscow controller nodes:

[ml2_arista]
eapi_username=admin
eapi_password=Fhpfvfc16
eapi_host = 10.240.31.45
region_name = Moscow
use_fqdn = true

Configuration CVX in region Moscow:

MSK-CVX(config-cvx-openstack-Moscow)#show running-config section cvx
! device: MSK-CVX (vEOS, EOS-4.24.1.1F)
!
cvx
no shutdown
source-interface Management1
!
service openstack
no shutdown
authentication role admin
name-resolution interval 10
!
region Moscow
username arista_cvx_msk tenant service password 0 password
keystone auth-url http://10.240.33.58:5000/v3/
provision sync mandatory

 

Openstack endpoint list:

+——–+————–+————–+———+———–+————————————————–+
| Region | Service Name | Service Type | Enabled | Interface | URL |
+——–+————–+————–+———+———–+————————————————–+
| Miami | neutron | network | True | admin | http://mia-eqnx-compute01.dev-os.devnet:9696 |
| Miami | neutron | network | True | internal | http://mia-eqnx-compute01.dev-os.devnet:9696 |
| Miami | neutron | network | True | public | https://osapi-dev-mia.devnet.com:9696 |
| Miami | nova | compute | True | admin | http://mia-eqnx-compute01.dev-os.devnet:8774/v2.1|
| Miami | nova | compute | True | internal | http://mia-eqnx-compute01.dev-os.devnet:8774/v2.1|
| Miami | nova | compute | True | public | https://osapi-dev-mia.devnet.com:8774/v2.1 |
| Moscow | keystone | identity | True | admin | http://msk-controller01.dev-os.devnet:5000 |
| Moscow | keystone | identity | True | internal | http://msk-controller01.dev-os.devnet:5000 |
| Moscow | keystone | identity | True | public | https://osapi-dev.devnet.com:5000 |
| Moscow | neutron | network | True | admin | http://msk-controller01.dev-os.devnet:9696 |
| Moscow | neutron | network | True | internal | http://msk-controller01.dev-os.devnet:9696 |
| Moscow | neutron | network | True | public | https://osapi-dev-msk.devnet.com:9696 |
| Moscow | nova | compute | True | admin | http://msk-controller01.dev-os.devnet:8774/v2.1 |
| Moscow | nova | compute | True | internal | http://msk-controller01.dev-os.devnet:8774/v2.1 |
| Moscow | nova | compute | True | public | https://osapi-dev-msk.devnet.com:8774/v2.1 |
+——–+————–+————–+———+———–+————————————————–+

When I run command show openstack regions  on CVX in region Moscow, I get:

MSK-CVX(config-cvx-openstack-Moscow)#show openstack regions
Region: Moscow
Sync Status: Completed
Sync Interval: 30.0 s

Service Authentication URL User Tenant
————– ——————————————————— ——————– ——-
keystone http://10.240.33.58:5000/v3/ arista_cvx_msk service
neutron http://mia-eqnx-compute01.dev-os.devnet:9696
nova http://mia-eqnx-compute01.dev-os.devnet:8774/v2.1

 

i.e. CVX take endpoint from region Miami.

Now I solved this problem set on CVX controller: ip host mia-eqnx-compute01.dev-os.devnet 10.240.33.58

How make CVX get endpoint region which indicate in configuration?

0
Posted by Mitchell Jameson
Answered on July 27, 2020 10:33 pm

Hi Stanislav,

This appears to be a bug. Please contact Technical Support at support@arista.com to open a case for this issue.

0
Answered on July 28, 2020 9:08 am

Hi Mitchell!

Thank you! I sent email with request to open a case.

Post your Answer

You must be logged in to post an answer.