stx-openstack install failing when using custom Horizon theme
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Thiago Paiva Brito |
Bug Description
- Brief Description
When trying to install containerized stx-openstack with custom Horizon theme, it was noticed that the install fails given the current config also loads the StarlingX theme and that fails because the theme is not available on the Openstack Horizon image.
- Severity
Major.
- Steps to Reproduce
Install containerized stx-openstack with custom Horizon theme.
Installation fails because it's missing StarlingX theme.
- Expected Behavior
stx-openstack with custom Horizon theme installed.
- Actual Behavior
Fails to install stx-openstack with custom Horizon theme installed.
- Reproducibility
100% (tried a few times in one lab).
- System Configuration
DX+6
- Timestamp/Logs
+ /tmp/manage.py collectstatic --noinput
/var/lib/
argspec = inspect.
Traceback (most recent call last):
File "/tmp/manage.py", line 19, in <module>
execute_
File "/var/lib/
utility.
File "/var/lib/
self.
File "/var/lib/
self.
File "/var/lib/
output = self.handle(*args, **options)
File "/var/lib/
collected = self.collect()
File "/var/lib/
for path, storage in finder.
File "/var/lib/
for path in utils.get_
File "/var/lib/
directories, files = storage.
File "/var/lib/
for entry in os.scandir(path):
FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/
- Workaround
Remove branding.
Changed in starlingx: | |
status: | New → In Progress |
tags: | added: stx.distro.openstack |
Changed in starlingx: | |
importance: | Undecided → Medium |
assignee: | nobody → Thiago Paiva Brito (outbrito) |
tags: | added: stx.6.0 |
Reviewed: https:/ /review. opendev. org/c/starlingx /openstack- armada- app/+/800485 /opendev. org/starlingx/ openstack- armada- app/commit/ ab3b60c1972babe b724bc8d8d0bf3d 52823af0f2
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit ab3b60c1972babe b724bc8d8d0bf3d 52823af0f2
Author: Thiago Brito <email address hidden>
Date: Mon Jul 12 11:36:07 2021 -0300
Fix custom horizon theme load
When loading a custom theme, the current configuration also loads the
StarlingX theme which is not available on the Openstack Horizon image.
This fix removes the loading of the StarlingX theme and fixes the logic
so other themes are enabled when the custom one is not.
Closes-Bug: #1935859
Signed-off-by: Thiago Brito <email address hidden> 5f0e5c49c13e337 1a18c4b2261
Change-Id: I14975ee0721087