Bug 1039981

Summary: /etc/swift/proxy-server.conf referencing a not existing keystone role
Product: Red Hat OpenStack Reporter: Attila Fazekas <afazekas>
Component: openstack-packstackAssignee: Francesco Vollero <fvollero>
Status: CLOSED ERRATA QA Contact: Udi Kalifon <ukalifon>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: ajeain, aortega, derekh, fvollero, mlopes, mmagr, yeylon
Target Milestone: z1Keywords: ZStream
Target Release: 4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-packstack-2013.2.1-0.21.dev948.el6ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-23 14:23:31 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:

Description Attila Fazekas 2013-12-10 13:04:37 UTC
The proxy-server.conf contains a role which is not created, at installation time.

$ grep oper /etc/swift/proxy-server.conf 
operator_roles = admin, SwiftOperator

# keystone role-list
+----------------------------------+---------------+
|                id                |      name     |
+----------------------------------+---------------+
| 5a08ff3731ab407abc911d5b9057c3c6 |     Member    |
| e94771fc2e78448aa4a002d0afd63f16 | ResellerAdmin |
| 9fe2ff9ee4384b1894a90878d3e92bab |    _member_   |
| 1c78f62bd9f84cc097ce3b9b2e9ef801 |     admin     |
+----------------------------------+---------------+

Expected behaviour is creating the SwiftOperator role.

workaround:
$ keystone role-create --name SwiftOperator

Version:
openstack-packstack-2013.2.1-0.11.dev847.el6ost.noarch

Comment 3 Francesco Vollero 2014-01-03 10:44:43 UTC
Is not a packstack bug but a puppet-swift bug: https://bugs.launchpad.net/puppet-swift/+bug/1261662, that got solved in this commit https://github.com/stackforge/puppet-swift/commit/14a2bd8c4fdad27fe708792c8a040c55a7476c56

I updated the puppet-swift module in packstack and now i am in testing phase.

Comment 6 Udi Kalifon 2014-01-16 07:44:26 UTC
SwiftOperator role is now created. Checked in:
openstack-keystone-2013.2.1-1.el6ost.noarch
openstack-swift-1.10.0-2.el6ost.noarch

Comment 10 Lon Hohberger 2014-02-04 17:20:13 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/RHBA-2014-0046.html