Bug 1560279 - TripleO should configure Octavia related user roles in Keystone
Summary: TripleO should configure Octavia related user roles in Keystone
Keywords:
Status: CLOSED DUPLICATE of bug 1508904
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: Brent Eagles
QA Contact: Arik Chernetsky
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-03-25 14:34 UTC by Nir Magnezi
Modified: 2018-04-08 11:30 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-08 11:30:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Nir Magnezi 2018-03-25 14:34:44 UTC
Description of problem:
=======================
According to [1], we should add the following roles to keystone:

role:load-balancer_observer
role:load-balancer_global_observer
role:load-balancer_member
role:load-balancer_quota_admin
role:load-balancer_admin

Currently, the lack of 'role:load-balancer_member' fails the tempest scenario found here[2].
The outcome

[1] https://docs.openstack.org/octavia/queens/configuration/policy.html
[2] https://github.com/openstack/octavia-tempest-plugin/blob/master/octavia_tempest_plugin/tests/v2/scenario/test_basic_ops.py


How reproducible:
=================
100%

Steps to Reproduce:
===================
1. Run https://github.com/openstack/octavia-tempest-plugin/blob/master/octavia_tempest_plugin/tests/v2/scenario/test_basic_ops.py
2.
3.

Actual results:
===============
Forbidden (HTTP 403)

Expected results:
=================
As soon as a role assigment was made, the user should be able to interact with the Octavia API service.


Additional info:
================
Just for referance, here's how it is being created in the devstack plugin.
The outcome: both admin/admin and demo/demo work. alt_demo does not. 

https://github.com/openstack/octavia/blob/02c7a1d496e6c473876e11bfd12ed14394c0e41c/devstack/plugin.sh#L512

Comment 2 Nir Magnezi 2018-04-08 11:30:37 UTC

*** This bug has been marked as a duplicate of bug 1508904 ***


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