RHOSP-4-1-OSP10-deployment failed-puppet package on analytics db dependency (cassandra)

Bug #1729055 reported by shajuvk
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R4.1
Fix Committed
Critical
alexey-mr
Trunk
Fix Committed
Critical
alexey-mr

Bug Description

R4.1-Build 34-CB-build-newton :

[stack@newton-sanity-4-1 tripleo-heat-templates]$ heat stack-list
WARNING (shell) "heat stack-list" is deprecated, please use "openstack stack list" instead
+--------------------------------------+------------+---------------+----------------------+--------------+
| id | stack_name | stack_status | creation_time | updated_time |
+--------------------------------------+------------+---------------+----------------------+--------------+
| fb1da916-3be1-44da-a5c4-691427be5196 | overcloud | CREATE_FAILED | 2017-10-31T07:42:04Z | None |
+--------------------------------------+------------+---------------+----------------------+--------------+

========

====
[stack@newton-sanity-4-1 tripleo-heat-templates]$ openstack stack failures list overcloud

overcloud.AllNodesDeploySteps.ControllerDeployment_Step2:
  resource_type: OS::Heat::StructuredDeploymentGroup
  physical_resource_id: 8f9d3cc0-d25a-4050-8940-71e89089e031
  status: CREATE_FAILED
  status_reason: |
    CREATE aborted
overcloud.AllNodesDeploySteps.ContrailAnalyticsDatabaseDeployment_Step2.1:
  resource_type: OS::Heat::StructuredDeployment
  physical_resource_id: b5a39971-793e-49fb-b757-2c82c05c609d
  status: CREATE_FAILED
  status_reason: |
    Error: resources[1]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 6
  deploy_stdout: |
    ...
    Notice: /Stage[main]/Cassandra/Service[cassandra]: Dependency Package[cassandra] has failures: true
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.cleaner.threads=2]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.cleanup.policy=delete]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka default.replication.factor=]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[add zookeeper servers to kafka config]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka advertised.host.name]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Service/Service[supervisor-database]/ensure: ensure changed 'stopped' to 'running'
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Service/Service[contrail-database]/ensure: ensure changed 'stopped' to 'running'
    Notice: /File[/etc/localtime]/seltype: seltype changed 'locale_t' to 'etc_t'
    Notice: Finished catalog run in 101.54 seconds
    (truncated, view all with --long)
  deploy_stderr: |
    ...
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Error: /Stage[main]/Cassandra/Package[cassandra]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install cassandra22' returned 1: Error: cassandra22 conflicts with cassandra-3.10-0contrail0.el7.centos.noarch
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Warning: /Stage[main]/Cassandra/Exec[cassandra_reload_systemctl]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra-rackdc.properties]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra.yaml]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/Service[cassandra]: Skipping because of failed dependencies

  deploy_stderr: |
    ...
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Error: /Stage[main]/Cassandra/Package[cassandra]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install cassandra22' returned 1: Error: cassandra22 conflicts with cassandra-3.10-0contrail0.el7.centos.noarch
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Warning: /Stage[main]/Cassandra/Exec[cassandra_reload_systemctl]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra-rackdc.properties]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra.yaml]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/Service[cassandra]: Skipping because of failed dependencies
    (truncated, view all with --long)
overcloud.AllNodesDeploySteps.ContrailAnalyticsDatabaseDeployment_Step2.0:
  resource_type: OS::Heat::StructuredDeployment
  physical_resource_id: eef7e7d7-0583-4a48-99b0-bab391f20d4c
  status: CREATE_FAILED
  status_reason: |
    Error: resources[0]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 6
  deploy_stdout: |
    ...
    Notice: /Stage[main]/Cassandra/Service[cassandra]: Dependency Package[cassandra] has failures: true
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.cleaner.threads=2]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.cleanup.policy=delete]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka default.replication.factor=]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[add zookeeper servers to kafka config]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka advertised.host.name]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Service/Service[supervisor-database]/ensure: ensure changed 'stopped' to 'running'
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Service/Service[contrail-database]/ensure: ensure changed 'stopped' to 'running'
    Notice: /File[/etc/localtime]/seltype: seltype changed 'locale_t' to 'etc_t'
    Notice: Finished catalog run in 106.69 seconds
    (truncated, view all with --long)
  deploy_stderr: |
    ...
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Error: /Stage[main]/Cassandra/Package[cassandra]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install cassandra22' returned 1: Error: cassandra22 conflicts with cassandra-3.10-0contrail0.el7.centos.noarch
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Warning: /Stage[main]/Cassandra/Exec[cassandra_reload_systemctl]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra-rackdc.properties]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra.yaml]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/Service[cassandra]: Skipping because of failed dependencies
    (truncated, view all with --long)
