226 Commits

Author SHA1 Message Date
Riccardo Pittau
7f15b2a918 Update lower-constraints.txt
We need to list all dependencies in lower-constraints.
Also updating requirements.txt to reflect new minimum versions.

Change-Id: Id643629701d3749927c2915b9ea1bbf7170df32c
2020-05-13 18:04:07 +02:00
Zuul
5894854979 Merge "Stop configuring install_command in tox." 0.13.1 2020-04-29 11:09:03 +00:00
Zuul
f99dbcf986 Merge "Upgrade flake8-import-order version to 0.17.1" 2020-04-29 08:56:16 +00:00
Riccardo Pittau
74d69c67cd Restore default netboot boot option
We changed the default boot option to local but should be netboot
for this job.

Change-Id: Ia7088a338b65f17410ddfa1c9439ccd0d8b20900
2020-04-27 16:06:06 +02:00
Riccardo Pittau
9511a048c9 Upgrade flake8-import-order version to 0.17.1
Full py3 compatible version.
Add all Python3 modules to stdlib list.
Also includes fix to an enum34 dependency bug.

Change-Id: I62321c13697db75c6cfc2176a9a89b6cb50413d6
2020-04-21 16:46:30 +02:00
Iury Gregory Melo Ferreira
95ce839ea8 Stop configuring install_command in tox.
Currently, we are overriding 'install_command' to use 'pip'. This is
considered poor behavior and 'python -m pip' should be used instead:

https://snarky.ca/why-you-should-use-python-m-pip/

It turns out that this is the the default value provided by tox:

https://tox.readthedocs.io/en/latest/config.html#conf-install_command

So we can remove the line and simply use the default value.

openstack-discuss thread
http://lists.openstack.org/pipermail/openstack-discuss/2020-April/014237.html

Change-Id: I333aac7ffbb012f169dcf6ee62e754c4832336be
2020-04-17 20:54:07 +02:00
Riccardo Pittau
16fc06ada1 Switch to zuulv3
Change-Id: I880a6571b076de200782269253b7f851688100c8
0.13.0
2020-04-14 09:43:25 +02:00
Riccardo Pittau
40bed1ea88 Make flake8 tests more strict
Also increasing min version of flake8-import-order for some bug fixes.

Change-Id: I6cca85a87e2946998bb2e912aa44bd3d709562c4
2020-04-08 10:11:48 +02:00
Riccardo Pittau
2430061785 Explicitly set ramdisk type
Legacy job was force to dib and exploded, rectifying that
forcing the use of tinyipa for the time being.

Change-Id: I9d1301107e54ab91e06709905f186d8b1bad40c1
2020-04-08 10:08:53 +02:00
Riccardo Pittau
ec13cbad48 Bump hacking to 3.0.0
Change-Id: I6979eacbb9b4d062d7f0fb8228dbef6b97da416e
2020-03-31 10:15:18 +02:00
Riccardo Pittau
d8191f9ab2 Enforce running tox with correct python version based on env
Since removing support for Python 2, we changed the basepython
value to 3.
This means that all the tox tests run with the default python
version available in the system.
This is not quite correct when running on environment such as
py36, py37 or py38, since they imply running with different
Python versions based on the environment.
To enforce the correct version we need to add the option
ignore_basepython_conflict available since tox 3.1.0 [0].

[0] https://tox.readthedocs.io/en/latest/config.html#conf-ignore_basepython_conflict

Change-Id: I6dfb295c9e18ac3ec0d79b186ab4cbe5cecd00bf
2019-12-23 11:27:21 +01:00
Riccardo Pittau
2f77c3095e Follow up of stop using six library
Change-Id: I5fcd5babbadfb075cbc85bf4f9e18fdeddbce44a
Follow-Up: https://review.opendev.org/697059
2019-12-05 00:59:19 +01:00
Riccardo Pittau
a2c976077a Stop using six library
Since we've dropped support for Python 2.7, it's time to look at
the bright future that Python 3.x will bring and stop forcing
compatibility with older versions.
This patch removes the six library from requirements, not
looking back.

Change-Id: I41ef2d06dcdfe2fb3fd47fe877149ec9a29e37fb
2019-12-03 12:16:17 +01:00
Iury Gregory Melo Ferreira
77de3d5bb9 Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

ironic-staging-drivers is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal - https://review.opendev.org/#/c/691178/

