This commit is part of a series to retire the Packaging Deb
project. Step 2 is to remove all content from the project
repos, replacing it with a README notification where to find
ongoing work, and how to recover the repo if needed at some
future point (as in
https://docs.openstack.org/infra/manual/drivers.html#retiring-a-project).
Change-Id: Ib58512d7cf75aecd73947e70fffc94b5aa98cf01
Some of the available checks are disabled by default, like:
[H106] Don’t put vim configuration in source files
[H203] Use assertIs(Not)None to check for None
Change-Id: Icd0162ac6bef12b2303c41bc11c917901c6dcade
If cluster verification in Sahara is totally disabled, then operators
probably do not want to have ugly UNKNOWN in the cluster status page.
They also probably do not want any references to health at all, if
there will never be any usable information there. So, let's add
something that can be read from local_settings to disable these when
the operator doesn't want them.
Change-Id: Ifc624d07767ed29646aa8a5b5739103fd4972b90
Co-Authored-By: Lucas H. Xu <xuh@bu.edu>
Hot Fix: In [0], floating IP and security group operations within
openstack_dashboard were moved. The imports are now corrected.
[0] https://review.openstack.org/#/c/466645/
Related-Blueprint: bp sahara-remove-nova-network
Change-Id: I2c086613fff302e852a2dda51701c620371a27e4
Due to Tox override mechanism, both py27 and py35 envs do not pass
env variables defined in testenv to tox_install.sh script. Hence,
BRANCH_NAME is not defined and master code of Horizon is always
installed. While it's not critical for sahara-dashboard master branch,
it's crucial for stable branches, especially stable/newton where running
tox -e py27 fails due to fresh Horizon and old its dependencies.
This patch adds inheritance for py27 and py35 envs, so the env variables
defined in testenv will be also defined in these both envs.
Change-Id: I246049d29024b64b50dcdc153a809c9649716287
Declarations in javascript should end with a semicolon. This
otherwise causes strange and hard to debug issues in minified
js assets.
Change-Id: I821a71b169b86e9f0318cbae4c6cc654cb97a4a7
The gating on python 3.4 is restricted to <= Mitaka. This is due to
the change from Ubuntu Trusty to Xenial, where only python3.5 is
available. There is no need to continue to keep these settings.
Change-Id: Ic28c0a6e8db6d6360c00ec834e474826cc3ada27
1.As mentioned in [1], we should avoid using
six.iteritems to achieve iterators. We can
use dict.items instead, as it will return
iterators in PY3 as well. And dict.items/keys
will more readable. 2.In py2, the performance
about list should be negligible, see the link [2].
[1] https://wiki.openstack.org/wiki/Python3
[2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html
Change-Id: If17002f8ce9ddb44109feca9bed9524299c404c4
Horizon has some changes as bellow about security group and keypairs.
Sahara-dashboard should sync the location of resource with horizon.
* Move Security Groups into its own panel
https://review.openstack.org/#/c/427882/
* Make Key Pairs tab a panel under Compute:
https://review.openstack.org/#/c/408247/
Change-Id: I705e2feff090acd1d17e58b3d77c185fd0006c19
According to [1], we can passing a "-t" argument to
oslo_debug_helper to indicate the directory where tests
are located. This will solves ImportError exception.
[1] https://docs.openstack.org/developer/oslotest/features.html
Change-Id: I4c9bb211efddbad4f3a8e63c3779f3d62112cd32
Closes-Bug: #1666560
Since pbr already landed and the old version of hacking seems not
work very well with pbr>=2, we should update it to match global
requirement.
Partial-Bug: #1668848
Change-Id: Ic274bb0da74e9bea52ac96e8fbe3809b50b3e434
Python 3.3 is not supported from Mitaka, as per Infra.
This patch removes the support for the same.
Change-Id: Ib92e8ee8c7e7ba43537772b30d98e67b3df17685
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove sahara-dashboard.
As sahara-dashboard also uses run_tests.sh I've modified that code in
line with the horizon change I9bf85adb5aa2c85d8c0f0f22ac9efe5cac3646c0
Change-Id: Ieb8afdef1e9649b18a4394620e52b9f6ac3d997b