Uploaded image for project: 'Service Orchestrator'
  1. Service Orchestrator
  2. SO-622

VnfAdapter looses authentication credentials to Openstack on query (Intermittently)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Medium Medium
    • Casablanca Release
    • Beijing Release
    • None
    • SB-02/ HEAT

      2018-05-14T17:16:44.269Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|createStack called with an environment variable: parameters:
      nova_instance: "1234456"
      volume_size: 100

      2018-05-14T17:16:44.269Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|createStack called with no files / child template ids
      2018-05-14T17:16:44.269Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|createStack called with no heatFiles
      2018-05-14T17:16:44.269Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Found: CloudSite: id=RegionOne, regionId=RegionOne, identityServiceId=DEFAULT_KEYSTONE, aic_version=2.5, clli=RegionOne, cloudifyId=null, platform=null, orchestrator=null
      2018-05-14T17:16:44.269Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Using Cached HEAT Client for RegionOne:ebb0ea7144004bacac1e39ff23105fa7
      2018-05-14T17:16:44.269Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Found: com.woorea.openstack.heat.Heat@1a3fba9e
      2018-05-14T17:16:44.269Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Ready to Create Stack (heat_template_version: 2013-05-23
      description: create a Nova instance, a Cinder volume and attach the volume to the instance.

      .... removed heat parameters

      2018-05-14T17:16:44.269Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|headers added, about to executeAndRecordOpenstackRequest
      2018-05-14T17:16:44.771Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|createPollInterval=15, pollTimeout=7215

      2018-05-14T17:16:44.828Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|CREATE_IN_PROGRESS (Vfmodule_Ete_vVG_a591c63a-77ca-40e1-93b5-b22af2b4cdfe/6a842818-82eb-48ee-971c-7bdc083871d7)
      2018-05-14T17:16:44.828Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Current stack (outputs is empty)
      2018-05-14T17:16:59.828Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|pollTimeout remaining: 7200
      2018-05-14T17:16:59.854Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:401
      2018-05-14T17:16:59.855Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|MSO-RA-9202E Exception communicating with OpenStack: Openstack Error on QueryStack: Explanation [ code='0', title='null', explanation='null', Error [type='null', message='The request you have made requires authentication.' ] ]
      2018-05-14T17:16:59.855Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|null, error.type=null, error.message=The request you have made requires authentication.
      2018-05-14T17:16:59.855Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Create Stack error - unable to query for stack status - attempting to delete stack: Vfmodule_Ete_vVG_a591c63a-77ca-40e1-93b5-b22af2b4cdfe/6a842818-82eb-48ee-971c-7bdc083871d7 - This will likely fail and/or we won't be able to query to see if delete worked
      2018-05-14T17:16:59.862Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Config values RetryDelay:5 RetryCount:3 RetryCodes:504 ResponseCode:401
      2018-05-14T17:16:59.862Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|MSO-RA-9208E Create Stack Error: Create Stack: Nested exception rolling back stack: com.woorea.openstack.base.client.OpenStackResponseException: Unauthorized
      2018-05-14T17:16:59.863Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|
      2018-05-14T17:16:59.863Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|MSO-RA-9230E Exception while create VNF:vVG 2018-05-14 17:12:59/b611b47d-41a5-4020-b610 0::B611b47d41a54020B610..base_vvg..module-0 in RegionOne/ebb0ea7144004bacac1e39ff23105fa7
      2018-05-14T17:16:59.863Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|MSO-RA-9200E Exception: 0 null: null, error.type=null, error.message=The request you have made requires authentication. - at org.openecomp.mso.openstack.utils.MsoCommonUtils.heatExceptionToMsoException(MsoCommonUtils.java:217) - at org.openecomp.mso.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:1104) - at org.openecomp.mso.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:449) - at org.openecomp.mso.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1288) - at org.openecomp.mso.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:388) - at java.lang.Thread.run(Thread.java:748) -
      2018-05-14T17:16:59.863Z|cd6440cc-4a8a-499a-995a-9cd1cedb6be5|Exception raised
      org.openecomp.mso.openstack.exceptions.MsoOpenstackException: null, error.type=null, error.message=The request you have made requires authentication.
      at org.openecomp.mso.openstack.utils.MsoCommonUtils.heatExceptionToMsoException(MsoCommonUtils.java:217)
      at org.openecomp.mso.openstack.utils.MsoHeatUtils.queryHeatStack(MsoHeatUtils.java:1104)
      at org.openecomp.mso.openstack.utils.MsoHeatUtils.createStack(MsoHeatUtils.java:449)
      at org.openecomp.mso.adapters.vnf.MsoVnfAdapterImpl.createVfModule(MsoVnfAdapterImpl.java:1288)
      at org.openecomp.mso.adapters.vnf.VnfAdapterRest$CreateVfModuleTask.run(VnfAdapterRest.java:388)
      at java.lang.Thread.run(Thread.java:748)

      the CreateVFModule succeeds but the Delete for rollback fails leaving a vVG in Openstack

            seshukm seshukm
            bdfreeman1421 bdfreeman1421
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: