Add file to the reno documentation build to show release notes for
stable/ussuri.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/ussuri.
Change-Id: Ia916a95cf9c6c628bcd67c65d3689f44002655f4
Sem-Ver: feature
Make a few cleanups:
- Remove python 2.7 stanza from setup.py
- Add requires on python >= 3.6 to setup.cfg so that pypi and pip
know about the requirement
- Remove obsolete sections from setup.cfg
- Update classifiers
- Use sphinx-build in tox.ini
Change-Id: I60125ddd4c2a2b2976ca1af156a2c3ab09d8bf34
devstack should call manager.py by using $PYTHON variable that devstack
uses through openstack installation because manage.py uses python2
unless caller explicitly uses python3 interpreter.
Currently devstack fails with the following error message when devstack
uses python3::
++ /opt/stack/trove-dashboard/devstack/plugin.sh:configure_trove_dashboard:14 : ../manage.py compilemessages
Traceback (most recent call last):
File "../manage.py", line 18, in <module>
from django.core.management import execute_from_command_line
ImportError: No module named django.core.management
+ /opt/stack/trove-dashboard/devstack/plugin.sh:configure_trove_dashboard:1 : exit_trap
The reason for this error is no django.core.management library exists
in python2 site-packages because devstack installs the library as a
python3 library.
Story: 2007463
Task: 39148
Signed-off-by: Hirotaka Wakabayashi <hiwkby@yahoo.com>
Change-Id: Ia5f87788e117e9bbd9823afb6a8f139eb3ae5870
The current instructions of "How to use with devstack" should be more
accurate and consistent with instructions of "Install Trove in DevStack"
page[1].
Adding a trove-dashboard plugin line to local.conf which is shown in "
Install Trove in DevStack" page[1] is not enough. Because you will see
the following error after executing "./stack.sh"::
++ /opt/stack/trove-dashboard/devstack/plugin.sh:source:34 : configure_trove_dashboard
++ /opt/stack/trove-dashboard/devstack/plugin.sh:configure_trove_dashboard:10 : cp -a /opt/stack/trove-dashboard/trove_dashboard/enabled/_1710_database_panel_group.py /opt/stack/trove-dashboard/trove_dashboard/enabled/_1720_project_databases_panel.py /opt/stack/trove-dashboard/trove_dashboard/enabled/_1730_project_database_backups_panel.py /opt/stack/trove-dashboard/trove_dashboard/enabled/_1731_project_database_backups_panel.py /opt/stack/trove-dashboard/trove_dashboard/enabled/_1740_project_database_clusters_panel.py /opt/stack/trove-dashboard/trove_dashboard/enabled/_1760_project_database_configurations_panel.py /opt/stack/trove-dashboard/trove_dashboard/enabled/__init__.py /opt/stack/horizon/openstack_dashboard/local/enabled/
cp: target '/opt/stack/horizon/openstack_dashboard/local/enabled/' is not a directory
+ /opt/stack/trove-dashboard/devstack/plugin.sh:configure_trove_dashboard:1 : exit_trap
I propose to add a full example of local.conf that includes trove
plugin and horizon service. Devstack is a tool to make an all-in-one
OpenStack environment for development. It is natural that trove and
trove-dashboard will be installed together. By doing so, developers
can easily make an all-in-one trove-dashboard environment.
1: https://docs.openstack.org/trove/latest/install/install-devstack.html
Story: 2007462
Task: 39142
Signed-off-by: Hirotaka Wakabayashi <hiwkby@yahoo.com>
Change-Id: Id05348b4ba7cf55f21297933ac60f5b7fcc2edbd
assertItemsEqual was renamed to assertCountEqual in Python 3, and the
testsuite is failing now - rename it.
See also https://six.readthedocs.io/#six.assertCountEqual
This unbreaks the testsuite.
Change-Id: Ia04b22a61dab28a986216ae2f4f49106ee843fa0
This repo does not support Python 2 anymore, so we don't need
six for compatibility between Python2 and 3, convert six usage to Python
3 code.
Change-Id: I3edab6e67ac79d14fe9d38f6f75abfd50030fa1e
Needed-By: https://review.opendev.org/701743
Django 1.11 ends its extended support in April 2020 (which is before
Ussuri release), so horizon drops Django 1.11 support in Ussuri.
tox envs for non-primary Django versions are no longer needed in tox.ini
as testing environments for non-primary Django versions are setup in
the zuul jobs now.
horizon>=17.1.0 is required to use Django 2.2.
requirements.txt is updated accordingly.
Depends-On: https://review.opendev.org/#/c/700733/
Change-Id: I5ac3da11e140593733992d9d5243c5c44fb72fd6
babel extractors are now registered via python entry points,
so there is no need to declare babel extractors in babel configs.
This change is important to make translation work in Django 2.2.
django-babel does not work with Django 2.2 and looks unmaintained
for over two years. The horizon team is thinking to switch the extractor
to enmerkar (a fork of django-babel) to make extraction of translation
string work again near future. It is important to drop the extractor
definition to make the transition smooth.
Change-Id: I50adcba093605590f956e8a31bae257816b2f6ff
Horizon defined a project template 'horizon-non-primary-django-jobs'
for django jobs. This patch use that template to run django jobs
here. For information please refer [1]
[1] https://review.opendev.org/#/c/681969/
Change-Id: I0d1349fc71ab3779a009b7a612e8f673c8217db9
Add file to the reno documentation build to show release notes for
stable/train.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/train.
Change-Id: I554fe56a263bad10b27acb6cb6238c16bcff2b5a
Sem-Ver: feature
This is a mechanically generated patch to ensure unit testing is in place
for all of the Tested Runtimes for Train. This particular patch is
just limiting the tox envlist to py37 to enable efficient use of 'tox'.
See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html
Change-Id: I323112d05e998d682c12de45f099536c62552a41
Story: #2005924
Task: #34254
This is a mechanically generated change to replace openstack.org
git:// URLs with https:// equivalents.
This is in aid of a planned future move of the git hosting
infrastructure to a self-hosted instance of gitea (https://gitea.io),
which does not support the git wire protocol at this stage.
This update should result in no functional change.
For more information see the thread at
http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003825.html
Change-Id: I9fcda9130c7c79f4451f248dc731bc018569ed8c
Add file to the reno documentation build to show release notes for
stable/stein.
Use pbr instruction to increment the minor version number
automatically so that master versions are higher than the versions on
stable/stein.
Change-Id: Ic9a1d55bc9c0b1f00c444595a774246f0d993a21
Sem-Ver: feature
Volume Size parameter was not shown for cluster instances.
This change makes Volue Size visible in instances table.
Change-Id: Iee819189f7ca49aeec579aa06d88911b0ac37b19
Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
Object-store is not needed for managing Trove clusters.
This change removes object-store permission causing that Cluster panel
will be registered even if object-store is unavailable.
Change-Id: I72a9cac16625ff6745b97d65b467e5227bd24045
Signed-off-by: Marcin Piwowarczyk <m.piwowarczy@samsung.com>
With moving away from required milestone releases, the version numbers
calculated by PBR on the master branch will not work for those testing
upgrades from the last stable release. More details can be found in the
mailing list post here:
http://lists.openstack.org/pipermail/openstack-dev/2018-October/135706.html
This is an empty commit that will cause PBR to increment its calculated
version to get around this.
PBR will see the following which will cause it to increment the version:
Sem-Ver: feature
Please merge this patch as soon as possible to support those testing
upgrades.
Change-Id: Iafbf190511422cf9a69327e0d347ca0cd3c39be3
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
We want to default to running all tox environments under python 3, so
set the basepython value in each environment.
We do not want to specify a minor version number, because we do not
want to have to update the file every time we upgrade python.
We do not want to set the override once in testenv, because that
breaks the more specific versions used in default environments like
py35 and py36.
Change-Id: Ib45159432550c6c15a29443d8c786e8f28c1d0c4
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
Co-Authored-By: Bartosz Zurkowski <b.zurkowski@samsung.com>