overcloud.AllNodesDeploySteps.ContrailAnalyticsDatabaseDeployment_Step2.2:
overcloud.AllNodesDeploySteps.ContrailAnalyticsDatabaseDeployment_Step2.2:
  resource_type: OS::Heat::StructuredDeployment
  physical_resource_id: c31c124c-160b-4ee0-a8d6-8d8662e66eb1
  status: CREATE_FAILED
  status_reason: |
    Error: resources[2]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 6
  deploy_stdout: |
    ...
    Notice: /Stage[main]/Cassandra/Service[cassandra]: Dependency Package[cassandra] has failures: true
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.cleaner.threads=2]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.cleanup.policy=delete]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka default.replication.factor=]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[add zookeeper servers to kafka config]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka advertised.host.name]/ensure: created
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Service/Service[supervisor-database]/ensure: ensure changed 'stopped' to 'running'
    Notice: /Stage[main]/Contrail::Analyticsdatabase::Service/Service[contrail-database]/ensure: ensure changed 'stopped' to 'running'
    Notice: /File[/etc/localtime]/seltype: seltype changed 'locale_t' to 'etc_t'
    Notice: Finished catalog run in 98.85 seconds
    (truncated, view all with --long)
  deploy_stderr: |
    ...
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Error: /Stage[main]/Cassandra/Package[cassandra]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install cassandra22' returned 1: Error: cassandra22 conflicts with cassandra-3.10-0contrail0.el7.centos.noarch
     You could try using --skip-broken to work around the problem
     You could try running: rpm -Va --nofiles --nodigest
    Warning: /Stage[main]/Cassandra/Exec[cassandra_reload_systemctl]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra-rackdc.properties]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra.yaml]: Skipping because of failed dependencies
    Warning: /Stage[main]/Cassandra/Service[cassandra]: Skipping because of failed dependencies
    (truncated, view all with --long)
overcloud.AllNodesDeploySteps.ContrailControllerDeployment_Step2.1:
  resource_type: OS::Heat::StructuredDeployment
  physical_resource_id: da142db5-6354-40c5-9201-211632c555a1
  status: CREATE_FAILED
  status_reason: |
    Error: resources[1]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 6
  deploy_stdout: |
    ...
    Notice: /Stage[main]/Zookeeper::Config/File[/etc/zookeeper/zoo.cfg]/content: content changed '{md5}c0825a50d04e131b1c6a70157df8a6ef' to '{md5}c1d4f43d5d70ac142f8bd9f0839ec81e'

=====

