freezer dashboard failed in kolla-ansible 5.0.1 and 6.0.0

Bug #1744055 reported by Tomas Pipot
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
freezer-web-ui
New
Undecided
Unassigned
kolla-ansible
Invalid
Undecided
Unassigned

Bug Description

Hello,
I tried to deploy new openstack(multinode) with freezer module, but error appear if you click on any submenu under "Disaster recovery" in horizon:
"Error: Please provide valid keystone auth url with valid keystone api version to use"

Deployment: kolla-ansible: 5.0.1 or 6.0.0.0rc1
            openstack_release: pike or queens
            kolla_base_distro: "centos"
            kolla_install_type: "source"

Thank you for your help.
Tom

Revision history for this message
Brad Hull (brardith) wrote :

This is also affecting the ubuntu stable/pike version.

no longer affects: ubuntu
Tomas Pipot (tommycz)
summary: - freezer in kolla-ansible 5.0.1
+ freezer failed in kolla-ansible 5.0.1 and 6.0.0
description: updated
Tomas Pipot (tommycz)
tags: added: 6.0.0 freezer kolla-ansible
Tomas Pipot (tommycz)
tags: removed: 6.0.0 kolla-ansible
tags: added: 6.0.0 kolla-ansible
Revision history for this message
Tomas Pipot (tommycz) wrote : Re: freezer failed in kolla-ansible 5.0.1 and 6.0.0
Tomas Pipot (tommycz)
summary: - freezer failed in kolla-ansible 5.0.1 and 6.0.0
+ freezer dashboard failed in kolla-ansible 5.0.1 and 6.0.0
Revision history for this message
Allan Krueger (klimber) wrote :

I tried a couple of things, but still didn't get it to work.

My configuration

kolla and kolla-ansible from git (stable/queens branch)
Deploying on "centos"
Install type "source"
Multinode test with 1 controller; 2 inner-compute.

Deploy runs fine, but the error show up in horizon like Tomas said.

Things I tried and noticed:

I tried to source the admin-openrc in kolla_start file in the docker containers for horizon and for freezer_api with no success.

freezerclient works in the horizon container, as long as we source the openrc file.

freezer-scheduler starts fine in the freezer_api container, as long as we source the openrc file.

I tried changing a bit the freezer-api.conf.j2 template and freezer-api.conf files.

Yet, I still wasnt able to get it to work.

Revision history for this message
alpha23 (alpha23) wrote :

Any update on this?

Using centos/source, I changed auth_uri and auth_url in freezer-api/freezer.conf to include '/v2.0' per https://docs.openstack.org/freezer/latest/user/installation.html but the same error resulted.

It would be great if someone could test the dashboards before pushing commits. There have been numerous dashboard issues (among many services) where containers don't start or in this case, it is just doesn't work. Simply logging into to horizon and selecting any item under 'Disaster Recovery' reveals this issue.

Revision history for this message
alpha23 (alpha23) wrote :

To clarify, the above was with stable/queens

Revision history for this message
Derek Yang (hswayne77) wrote :

In my case, I'd modified the parameter OPENSTACK_KEYSTONE_URL = "{{ keystone_internal_url }}" in the file local_settings of horizon to OPENSTACK_KEYSTONE_URL = "{{ keystone_internal_url }}/v3" to solve the freezer api call
 https://github.com/openstack/kolla-ansible/blob/stable/queens/ansible/roles/horizon/templates/local_settings.j2#L209

Revision history for this message
alpha23 (alpha23) wrote :

Derek, your modification did not work. I just received a different error:

Error: [*] Error 500: <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>500 Internal Server Error</title> </head><body> <h1>Internal Server Error</h1> <p>The server encountered an internal error or misconfiguration and was unable to complete your request.</p> <p>Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.</p> <p>More information about this error may be available in the server error log.</p> </body></html>

All other services work as expected.

Revision history for this message
alpha23 (alpha23) wrote :

Does anyone have the Freezer UI working in Queens' Horizon?

Revision history for this message
Florian Faltermeier (florianfa) wrote :

Hello alpha23,

the Freezer UI works for me in queens with the following modification that Derek provided.

OPENSTACK_KEYSTONE_URL = "{{ keystone_internal_url }}/v3"

Regards,
Florian

Revision history for this message
alpha23 (alpha23) wrote :

Derek, Florian,

I was able to get the Freezer UI to work with your suggested modification.

I appreciate your help.

Revision history for this message
Michal Nasiadka (mnasiadka) wrote :

pike and queens are long eol

Changed in kolla-ansible:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.