Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Won't Do
    • Affects Version/s: Beijing Release
    • Fix Version/s: Beijing Release
    • Labels:
      None

      Description

      I want to just install AAI and MSB chart for testing, but I failed.

      AAI error:

      helm install local/aai--name aai--namespace onap
      
      ubuntu@rancher-host:~$ kubectl get pod -n onap
      NAME READY STATUS RESTARTS AGE
      aai-aai-64dc45758b-pqkt5 0/1 Init:0/1 0 5m
      aai-aai-babel-df8d8cd5d-jqszv 1/1 Running 0 5m
      aai-aai-champ-cddbd7dd5-m2tcq 0/1 CrashLoopBackOff 5 5m
      aai-aai-data-router-7b468c5c6d-5878k 0/1 ImagePullBackOff 0 5m
      aai-aai-elasticsearch-7887cd645b-nvpxg 1/1 Running 0 5m
      aai-aai-gizmo-794b4d4ccf-8tlz5 2/2 Running 0 5m
      aai-aai-hbase-686cc7d946-6h5d4 0/1 CrashLoopBackOff 1 5m
      aai-aai-modelloader-59f9c7d5cf-nr67x 1/2 ImagePullBackOff 0 5m
      aai-aai-resources-79bcd94866-vqs6m 0/2 Init:0/1 0 5m
      aai-aai-search-data-69d7ccbb-qgg6f 1/2 ErrImagePull 0 5m
      aai-aai-sparky-be-6df499b56d-wjknb 0/2 Init:ImagePullBackOff 0 5m
      aai-aai-traversal-686cf888df-qlsmj 0/2 Init:0/1 0 5m
      
      ubuntu@rancher-host:~$ kubectl describe pod aai-aai-sparky-be-6df499b56d-wjknb -n onap
      Name: aai-aai-sparky-be-6df499b56d-wjknb
      Namespace: onap
      Node: rancher-host/10.12.5.190
      Start Time: Mon, 16 Apr 2018 09:23:28 +0000
      Labels: app=aai-sparky-be
      pod-template-hash=2890556128
      release=aai
      Annotations: kubernetes.io/created-by={"kind":"SerializedReference","apiVersion":"v1","reference":{"kind":"ReplicaSet","namespace":"onap","name":"aai-aai-sparky-be-6df499b56d","uid":"d269d875-4157-11e8-a278-0272d7...
      Status: Pending
      IP: 10.42.131.4
      Controlled By: ReplicaSet/aai-aai-sparky-be-6df499b56d
      Init Containers:
      aai-sparky-be-inject-models:
      Container ID:
      Image: nexus3.onap.org:10001/oomk8s/ubuntu-init:2.0.0
      Image ID:
      Port: <none>
      Host Port: <none>
      Command:
      /bin/bash
      -c
      git clone -b master --single-branch http://gerrit.onap.org/r/aai/test-config /tmp/gerrit
      cp -rp /tmp/gerrit/data-router/appconfig/model/* /model-dir
      
      State: Waiting
      Reason: ImagePullBackOff
      Ready: False
      Restart Count: 0
      Environment: <none>
      Mounts:
      /model-dir from modeldir (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-rzdsb (ro)
      Containers:
      aai-sparky-be:
      Container ID:
      Image: nexus3.onap.org:10001/onap/sparky-be:v1.1.0
      Image ID:
      Port: 9517/TCP
      Host Port: 0/TCP
      State: Waiting
      Reason: PodInitializing
      Ready: False
      Restart Count: 0
      Liveness: tcp-socket :9517 delay=10s timeout=1s period=10s #success=1 #failure=3
      Readiness: tcp-socket :9517 delay=10s timeout=1s period=10s #success=1 #failure=3
      Environment:
      CONFIG_HOME: /opt/app/sparky/config/
      KEY_MANAGER_PASSWORD: OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
      KEY_STORE_PASSWORD: OBF:1i9a1u2a1unz1lr61wn51wn11lss1unz1u301i6o
      Mounts:
      /etc/localtime from localtime (ro)
      /opt/app/sparky/bundleconfig/etc/logback.xml from aai-aai-sparky-be-log-conf (rw)
      /opt/app/sparky/config/aai.properties from aai-aai-sparky-be-config (rw)
      /opt/app/sparky/config/auth/ from aai-aai-sparky-be-auth-config (rw)
      /opt/app/sparky/config/elasticsearch.properties from aai-aai-sparky-be-config (rw)
      /opt/app/sparky/config/model from modeldir (rw)
      /opt/app/sparky/config/portal/ from aai-aai-sparky-be-portal-config (rw)
      /opt/app/sparky/config/roles.config from aai-aai-sparky-be-config (rw)
      /opt/app/sparky/config/search-service.properties from aai-aai-sparky-be-config (rw)
      /opt/app/sparky/config/suggestive-search.properties from aai-aai-sparky-be-config (rw)
      /opt/app/sparky/config/synchronizer.properties from aai-aai-sparky-be-config (rw)
      /var/log/onap from aai-aai-sparky-be-logs (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-rzdsb (ro)
      filebeat-onap:
      Container ID:
      Image: docker.elastic.co/beats/filebeat:5.5.0
      Image ID:
      Port: <none>
      Host Port: <none>
      State: Waiting
      Reason: PodInitializing
      Ready: False
      Restart Count: 0
      Environment: <none>
      Mounts:
      /usr/share/filebeat/data from aai-sparky-filebeat (rw)
      /usr/share/filebeat/filebeat.yml from filebeat-conf (rw)
      /var/log/onap from aai-aai-sparky-be-logs (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-rzdsb (ro)
      Conditions:
      Type Status
      Initialized False
      Ready False
      PodScheduled True
      Volumes:
      localtime:
      Type: HostPath (bare host directory volume)
      Path: /etc/localtime
      HostPathType:
      aai-aai-sparky-be-config:
      Type: ConfigMap (a volume populated by a ConfigMap)
      Name: aai-aai-sparky-be
      Optional: false
      aai-aai-sparky-be-portal-config:
      Type: ConfigMap (a volume populated by a ConfigMap)
      Name: aai-aai-sparky-be-portal
      Optional: false
      aai-aai-sparky-be-auth-config:
      Type: Secret (a volume populated by a Secret)
      SecretName: aai-aai-sparky-be
      Optional: false
      filebeat-conf:
      Type: ConfigMap (a volume populated by a ConfigMap)
      Name: aai-filebeat
      Optional: false
      aai-aai-sparky-be-logs:
      Type: EmptyDir (a temporary directory that shares a pod's lifetime)
      Medium:
      aai-sparky-filebeat:
      Type: EmptyDir (a temporary directory that shares a pod's lifetime)
      Medium:
      aai-aai-sparky-be-log-conf:
      Type: ConfigMap (a volume populated by a ConfigMap)
      Name: aai-aai-sparky-be-log
      Optional: false
      modeldir:
      Type: EmptyDir (a temporary directory that shares a pod's lifetime)
      Medium:
      default-token-rzdsb:
      Type: Secret (a volume populated by a Secret)
      SecretName: default-token-rzdsb
      Optional: false
      QoS Class: BestEffort
      Node-Selectors: <none>
      Tolerations: node.alpha.kubernetes.io/notReady:NoExecute for 300s
      node.alpha.kubernetes.io/unreachable:NoExecute for 300s
      Events:
      Type Reason Age From Message
      ---- ------ ---- ---- -------
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "modeldir"
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "localtime"
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "aai-aai-sparky-be-logs"
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "aai-sparky-filebeat"
      Normal Scheduled 6m default-scheduler Successfully assigned aai-aai-sparky-be-6df499b56d-wjknb to rancher-host
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "default-token-rzdsb"
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "aai-aai-sparky-be-log-conf"
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "aai-aai-sparky-be-config"
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "aai-aai-sparky-be-portal-config"
      Normal SuccessfulMountVolume 6m kubelet, rancher-host MountVolume.SetUp succeeded for volume "filebeat-conf"
      Normal SuccessfulMountVolume 6m kubelet, rancher-host (combined from similar events): MountVolume.SetUp succeeded for volume "aai-aai-sparky-be-auth-config"
      Warning Failed 1m (x2 over 4m) kubelet, rancher-host Failed to pull image "nexus3.onap.org:10001/oomk8s/ubuntu-init:2.0.0": rpc error: code = Unknown desc = Error: image oomk8s/ubuntu-init:2.0.0 not found
      Warning FailedSync 1m (x4 over 4m) kubelet, rancher-host Error syncing pod
      Normal BackOff 1m (x2 over 4m) kubelet, rancher-host Back-off pulling image "nexus3.onap.org:10001/oomk8s/ubuntu-init:2.0.0"
      Normal Pulling 1m (x3 over 6m) kubelet, rancher-host pulling image "nexus3.onap.org:10001/oomk8s/ubuntu-init:2.0.0"
      

      The MSB erro is similar:

       kubectl describe pod msb-msb-discovery-64bdccd5cb-k4l8w -n onap
      
      Events:
      Type Reason Age From Message
      ---- ------ ---- ---- -------
      Normal SuccessfulMountVolume 9m kubelet, rancher-host MountVolume.SetUp succeeded for volume "msb-discovery-logs"
      Normal SuccessfulMountVolume 9m kubelet, rancher-host MountVolume.SetUp succeeded for volume "localtime"
      Normal SuccessfulMountVolume 9m kubelet, rancher-host MountVolume.SetUp succeeded for volume "msb-discovery-filebeat"
      Normal Scheduled 9m default-scheduler Successfully assigned msb-msb-discovery-64bdccd5cb-k4l8w to rancher-host
      Normal SuccessfulMountVolume 9m kubelet, rancher-host MountVolume.SetUp succeeded for volume "default-token-rzdsb"
      Warning FailedCreatePodSandBox 9m kubelet, rancher-host Failed create pod sandbox.
      Normal SandboxChanged 9m kubelet, rancher-host Pod sandbox changed, it will be killed and re-created.
      Normal Pulling 9m kubelet, rancher-host pulling image "oomk8s/readiness-check:1.1.0"
      Normal Created 9m kubelet, rancher-host Created container
      Normal Started 9m kubelet, rancher-host Started container
      Normal Pulled 9m kubelet, rancher-host Successfully pulled image "oomk8s/readiness-check:1.1.0"
      Normal Pulling 9m kubelet, rancher-host pulling image "docker.elastic.co/beats/filebeat:5.5.0"
      Normal Pulled 9m kubelet, rancher-host Successfully pulled image "docker.elastic.co/beats/filebeat:5.5.0"
      Normal Created 9m kubelet, rancher-host Created container
      Normal Started 9m kubelet, rancher-host Started container
      Normal Pulling 8m (x2 over 9m) kubelet, rancher-host pulling image "nexus3.onap.org:10001/onap/msb/msb_discovery:1.1.0-SNAPSHOT-latest"
      Warning Failed 8m (x2 over 9m) kubelet, rancher-host Failed to pull image "nexus3.onap.org:10001/onap/msb/msb_discovery:1.1.0-SNAPSHOT-latest": rpc error: code = Unknown desc = Error: image onap/msb/msb_discovery:1.1.0-SNAPSHOT-latest not found
      Normal BackOff 8m (x2 over 9m) kubelet, rancher-host Back-off pulling image "nexus3.onap.org:10001/onap/msb/msb_discovery:1.1.0-SNAPSHOT-latest"
      Warning FailedSync 4m (x12 over 9m) kubelet, rancher-host Error syncing pod

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            • Assignee:
              david.sauvageau David Sauvageau
              Reporter:
              HuabingZhao HuabingZhao
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: