Bug 1039981 - /etc/swift/proxy-server.conf referencing a not existing keystone role
Summary: /etc/swift/proxy-server.conf referencing a not existing keystone role
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: z1
: 4.0
Assignee: Francesco Vollero
QA Contact: Udi Kalifon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-10 13:04 UTC by Attila Fazekas
Modified: 2016-04-26 18:06 UTC (History)
7 users (show)

Fixed In Version: openstack-packstack-2013.2.1-0.21.dev948.el6ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-01-23 14:23:31 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 65979 0 None None None Never
Red Hat Product Errata RHBA-2014:0046 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform 4 Bug Fix and Enhancement Advisory 2014-01-23 00:51:59 UTC

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


Note You need to log in before you can comment on or make changes to this bug.