Thanks for you Jimmy,

It was an SDC issue and after re-deploying the backend container the issue was 
resolved. The root cause of the issue was that upgrade normative script run 
unsuccessfully due to HOST_IP being empty.

Thanks
Munir

From: "FORSYTH, JAMES" <[email protected]>
Date: Monday, April 24, 2017 at 6:26 PM
To: "Ahmad, Munir" <Munir.Ahmad at bell.ca>, onap-discuss <onap-discuss at 
lists.onap.org>
Subject: RE: [onap-discuss] VID portal Error

Hi, Munir,

I think you need to include a couple of headers.  I think you want port 8080 
unless you changed the default port SDC runs on.  Check vid?s asdc.properties 
file for the credentials and hostname/port that is configured in your local 
environment.

Try the following, I was able to fetch a tosca model from SDC

curl -LOk -H "X-ECOMP-InstanceID: VID" -H "Authorization: Basic <base64 encoded 
credentials, see asdc.properties for default>?
http://<sdc_host>:8080/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba/toscaModel<http://%3csdc_host%3e:8080/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba/toscaModel>

thanks,
Jimmy


From: Ahmad, Munir [mailto:[email protected]]
Sent: Monday, April 24, 2017 12:03 PM
To: FORSYTH, JAMES <jf2512 at att.com>; onap-discuss <onap-discuss at 
lists.onap.org>
Subject: Re: [onap-discuss] VID portal Error

Hi Jimmy,

Below are the output of curl request I sent on all of the ports:

root at vm1-sdc:/var/lib/cloud/instance# curl 
http://localhost:8080/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing 
/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba. Reason:
<pre>    Not Found</pre></p><hr><a href="http://eclipse.org/jetty";>Powered by 
Jetty:// 9.3.15.v20161220</a><hr/>

</body>
</html>
root at vm1-sdc:/var/lib/cloud/instance# curl 
http://localhost:8181/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 404 </title>
</head>
<body>
<h2>HTTP ERROR: 404</h2>
<p>Problem accessing 
/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba. Reason:
<pre>    Not Found</pre></p>
<hr /><a href="http://eclipse.org/jetty";>Powered by Jetty:// 
9.3.15.v20161220</a><hr/>
</body>
</html>
root at vm1-sdc:/var/lib/cloud/instance# curl 
http://localhost:8080/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 404 Not Found</title>
</head>
<body><h2>HTTP ERROR 404</h2>
<p>Problem accessing 
/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba. Reason:
<pre>    Not Found</pre></p><hr><a href="http://eclipse.org/jetty";>Powered by 
Jetty:// 9.3.15.v20161220</a><hr/>

</body>
</html>
root at vm1-sdc:/var/lib/cloud/instance# curl 
http://localhost:9443/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba
Proot at vm1-sdc:/var/lib/cloud/instance# curl 
http://localhost:8443/asdc/v1/catalog/services/f091a0c1-55a8-4805-83ca-c939fdb987ba
Proot at vm1-sdc:/var/lib/cloud/instance#




From: "FORSYTH, JAMES" <jf2512 at att.com<mailto:[email protected]>>
Date: Monday, April 24, 2017 at 11:40 AM
To: "Ahmad, Munir" <Munir.Ahmad at bell.ca<mailto:Munir.Ahmad at bell.ca>>, 
onap-discuss <onap-discuss at lists.onap.org<mailto:onap-discuss at 
lists.onap.org>>
Subject: RE: [onap-discuss] VID portal Error

v1/catalog/services/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.onap.org/pipermail/onap-discuss/attachments/20170425/b5b11b95/attachment.html>

Reply via email to