Bug 1508904
Summary: | Keystone roles for Octavia is not created after deployment or for new tenants | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Alexander Stafeyev <astafeye> |
Component: | puppet-octavia | Assignee: | Brent Eagles <beagles> |
Status: | CLOSED WONTFIX | QA Contact: | Alexander Stafeyev <astafeye> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 12.0 (Pike) | CC: | amuller, astafeye, bcafarel, beagles, cgoncalves, jlibosva, nmanos |
Target Milestone: | rc | Keywords: | Reopened, Triaged |
Target Release: | 13.0 (Queens) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | puppet-octavia-12.4.0-0.20180329041637.3bc0f6b.el7ost | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-05-13 16:40:55 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: | 1433523, 1533563 |
Description
Alexander Stafeyev
2017-11-02 13:28:12 UTC
python-tempestconf doesn't create roles, it mostly scans the environment and generates tempest.conf based on the cloud. Personally I like the idea, I'd like to implement it. It will be discussed and maybe it will be part of the ongoing refactoring process, but for now, it's not a bug. I'd say the role should be created by the test, as it's a required resource, and cleaned afterwards. As a follow up to our IRC discussion, this should be done by the deployer. Moving to Brent. Mail, not IRC. Sorry. A workaround patch in Infrared has been proposed: https://review.gerrithub.io/#/c/404354/ The patch in comment #7 is actually a workaround done in infrared (CI tool we use to invoke TripleO), whereas the fix should be a part of TripleO itself. Thus, moving back to assigned. Brent, will you have time to get to this soon? *** Bug 1560279 has been marked as a duplicate of this bug. *** Brent, If we can't get cycles upstream for a review to https://review.openstack.org/#/c/561347 , maybe we should backport downstream? I can help with the backport, but I would like to run it by you first. https://review.openstack.org/#/c/560083/ is also required. (In reply to Carlos Goncalves from comment #13) > https://review.openstack.org/#/c/560083/ is also required. since this fix is a part of tripleo-heat-templates (not puppet-octavia), it should be under a different rhbz. Eventually, for OSP13 we are going to fix this with policy.json in packaging. See bug 1577635. Running octavia tempest tests, after first workaround, still returns: No "load-balancer_admin" role found So the updated workaround is: (overcloud) [stack@undercloud-0]$ openstack role list | grep -q load-balancer_member || openstack role create load-balancer_member openstack role add --user demo --project demo load-balancer_member openstack role assignment list --names openstack role list | grep -q load-balancer_admin || openstack role create load-balancer_admin openstack role add --user demo --project demo load-balancer_admin openstack role assignment list --names | awk 'NR<4 || /load-balancer/' |