Change-Id: Iab168e51cdfed11a3982da717e6cb40dbcaabfd5
2019-11-27 18:57:55 +01:00
Zuul
b1b77dbbc9 Merge "Fix pycurl args types in ovirt driver" 0.12.0 2019-07-10 20:05:49 +00:00
Zuul
93241bf890 Merge "Switch from git.openstack.org to opendev.org" 2019-07-08 14:39:07 +00:00
Ilya Etingof
935ec1ac69 Fix pycurl args types in ovirt driver
Ensure passing text-typed parameters to `ovirtsdk4` calls. Otherwise
`ovirtsdk4` blows up Python 3.

This change prompts `six` version bump.

Change-Id: I3bbbb6b786d7007e0dd0a45de1b21be909ee588b
Story: 2006170
Task: 35681
2019-07-08 15:25:33 +02:00
Ilya Etingof
d500b4b013 Switch from git.openstack.org to opendev.org
Change-Id: I2a015a8fb099084cedbc0a9ac745bd5bd4146eef
2019-07-08 14:03:06 +02:00
Zuul
1946b958ac Merge "Add Python 3 Train unit tests" 2019-07-06 20:06:36 +00:00
Riccardo Pittau
b0dc7efe8a Add Python 3 Train unit tests
This is a manually generated patch to ensure unit testing is in
place for all of the Tested Runtimes for Train.

See the Train python3-updates goal document for details:
https://governance.openstack.org/tc/goals/train/python3-updates.html

Depends-On: I8432eb58c44ebbcaccffa801e3bc5b791e37c84b

Change-Id: Id236f6565c0b0a5ebdaab30fbc6b96a22f05a3ec
2019-07-03 10:01:34 +02:00
Riccardo Pittau
db90e457c5 Remove enabled_drivers from tests
The enabled_drivers option has been removed since a while, this
patch replace the latest 2 entries in a unit test with
enabled_hardware_types

Change-Id: I8432eb58c44ebbcaccffa801e3bc5b791e37c84b
2019-07-03 09:58:16 +02:00
Riccardo Pittau
85e64777d8 Drop ostestr in favor of stestr
With this patch we drop ostestr to use stestr directly to avoid
current and future incompatibilities that can break the test
process, e.g. [1]

Also some minor changes:
- following recent changes to global requirements [2],
we update sphinx requirements locally
- removing py35 in favor of generic py3 test
- updating upper-constraints link to use opendev.org

[1] https://bugs.launchpad.net/os-testr/+bug/1827834
[2] If558f184c959e4b63b56dec3ca1571d1034cfe5c

Change-Id: I9328fa7e68e1e03a20182e728840075bea7c5ac6
2019-05-24 10:58:27 +02:00
Riccardo Pittau
8c4df14a88 Fixing typo in message format
Fixing a typo in an exception message.
Found during removal of Python 3.5 test in favor of
Python 3.7 in https://review.opendev.org/654641

Change-Id: I23feb09697229de74f6522a0d8cb9ab2a53428ca
2019-04-26 10:44:53 +02:00
Pavlo Shchelokovskyy
c31e4ca486 Remove cap from jsonschema
this was removed in global requirements
(see change I328cbd8216ec4591e08414dafc9ea099391efd86).

Change-Id: I024bed9081049e5a36a5906d736d0435135d8ccf
2019-04-25 09:31:19 +00:00
OpenDev Sysadmins
4d3327a980 OpenDev Migration Patch
This commit was bulk generated and pushed by the OpenDev sysadmins
as a part of the Git hosting and code review systems migration
detailed in these mailing list posts:

http://lists.openstack.org/pipermail/openstack-discuss/2019-March/003603.html
http://lists.openstack.org/pipermail/openstack-discuss/2019-April/004920.html

Attempts have been made to correct repository namespaces and
hostnames based on simple pattern matching, but it's possible some
were updated incorrectly or missed entirely. Please reach out to us
via the contact information listed at https://opendev.org/ with any
questions you may have.
2019-04-19 19:51:42 +00:00
Dmitry Tantsur
6156346fd8 Add Rocky and Stein to release notes
Change-Id: I7649f0e22b074c599c984461bda1603bf6bf16a3
2019-03-25 16:01:15 +01:00
Zuul
611b44863b Merge "WOL driver - include POWER_OFF in supported power states" 0.11.0 2019-03-25 12:54:34 +00:00
Zuul
ed2d78f66c Merge "Update enabled_management_interfaces property" 2019-03-25 12:28:01 +00:00
Zuul
e556db7ee6 Merge "Add a Python 3.6 unit test job" 2019-03-25 12:28:01 +00:00
Zuul
67f3b99cd6 Merge "Migrate jobs in-tree" 2019-03-25 12:12:03 +00:00
Oliver Walsh
88e85766c6 WOL driver - include POWER_OFF in supported power states
The WakeOnLanPower class is designed to POWER_ON using WOL and log
REBOOT/POWER_OFF operations as they require manual intervention.

