unable to install Freezer from newest kolla-ansible

Bug #2029919 reported by Sven Spescha
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Backup/Restore and DR (Freezer)
New
Undecided
Unassigned

Bug Description

Hi

I have the following situation.
I have a fresh installed Openstack with kolla-ansible. I tried this with Version: 2023.1 and Zed but with the same result.

The whole installation is made like that

apt install python3 git python3-pip -y
pip3 install -U pip
pip install ansible-core==2.13.9
git clone --branch stable/2023.1 https://opendev.org/openstack/kolla-ansible
pip install ./kolla-ansible
sudo mkdir -p /etc/kolla
sudo chown $USER:$USER /etc/kolla
cp -r kolla-ansible/etc/kolla/* /etc/kolla
cp -r kolla-ansible/ansible/inventory/* /etc/kolla

pip install -r requirements.txt
pip install docker
pip install pip
pip install ansible
pip install python-openstackclient

kolla-genpwd

vi /etc/kolla/globals.yml
kolla_base_distro: "ubuntu"
openstack_release: "2023.1"
enable_freezer: "yes"
kolla_internal_vip_address: "10.10.10.10"

ansible-galaxy collection install ansible.posix
ansible-galaxy collection install community.general
ansible-galaxy collection install ansible.netcommon

kolla-ansible install-deps
kolla-ansible -i /etc/kolla/multinode bootstrap-servers
kolla-ansible -i /etc/kolla/multinode prechecks
kolla-ansible -i /etc/kolla/multinode deploy

After the successful deployment you can see the following:
freezer_api container: running
freezer_scheduler container: restarting all the time --> error:
Error while creating directory /etc/freezer/scheduler/conf.d: [Errno 13] Permission denied: '/etc/freezer/scheduler'

I can fix this with creating this manually.
So I also end up with freezer_scheduler in running state.

The Freezer Endpoints have been created as well on Port 9090

However the Freezer API is not working or available. when I access http://10.10.10.10:9090 I get a 500 Error Internal Server Error.

Therefore also the Dashboard for Freezer doesn't work in Horizon.

What is going wrong here?

Container Packages: Debian, Ubuntu, Rocky
Reproducible: Always.
Expected: Expected to be up and running through Horizon.

Thank you very much guys.

Kind Regards.
Let me know if more information is needed.

Tags: freezer
tags: added: freezer
Revision history for this message
Stefan Pinter (nidrix-glandda) wrote (last edit ):

same here (using Kayobe)

the Kayobe role kolla-openstack doesn't seem to care for Freezer
(see roles/kolla-openstack/vars/main.yml)

and regarding kolla-ansible: there's no file/directory called "freezer*" in /etc/kolla/config, so I suppose either Freezer is not meant to be configured this way or it simply has been forgotten to be added fully to Kayobe/Kolla-Ansible
¯\_(ツ)_/¯

Revision history for this message
Stefan Pinter (nidrix-glandda) wrote (last edit ):

after some analysing I found out it starts when I do this:

docker restart freezer_scheduler; docker exec -u 0 -t freezer_scheduler chgrp -R freezer /etc/freezer
docker restart freezer_scheduler; docker exec -u 0 -t freezer_scheduler chmod -R g+w /etc/freezer
docker restart freezer_scheduler

I see the 3 controller nodes in "Clients" but I still can't open the "Jobs" and "Sessions" but I guess that's another story?

Horizon when opening https://cloud/disaster_recovery/

Something went wrong!

An unexpected error has occurred. Try refreshing the page. If that doesn't help, contact your local administrator.

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.