Update:
Based on some feedback this is seen not to be an e2e tested setup so I 
continued to investigate.

I managed to get the authentication_mechanism = BOTH set and the war rebuild so 
I got past that problem. How I am considently asked for my login details and 
when I put them in I get a 404 error.

There is an exception
...
Caused by: java.io.FileNotFoundException: 
http://vid.api.simpledemo.openecomp.org:8080/vid/api/sessionTimeOuts
...

It looks like a v2 is missing on the url but this is more and more looking like 
there is a significant incompatible change between VID and Portal.

So I think this might be part of the cause. Any thoughts of where this should 
come from would be welcome.

I also updated the docker start of the vid with "-e VID_UEB_APP_KEY=ueb_key -e 
VID_UEB_APP_SECRET=ueb_secret" so that it matched up with what was installed in 
the portal (this removed an exception but didn't seem to be important).

I also had to add vm1-message-router to the hosts file of the portal docker 
container

Thanks

/Andrew



From: 
onap-discuss-boun...@lists.onap.org<mailto:onap-discuss-boun...@lists.onap.org> 
[mailto:onap-discuss-boun...@lists.onap.org] On Behalf Of Andrew Fenner
Sent: 16 May 2017 13:42
To: onap-discuss@lists.onap.org<mailto:onap-discuss@lists.onap.org>
Subject: [onap-discuss] ONAP deployment with latest images/docker/code - VID 
issue

Hi,

I had deployed previous deployed ONAP based on the branches suggested and got 
the demo working. Then I tried to move to a "latest" software, so I know I 
might be in uncharted waters but I wondered is this the place to get help, 
please point me to other forum if its more apprioriate.

I have the branches etc set as follows
ubuntu@vm1-vid:/opt$ cat /opt/config/artifacts_version.txt 
/opt/config/docker_version.txt /opt/config/gerrit_branch.txt
1.1.0-SNAPSHOT
1.1-STAGING-latest
master

The docker containers download and after one change to the vid_vm_init.sh the 
server seems to be up.
The change
docker run -e VID_MYSQL_DBNAME=vid_openecomp -e 
VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U --name vid-server -p 
8080:8080 --link vid-mariadb:vid-mariadb-docker-instance -d 
$NEXUS_DOCKER_REPO/openecomp/vid:$DOCKER_IMAGE_VERSION
to
docker run -e VID_MYSQL_DBNAME=vid_openecomp_epsdk -e 
VID_MYSQL_PASS=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U --name vid-server -p 
8080:8080 --link vid-mariadb:vid-mariadb-docker-instance -d 
$NEXUS_DOCKER_REPO/openecomp/vid:$DOCKER_IMAGE_VERSION


However once I try to launch the VID from the portal I get the error
2017-05-16 
12:22:50,901|39d38c21-06e7-4bf6-a244-dc1f56e4dab9||http-apr-8080-exec-6||/single_signon.htm|292b461a-2954-4b63-a3f9-f916c7ad3bc0|WARN|INFORMATIONAL|172.17.0.3|9e55538716e8||||
 Handler execution resulted in exception: required key 
[authentication_mechanism] not found

This seems to be related the lack on an attribute
authentication_mechanism = BOTH
in the 
/opt/vid/epsdk-app-onap/src/main/webapp/WEB-INF/fusion/conf/fusion.properties

I also got the error
2017-05-16 
12:08:53,961|||localhost-startStop-1||||ERROR|INFORMATIONAL|172.17.0.3|9e55538716e8||org.openecomp.portalsdk.core.util.SystemProperties||
 getProperty: environment is null, should never happen!
Which is a bit worrying.

It looks like I'm not getting a consistent set of downloads and I was looking 
for any advice on how to proceed

SDC seems to be working and I got a Service distributed to A&AI so a lot of the 
latest seems to have worked so that is why I was hoping to get past this issue 
with VID.

Thanks

/Andrew


_______________________________________________
onap-discuss mailing list
onap-discuss@lists.onap.org
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to