However the POWER_OFF state was mistakenly omitted from
get_supported_power_states, which results in an error instead of a log entry.
Introspection on tripleo fails as a result of this.

Story: #2005292
Task: #30162
Change-Id: I34ee6da8600d6e6107f00732bf1c34c5b745b333
2019-03-25 11:45:18 +00:00
Dmitry Tantsur
9114585ab2 Add a Python 3.6 unit test job
Change-Id: Ia5fa370b68f16fddb060c6102969b8b9b3663152
2019-03-25 12:03:33 +01:00
Dmitry Tantsur
c5fbcf02c4 Migrate jobs in-tree
Change-Id: Ia444e385ffd4f774c408d5173b9f2d147cb723ca
2019-03-25 11:57:53 +01:00
Ian Wienand
6c13afb25e Replace openstack.org git:// URLs with https://
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: I2b9fb7f781435016acc33a2bfef8be1d26ca2f9a
2019-03-24 20:33:54 +00:00
dnuka
2433e97f48 Update enabled_management_interfaces property
These changes update `enabled_management_interfaces` property to
`enabled_management_interfaces = fake,ipmitool`

Story: #2004417
Task: #28062

Change-Id: I70466c6d36737b439cced8345e15df8845aa0159
2019-02-19 12:15:34 +05:30
Andreas Jaeger
c0e5dff85b Use template for lower-constraints
Use openstack-lower-constraints-jobs template, remove individual
jobs.

Change-Id: Id4388867c19174032ade5c00ad73cba2389b9b96
Needed-By: https://review.openstack.org/623229
2018-12-20 21:02:17 +01:00
jacky06
6d52a3dd35 Update the home-page link
Change-Id: Ibba0097425176a4758ad45a08e80dc7a9df8bd5d
2018-11-26 00:13:23 -05:00
Vieri
7f4ebbe92a Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I2868da532fc16c916297ca86cdc8e04a85c9e91b
2018-12-05 03:51:52 +00:00
Dmitry Tantsur
58fe0fe457 Add noop management to iBOOT and WOL hardware types
The classic drivers had management=None, so no management actions
were tried. The hardware types have management=fake, which does not
support local boot. This ends up in a serious feature regression.

The intended behavior is to use static boot management, which is what
the noop management is about, so use it.

Change-Id: Id46e2747facabda922e1544fa59e90fb31a04a62
2018-10-24 15:30:59 +02:00
ZhijunWei
0dd170b028 Update the hacking to latst
Change-Id: I86064e2efc9a561fdfb75fdc9f0b496474910588
Closes-Bug: #1798143
2018-10-07 12:02:45 -04:00
Zuul
a0c2e25315 Merge "fix tox python3 overrides" 2018-08-20 19:21:48 +00:00
Zuul
39c4e9327e Merge "Do not use the official theme from oslosphinx" 0.10.1 2018-08-09 17:35:05 +00:00
Zuul
999b0318f1 Merge "Fix lower constraints" 2018-08-09 17:35:04 +00:00
Zuul
b36f40bf35 Merge "Do not use deprecated async parameter for passthru" 2018-08-09 17:16:19 +00:00
Dmitry Tantsur
15282776b1 Do not use deprecated async parameter for passthru
Change-Id: I3544b6b5bc56e4d27614397a98a7f17b72db6e00
2018-08-09 17:35:47 +02:00
Dmitry Tantsur
e71e9a88da Do not use the official theme from oslosphinx
We are not an official project, let's not confuse people. Also
oslosphinx seems deprecated.

Change-Id: I42a61b04b5a03d948aa9dccaaaffbd8a7a9b0a10
2018-08-09 16:42:13 +02:00
Dmitry Tantsur
d94a1f1542 Fix lower constraints
Change-Id: Ia345c84f3eab190785c297342ef1bcd3f15fc96c
2018-08-09 16:41:38 +02:00
Dmitry Tantsur
85faeb2d2b Configure webhook for publishing docs
Change-Id: I8e054d0e1af04eb80720465fdd4946f809240d9a
2018-08-09 14:44:57 +02:00
Dmitry Tantsur
f3c9cab07f Remove classic drivers
Support for them was removed from ironic, so we have to remove them.

Change-Id: I27c61a01184b1d5435e05efa3c65eae90c9d3b34
0.10.0
2018-07-23 15:34:12 +02:00
huang.zhiping
e0843182c4 fix tox python3 overrides
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: I6b089c76f6a7aae9e4ad10e4429227523d47ddb9
2018-06-09 02:21:48 +08:00