Hi,

Is it Dublin ?

Basically the error message suggests the user doesn’t exist, so I assume the 
init job couldn’t add the users to Cassandra.
Since reinstallation solved it I think there’s no point creating a Jira, we saw 
it before and usually issue is in common Cassandra.

Ofir

From: [email protected] [mailto:[email protected]] On 
Behalf Of Andreas Geissler
Sent: Wednesday, August 28, 2019 12:50 PM
To: [email protected]
Subject: [onap-discuss] SDC APIs fail with 403 "Unauthorized Access" #sdc

Hi,

in my labs I test the automated installation of ONAP and execute testcases 
(based on Orange onap_tests).
Currently (using OOM latest master) I have problems with SDC.
After sucessful ONAP installation and positive healthcheck the SDC API access 
fails (see below).
Access to the SDC portal works fine.
After a deletion and reinstallation of the SDC component the problem is fixed.
Is this problem known or should I raise a ticket for that ?

Best regards
Andreas

2019-08-28 07:37:46,610 - onap_tests.scenario.onboard         - INFO     - 
Create VF vfw_VF
2019-08-28 07:37:46,610 - onap_tests.scenario.onboard         - INFO     - VF 
using VSP name vfw_VSP
2019-08-28 07:37:46,611 - onap_tests.scenario.onboard         - INFO     - VF 
using VSP id 6223325bba1642beb13104cdbd128bf1
2019-08-28 07:37:46,611 - onap_tests.scenario.onboard         - INFO     - VF 
using VSP csar_uuid 6223325bba1642beb13104cdbd128bf1
2019-08-28 07:37:49,083 - onap_tests.utils.sender             - INFO     - 
[SDC][get vfs] response code: 200
2019-08-28 07:37:49,085 - onap_tests.components.vf            - INFO     - VF 
in not in vf list: vfw_VF
2019-08-28 07:37:49,799 - onap_tests.utils.sender             - ERROR    - 
[SDC][Create vf] response code: 403
2019-08-28 07:37:49,800 - onap_tests.utils.sender             - ERROR    - 
[SDC][Create vf] sent header: {'Content-Type': 'application/json', 'Accept': 
'application/json', 'X-TransactionId': 'ONAP-Test', 'USER_ID': 'cs0008', 
'X-FromAppId': 'ONAP-Test', 'Authorization': 'Basic 
YWFpOktwOGJKNFNYc3pNMFdYbGhhazNlSGxjc2UyZ0F3ODR2YW9HR21KdlV5MlU=', 
'x-ecomp-instanceid': 'ONAP-Test', 'cache-control': 'no-cache'}
2019-08-28 07:37:49,800 - onap_tests.utils.sender             - ERROR    - 
[SDC][Create vf] url used: 
http://sdc.api.fe.simpledemo.onap.org:30206/sdc1/feProxy/rest/v1/catalog/resources<https://urldefense.proofpoint.com/v2/url?u=http-3A__sdc.api.fe.simpledemo.onap.org-3A30206_sdc1_feProxy_rest_v1_catalog_resources&d=DwQFaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=r9I4HaeTZWnzwEqiRY1_Hv-5a-5rlv9P2qxiDTBCt58&m=3glK74AVO5ATpuIpFpzwwqkVOe7oE7JhfJS_F5EOag8&s=jJhO_-ot6sw00YEQVSbgjEEoTVhCnp4_GlocU4rqqMM&e=>
2019-08-28 07:37:49,800 - onap_tests.utils.sender             - ERROR    - 
[SDC][Create vf] data sent: {"artifacts": {}, "attributes": [], "capabilities": 
{}, "categories": [{"name": "Generic", "normalizedName": "generic", "uniqueId": 
"resourceNewCategory.generic", "icons": null, "subcategories": [{"name": 
"Abstract", "normalizedName": "abstract", "uniqueId": 
"resourceNewCategory.generic.abstract", "icons": ["objectStorage", "compute"], 
"groupings": null, "ownerId": null, "empty": false, "version": null, "type": 
null}], "ownerId": null, "empty": false, "type": null, "version": null}], 
"componentInstances": [], "componentInstancesAttributes": {}, 
"componentInstancesProperties": {}, "componentType": "RESOURCE", "contactId": 
"cs0008", "csarUUID": "6223325bba1642beb13104cdbd128bf1", "csarVersion": "1.0", 
"deploymentArtifacts": {}, "description": "VF", "icon": "defaulticon", "name": 
"vfw_VF", "properties": [], "requirements": {}, "resourceType": "VF", "tags": 
["vfw_VF"], "toscaArtifacts": {}, "vendorName": "myvendor", "vendorRelease": 
"1.0"}
2019-08-28 07:37:49,801 - onap_tests.utils.sender             - ERROR    - 
[SDC][Create vf] response: {
  "requestError": {
    "policyException": {
      "messageId": "POL5003",
      "text": "Error: Not authorized to use the API.",
      "variables": []
    }
  }
}


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

View/Reply Online (#18730): https://lists.onap.org/g/onap-discuss/message/18730
Mute This Topic: https://lists.onap.org/mt/33055488/21656
Mute #sdc: https://lists.onap.org/mk?hashtag=sdc&subid=2740164
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to