Not able to authenticate with keystone
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Manila Charm |
Fix Released
|
Low
|
Gustavo Sanchez | ||
OpenStack Manila Generic Backend Charm |
Fix Released
|
Low
|
Gustavo Sanchez |
Bug Description
Hi all,
Deployed a simple cloud with manila-generic for testing, and ran into Keystone authentication errors
On the manila/
ERROR manila.
The keystone logs showed the following warning
(keystone.
In /etc/manila/
~~~
[nova]
username = manila_manilav2
password = zrSm9x29TL4MYZN
project_domain_id = default
project_name = services
user_domain_id = default
auth_uri = http://
auth_url = http://
auth_type = password
[neutron]
username = manila_manilav2
password = zrSm9x29TL4MYZN
project_domain_id = default
project_name = services
user_domain_id = default
auth_uri = http://
auth_url = http://
auth_type = password
[cinder]
username = manila_manilav2
password = zrSm9x29TL4MYZN
project_domain_id = default
project_name = services
user_domain_id = default
auth_uri = http://
auth_url = http://
auth_type = password
~~~
I see that we are grabbing the id in the template as shown here https:/
And in the corresponding line in charm-manila is at https:/
Now it could be that in most installations you will have an ID of default, but it seems with at least in my environment I had the following and hence failing
$ openstack domain list
+------
| ID | Name | Enabled | Description |
+------
| 556d1f80b7ce4ef
| 6e1e018e8aa748b
| fad5b51664d34cf
+------
I worked around this issue in my test environment by stopping the jujud daemons for both manila and manila-generic charm, and replaced project_domain_id and user_domain_id with project_domain_name and user_domain_name respectively, and restarted all the manila deamons
tags: |
added: good-first-bug removed: onboarding |
Changed in charm-manila-generic: | |
assignee: | nobody → Gustavo Sanchez (gustavosr98) |
Changed in charm-manila: | |
status: | New → In Progress |
importance: | Undecided → Low |
assignee: | nobody → Gustavo Sanchez (gustavosr98) |
Changed in charm-manila-generic: | |
status: | Fix Committed → Fix Released |
Changed in charm-manila: | |
status: | Fix Committed → Fix Released |
Hi Arif
Thanks for the bug report.
Please note that manila-generic is a testing charm only and is not for production use in ANY form. Therefore, occasionally, it may not be up to date with the rest of the charms.
Please could you provide a few more details:
Juju version
Ubuntu version
Charm versions (stable or next or specific version) of keystone, manila, manila-generic
Openstack version
Config for manila
config for keystone
Was the model stable // without errors?
Many thanks.