In some of my labs (installed yesterday with Dublin release) I have problems 
accessing the SDC UI within the portal and using the sdc-fe API.
Both are related to authentication problems.:

UI:

Error code: SVC4300
Status code: 403
Restricted access.

API:
http://sdc.api.fe.simpledemo.onap.org:30206/sdc1/feProxy/rest/v1/catalog/resources
response: {
"requestError": {
"policyException": {
"messageId": "POL5003",
"text": "Error: Not authorized to use the API.",
"variables": []
}
}
}

In the SDC-BE logs I find:
2019-06-28T08:20:54.920Z    [qtp215145189-19]    INFO     
o.o.sdc.be.filters.BeServletFilter    ResponseCode=0    InstanceUUID=null    
RequestId=063c11f9-0d65-4075-95eb-e41b27b1
303b    AlertSeverity=0    ElapsedTime=0    EndTimestamp=2019-06-28 
08:20:54.919Z    PartnerName=demo    auditOn=false    
ServerFQDN=dev-sdc-sdc-be-7c5bcb7c98-58lmm    StatusCode=COMPLET
E    CustomField1=GET: http://sdc-be.onap:8080/sdc2/rest/version    timer=0    
CustomField2=200    AuditBeginTimestamp=2019-06-28 08:20:54.919Z    
RemoteHost=10.42.8.40    ErrorCateg
ory=INFO    ServerIPAddress=10.42.6.51    ServiceName=/version    
ServiceInstanceId=null    
ClassName=org.openecomp.sdc.be.filters.BeServletFilter    
ResponseDescription=OK    ErrorCode=
0    GET /sdc2/rest/version HTTP/1.1 SC="200"
2019-06-28T08:20:54.920Z    [qtp215145189-18]    INFO     
o.o.sdc.be.filters.BeServletFilter    
RequestId=e1ed6fe0-53e1-462a-92a8-58fff1205441    serviceInstanceID=null    
PartnerNam
e=demo    auditOn=true    ServerFQDN=dev-sdc-sdc-be-7c5bcb7c98-58lmm    
userId=demo    uuid=e1ed6fe0-53e1-462a-92a8-58fff1205441    
AuditBeginTimestamp=2019-06-28 08:20:54.920Z    Er
rorCategory=INFO    ServerIPAddress=10.42.6.51    
ServiceName=/v1/catalog/dataTypes    ErrorCode=0    localAddr=10.42.6.51    
remoteAddr=10.42.8.40    GET /sdc2/rest/v1/catalog/
dataTypes HTTP/1.1
2019-06-28T08:20:54.922Z    [qtp215145189-15]    ERROR    
o.o.s.c.config.EcompErrorLogUtil    alarmSeverity=MAJOR    
AuditBeginTimestamp=2019-06-28 08:20:54.918Z    RequestId=
ca9b0370-4bbd-4387-9715-b7ea75e96906    ErrorCategory=ERROR    
ServerIPAddress=10.42.6.51    ServiceName=/v1/configuration/ui    ErrorCode=300 
   PartnerName=demo    auditOn=tr
ue    ServerFQDN=dev-sdc-sdc-be-7c5bcb7c98-58lmm    TargetEntity=get All 
Artifact Types    User demo requested is not found
2019-06-28T08:20:54.924Z    [qtp215145189-18]    INFO     
o.o.s.b.s.AbstractValidationsServlet    AuditBeginTimestamp=2019-06-28 
08:20:54.920Z    RequestId=e1ed6fe0-53e1-462a-92a8-
58fff1205441    ErrorCategory=INFO    ServerIPAddress=10.42.6.51    
ServiceName=/v1/catalog/dataTypes    ErrorCode=0    PartnerName=demo    
auditOn=true    ServerFQDN=dev-sdc
-sdc-be-7c5bcb7c98-58lmm    user is not listed. userId=demo

The problem occurs not in all labs (installed with the same version).
Is there a hint how to solve the problem or should I raise a ticket?

Best regards
Andreas

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

View/Reply Online (#17811): https://lists.onap.org/g/onap-discuss/message/17811
Mute This Topic: https://lists.onap.org/mt/32239919/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