Bug 1381852

Summary: Deployment fails when Memcached and SwiftProxy run on different nodes
Product: Red Hat OpenStack Reporter: Marius Cornea <mcornea>
Component: puppet-swiftAssignee: Paul Grist <pgrist>
Status: CLOSED ERRATA QA Contact: Mike Abrams <mabrams>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 10.0 (Newton)CC: apevec, cschwede, egafford, jcoufal, jjoyce, jschluet, mabrams, pgrist, scohen, slinaber, thiago, tvignaud, zaitcev
Target Milestone: rcKeywords: Triaged
Target Release: 10.0 (Newton)Flags: scohen: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: puppet-swift-9.4.1-2.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-14 16:09:03 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:    
Bug Blocks: 1337782    

Description Marius Cornea 2016-10-05 08:28:16 UTC
Description of problem:
When swift::proxy::cache is used without also including memcached in the catalog, it fails even if remote memcache server ips are provided.

Deployment fails with the following errors:

   Error: Could not find resource 'Class[Memcached]' for relationship on 'Class[Swift::Proxy::Cache]' on node overcloud-serviceapi-1.localdomain
    Error: Could not find resource 'Class[Memcached]' for relationship on 'Class[Swift::Proxy::Cache]' on node overcloud-serviceapi-1.localdomain

    Error: Could not find resource 'Class[Memcached]' for relationship on 'Class[Swift::Proxy::Cache]' on node overcloud-serviceapi-0.localdomain
    Error: Could not find resource 'Class[Memcached]' for relationship on 'Class[Swift::Proxy::Cache]' on node overcloud-serviceapi-0.localdomain

    Error: Could not find resource 'Class[Memcached]' for relationship on 'Class[Swift::Proxy::Cache]' on node overcloud-serviceapi-2.localdomain
    Error: Could not find resource 'Class[Memcached]' for relationship on 'Class[Swift::Proxy::Cache]' on node overcloud-serviceapi-2.localdomain

Version-Release number of selected component (if applicable):
puppet-swift-9.4.0-1.el7ost.noarch

Comment 2 Paul Grist 2016-10-06 16:00:57 UTC
merged upstream and will come in via the next import.

Comment 3 Alan Pevec 2016-10-07 09:33:55 UTC
Included in puppet-swift 9.4.1 release and in RDO Newton https://review.rdoproject.org/r/3099

https://review.openstack.org/gitweb?p=openstack/puppet-swift.git;a=shortlog;h=refs/tags/9.4.1

Comment 4 Elise Gafford 2016-10-13 15:08:55 UTC
Commit https://review.openstack.org/#/c/380370/ was included in 9.4.1, which is now tagged into rhos-10.0-rhel-7-candidate. Marking as MODIFIED.

Comment 6 Mike Abrams 2016-10-26 07:42:35 UTC
VERIFIED

manifests/proxy/cache.pp contains fix code specified in comment #4

Comment 9 errata-xmlrpc 2016-12-14 16:09:03 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://rhn.redhat.com/errata/RHEA-2016-2948.html