Since [1], 'manila::service_instance' has been replaced
by 'manila::backend::service_instance'.
We have also to remove the use of
'use_guestagent_template' as it was removed in [2]
Finally, since tox4 we need to set skipdist to False
in order to install the package (needed for pbr to
get the version). Previously with tox3, it was set to
True but it was a bug apprently.
[1] https://review.opendev.org/c/openstack/puppet-manila/+/873479
[2] https://review.opendev.org/c/openstack/puppet-trove/+/874367
Change-Id: I464675a5f78b1efcc3a277da4772dca5690dd842
... because database options of the base trove class have been
deprecated.
Remove CentOS Stream 8 jobs
RDO Zed (currently master) will only support
CentOS Stream 9 [1].
The CS8 DLRN builder is about to be stopped
and removed, so we can get rid of the CS8 jobs.
Plus we need to require "six" explicitly.
Until now, it was installed as transitive dependency.
[1] https://lists.rdoproject.org/archives/list/dev@lists.rdoproject.org/thread/EKPN4RMQEKYS3ZAHRUHZQ47IF7QXOLZH/
Change-Id: Ib82083f328c3e23b07559652e31acb0153c61a43
We had a very old hacking version, so we should update it to the
same version as other projects are using. The update also required
additional changes to the Python code to fix new errors and
warnings.
Change-Id: Ic511513057581841fe2230b69a2a413ec0981f15
The commands used by constraints need at least tox 2.0. Update to
reflect reality, which should help with local running of constraints
targets.
Change-Id: I4dd23787410d69354adede815937954b553942be
Closes-Bug: #1801461
Packstack needs to get adapted to Python 3. This patch adds initial
compatibility fixes and a tox-py36 job (non-voting) to test it.
Change-Id: I653454b523224615ea5f0e9f5a7d799031f57649
According to Openstack summit session [1] stestr is
maintained project to which all Openstack projects
should migrate.
Let's switch it then.
[1] https://etherpad.openstack.org/p/YVR-python-pti
Change-Id: I2fdbbafb9ec36c7bcbab6038387aaa31f41316dd
Signed-off-by: Charles Short <zulcss@gmail.com>
- Do not generate the SSH private key if it already exists
- Set skipsdist = True in tox.ini
- Add Zuul v3 layout
Change-Id: I4b0254bf175d51c0a468b01f8ac034db43859572
Previously we had our requirements in two different places:
requirements/test-requirements for normal installation, and
tools/pip-requires & tools/test-requires for tox tests. Let's
unify them on a single location.
Change-Id: I3e31eeb70e7db24d87b8a7c67a427c53af814a32
This change aligns packstack unit tests runner with other Open Stack projects
Change-Id: I588f12a163e64d90a51f35e98ea20ff691339baa
Signed-off-by: Maciej Kucia <maciej@kucia.net>
Refactor setup.py using Python Build Reasonableness[1]
as a standard for OpenStack projects.
[1] http://docs.openstack.org/developer/pbr/
Closes-Bug: #1559150
Change-Id: Ie3b3845f11236f5338228690418760599914cce4
Python 2.6 support would be dropped by
Infra team from mitaka,CI would no longer be testing it,
so projects should drop it too.
Change-Id: Ic96f4c44cb833ca6199c9daf1078f4d0715aedad
We should support ipv6 or ipv4 only installation and we should
set firewall according to ip version.
Resolves-Bug: rhbz#1185652
Change-Id: I7bacf81373a6e0567e0c3fdebacf47cd5c683ad2
* H102 Apache 2.0 license header not found
* H232 Python 3.x incompatible octal xxx should be written as 0oxxx
* H233 Python 3.x incompatible use of print operator
* H301 one import per line
* H904 Wrap long lines in parentheses instead of a backslash
Change-Id: I07003acb76eaa719daabc451239067494efa2bba
* E122 continuation line missing indentation or outdented
* E126 continuation line over-indented for hanging indent
* E127 continuation line over-indented for visual indent
* E128 continuation line under-indented for visual indent
* E131 continuation line unaligned for hanging indent
* E303 too many blank lines
* W601 .has_key() is deprecated, use 'in'
* H234 assertEquals is deprecated, use assertEqual
* H401 docstring should not start with a space
* H402 one line docstring needs punctuation.
Change-Id: I1c264dba19bfe7cb9173e8999429827bd026b930
* E111 indentation is not a multiple of four
* E241 multiple spaces after ','
* E261 at least two spaces before inline comment
* E401 multiple imports on one line
* E502 the backslash is redundant between brackets
* E713 test for membership should be 'not in'
* E721 do not compare types, use 'isinstance()'
Change-Id: I7315dac1734e6adc4ecf2cc2f0cc45d5d6d8b411
* F401 module imported but unused
* E271 multiple spaces after keyword
* E272 multiple spaces before keyword
* E202 remove extraneous whitespace
* E711 comparison to None should be 'if cond is None:'
* E712 comparison to True/False should be 'if cond is True/False:' or 'if cond:'
Change-Id: I56a1dbee2ae17b8315a55215e2c676e0de8311f7
* E121 continuation line under-indented for hanging indent
* E129 visually indented line with same indent as next logical line
* E302 expected 2 blank lines, found x
* E231 missing whitespace after ','
* E265 block comment should start with '# '
Change-Id: If22172e8a60e962ddbf43db01e7633c60af0a1bc
All new findings of flake8 and hacking are ignored for the moment
to only change the used tool with this change. Ignored checks should
be enabled in the future.
Change-Id: I041f7d1427b897692506b2041b8cc50a40d97cc5
As per the governance resolution https://review.openstack.org/119875,
projects should have a docs environment in their tox.ini testing
interface. Add one.
Change-Id: I15c78a3c208820f041c9c3fa957aeb03eb7ab398
- Replaced CONFIG_<OS-component>_HOST(S) parameters for CONFIG_CONTROLLER_HOST,
CONFIG_COMPUTE_HOSTS and CONFIG_NETWORK_HOSTS to minimize count of potential
deployment architecture to maintainable level
- Unified coding style in plugins, PEP8-tized and forced pep8 check on them
Implements: blueprint simplification
Change-Id: I597f209b62d8d0c3709bb446cb33c804509eef9f
The error being thrown by this on Fedora was being silently ignored
added regex for this
Also adding adding a unit test for this
Adding the effected module to pep8 tests
Change-Id: I4e4d72e6de0bce597474434a4e18112f79913718