Hi Dmitry, Thanks for the quick response and it worked along with setting the kernel parameter vm.max_map_count=*262144.*
I am still not able to access the AAI UI. I can see that Sparky-be Java process is listening on port 8000, and accepting requests. While accessing the Sparky URL (https://sparky-be:8000), it is redirecting to the Portal login page ( http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm). Is there a workaround to load the AAI Sparky UI alone without ONAP Portal ? Regards Vivek *AAI Container status* root@aai-vivek-01:/opt/test-config# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 4ff7949ec4e7 nexus3.onap.org:10001/onap/babel "/opt/app/babel/bin/…" About a minute ago Up About a minute 0.0.0.0:9516->9516/tcp testconfig_babel_1 0a8236389bf8 nexus3.onap.org:10001/onap/spike "/opt/app/spike/bin/…" About a minute ago Up About a minute 0.0.0.0:9518->9518/tcp testconfig_spike-service_1 6ec9927d94c1 nexus3.onap.org:10001/onap/gizmo "/opt/app/crud-api/b…" About a minute ago Up About a minute 0.0.0.0:9520->9520/tcp testconfig_crud-service_1 1d8de1f17af0 nexus3.onap.org:10001/onap/champ "/opt/app/champ-serv…" About a minute ago Up About a minute 0.0.0.0:9522->9522/tcp testconfig_champ-service_1 0357729da494 nexus3.onap.org:10001/onap/search-data-service "/opt/app/search-dat…" About a minute ago Up About a minute 0.0.0.0:9509->9509/tcp testconfig_aai.searchservice.simpledemo.openecomp.org_1 14435795e4ee nexus3.onap.org:10001/onap/model-loader "/opt/app/model-load…" About a minute ago Up About a minute testconfig_model-loader_1 fca63a495972 nexus3.onap.org:10001/onap/data-router "/opt/app/data-route…" About a minute ago Up About a minute 0.0.0.0:9502->9502/tcp testconfig_datarouter_1 b459a618b6e2 nexus3.onap.org:10001/onap/sparky-be "/opt/app/sparky/bin…" About a minute ago Up About a minute 8000/tcp, 0.0.0.0:9517->9517/tcp testconfig_sparky-be_1 90d93b99afdb aaionap/haproxy:1.2.3 "/docker-entrypoint.…" 2 minutes ago Up 2 minutes 0.0.0.0:8443->8443/tcp testconfig_aai.api.simpledemo.onap.org_1 7ce302d939d2 nexus3.onap.org:10001/onap/aai-traversal "/bin/bash /opt/app/…" 2 minutes ago Up 2 minutes (healthy) 0.0.0.0:8446->8446/tcp testconfig_aai-traversal.api.simpledemo.onap.org_1 bea69410006b nexus3.onap.org:10001/onap/aai-resources "/bin/bash /opt/app/…" 3 minutes ago Up 3 minutes (healthy) 0.0.0.0:8447->8447/tcp testconfig_aai-resources.api.simpledemo.onap.org_1 5e084de1f8f5 nexus3.onap.org:10001/onap/aai-graphadmin "/bin/bash /opt/app/…" 3 minutes ago Up 3 minutes (healthy) 0.0.0.0:8449->8449/tcp testconfig_aai-graphadmin.api.simpledemo.onap.org_1 19685cb8cbfa docker.elastic.co/elasticsearch/elasticsearch:6.1.2 "/usr/local/bin/dock…" 4 minutes ago Up 4 minutes 0.0.0.0:9200->9200/tcp, 9300/tcp elasticsearch 271dc13329dc cassandra:2.1 "docker-entrypoint.s…" 4 minutes ago Up 4 minutes 0.0.0.0:7000-7001->7000-7001/tcp, 0.0.0.0:7199->7199/tcp, 0.0.0.0:9042->9042/tcp, 0.0.0.0:9160->9160/tcp testconfig_aai.hbase.simpledemo.onap.org_1 On Thu, Jul 11, 2019 at 5:01 PM Puzikov Dmitry <[email protected]> wrote: > Hi, > > > The line 1 of elasticsearch.yml contains unparseable symbol at position > 13 right after "Copyright", just remove it and you're good to go. Hope it > helps. > > > Regards, > > Dmitry > > > > > ------------------------------ > *From:* [email protected] <[email protected]> on > behalf of Vivekanandan Muthukrishnan <[email protected]> > *Sent:* Thursday, July 11, 2019 12:56:17 PM > *To:* [email protected]; [email protected] > *Subject:* Re: [onap-discuss] [Dublin] AAI Docker setup on a single VM > failed > > Hi James > > I followed the below Wiki page and all AAI Docker containers came up > except Elasticsearch. I did disable AAF authentication > ( spring.profiles.active=production,one-way-ssl,dmaap) as suggested in the > Wiki page. > > > https://wiki.onap.org/display/DW/How+to+Docker+setup+on+Single+VM+HEAT+Deployment > > The issue is that i am not able to access the AAI UI. I can see that > Sparky-be Java process is listening on port 8000, and accepting requests. > > While accessing the Sparky URL (https://sparky-be:8000), it is > redirecting to the Portal login page ( > http://portal.api.simpledemo.onap.org:8989/ONAPPORTAL/login.htm) > > I guess there is way to bypass the user authentication to load Sparky UI. > Could you let me know, if there are any configuration files to disable user > authentication. This would would help us to proceed further in setting up > our AAI development environment. > > Below are the log snippets from my development environment. Please let me > know, if you need any additional details. > > Regards > Vivek > > > > *Docker containers ------------------------ * > CONTAINER ID IMAGE > COMMAND CREATED STATUS PORTS > > NAMES > 1e20e39ef3ea nexus3.onap.org:10001/onap/babel > "/opt/app/babel/bin/…" 2 hours ago Up 2 hours > 0.0.0.0:9516->9516/tcp > testconfig_babel_1 > 8d79b8fef8c4 nexus3.onap.org:10001/onap/spike > "/opt/app/spike/bin/…" 2 hours ago Up 2 hours > 0.0.0.0:9518->9518/tcp > testconfig_spike-service_1 > 99ed2ce5b16f nexus3.onap.org:10001/onap/gizmo > "/opt/app/crud-api/b…" 2 hours ago Up 2 hours > 0.0.0.0:9520->9520/tcp > testconfig_crud-service_1 > 1dbd5ac054de nexus3.onap.org:10001/onap/champ > "/opt/app/champ-serv…" 2 hours ago Up 2 hours > 0.0.0.0:9522->9522/tcp > testconfig_champ-service_1 > f2f400f52666 nexus3.onap.org:10001/onap/search-data-service > "/opt/app/search-dat…" 2 hours ago Up 2 hours > 0.0.0.0:9509->9509/tcp > > testconfig_aai.searchservice.simpledemo.openecomp.org_1 > 7452f46106d5 nexus3.onap.org:10001/onap/model-loader > "/opt/app/model-load…" 2 hours ago Up 2 hours > > testconfig_model-loader_1 > e1bf591a6d3c nexus3.onap.org:10001/onap/data-router > "/opt/app/data-route…" 2 hours ago Up 2 hours > 0.0.0.0:9502->9502/tcp > testconfig_datarouter_1 > f6baf127ed18 nexus3.onap.org:10001/onap/sparky-be > "/opt/app/sparky/bin…" 2 hours ago Up 2 hours > 8000/tcp, 0.0.0.0:9517->9517/tcp > testconfig_sparky-be_1 > 00771ebf35e5 aaionap/haproxy:1.2.3 > "/docker-entrypoint.…" 2 hours ago Up 2 hours > 0.0.0.0:8443->8443/tcp > testconfig_aai.api.simpledemo.onap.org_1 > 6c7888567b89 nexus3.onap.org:10001/onap/aai-traversal > "/bin/bash /opt/app/…" 2 hours ago Up 2 hours (healthy) > 0.0.0.0:8446->8446/tcp > > testconfig_aai-traversal.api.simpledemo.onap.org_1 > 5b04ac83e54f nexus3.onap.org:10001/onap/aai-resources > "/bin/bash /opt/app/…" 2 hours ago Up 2 hours (healthy) > 0.0.0.0:8447->8447/tcp > > testconfig_aai-resources.api.simpledemo.onap.org_1 > e5b1e3750ad3 nexus3.onap.org:10001/onap/aai-graphadmin > "/bin/bash /opt/app/…" 2 hours ago Up 2 hours (healthy) > 0.0.0.0:8449->8449/tcp > > testconfig_aai-graphadmin.api.simpledemo.onap.org_1 > 91f99c7b9769 docker.elastic.co/elasticsearch/elasticsearch:6.1.2 > "/usr/local/bin/dock…" 2 hours ago Exited (1) 2 hours ago > > elasticsearch > a225d5867075 cassandra:2.1 > "docker-entrypoint.s…" 2 hours ago Up 2 hours > 0.0.0.0:7000-7001->7000-7001/tcp, 0.0.0.0:7199->7199/tcp, > 0.0.0.0:9042->9042/tcp, > 0.0.0.0:9160->9160/tcp testconfig_aai.hbase.simpledemo.onap.org_1 > > > > *Elasticsearch container error log * > root@aai-vivek-01:/opt/test-config# docker logs 91f99c7b9769 > Exception in thread "main" SettingsException[Failed to load settings from > [elasticsearch.yml]]; nested: > YAMLException[java.io.CharConversionException: Invalid UTF-8 start byte > 0xa9 (at char #13, byte #-1)]; nested: CharConversionException[Invalid > UTF-8 start byte 0xa9 (at char #13, byte #-1)]; > at > org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1186) > at > org.elasticsearch.common.settings.Settings$Builder.loadFromPath(Settings.java:1161) > at > org.elasticsearch.node.InternalSettingsPreparer.prepareEnvironment(InternalSettingsPreparer.java:99) > at > org.elasticsearch.cli.EnvironmentAwareCommand.createEnv(EnvironmentAwareCommand.java:95) > at > org.elasticsearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:86) > at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) > at org.elasticsearch.cli.MultiCommand.execute(MultiCommand.java:75) > at org.elasticsearch.cli.Command.mainWithoutErrorHandling(Command.java:124) > at org.elasticsearch.cli.Command.main(Command.java:90) > at org.elasticsearch.plugins.PluginCli.main(PluginCli.java:48) > Caused by: org.yaml.snakeyaml.error.YAMLException: > java.io.CharConversionException: Invalid UTF-8 start byte 0xa9 (at char > #13, byte #-1) > at org.yaml.snakeyaml.reader.StreamReader.update(StreamReader.java:200) > at org.yaml.snakeyaml.reader.StreamReader.<init>(StreamReader.java:60) > at > com.fasterxml.jackson.dataformat.yaml.YAMLParser.<init>(YAMLParser.java:152) > at > com.fasterxml.jackson.dataformat.yaml.YAMLFactory._createParser(YAMLFactory.java:420) > at > com.fasterxml.jackson.dataformat.yaml.YAMLFactory.createParser(YAMLFactory.java:321) > at > org.elasticsearch.common.xcontent.yaml.YamlXContent.createParser(YamlXContent.java:84) > at > org.elasticsearch.common.settings.Settings$Builder.loadFromStream(Settings.java:1176) > ... 9 more > > > > > On Wed, Jul 10, 2019 at 3:34 PM Vivekanandan Muthukrishnan via > Lists.Onap.Org <[email protected]> wrote: > > Hi AAI team, > > I am trying to follow the below Wiki page to Docker setup AAI on a single > VM and it failed. > > Wiki Link : > https://docs.onap.org/en/dublin/submodules/aai/aai-common.git/docs/platform/Getting%20Started/How_to_Docker_setup_on_Single_VM.html#prerequisites > > Could someone clarify the following questions would be really helpful. > > 1. What is the following line means? Should i change it to Dublin AAI > version? > > echo "1.1-STAGING-latest" > /opt/config/docker_version.txt > > 2. The script deploy_vm1.sh has lot of Docker image versions define. Are > these updated to the latest Dublin release? I see that Docker image version > is referring to old releases. > > Thanks & Regards > Vivek > > > > -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#18019): https://lists.onap.org/g/onap-discuss/message/18019 Mute This Topic: https://lists.onap.org/mt/32414654/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
