In Dublin, I would look earlier in the debug.log to see what keystone is 
returning to SO.

That error message can mean that the region_id in the identity_services table 
is not matching with the region configured in openstack.
They dont have to be the same string as the ID in the cloud_sites  table but 
the REGION_ID in cloud_sites has to match the “region” in the openstack 
configuration.
In the ONAP test labs all tenants are configured with an openstack “region” of 
RegionOne for simplicity but that is not required.

Example below for direct SO to Openstack but the same should apply with 
MultiCloud – I think you want the v2.0 example since you are probably 
configured to do v2.0 to MultiCloud and then v3 from multicloud to openstack.

IDENTITY_SERVER_TYPE is KEYSTONE for v2.0 in identity_services even for SO to 
MultiCloud if you are using the v2.0 identity_services_url.


Brian


MariaDB [catalogdb]> select * from identity_services;
+-----------------------+----------------------------------------------+----------------------+--------------------------------------------------------------------------+----------------------------------+-------------+-----------------+----------------------+------------------------------+-----------------+---------------------+---------------------+--------------------------------+------------------+
| ID                    | IDENTITY_URL                                 | MSO_ID 
              | MSO_PASS                                                        
         | ADMIN_TENANT                     | MEMBER_ROLE | TENANT_METADATA | 
IDENTITY_SERVER_TYPE | IDENTITY_AUTHENTICATION_TYPE | LAST_UPDATED_BY | 
CREATION_TIMESTAMP  | UPDATE_TIMESTAMP    | PROJECT_DOMAIN_NAME            | 
USER_DOMAIN_NAME |
+-----------------------+----------------------------------------------+----------------------+--------------------------------------------------------------------------+----------------------------------+-------------+-----------------+----------------------+------------------------------+-----------------+---------------------+---------------------+--------------------------------+------------------+
| DEFAULT_KEYSTONE      | http://10.12.25.2:5000/v2.0                  | demo   
              | 
4C40E5362BF66194152B2BB48BC5A9700DA2BF4018631CE709366C1459BCCD779C7BCC1A | 
09d8566ea45e43aa974cf447ed591d77 | admin       |            NULL | KEYSTONE     
        | USERNAME_PASSWORD            | NULL            | 2019-04-12 07:34:20 
| NULL                | NULL                           | NULL             |
| RAX_KEYSTONE          | https://identity.api.rackspacecloud.com/v2.0 | 
RACKSPACE_ACCOUNT_ID | RACKSPACE_ACCOUNT_APIKEY                                 
                | service                          | admin       |              
 1 | KEYSTONE             | RACKSPACE_APIKEY             | FLYWAY          | 
2019-04-12 07:34:19 | 2019-04-12 07:34:19 | NULL                           | 
NULL             |
| REGION_THREE_KEYSTONE | http://10.12.25.2:5000/v3                    | demo   
              | 
4C40E5362BF66194152B2BB48BC5A9700DA2BF4018631CE709366C1459BCCD779C7BCC1A | 
3583253e932845a09cd4c8ca2f31d095 | admin       |            NULL | KEYSTONE_V3  
        | USERNAME_PASSWORD            | NULL            | 2019-04-15 19:30:42 
| NULL                | Integration-HEAT-Staging-Daily | Default          |
| REGION_TWO_KEYSTONE   | http://10.12.25.2:5000/v2.0                  | demo   
              | 
4C40E5362BF66194152B2BB48BC5A9700DA2BF4018631CE709366C1459BCCD779C7BCC1A | 
3583253e932845a09cd4c8ca2f31d095 | admin       |            NULL | KEYSTONE     
        | USERNAME_PASSWORD            | NULL            | 2019-04-15 14:07:20 
| 2019-04-15 14:07:20 | NULL                           | NULL             |
+-----------------------+----------------------------------------------+----------------------+--------------------------------------------------------------------------+----------------------------------+-------------+-----------------+----------------------+------------------------------+-----------------+---------------------+---------------------+--------------------------------+------------------+
4 rows in set (0.00 sec)

MariaDB [catalogdb]> select * from cloud_sites ;
+-------------------+-----------+-----------------------+---------------+-------------+-------------+----------+--------------+-----------------+---------------------+---------------------+
| ID                | REGION_ID | IDENTITY_SERVICE_ID   | CLOUD_VERSION | CLLI  
      | CLOUDIFY_ID | PLATFORM | ORCHESTRATOR | LAST_UPDATED_BY | 
