Uploaded image for project: 'Service Design and Creation'
  1. Service Design and Creation
  2. SDC-1641

ONAP SDC Components in ERROR state.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Highest Highest
    • Beijing Release
    • Beijing Release
    • SDC
    • I am trying to install ONAP on Kubernetes using the helm charts. 

    • SDC Sprint 22, SDC Sprint 23

      I am trying to install ONAP SDC Component using the helm charts. 

      The pods are in Error state and continuously restarting. Could you please help me out here. 

      There are Permission Denied errors everytime inside the POD. 

       

      Logs: 

       

      [root@master ~]# oc logs onap-sdc-cs-6b89c7855b-kgl45 -n onap
      [2018-08-08T12:26:58+05:30] INFO: Started chef-zero at chefzero://localhost:1 with repository at /root/chef-solo
      One version per cookbook
      [2018-08-08T12:26:58+05:30] INFO: Started chef-zero at chefzero://localhost:1 with repository at /root/chef-solo
      One version per cookbook
      Starting Chef Client, version 14.1.1
      [2018-08-08T12:26:58+05:30] INFO: *** Chef 14.1.1 ***
      [2018-08-08T12:26:58+05:30] INFO: *** Chef 14.1.1 ***
      [2018-08-08T12:26:58+05:30] INFO: Platform: x86_64-linux
      [2018-08-08T12:26:58+05:30] INFO: Platform: x86_64-linux
      [2018-08-08T12:26:58+05:30] INFO: Chef-client pid: 7
      [2018-08-08T12:26:58+05:30] INFO: Chef-client pid: 7
      [2018-08-08T12:26:58+05:30] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
      [2018-08-08T12:26:58+05:30] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
      [2018-08-08T12:26:59+05:30] INFO: Setting the run_list to ["role[cassandra-actions]"] from CLI options
      [2018-08-08T12:26:59+05:30] INFO: Setting the run_list to ["role[cassandra-actions]"] from CLI options
      [2018-08-08T12:26:59+05:30] WARN: Run List override has been provided.
      [2018-08-08T12:26:59+05:30] WARN: Run List override has been provided.
      [2018-08-08T12:26:59+05:30] WARN: Original Run List: [role[cassandra-actions]]
      [2018-08-08T12:26:59+05:30] WARN: Original Run List: [role[cassandra-actions]]
      [2018-08-08T12:26:59+05:30] WARN: Overridden Run List: [recipe[cassandra-actions::01-configureCassandra]]
      [2018-08-08T12:26:59+05:30] WARN: Overridden Run List: [recipe[cassandra-actions::01-configureCassandra]]
      [2018-08-08T12:26:59+05:30] INFO: Run List is [recipe[cassandra-actions::01-configureCassandra]]
      [2018-08-08T12:26:59+05:30] INFO: Run List is [recipe[cassandra-actions::01-configureCassandra]]
      [2018-08-08T12:26:59+05:30] INFO: Run List expands to [cassandra-actions::01-configureCassandra]
      [2018-08-08T12:26:59+05:30] INFO: Run List expands to [cassandra-actions::01-configureCassandra]
      [2018-08-08T12:26:59+05:30] INFO: Starting Chef Run for onap-sdc-cs-6b89c7855b-kgl45
      [2018-08-08T12:26:59+05:30] INFO: Starting Chef Run for onap-sdc-cs-6b89c7855b-kgl45
      [2018-08-08T12:26:59+05:30] INFO: Running start handlers
      [2018-08-08T12:26:59+05:30] INFO: Running start handlers
      [2018-08-08T12:26:59+05:30] INFO: Start handlers complete.
      [2018-08-08T12:26:59+05:30] INFO: Start handlers complete.
      resolving cookbooks for run list: ["cassandra-actions::01-configureCassandra"]
      [2018-08-08T12:26:59+05:30] INFO: Loading cookbooks [cassandra-actions@0.0.0]
      [2018-08-08T12:26:59+05:30] INFO: Loading cookbooks [cassandra-actions@0.0.0]
      [2018-08-08T12:26:59+05:30] INFO: Skipping removal of obsoleted cookbooks from the cache
      [2018-08-08T12:26:59+05:30] INFO: Skipping removal of obsoleted cookbooks from the cache
      Synchronizing Cookbooks:
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/recipes/01-configureCassandra.rb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/recipes/02-changeCSpass.rb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/templates/default/ready-probe.sh.erb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/templates/default/change_cassandra_pass.sh.erb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/templates/default/change_cassandra_pass.sh.erb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/recipes/02-changeCSpass.rb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/attributes/default.rb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/recipes/01-configureCassandra.rb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/attributes/default.rb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/templates/default/ready-probe.sh.erb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/recipes/03-prepareProbeFile.rb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/recipes/03-prepareProbeFile.rb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/templates/default/cassandra-rackdc.properties.erb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/templates/default/cassandra-rackdc.properties.erb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/templates/default/cassandra.yaml.erb in the cache.
      [2018-08-08T12:26:59+05:30] INFO: Storing updated cookbooks/cassandra-actions/templates/default/cassandra.yaml.erb in the cache.

      • cassandra-actions (0.0.0)
        Installing Cookbook Gems:
        Compiling Cookbooks...
        Converging 2 resources
        Recipe: cassandra-actions::01-configureCassandra
      • template[cassandra-yaml-config] action create[2018-08-08T12:26:59+05:30] INFO: template[cassandra-yaml-config] backed up to /root/chef-solo/backup/etc/cassandra/cassandra.yaml.chef-20180808122659.238038
        [2018-08-08T12:26:59+05:30] INFO: template[cassandra-yaml-config] backed up to /root/chef-solo/backup/etc/cassandra/cassandra.yaml.chef-20180808122659.238038
        [2018-08-08T12:26:59+05:30] INFO: template[cassandra-yaml-config] updated file contents /etc/cassandra/cassandra.yaml
        [2018-08-08T12:26:59+05:30] INFO: template[cassandra-yaml-config] updated file contents /etc/cassandra/cassandra.yaml
      • update content in file /etc/cassandra/cassandra.yaml from b738d6 to e20699
      • suppressed sensitive resource[2018-08-08T12:26:59+05:30] INFO: template[cassandra-yaml-config] mode changed to 755
        [2018-08-08T12:26:59+05:30] INFO: template[cassandra-yaml-config] mode changed to 755
      • change mode from '0644' to '0755'
      • template[cassandra-rackdc.properties] action create[2018-08-08T12:26:59+05:30] INFO: template[cassandra-rackdc.properties] backed up to /root/chef-solo/backup/etc/cassandra/cassandra-rackdc.properties.chef-20180808122659.244762
        [2018-08-08T12:26:59+05:30] INFO: template[cassandra-rackdc.properties] backed up to /root/chef-solo/backup/etc/cassandra/cassandra-rackdc.properties.chef-20180808122659.244762
        [2018-08-08T12:26:59+05:30] INFO: template[cassandra-rackdc.properties] updated file contents /etc/cassandra/cassandra-rackdc.properties
        [2018-08-08T12:26:59+05:30] INFO: template[cassandra-rackdc.properties] updated file contents /etc/cassandra/cassandra-rackdc.properties
      • update content in file /etc/cassandra/cassandra-rackdc.properties from ba47ff to 2ea326
          • /etc/cassandra/cassandra-rackdc.properties 2017-02-16 06:25:05.000000000 +0530
            +++ /etc/cassandra/.chef-cassandra-rackdc20180808-7-1bf6diu.properties 2018-08-08 12:26:59.243147131 +0530
            @@ -16,11 +16,8 @@
      1. These properties are used with GossipingPropertyFileSnitch and will
      2. indicate the rack and dc for this node
        -#
        1. When upgrading from SimpleSnitch, you will need to set your initial machines
        2. to have rack=rack1
          -dc=DC1
          -rack=RAC1
          +dc=SDC-CS-AUTO
          +rack=Rack1-AUTO
      1. Add a suffix to a datacenter name. Used by the Ec2Snitch and Ec2MultiRegionSnitch
      2. to append a string to the EC2 region name.[2018-08-08T12:26:59+05:30] INFO: template[cassandra-rackdc.properties] mode changed to 755
        [2018-08-08T12:26:59+05:30] INFO: template[cassandra-rackdc.properties] mode changed to 755
      • change mode from '0644' to '0755'
        [2018-08-08T12:26:59+05:30] WARN: Skipping final node save because override_runlist was given
        [2018-08-08T12:26:59+05:30] WARN: Skipping final node save because override_runlist was given
        [2018-08-08T12:26:59+05:30] INFO: Chef Run complete in 0.059391172 seconds
        [2018-08-08T12:26:59+05:30] INFO: Chef Run complete in 0.059391172 seconds
        [2018-08-08T12:26:59+05:30] INFO: Skipping removal of unused files from the cache
        [2018-08-08T12:26:59+05:30] INFO: Skipping removal of unused files from the cache

      Running handlers:
      [2018-08-08T12:26:59+05:30] INFO: Running report handlers
      [2018-08-08T12:26:59+05:30] INFO: Running report handlers
      Running handlers complete
      [2018-08-08T12:26:59+05:30] INFO: Report handlers complete
      [2018-08-08T12:26:59+05:30] INFO: Report handlers complete
      Chef Client finished, 2/2 resources updated in 00 seconds

                          1. starting cassandra ###########
                            chown: changing ownership of '/var/lib/cassandra': Permission denied
                            [2018-08-08T12:27:00+05:30] INFO: Started chef-zero at chefzero://localhost:1 with repository at /root/chef-solo
                            One version per cookbook
                            [2018-08-08T12:27:00+05:30] INFO: Started chef-zero at chefzero://localhost:1 with repository at /root/chef-solo
                            One version per cookbook
                            Starting Chef Client, version 14.1.1
                            [2018-08-08T12:27:00+05:30] INFO: *** Chef 14.1.1 ***
                            [2018-08-08T12:27:00+05:30] INFO: *** Chef 14.1.1 ***
                            [2018-08-08T12:27:00+05:30] INFO: Platform: x86_64-linux
                            [2018-08-08T12:27:00+05:30] INFO: Platform: x86_64-linux
                            [2018-08-08T12:27:00+05:30] INFO: Chef-client pid: 220
                            [2018-08-08T12:27:00+05:30] INFO: Chef-client pid: 220
                            [2018-08-08T12:27:00+05:30] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
                            [2018-08-08T12:27:00+05:30] INFO: The plugin path /etc/chef/ohai/plugins does not exist. Skipping...
                            [2018-08-08T12:27:01+05:30] INFO: Setting the run_list to ["role[cassandra-actions]"] from CLI options
                            [2018-08-08T12:27:01+05:30] INFO: Setting the run_list to ["role[cassandra-actions]"] from CLI options
                            [2018-08-08T12:27:01+05:30] INFO: Run List is [role[cassandra-actions]]
                            [2018-08-08T12:27:01+05:30] INFO: Run List is [role[cassandra-actions]]
                            [2018-08-08T12:27:01+05:30] INFO: Run List expands to [cassandra-actions::02-changeCSpass, cassandra-actions::03-prepareProbeFile]
                            [2018-08-08T12:27:01+05:30] INFO: Run List expands to [cassandra-actions::02-changeCSpass, cassandra-actions::03-prepareProbeFile]
                            [2018-08-08T12:27:01+05:30] INFO: Starting Chef Run for onap-sdc-cs-6b89c7855b-kgl45
                            [2018-08-08T12:27:01+05:30] INFO: Starting Chef Run for onap-sdc-cs-6b89c7855b-kgl45
                            [2018-08-08T12:27:01+05:30] INFO: Running start handlers
                            [2018-08-08T12:27:01+05:30] INFO: Running start handlers
                            [2018-08-08T12:27:01+05:30] INFO: Start handlers complete.
                            [2018-08-08T12:27:01+05:30] INFO: Start handlers complete.
                            resolving cookbooks for run list: ["cassandra-actions::02-changeCSpass", "cassandra-actions::03-prepareProbeFile"]
                            [2018-08-08T12:27:01+05:30] INFO: Loading cookbooks [cassandra-actions@0.0.0]
                            [2018-08-08T12:27:01+05:30] INFO: Loading cookbooks [cassandra-actions@0.0.0]
                            Synchronizing Cookbooks:
      • cassandra-actions (0.0.0)
        Installing Cookbook Gems:
        Compiling Cookbooks...
        Converging 3 resources
        Recipe: cassandra-actions::02-changeCSpass
      • template[/tmp/change_cassandra_pass.sh] action create[2018-08-08T12:27:01+05:30] INFO: template[/tmp/change_cassandra_pass.sh] created file /tmp/change_cassandra_pass.sh
        [2018-08-08T12:27:01+05:30] INFO: template[/tmp/change_cassandra_pass.sh] created file /tmp/change_cassandra_pass.sh
      • create new file /tmp/change_cassandra_pass.sh[2018-08-08T12:27:01+05:30] INFO: template[/tmp/change_cassandra_pass.sh] updated file contents /tmp/change_cassandra_pass.sh
        [2018-08-08T12:27:01+05:30] INFO: template[/tmp/change_cassandra_pass.sh] updated file contents /tmp/change_cassandra_pass.sh
      • update content in file /tmp/change_cassandra_pass.sh from none to 45674a
      • suppressed sensitive resource[2018-08-08T12:27:01+05:30] INFO: template[/tmp/change_cassandra_pass.sh] mode changed to 755
        [2018-08-08T12:27:01+05:30] INFO: template[/tmp/change_cassandra_pass.sh] mode changed to 755
      • change mode from '' to '0755'
      • bash[change-cassandra-pass] action run
        [execute] Wed Aug 8 12:27:01 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:06 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:12 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:17 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:22 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:27 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:33 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:38 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:43 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:49 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:54 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:27:59 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:28:05 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:28:10 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:28:15 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:28:21 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:28:26 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:28:31 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5
        Wed Aug 8 12:28:37 IST 2018 — cqlsh is NOT enabled to connect yet. sleep 5

       

       

      Best Regards

      Gowtham

      Cell: +91 8143756563

            ml636r ml636r
            bgowtham1 bgowtham1
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: