Bug 1446511

Summary: Latest OSP10 build fails with: Error: Could not find resource 'Class[Aodh::Db]' for relationship on 'Service[httpd]' on node overcloud-controller-1.localdomain
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: puppet-aodhAssignee: Pradeep Kilambi <pkilambi>
Status: CLOSED ERRATA QA Contact: Amit Ugol <augol>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: afazekas, aschultz, augol, dbecker, ealcaniz, emacchi, fhubik, jdanjou, jjoyce, jschluet, mburns, morazi, pkilambi, rhel-osp-director-maint, slinaber, ssmolyak, tvignaud
Target Milestone: z3Keywords: AutomationBlocker, TestOnly, Triaged, ZStream
Target Release: 10.0 (Newton)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-aodh-9.5.0-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-28 14:50:50 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1441738    
Bug Blocks:    

Description Marius Cornea 2017-04-28 09:11:40 UTC
Description of problem:
Latest OSP10 build fails with: Error: Could not find resource 'Class[Aodh::Db]' for relationship on 'Service[httpd]' on node overcloud-controller-1.localdomain

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. Deploy OSP10 with 3 controllers, 2 compute, 3 ceph nodes

Actual results:
stdout: overcloud.AllNodesDeploySteps.ControllerDeployment_Step3.1:
  resource_type: OS::Heat::StructuredDeployment
  physical_resource_id: e817b51a-9bea-40ac-8846-d743ea2c166b
  status: CREATE_FAILED
  status_reason: |
    Error: resources[1]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 1
  deploy_stdout: |
    Matching apachectl 'Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
    Server built:   Mar  8 2017 05:09:47'
    Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked.
  deploy_stderr: |
    exception: connect failed
    Warning: Scope(Class[Mongodb::Server]): Replset specified, but no replset_members or replset_config provided.
    Warning: Scope(Class[Ceilometer]): Both $metering_secret and $telemetry_secret defined, using $telemetry_secret
    Warning: Scope(Haproxy::Config[haproxy]): haproxy: The $merge_options parameter will default to true in the next major release. Please review the documentation regarding the implications.
    Error: Could not find resource 'Class[Aodh::Db]' for relationship on 'Service[httpd]' on node overcloud-controller-1.localdomain
    Error: Could not find resource 'Class[Aodh::Db]' for relationship on 'Service[httpd]' on node overcloud-controller-1.localdomain
overcloud.AllNodesDeploySteps.ControllerDeployment_Step3.2:
  resource_type: OS::Heat::StructuredDeployment
  physical_resource_id: 50f3ce04-ca24-4d83-a50f-ea17cea8ee9b
  status: CREATE_FAILED
  status_reason: |
    Error: resources[2]: Deployment to server failed: deploy_status_code : Deployment exited with non-zero status code: 1
  deploy_stdout: |
    Matching apachectl 'Server version: Apache/2.4.6 (Red Hat Enterprise Linux)
    Server built:   Mar  8 2017 05:09:47'
    Notice: Scope(Class[Tripleo::Firewall::Post]): At this stage, all network traffic is blocked.
  deploy_stderr: |
    exception: connect failed
    Warning: Scope(Class[Mongodb::Server]): Replset specified, but no replset_members or replset_config provided.
    Warning: Scope(Class[Ceilometer]): Both $metering_secret and $telemetry_secret defined, using $telemetry_secret
    Warning: Scope(Haproxy::Config[haproxy]): haproxy: The $merge_options parameter will default to true in the next major release. Please review the documentation regarding the implications.
    Error: Could not find resource 'Class[Aodh::Db]' for relationship on 'Service[httpd]' on node overcloud-controller-2.localdomain
    Error: Could not find resource 'Class[Aodh::Db]' for relationship on 'Service[httpd]' on node overcloud-controller-2.localdomain

Expected results:
Deployment succeds.

Comment 1 Red Hat Bugzilla Rules Engine 2017-04-28 09:12:06 UTC
This bugzilla has been removed from the release and needs to be reviewed and Triaged for another Target Release.

Comment 3 Alex Schultz 2017-04-28 14:03:33 UTC
I believe this might be because we're missing https://github.com/openstack/puppet-aodh/commit/a73d235fd9720699eaaa007d037d098fddcd801d in puppet-aodh for 10 and BZ1441736 needed that which was in BZ1441738. The fix for BZ1441738 wasn't in the puddle.

Comment 5 Amit Ugol 2017-05-16 13:21:10 UTC
This is working well for me.

Comment 7 Edu Alcaniz 2017-05-26 10:19:08 UTC
Hi, could we get a test package or built please to test in one customer.

Comment 12 errata-xmlrpc 2017-06-28 14:50:50 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1585