message log from analyticsdb:
==============================
Oct 31 04:12:15 localhost os-collect-config: ig/Ini_setting[/etc/contrail/contrail-database-nodemgr.conf [DEFAULTS] hostip]/value: value changed '[redacted sensitive information]' to '[redacted sensitive information]'\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/Ini_setting[/etc/contrail/contrail-database-nodemgr.conf [COLLECTOR] server_list]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Cassandra/Exec[cassandra_reload_systemctl]: Dependency Package[cassandra] has failures: true\u001b[0m\n\u001b[mNotice: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf]: Dependency Package[cassandra] has failures: true\u001b[0m\n\u001b[mNotice: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra-rackdc.properties]: Dependency Package[cassandra] has failures: true\u001b[0m\n\u001b[mNotice: /Stage[main]/Cassandra/File[/etc/cassandra/default.conf/cassandra.yaml]: Dependency Package[cassandra] has failures: true\u001b[0m\n\u001b[mNotice: /Stage[main]/Cassandra/Service[cassandra]: Dependency Package[cassandra] has failures: true\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.cleaner.threads=2]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka log.cleanup.policy=delete]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka default.replication.factor=]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[add zookeeper servers to kafka config]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Config/File_line[set kafka advertised.host.name]/ensure: created\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Service/Service[supervisor-database]/ensure: ensure changed 'stopped' to 'running'\u001b[0m\n\u001b[mNotice: /Stage[main]/Contrail::Analyticsdatabase::Service/Service[contrail-database]/ensure: ensure changed 'stopped' to 'running'\u001b[0m\n\u001b[mNotice:
Oct 31 04:12:15 localhost os-collect-config: /File[/etc/localtime]/seltype: seltype changed 'locale_t' to 'etc_t'\u001b[0m\n\u001b[mNotice: Finished catalog run in 106.69 seconds\u001b[0m\n", "deploy_stderr": "exception: connect failed\n\u001b[1;31mWarning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Hash. There is further documentation for validate_legacy function in the README.\n (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')\u001b[0m\n\u001b[1;31mWarning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Ipv4_Address. There is further documentation for validate_legacy function in the README.\n (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')\u001b[0m\n\u001b[1;31mWarning: This method is deprecated, please use match expressions with Stdlib::Compat::Array instead. They are described at https://docs.puppet.com/puppet/latest/reference/lang_data_type.html#match-expressions.\n (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')\u001b[0m\n\u001b[1;31mWarning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Bool. There is further documentation for validate_legacy function in the README.\n (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')\u001b[0m\n\u001b[1;31mWarning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::Absolute_Path. There is further documentation for validate_legacy function in the README.\n (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')\u001b[0m\n\u001b[1;31mWarning: This method is deprecated, please use the stdlib validate_legacy function, with Stdlib::Compat::String. There is further documentation for validate_legacy function in the README.\n (at /etc/puppet/modules/stdlib/lib/puppet/functions/deprecation.rb:19:in `deprecation')\u001b[0m\n\u001b[1;31m

shajuvk (shajuvk)
information type: Proprietary → Public
summary: - RHOSP-4-1-OSP10-deployment failed-puppet package dependency (cassandra)
+ RHOSP-4-1-OSP10-deployment failed-puppet package on analytics db
+ dependency (cassandra)
Revision history for this message
alexey-mr (alexey-morlang) wrote :

What happened with cassandra?
Why it is changed?

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/37098
Submitter: alexey-mr (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/37099
Submitter: alexey-mr (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/37098
Committed: http://github.com/Juniper/puppet-contrail/commit/6a3415a34a3a8ecd8ae917a8f0a850b5da0140fa
Submitter: Zuul (<email address hidden>)
Branch: master

commit 6a3415a34a3a8ecd8ae917a8f0a850b5da0140fa
Author: alexey-mr <email address hidden>
Date: Thu Nov 2 10:28:54 2017 +0300

use package_name cassandra and hints directory

w/o package_name puppet-cassandra uses cassandra22 package on RedHat.
w/o providing hints directory cassandra-3 uses /hints dir on RedHat.

Change-Id: I6890f3266fa3f952dd87967f104d9d33f1ea8eb6
Closes-Bug: #1729055

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/37099
Committed: http://github.com/Juniper/puppet-contrail/commit/2528378d2f9c7132ef43582e158cde6392990c94
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 2528378d2f9c7132ef43582e158cde6392990c94
Author: alexey-mr <email address hidden>
Date: Thu Nov 2 10:28:54 2017 +0300

use package_name cassandra and hints directory

w/o package_name puppet-cassandra uses cassandra22 package on RedHat.
w/o providing hints directory cassandra-3 uses /hints dir on RedHat.

Change-Id: I6890f3266fa3f952dd87967f104d9d33f1ea8eb6
Closes-Bug: #1729055

shajuvk (shajuvk)
no longer affects: juniperopenstack/r4.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.