thnx, unfortunately I am still struggling. The hostname "aai.hbase.simpledemo.openecomp.org" points to localhost of the docker host now (I am not sure if this is correct), in logs from aai-traversal I see:

This client just lost it's session with ZooKeeper, closing it. It will be recreated next time someone needs it org.apache.zookeeper.KeeperException$SessionExpiredException: KeeperErrorCode = Session expired

and then I get:

java.lang.RuntimeException: com.thinkaurelius.titan.diskstorage.TemporaryBackendException: Temporary failure in storage backend     at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.getDeployment(HBaseStoreManager.java:351)     at com.thinkaurelius.titan.diskstorage.hbase.HBaseStoreManager.getFeatures(HBaseStoreManager.java:389)

in aai-resource I am getting an NPE (probably it's related to the above problem):

org.onap.aai.exceptions.AAIException: java.lang.NullPointerException
    at org.onap.aai.rest.LegacyMoxyConsumer.getLegacy(LegacyMoxyConsumer.java:291)     at org.onap.aai.rest.LegacyMoxyConsumer.getLegacy(LegacyMoxyConsumer.java:221)

and in aai-model-loader I am getting:

failed to connect to url: /sdc/v1/distributionUebCluster
    java.net.UnknownHostException: c2.vm1.sdc.simpledemo.openecomp.org: Name or service not known

in aai-ui I am getting a different error:

in route: Route(inventory-ui-service:serverStaticContent:v1)[[From[att... because of Failed to resolve endpoint: att-static-content:///opt/app/sparky/staticContent/aai/webapp due to: No component found with scheme: att-static-content CAUSED BY: org.apache.camel.ResolveEndpointFailedException: Failed to resolve endpoint: att-static-content:///opt/app/sparky/staticContent/aai/webapp due to: No component found with scheme: att-static-content
STACKTRACE: at org.apache.camel.model.RouteDefinition(addRoutes:1039)
                      at org.apache.camel.model.RouteDefinition(addRoutes:196)
                      ...

in the project aai-data-router I am getting the following error:

java.net.UnknownHostException: mr.api.simpledemo.openecomp.org: Name or service not known
        at java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method)
        at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928)


Is there a way to get the docker A&AI working under a clean ubuntu systems and if yes is there any documentation how to do it? I think it's just a matter of configuration (correct entries in /etc/hosts perhaps ??) but I am unable to figure out how to set it up properly.

any tips are welcome :)

On 11/14/2017 04:45 PM, FORSYTH, JAMES wrote:
Hi, Pavel,

Can you provide us w/ the docker logs?  You can attach them to this ticket in 
Jira:https://jira.onap.org/browse/AAI-460

Thanks,
jimmy

-----Original Message-----
From:[email protected]  
[mailto:[email protected]] On Behalf Of Pavel Paroulek
Sent: Tuesday, November 14, 2017 9:20 AM
To:[email protected]
Subject: [onap-discuss] running AAI in docker

Hi,

does anyone know how to get A&AI docker working?

I tried to follow
https://urldefense.proofpoint.com/v2/url?u=http-3A__onap.readthedocs.io_en_latest_submodules_aai_aai-2Dcommon.git_docs_platform_Getting-2520Started_How-5Fto-5FDocker-5Fsetup-5Fon-5FSingle-5FVM.html&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=__-tYc98iEeyhlc-bIkl8Fo9eKf5oCRtAe5G9E9UjOA&s=KQaQ4nb_-q_5Ae9JQxH4I4sqJKsxsOJppw6FRBT5MaU&e= and except step 6. (commenting out an if statement, which I couldn't
find anymore) I did every step. After running the "./deploy_vm2.sh &&
./deploy_vm1.sh" scripts I get:

....

Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
deployment to finish ...
Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
deployment to finish ...
Waiting for 'testconfig_aai-resources.api.simpledemo.openecomp.org_1'
deployment to finish ...
ERROR: testconfig_aai-resources.api.simpledemo.openecomp.org_1
deployment failed.

When I do "docker ps -a" I get:

CONTAINER ID IMAGE COMMAND                  CREATED
STATUS                   PORTS               NAMES
5a829013cb53 nexus3.onap.org:10001/openecomp/aai-resources   "/bin/bash
/opt/ap..."   1 hour ago         Exited (1) 1 hour ago
testconfig_aai-resources.api.simpledemo.openecomp.org_1

When i start it manually with "docker start 5a829013cb" it exits after a
brief period of time.

My Docker version is 17.09.0-ce, build afdb6d4 and docker-compose
version 1.15.0, build e12f3b9 and I run on Linux ubuntu
4.10.0-38-generic (16.04).


Does anyone know how to figure out what is wrong? Anyone else has the
same issue?



_______________________________________________
onap-discuss mailing list
[email protected]
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.onap.org_mailman_listinfo_onap-2Ddiscuss&d=DwIGaQ&c=LFYZ-o9_HUMeMTSQicvjIg&r=Oej6QUk5p2KdqNEWySpOHA&m=__-tYc98iEeyhlc-bIkl8Fo9eKf5oCRtAe5G9E9UjOA&s=L_3l0qn6LVtuMAIkC-azgkBTQtajuZ9lG0Lta_ZpGRU&e=

_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to