deploy/reconfigure blazar failed due to the authentication error
Bug #1853462 reported by
Zhuo Zhen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Zhuo Zhen | ||
Rocky |
Fix Released
|
Medium
|
Mark Goddard | ||
Stein |
Fix Released
|
Medium
|
Mark Goddard | ||
Train |
Fix Released
|
Medium
|
Mark Goddard | ||
Ussuri |
Fix Released
|
Medium
|
Zhuo Zhen |
Bug Description
**Bug Report**
When deploy or reconfigure blazar using kolla-ansible, the process fails at "Creating blazar host aggregate" due to the authentication error. In "bootstrap.yml", the admin project name and username are hard-coded as "admin". OpenStack users can define their admin project name and username differently and the hard-coded names cause authentication errors.
To reproduce, simply run "kolla-ansible reconfigure --tags blazar" and make sure your admin project name and/or username is not "admin".
**Environment**
OS: centos7
Kernel: 3.10.0-
Docker version: 18.09.2
Kolla-Ansible version: rocky
Changed in kolla-ansible: | |
assignee: | nobody → Zhuo Zhen (zhenz) |
status: | New → In Progress |
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
To post a comment you must log in.
Reviewed: https:/ /review. opendev. org/695214 /git.openstack. org/cgit/ openstack/ kolla-ansible/ commit/ ?id=f2d32d2e013 4030a3a9f40fb8e c769b1ae71e199
Committed: https:/
Submitter: Zuul
Branch: master
commit f2d32d2e0134030 a3a9f40fb8ec769 b1ae71e199
Author: Zhuo Zhen <email address hidden>
Date: Wed Nov 20 08:55:27 2019 -0600
Fix hard-coded admin project name and username in blazar task
In one of the blazar ansible tasks in "bootstrap.yml", the admin
project name and username are hard-coded as "admin". OpenStack
users can define their admin project name and username differently
and the hard-coded names would cause authentication errors.
In addition, keystone identity api version 3 uses "os-project-name"
instead of "os-tenant-name". Although "os-tenant-name" might be
still accepatable, it's better to keep the latest.
Change-Id: Ie5c1016f9ce6f4 02ef208f3c295e6 883a9edd8ab
Closes-bug: #1853462