Dear SO team,

I am trying to enable debug logs for SO BPNM by following the CURL Commands
from Wiki page https://wiki.onap.org/display/DW/SO+Component.

It seems like SO REST API URL path has changed. The CURL command fails
with *404
with No message available for path /mso/logging/debug*. This is pretty much
the same error for all other SO components as well.

Here is the command snippets for your reference. Could someone from SO team
help me to resolve the below issues would be greatly appreciated.

*Code & Log snippet*

export SO_SVC_IP=$(kubectl get svc -n onap -o wide | grep '^so' | grep -v
'so-.*' | awk '{print $3}')

export SP_SVC_PORT=$(kubectl get svc -n onap -o wide | grep '^so' | grep -v
'so-.*' | awk '{print $5}' | awk -F ':' '{print $1}')

curl -v --user "InfraPortalClient:password1$" http://
${SO_SVC_IP}:${SP_SVC_PORT}/mso/logging/debug?enable=true

*   Trying 10.43.245.9...
* TCP_NODELAY set
* Connected to 10.43.245.9 (10.43.245.9) port 8080 (#0)
* Server auth using Basic with user 'InfraPortalClient'
> GET /mso/logging/debug?enable=true HTTP/1.1
> Host: 10.43.245.9:8080
> Authorization: Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==
> User-Agent: curl/7.58.0
> Accept: */*
>
< HTTP/1.1 404
< Set-Cookie: JSESSIONID=D6A177779E0EAB25A551991D67D29827; Path=/; HttpOnly
< 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: Tue, 03 Mar 2020 15:56:51 GMT
<
* Connection #0 to host 10.43.245.9 left intact

*{"timestamp":"2020-03-03T15:56:51.542+0000","status":404,"error":"Not
Found","message":"No message available","path":"/mso/logging/debug"}*

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

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

Reply via email to