magnum-api not working with www_authenticate_uri
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
magnum (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
For magnum 7.0.1 package (Rockyrelease) the keystone_auth section is inconsistent to the keystone mainstream config
When configuring in /etc/magnum/
auth_uri = https:/
then the /var/log/
WARNING oslo_config.cfg [-] Deprecated: Option "auth_uri" from group "keystone_
magnum related openstack cli commands properly work, eg
# openstack coe cluster list
+------
| uuid | name | keypair | node_count | master_count | status |
+------
| ae2395b8-
| 5d6651a0-
+------
so far so good
BUT: when you configure
www_authenticat
(as it should be indeed latest since pike)
Then any kind of openstack cli command with magnum elements fails with
'NoneType' object has no attribute 'replace' (HTTP 500) (Request-ID: req-e6701428-
/var/log/
2018-09-21 21:12:43.436 14212 INFO magnum.cmd.api [-] Starting server in PID 14212
2018-09-21 21:12:43.442 14212 INFO magnum.cmd.api [-] Serving on http://
2018-09-21 21:12:43.442 14212 INFO magnum.cmd.api [-] Server will handle each request in a new process up to 4 concurrent processes
2018-09-21 21:12:43.443 14212 INFO werkzeug [-] * Running on http://
2018-09-21 21:13:04.193 14287 ERROR wsme.api [req-dc0a815a-
Traceback (most recent call last):
File "/usr/lib/
result = f(self, *args, **kwargs)
File "/usr/lib/
action=
File "/usr/lib/
add_
File "/usr/lib/
trustee_
File "/usr/lib/
access = self.domain_
File "/usr/lib/
auth_
File "/usr/lib/
return CONF[ksconf.
AttributeError: 'NoneType' object has no attribute 'replace'
Note: the entire magnum configuration docs are outdated, the still contain description for port 35357 for keystone
Status changed to 'Confirmed' because the bug affects multiple users.