Hi, 

This is a known issue that was fixed already. Please pull latest code, from 
release-1.1.0 branch, and retry.

Thanks,
Alexis

> On Dec 13, 2017, at 10:16 AM, bharath thiruveedula <[email protected]> 
> wrote:
> 
> Hi
> I am trying to install ONAP Amsterdam release using OOM approach. I am 
> installing it  in "app by app" manner. When I try to install aai using 
> "./createAll.bash -n onap -a aai" the setup was stuck in aai-resources. Below 
> one is status of onap-aai 
> NAME                                                                 READY    
>           STATUS           RESTARTS             AGE
> aai-resources-702937412-qrmdc                       1/2                      
> Running           0                              1h
> aai-service-749944520-23199                            0/1                    
>   Init:0/1             10                            1h
> aai-traversal-1930874245-ftgp8                          0/2                   
>    Init:0/1             10                            1h
> data-router-3434587794-1ksnj                            1/1                   
>    Running           0                              1h
> elasticsearch-622738319-3848g                         1/1                     
>  Running           0                              1h
> hbase-1949550546-0dwm2                                 1/1                    
>   Running           0                              1h
> model-loader-service-1965047489-6kz54           2/2                      
> Running           0                               1h
> search-data-service-257767669-jth4j                  2/2                      
> Running           0                               1h
> sparky-be-1165380235-w8zgl                             2/2                    
>    Running          0                                1h
> 
> I saw the logs in aai-resources, it was waiting to clone the aai-config as 
> below:
> root@oom:~/oom/kubernetes/oneclick# kubectl logs 
> aai-resources-702937412-qrmdc -c aai-resources --namespace onap-aai
> Cloning into 'aai-config'...
> 
> So I think it is a problem with proxy, so I added proxy details in 
> "oom/kubernetes/aai/templates/aai-resources-deployment.yaml" as below:
> root@oom:~/oom/kubernetes/aai/templates# cat aai-resources-deployment.yaml
> #{{ if not .Values.disableAaiAaiResources }}
> apiVersion: extensions/v1beta1
> kind: Deployment
> metadata:
> name: aai-resources
> namespace: "{{ .Values.nsPrefix }}-aai"
> spec:
> selector:
> matchLabels:
> app: aai-resources
> template:
> metadata:
> labels:
> app: aai-resources
> name: aai-resources
> annotations:
> pod.beta.kubernetes.io/init-containers 
> <http://pod.beta.kubernetes.io/init-containers>: '[
> {
> "args": [
> "--container-name",
> "hbase"
> ],
> "command": [
> "/root/ready.py"
> ],
> "env": [
> {
> "name": "NAMESPACE",
> "valueFrom": {
> "fieldRef": {
> "apiVersion": "v1",
> "fieldPath": "metadata.namespace"
> }
> }
> }
> ],
> "image": "{{ .Values.image.readiness }}",
> "imagePullPolicy": "{{ .Values.pullPolicy }}",
> "name": "aai-resources-readiness"
> }
> ]'
> spec:
> containers:
> - name: aai-resources
> image: "{{ .Values.image.aaiResourcesImage }}:{{ 
> .Values.image.aaiResourcesVersion}}"
> imagePullPolicy: {{ .Values.pullPolicy }}
> env:
> - name: CHEF_BRANCH
> value: master
> - name: AAI_CHEF_ENV
> value: simpledemo
> - name: AAI_CORE_VERSION
> value: 1.1.0-SNAPSHOT
> - name: AAI_CHEF_LOC
> value: /var/chef/aai-data/environments
> - name: CHEF_GIT_URL
> value: http://gerrit.onap.org/r/aai <http://gerrit.onap.org/r/aai>
> - name: HBASE_STARTUP_ARTIFICIAL_DELAY
> value: "60"
> - name: http_proxy
> value: <http_proxy>
> - name: https_proxy
> value: <https_proxy>
> - name: HTTP_PROXY
> value: <https_proxy>
> - name: HTTPS_PROXY
> value: <https_proxy>
> - name: NO_PROXY
> value: localhost,127.0.0.1,hbase
> - name: no_proxy
> value: localhost,127.0.0.1,hbase
> .........
> 
> after this change I tried to run again, but this I got a different error:
> Wed Dec 13 13:17:11 UTC 2017 Starting 
> /opt/app/aai-resources/bin/createDBSchema.sh
> SLF4J: Class path contains multiple SLF4J bindings.
> SLF4J: Found binding in 
> [jar:file:/opt/app/aai-resources/extJars/logback-classic-1.1.7.jar!/org/slf4j/impl/StaticLoggerBinder.class
>  
> <http://file/opt/app/aai-resources/extJars/logback-classic-1.1.7.jar!/org/slf4j/impl/StaticLoggerBinder.class>]
> SLF4J: Found binding in 
> [jar:file:/opt/app/aai-resources/extJars/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class
>  
> <http://file/opt/app/aai-resources/extJars/slf4j-log4j12-1.7.12.jar!/org/slf4j/impl/StaticLoggerBinder.class>]
> SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings 
> <http://www.slf4j.org/codes.html#multiple_bindings> for an explanation.
> 
> SLF4J: Actual binding is of type 
> [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
> ---- NOTE --- about to open graph (takes a little while)--------;
> 13:17:11.708 [main] DEBUG 
> org.apache.commons.configuration.PropertiesConfiguration - FileName set to 
> titan-realtime.properties
> 13:17:11.708 [main] DEBUG 
> org.apache.commons.configuration.PropertiesConfiguration - Base path set to 
> /opt/app/aai-resources/bundleconfig/etc/appprops
> 13:17:11.712 [main] DEBUG org.apache.commons.configuration.ConfigurationUtils 
> - ConfigurationUtils.locate(): base is 
> /opt/app/aai-resources/bundleconfig/etc/appprops, name is 
> titan-realtime.properties
> 13:17:11.712 [main] DEBUG org.apache.commons.configuration.DefaultFileSystem 
> - Could not locate file titan-realtime.properties at 
> /opt/app/aai-resources/bundleconfig/etc/appprops: no protocol: 
> /opt/app/aai-resources/bundleconfig/etc/appprops
> 13:17:11.713 [main] DEBUG org.apache.commons.configuration.ConfigurationUtils 
> - Loading configuration from the path 
> /opt/app/aai-resources/bundleconfig/etc/appprops/titan-realtime.properties
> Exception in thread "main" java.lang.ExceptionInInitializerError
> at org.onap.aai.dbmap.AAIGraph.getInstance(AAIGraph.java:96)
> at org.onap.aai.dbgen.GenTester.main(GenTester.java:106)
> Caused by: java.lang.RuntimeException: Failed to instantiate graphs
> at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:82)
> at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:56)
> at org.onap.aai.dbmap.AAIGraph$Helper.<clinit>(AAIGraph.java:87)
> ... 2 more
> Caused by: java.lang.IllegalArgumentException: Invalid configuration value 
> for [root.storage.backend]:
> at com.google.common.base.Preconditions.checkArgument(Preconditions.java:148)
> at 
> com.thinkaurelius.titan.diskstorage.configuration.ConfigOption.verify(ConfigOption.java:227)
> at 
> com.thinkaurelius.titan.diskstorage.configuration.ConfigOption.get(ConfigOption.java:219)
> at 
> com.thinkaurelius.titan.diskstorage.configuration.BasicConfiguration.get(BasicConfiguration.java:56)
> at 
> com.thinkaurelius.titan.diskstorage.Backend.getStorageManager(Backend.java:407)
> at 
> com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfiguration.<init>(GraphDatabaseConfiguration.java:1320)
> at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:94)
> at com.thinkaurelius.titan.core.TitanFactory.open(TitanFactory.java:62)
> at org.onap.aai.dbmap.AAIGraph.loadGraph(AAIGraph.java:102)
> at org.onap.aai.dbmap.AAIGraph.<init>(AAIGraph.java:79)
> ... 4 more
> 
> Am I missing here? Do i need to pass any domain names in no_proxy?
> 
> P.S: I asked the same question  in wiki.onap.org/questions 
> <http://wiki.onap.org/questions> too, as I am not sure which forum is right 
> one to post these type of queries and availability of members.
> 
> 
> Best Regards
> Bharath T
> _______________________________________________
> onap-discuss mailing list
> [email protected] <mailto:[email protected]>
> https://lists.onap.org/mailman/listinfo/onap-discuss 
> <https://lists.onap.org/mailman/listinfo/onap-discuss>
_______________________________________________
onap-discuss mailing list
[email protected]
https://lists.onap.org/mailman/listinfo/onap-discuss

Reply via email to