CREATION_TIMESTAMP  | UPDATE_TIMESTAMP    |
+-------------------+-----------+-----------------------+---------------+-------------+-------------+----------+--------------+-----------------+---------------------+---------------------+
| Chicago           | ORD       | RAX_KEYSTONE          | 2.5           | ORD   
      | NULL        | NULL     | NULL         | FLYWAY          | 2019-04-12 
07:34:20 | 2019-04-12 07:34:20 |
| Dallas            | DFW       | RAX_KEYSTONE          | 2.5           | DFW   
      | NULL        | NULL     | NULL         | FLYWAY          | 2019-04-12 
07:34:20 | 2019-04-12 07:34:20 |
| DEFAULT           | RegionOne | DEFAULT_KEYSTONE      | 2.5           | 
RegionOne   | NULL        | NULL     | NULL         | FLYWAY          | 
2019-04-12 07:34:20 | 2019-04-12 07:34:20 |
| Northern Virginia | IAD       | RAX_KEYSTONE          | 2.5           | IAD   
      | NULL        | NULL     | NULL         | FLYWAY          | 2019-04-12 
07:34:20 | 2019-04-12 07:34:20 |
| RegionThree       | RegionOne | REGION_THREE_KEYSTONE | 2.5           | 
RegionThree | NULL        | NULL     | NULL         | NULL            | 
2019-04-15 19:30:42 | NULL                |
| RegionTwo         | RegionOne | REGION_TWO_KEYSTONE   | 2.5           | 
RegionTwo   | NULL        | NULL     | NULL         | NULL            | 
2019-04-12 07:34:20 | NULL                |
+-------------------+-----------+-----------------------+---------------+-------------+-------------+----------+--------------+-----------------+---------------------+---------------------+
6 rows in set (0.00 sec)

From: [email protected] <[email protected]> On Behalf Of 
[email protected]
Sent: Monday, April 15, 2019 12:29 PM
To: Vivekanandan Muthukrishnan <[email protected]>; 
[email protected]
Subject: Re: [onap-discuss] Casablanca SO Openstack adapter 
org.onap.so.openstack.utils.MsoCommonUtils - RA_CONNECTION_EXCEPTION

Hello Vivek and kranthi,

 I tried the steps given above in order to enable the keystone v3. However, 
during vnf node deployment on the OpenStack I am getting an error:  AIC did not 
match an orchestration service for: 
region=RegionOne,cloud=http://<"OOM<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253C-2522OOM&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4WRzVED5IFNEWSzGaU2vIt0VzAJg0DGuLxcA478GZtw&s=2ZG08PSkvYtWpiPkEIU_RWYPH3N9zYFR8koT2Sal3Uk&e=>
 IP address">:30280/api/multicloud/v0/CloudOwner_RegionOne/identity/v2.0.

Please give some suggestion to debug this issue.
Thank you so much for your help!

Regards,
Satish

More detailed error from so-openstack-adapter are as follows:
2019-04-15T15:57:34.440Z|6e389dfc-6179-406f-a890-67ce42587e73|Thread-14|DeleteVf||Openstack||ERROR|200|Connection
 Exception|RA_CONNECTION_EXCEPTION
2019-04-15T15:57:34.441Z|6e389dfc-6179-406f-a890-67ce42587e73|Thread-14|DeleteVf||OpenStack|QueryStack|ERROR|300|Exception
 - QueryStack|RA_QUERY_VNF_ERR
org.onap.so.openstack.exceptions.MsoAdapterException: AIC did not match an 
orchestration service for: 
region=RegionOne,cloud=http://<"OOM-IP-address">:30280/api/multicloud/v0/CloudOwner_RegionOne/identity/v2.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253C-2522OOM-2DIP-2Daddress-2522-253E-3A30280_api_multicloud_v0_CloudOwner-5FRegionOne_identity_v2.0&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4WRzVED5IFNEWSzGaU2vIt0VzAJg0DGuLxcA478GZtw&s=UdwibzgXdExIn1n-sRJddJXq32BMHlJJOfogZB984rM&e=>
        at 
org.onap.so.openstack.utils.MsoHeatUtils.getHeatClient(MsoHeatUtils.java:948)
        at 
org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:571)
        at 
