Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In /opt/aai_vm_init change the two docker run commands (I put a comment before the original one in case I want to revert)

#docker run -d --net=host --name="hbase-1.2.3" aaidocker/aai-hbase-1.2.3
docker run -itd --net=host --hostname localhost --name=hbase-1.2.3 wc9368/aai-hbase-1.2.3

#docker run --name=aai-service --net=host      -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt -it -e AAI_REPO_PATH=r/aai -e AAI_CHEF_ENV=simpledemo -d -e AAI_CHEF_LOC=/var/chef/aai-data/environments -e docker_gitbranch=release-1.0.0 $NEXUS_DOCKER_REPO/openecomp/ajsc-aai:$DOCKER_IMAGE_VERSION
 docker run --name=aai-service --net=host -itd -v /etc/ssl/certs/ca-certificates.crt:/etc/ssl/certs/ca-certificates.crt     -e AAI_REPO_PATH=r/aai -e AAI_CHEF_ENV=simpledemo    -e AAI_CHEF_LOC=/var/chef/aai-data/environments -e docker_gitbranch=master        nexus3.onap.org:10001/openecomp/ajsc-aai:1.0-STAGING-latest




Observer the docker logs with "docker logs -f aai-service". If you see lines like

...

docker restart aai-service
docker loglogs -f aai-service

You will see most probably the same error messages, but now the log file exists and you can examine it

...

docker restart aai-service
docker loglogs -f aai-service

These steps made my ONAP instance work up to the point where I could add VF to a service instance (which was not possible before)

...