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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://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<http://Lists.Onap.Org> 
<[email protected]<mailto:[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 (#17985): https://lists.onap.org/g/onap-discuss/message/17985
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]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to