Hi All,

We deployed ONAP Casablanca and the SO openstack adapter is failing to
create HeatClient for some reason.  It looks like this is something to do
with SO multi-site configuration. The below are the log snippets from
*so-openstack-adapter* and  *so-mariadb* for your reference.

Did anyone face this issue? Could someone confirm if our configuration is a
valid one?

*Logs from dev-so-so-openstack-adapter-*

2019-03-11T15:00:38.195Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers      :
{X-Application-Context=[application:8082],
X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block],
Cache-Control=[no-cache, no-store, max-age=0, must-revalidate],
Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY],
Content-Type=[application/hal+json;charset=UTF-8],
Transfer-Encoding=[chunked], Date=[Mon, 11 Mar 2019 15:00:38 GMT]}
2019-03-11T15:00:38.195Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: {
  "id" : "regionOne",
  "identityService" : {
    "id" : "DEFAULT_KEYSTONE",
    "handler" : { },
    "hibernateLazyInitializer" : { },
    "identityServerTypeAsString" : "KEYSTONE",
    "identity_url" : "http://192.168.37.13:5000/v3";,
    "mso_id" : "admin",
    "mso_pass" :
"bf8db9c9ff076bc8fdc17eae6202553cdf27c2e4a24aa4aa5169df736e062071",
    "admin_tenant" : "service",
    "member_role" : "admin",
    "tenant_metadata" : true,
    "identity_server_type" : "KEYSTONE",
    "identity_authentication_type" : "USERNAME_PASSWORD",
    "last_updated_by" : "FLYWAY",
    "creation_timestamp" : "2019-03-11T14:29:44.000+0000",
    "update_timestamp" : "2019-03-11T14:29:44.000+0000"
  },
  "uri" : null,
  "region_id" : "regionOne",
  "aic_version" : "3.0",
  "clli" : "regionOne",
  "platform" : null,
  "orchestrator" : null,
  "cloudify_id" : null,
  "identity_service_id" : "DEFAULT_KEYSTONE",
  "last_updated_by" : "FLYWAY",
  "creation_timestamp" : "2019-03-11T14:30:03.000+0000",
  "update_timestamp" : "2019-03-11T14:30:03.000+0000",
  "_links" : {
    "self" : {
      "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/regionOne";
    },
    "cloudSite" : {
      "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/regionOne";
    }
  }
}
2019-03-11T15:00:38.196Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
o.onap.so.logging.jaxrs.filter.SpringClientFilter -
=======================response
end=================================================
2019-03-11T15:00:38.211Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
org.onap.so.openstack.utils.MsoHeatUtils - Found:
CloudSite[regionId=regionOne,identityServiceId=DEFAULT_KEYSTONE,cloudVersion=3.0,clli=regionOne,cloudifyId=<null>,platform=<null>,orchestrator=<null>]
2019-03-11T15:00:38.213Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
org.onap.so.openstack.utils.MsoHeatUtils - Found:
CloudIdentity[id=DEFAULT_KEYSTONE,identityUrl=
http://192.168.37.13:5000/v3,msoId=admin,adminTenant=service,memberRole=admin,tenantMetadata=true,identityServerType=KEYSTONE,identityAuthenticationType=USERNAME_PASSWORD
]
2019-03-11T15:00:38.213Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
org.onap.so.openstack.utils.MsoHeatUtils - keystoneUrl=
http://192.168.37.13:5000/v3
2019-03-11T15:00:38.283Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
org.onap.so.openstack.utils.MsoCommonUtils - RA_CONNECTION_EXCEPTION
2019-03-11T15:00:38.285Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
org.onap.so.openstack.utils.MsoHeatUtils - RA_CONNECTION_EXCEPTION
2019-03-11T15:00:38.286Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
org.onap.so.adapters.vnf.MsoVnfAdapterImpl - RA_QUERY_VNF_ERR
org.onap.so.openstack.exceptions.MsoOpenstackException: The resource could
not be found.
org.onap.so.openstack.exceptions.MsoOpenstackException: The resource could
not be found.
        at
org.onap.so.openstack.utils.MsoCommonUtils.keystoneErrorToMsoException(MsoCommonUtils.java:157)
        at
org.onap.so.openstack.utils.MsoHeatUtils.getHeatClient(MsoHeatUtils.java:914)
        at
org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:571)
        at
org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:658)
        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.createVfModule(<generated>)
        at
org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:440)
        at java.lang.Thread.run(Thread.java:748)
2019-03-11T15:00:38.296Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
org.onap.so.adapters.vnf.VnfAdapterRest - Exception :
org.onap.so.adapters.vnf.exceptions.VnfException: 404 Not Found: The
resource could not be found.
        at
org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:668)
        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.createVfModule(<generated>)
        at
org.onap.so.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:440)
        at java.lang.Thread.run(Thread.java:748)
Caused by: org.onap.so.openstack.exceptions.MsoOpenstackException: The
resource could not be found.
        at
org.onap.so.openstack.utils.MsoCommonUtils.keystoneErrorToMsoException(MsoCommonUtils.java:157)
        at
org.onap.so.openstack.utils.MsoHeatUtils.getHeatClient(MsoHeatUtils.java:914)
        at
org.onap.so.openstack.utils.MsoHeatUtils.queryStack(MsoHeatUtils.java:571)
        at
org.onap.so.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:658)
        ... 12 common frames omitted
2019-03-11T15:00:38.313Z|a5daa042-68a2-4abf-bc78-07beb5164daf|
org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: <?xml
version="1.0" encoding="UTF-8" standalone="yes"?>
<vfModuleException>

<messageId>a5daa042-68a2-4abf-bc78-07beb5164daf-1552316437265</messageId>
    <category>INTERNAL</category>
    <message>404 Not Found: The resource could not be found.</message>
    <rolledBack>true</rolledBack>
</vfModuleException>




*dev-so-so-mariadb-7d9d449dd6-br4rp cloud_sites and identity_services*

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    |
+-------------------+-----------+---------------------+---------------+-----------+-------------+----------+--------------+-----------------+-------
| regionOne           | regionOne | DEFAULT_KEYSTONE    | 3.0         |
regionOne | NULL        | NULL     | NULL         | FLYWAY          |
2019-03-07 16:24:43 | 2019-03-07 16:24:43 |


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    |
+------------------+----------------------------------------------+----------------------+------------------------------------------------------------------+--------------+-------------+-----------------+----------------------+------------------------------+-----------------+---------------------+---------------------+
| DEFAULT_KEYSTONE | http://192.168.37.13:5000/v3                 | admin
              |
bf8db9c9ff076bc8fdc17eae6202553cdf27c2e4a24aa4aa5169df736e062071 | service
    | admin       |            NULL | KEYSTONE             |
USERNAME_PASSWORD            | NULL            | 2019-03-07 16:24:43 |
NULL                |

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

View/Reply Online (#15986): https://lists.onap.org/g/onap-discuss/message/15986
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