horizon loads wrong local_settings.py file in ubuntu-binary-rocky deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Medium
|
Dincer Celik | ||
Train |
Fix Released
|
Medium
|
Dincer Celik | ||
kolla-ansible |
Fix Released
|
Medium
|
Radosław Piliszek |
Bug Description
## How to reproduce
- Use following kolla-ansible config to deploy a ubuntu-binary all-in-one deployment:
```
# Valid options are ['centos', 'debian', 'oraclelinux', 'rhel', 'ubuntu']
kolla_base_distro: "ubuntu"
# Valid options are [ binary, source ]
kolla_install_type: "binary"
# Valid option is Docker repository tag
openstack_release: "rocky"
```
- When deployment is complete, load horizon front page and got a page not found error.
## Some thoughts
- When opening horizon front page. Browser redirects to `http://<vip>/horizon/
- Remove `horizon` in the URL, we can see the login page. but static files can not be loaded.
- Use docker exec to view horizon container's config, turns out that `local_settings.py` is not link to local_settings. Horizon loads the config from ubuntu `openstack-
```
(horizon)
-rw------- 1 horizon horizon 29538 Nov 12 09:48 /etc/openstack-
-rw-r----- 1 root horizon 33982 Nov 11 07:31 /etc/openstack-
```
- My current workaround is
- Add `rm /etc/openstack-
by commit https:/
- Create symbolic link from `local_settings.py` to `local_settings` in `extend_start.sh`
Changed in kolla: | |
assignee: | nobody → Dincer Celik (osmanlicilegi) |
Changed in kolla-ansible: | |
assignee: | nobody → Dincer Celik (osmanlicilegi) |
Changed in kolla-ansible: | |
assignee: | Dincer Celik (osmanlicilegi) → Mark Goddard (mgoddard) |
Changed in kolla-ansible: | |
assignee: | Mark Goddard (mgoddard) → Dincer Celik (osmanlicilegi) |
Changed in kolla-ansible: | |
assignee: | Dincer Celik (osmanlicilegi) → Radosław Piliszek (yoctozepto) |
Changed in kolla: | |
importance: | Undecided → Medium |
Changed in kolla-ansible: | |
importance: | Undecided → Medium |
Changed in kolla: | |
milestone: | none → 9.0.0 |
Changed in kolla-ansible: | |
milestone: | none → 9.0.0 |
Fix proposed to branch: master /review. opendev. org/668409
Review: https:/