| Age | Commit message (Collapse) | Author | Files | Lines |
|
When [1] was committed, horizon stopped building for Train.
Analogous patch is proposed to other stable branches.
This patch removes horizon from upper-constraints.
Kolla master is affected directly because we build Train
for CentOS 7 atm.
[1] https://opendev.org/openstack/requirements/commit/3e54878f9c87266e1b9775f72af06de27a3dad65
Co-authored-by: Radosław Piliszek <radoslaw.piliszek@gmail.com>
Change-Id: I1bd5a40eeef9612d995c81426fe510e89f438725
(cherry picked from commit 8b7ec43536842dd500cc5ee1198a318070ac1046)
|
|
Change-Id: Iec78660049085483b207f4bdcf48f572d845c600
(cherry picked from commit 77e8285e897feb4789d1b24c69bfa3be8a468f78)
|
|
This bug both affects Rocky and Stein. local_setting.py was not
linked to local_settings under /etc/openstack-dashboard so Horizon
runs with default settings.
Change-Id: I818876619694695663c98d9edcb8c8514198e8fd
Closes-Bug: #1803029
(cherry picked from commit eb7c730e057082eadab5c01ef845f65bb5cf47c4)
|
|
If you run the horizon container with a restart policy of never, and the
static asset compression fails, the container fails to start, e.g. (seen
in CI)
++ /usr/bin/manage.py collectstatic --noinput --clear
Traceback (most recent call last):
File "/usr/bin/manage.py", line 18, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
However, with a restart policy of unless-stopped (the default). the
horizon container will fail the first time but will succeed after a
restart. This is because the settings bundle hash is updated before the
compression is attempted.
To fix this, update the hash after compression completes successfully.
Change-Id: I3f1682ed55e7d45c1e97a1b34c7993aa839f0bb2
Closes-Bug: #1824137
(cherry picked from commit 92c2456851857c45e8de9a3ff8f167579e0588f4)
|
|
1. Install python3-pymysql in placement-base image.
2. Remove default placement WSGI config.
3. Use python3 for manage.py in horizon
Change-Id: Ibb620af2241e39fe99bc48757f90296c0d77d438
Partial-Bug: #1823989
(cherry picked from commit 6c0065185943355851308ae4df23b73918fab7be)
|
|
Multiple fixes to fix multiple problems.
1. Bump setuptools requirement to 21.0.0
The 16.0.0 requirement breaks the lower-constraints job on Ubuntu
bionic. We see the following error:
AttributeError: module 'importlib._bootstrap' has no attribute 'SourceFileLoader'
2. ubuntu-binary horizon image needs to use python3 for django
manage.py
3. ubuntu-binary nova-placement-api image needs to use python3 for
apache mod wsgi.
4. nova-libvirt needs exact qemu dependencies due to packaging change
5. OracleLinux repos definition was changed in official image.
6. Fetch InfluxDB gpg key for Ubuntu base image from influx server.
Change-Id: Ic797d41f53a5f146d112619f1683cbfbf3a85dc2
|
|
RDO is currently working on python3 support for the next version of
CentOS/RHEL based systems. This package uses the distro_python3 flag
that was added as part of I4028991bad92c0e8e21066cc4173c06ce5eba393 to
use the python3 specific package names. This change only adds python3
package names for RHEL systems.
Conflicts-With: https://review.openstack.org/#/c/636457/
Change-Id: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Related-Blueprint: python3-support
|
|
RHEL7 derived distros use Python 2.7
RHEL8 uses Python 3.6
Ubuntu 18.04 uses Python 3.6, but we haven't enabled it yet.
Debian:buster uses Python 3.7, but we haven't enabled it yet.
We have several places in code where "/lib/pythonX.Y/site-packages"
is used so we need to know value of X.Y rather than py2/py3 switch.
How to check for Python 2:
{% if distro_python_version == '2.7' %}
Breaks: Iad6b70b433a0dd1b0f8ae6790fd280594517661a
Change-Id: Ie24f109af19ae0438c21e0d43cb3cc947812b4ce
|
|
Both Ubuntu Stein UCA and Debian 'buster' migrated their OpenStack
packages to Python 3.
Note that Debian 'buster' is not released yet and contains Rocky
packages. Stein ones will be available later.
Co-Authored-By: Lee Yarwood <lyarwood@redhat.com>
Co-Authored-By: Eduardo Gonzalez <dabarren@gmail.com>
Change-Id: I160f79cc57f54ec3eac857c5babd1a6e2656d228
|
|
This change updates the docker files to use base_package_type instead
of doing specific distro checks for the rhel/deb generic cases. The
base_distro is still available and is used when a specific distro needs
a customization but if the differences are purely rpm vs deb, then the
base_package_type can be used.
Change-Id: I8d720bb185df65a0178061ccf20b1ab2265da2c5
|
|
Change-Id: Ic90821f1a9ebfcea67183bb91aebca00c046133e
|
|
changes"
|
|
1. openstack-dashboard package already configured the folders as
expected.
2. UCA is not include python-vmware-nsx 13.0.0 package now.
Change-Id: I7cb0c4d3d872333dadd2eecd7071e8f08c21a44d
|
|
previously, the horizon container would not re-rerun the manage.py
collectstatic/compress tasks when configuration files in
/etc/openstack-dashboard/local-settings.d were modified (or added or
deleted). This commit modifies the checksum calculation to take all
configuration files into account.
Closes-bug: 1778963
Change-Id: I6946ab96cd758ef6eed56c9c4130046ac884b5e3
|
|
RDO review https://review.rdoproject.org/r/#/c/14081/ changed the
locaction of the config files for the openstack-sahara-ui and added the
symlinks to be more consistent with the other horizon plugins packages.
It's not necessary anymore to treat sahara-ui as a snowflake and the old
copy in horizon dockerfile must be removed.
Change-Id: Ib222809ee67d103469e9d467727e0e45eaac77e8
Closes-Bug: #1784233
|
|
neutron-vpnaas-dashboard is split into standalone repo. Need install it
into horizon image.
Change-Id: Ife1e39d4fff9e878a101ff716545166a30091f69
Closes-Bug: #1777750
|
|
Currently, Horzion container fails to start when enabled designate,
murano, magnum and so on. This patch is to fix it.
Change-Id: I32da6dc1a65d3bfcaa59b4c9136e389af1f9b551
Closes-Bug: #1744428
|
|
Use /usr/share/openstack-dashboard/openstack_dashboard/local/
instead of site-packages/** for ubuntu/binary installs.
Change-Id: I4043d1439012afa0100e94c40d1dec2ef92152d4
Closes-Bug: #1773105
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
|
|
Change-Id: I5cd0cc2c884530525b3019c22c04a782a181a3bf
|
|
Create site-packages custom_local_settings symlink if /etc/openstack-dashboard/custom_
local_settings exists, this will be used as a mechanism to extend the
current local_settings without a need to change the file and rebuild
the image
Change-Id: I06221de3633d1ad30160bfc83d53a3b98f586f39
Partial-Bug: #1769970
Signed-off-by: Jorge Niedbalski <jorge.niedbalski@linaro.org>
|
|
Change-Id: I67876c734d147593a188ba385b60e02350b44fae
|
|
A typo in the start script makes horizon to not copy vitrage
files into horizon enabled dashboards.
Change-Id: Ic6c010b343757e3172b92386cda386524f749eeb
Closes-Bug: #1761392
|
|
|
|
|
|
Change-Id: Ic99e9e7b499e82a998386e13dceab4e67f23e989
|
|
The python-heat-dashboard was missing from Debian/Ubuntu binary horizon
images. This commit adds it since the deb package is now available in
the repositories.
Change-Id: Id0462419b97b8f1027a3ed9190b3ef57af8a7e3d
|
|
Designate-dashboard has been release for RDO.
Change-Id: Ie69fad3025b8d295e025b459d87237c52550633a
Closes-bug: #1750757
|
|
The heat-dashboard was recently packaged in RDO [1], let's add it to
the rpm based distros.
[1] https://github.com/rdo-packages/heat-dashboard-distgit
Change-Id: I0652e172f3651b427805aa3673527677bd3429d8
Related-Bug: #1752132
|
|
|
|
Change-Id: If96f8d8b4f4c87724b73ed866c9ec6007b70371c
Closes-Bug: #1699083
|
|
Change-Id: I5846b48d336583ae82743f61bfbdadc99c755e8d
Partially-implements: blueprint vitrage-roles
|
|
heat dashboard is split from horizon code base in Queens cycle.[0][1]
[0] https://review.openstack.org/#/c/523402/
[1] https://github.com/openstack/heat-dashboard
Closes-Bug: #1737475
Change-Id: I920394b8cb6eb7027df9110fe88de6842d2bd8b3
|
|
|
|
Since ocata, lbaas dashboard package is independent
from openstack-dashboard package.
Change-Id: I39893945466567760b0f890dfabdb7136853ea12
Closes-Bug: #1720158
|
|
A recent change to kolla-ansible (a729dcc4) bind mounts /tmp from the
host to handle uploading of larger images. Unfortunately this is also
where we keep the state file for horizon which controls whether assets
need to be recompressed (.local_settings.md5sum.txt). This means it is
left over on destroy and causes issues with CSS / assets on redeploy.
Change the location of this file to
/var/lib/kolla/.local_settings.md5sum.txt so it is cleaned up correctly
along with the container.
Change-Id: Icfc71266cabedc2c1a3d30590cada3f774bc0d2c
Closes-Bug: #1721281
|
|
neutron-fwaas-dashboard is split into standalone repo. Need install it
into horizon image.
Change-Id: Ic1ff58df2c23db77aace95fd6d4eabbd62227e3b
Closes-Bug: #1719147
|
|
|
|
In kolla we set SECRET_KEY from passwords.yml
Ubuntu and source images deploy right because
they dont remove defaults secret_key file but really
is ununsed. [1]
RDO removes the import and the default key [2]
file making horizon container fail to start due
cannot stat <Key file>.
Symlink to local_settings is only needed for source images,
binary packages already do that symlink during package install[3]
[1]https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L149
[2]https://github.com/rdo-packages/horizon-distgit/blob/rpm-master/python-django-horizon.spec#L354
[3] https://github.com/rdo-packages/horizon-distgit/blob/rpm-master/python-django-horizon.spec#L319
Change-Id: Idfb0a18a95a1a48a4c3323385fd00485699f3fb6
|
|
|
|
|
|
Change-Id: I199a1e35224c6cd6b67fa88841b6598090a843c3
Closes-Bug: #1704954
|
|
When Watcher service is enabled, Horizon container failed to start.
Path to Horizon dashboard files was wrong.
Add missing part to previous commit
11e04d0782d32d203830c9c8e40094658cee5cae
Change-Id: I2b2b3a72949d125900fe5b2e1c1de42e2c24c9c3
Closes-Bug: #1703971
|
|
When Watcher service is enabled, Horizon container failed to start.
Path to Horizon dashboard files was wrong.
This patch fix it.
Change-Id: I8031612caf7c02e02f1079413ff8e648d1a4ca54
Closes-Bug: #1703971
|
|
* Paramaterise FORCE_GENERATE so it can be set by Ansible when horizon dev
mode is enabled.
* Move the soft linking of local_settings to run time
* Check perms on the secret_key_store at run time
Change-Id: I9bb9a3061412e2f71c60a90ecf9d2e9d78ba2d78
Depends-On: If99b0310dac75776ca462034926dd57794572ce9
|
|
Designate dashboard is not installed in horizon debian/ubuntu
binary image. But both debian and ubuntu cloudarchive repos
provide python-designate-dashboard package.
Change-Id: I8f65726d14d180368a8f0d349263bd0dd6ef3b90
Closes-Bug: #1702388
|
|
Change-Id: Ie0e02253bd706cad6a568e1574aa4c4bd83744e5
Closes-Bug: #1677922
|
|
The openstack-sahara-ui package in RDO doesn't include the python plugin
scripts in its enabled directory as they are moved rather than copied
into /usr/share/openstack-dashboard/openstack_dashboard/local/enabled/.
This change copies the plugins into the sahara_dashboard python package
directory before they are removed from /usr/share.
Change-Id: Ifbaff505fe3b415e4598ee1a223fb823d2d71b43
Closes-Bug: #1698462
|
|
|
|
Ubuntu removed tzdata and locales from docker images by default,
this is causing horizon to not come up failing
setting timezone:
```ValueError: Incorrect timezone setting: UTC```
Change-Id: I5bbc4d949ed481d1f6629dbb2f5edad174a36e63
Closes-Bug: #1686830
|
|
centos based images have wrong label info,
these changes fix own image's name and build-date.
Change-Id: I1d13f8f386c8db12b5fbe5f8ecbbf9e3fbb4ba1c
Closes-Bug: #1680341
|