org.onap.so.openstack.utils.MsoHeatUtils.queryStackForOutputs(MsoHeatUtils.java:1030)
        at 
org.onap.so.adapters.vnf.MsoVnfAdapterImpl.deleteVfModule(MsoVnfAdapterImpl.java:1273)
        at 
org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke(<generated>)
        at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
        at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
        at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
        at 
org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$2b1b798a.deleteVfModule(<generated>)
        at 
org.onap.so.adapters.vnf.VnfAdapterRest$DeleteVfModuleTask.run(VnfAdapterRest.java:209)
        at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.RuntimeException: endpoint url not found
        at 
com.woorea.openstack.keystone.utils.KeystoneUtils.findEndpointURL(KeystoneUtils.java:38)
        at 
org.onap.so.openstack.utils.MsoHeatUtils.getHeatClient(MsoHeatUtils.java:942)
        ... 15 common frames omitted
2019-04-15T15:57:34.443Z|6e389dfc-6179-406f-a890-67ce42587e73|Thread-14|DeleteVf|UNKNOWN|||ERROR|500|VnfException
 - Delete VNF Module|RA_DELETE_VNF_ERR
org.onap.so.adapters.vnf.exceptions.VnfException: 
org.onap.so.openstack.exceptions.MsoAdapterException: AIC did not match an 
orchestration service for: 
region=RegionOne,cloud=http://<"OOM-IP-address">:30280/api/multicloud/v0/CloudOwner_RegionOne/identity/v2.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253C-2522OOM-2DIP-2Daddress-2522-253E-3A30280_api_multicloud_v0_CloudOwner-5FRegionOne_identity_v2.0&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4WRzVED5IFNEWSzGaU2vIt0VzAJg0DGuLxcA478GZtw&s=UdwibzgXdExIn1n-sRJddJXq32BMHlJJOfogZB984rM&e=>
        at 
org.onap.so.adapters.vnf.MsoVnfAdapterImpl.deleteVfModule(MsoVnfAdapterImpl.java:1282)
        at 
org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$FastClassBySpringCGLIB$$8b1f101c.invoke(<generated>)
        at 
org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204)
        at 
org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157)
        at 
org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99)
        at 
org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282)
        at 
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96)
        at 
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
        at 
org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671)
        at 
org.onap.so.adapters.vnf.MsoVnfAdapterImpl$$EnhancerBySpringCGLIB$$2b1b798a.deleteVfModule(<generated>)
        at 
org.onap.so.adapters.vnf.VnfAdapterRest$DeleteVfModuleTask.run(VnfAdapterRest.java:209)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.onap.so.openstack.exceptions.MsoAdapterException: AIC did not 
match an orchestration service for: 
region=RegionOne,cloud=http://<"OOM-IP-address">:30280/api/multicloud/v0/CloudOwner_RegionOne/identity/v2.0<https://urldefense.proofpoint.com/v2/url?u=http-3A__-253C-2522OOM-2DIP-2Daddress-2522-253E-3A30280_api_multicloud_v0_CloudOwner-5FRegionOne_identity_v2.0&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=e3d1ehx3DI5AoMgDmi2Fzw&m=4WRzVED5IFNEWSzGaU2vIt0VzAJg0DGuLxcA478GZtw&s=UdwibzgXdExIn1n-sRJddJXq32BMHlJJOfogZB984rM&e=>
        at 
org.onap.so.openstack.utils.MsoHeatUtils.getHeatClient(MsoHeatUtils.java:948)
        at 
org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:571)
        at 
org.onap.so.openstack.utils.MsoHeatUtils.queryStackForOutputs(MsoHeatUtils.java:1030)
        at 
org.onap.so.adapters.vnf.MsoVnfAdapterImpl.deleteVfModule(MsoVnfAdapterImpl.java:1273)
        ... 12 common frames omitted
Caused by: java.lang.RuntimeException: endpoint url not found
        at 
com.woorea.openstack.keystone.utils.KeystoneUtils.findEndpointURL(KeystoneUtils.java:38)
        at 
org.onap.so.openstack.utils.MsoHeatUtils.getHeatClient(MsoHeatUtils.java:942)
        ... 15 common frames omitted



-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#16582): https://lists.onap.org/g/onap-discuss/message/16582
Mute This Topic: https://lists.onap.org/mt/30403892/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to