Python-ibmcclient 0.2.0 uses six, which is not installed by default
as it is not necessary for python3 only usage.
This patch pins the upper bounds until the library can be fixed and
a new version released.
Change-Id: I06136f3f445b6ee4858697e22e8d63ca3d81c137
These translation sections are not needed anymore, Babel can
generate translation files without them.
Change-Id: I50f4af86556f9873df395f6469febdc1908311ae
The description about the method "__is_image_href_ordinary_file_name"
should be "Check if image_href is an ordinary file name" not "Check if
image_href is a ordinary file name", Fix the error.
Change-Id: I40e1058e24db39a9d11ef8c895fc907e7b749f94
The 2.6.0 version introduces some checks that cause failures
with the current code. hacking and flake8 cap could have solve
the pycodestyle compatible version but flake8-import-order which
does not cap the pycodestyle pulled its latest version and break
things.
Also remove the flake8 from test-requirements and let hacking
handle the flake8 version otherwise ironic will still pull the
latest flake8 which can break things in future.
To make it work, we need to explicitly cap pycodestyle itself
so that no other package pull the new checks in.
Change-Id: Ia4b6f5aa8fe45d08a1563160e585947f35501ef2
This patch fixes the issues that pep8 is showing in our CI.
Flake8 changes in tox.ini:
-Added ironic/tests/base.py and ironic/cmd/__init__.py
to per-file-ignores to ignore E402.
-Added E741 to ignore.
Change-Id: Icf92aa186fb4b2be0d59736a56260d01a5c3279a
The current implementation may result in a false positive when
the reboot request is ignored completely or when a node stays
powered on some time after the request is received.
Also make error messages a bit more useful by mentioning the desired
power state and avoiding redundant "Redfish".
Task: 39679
Story: 2007527
Change-Id: I35984e315948fbbcf216c40b38397953fb9dc699
The necessary options are already in keystoneauth, but have empty
defaults. This patch changes timeout to 15 and adds 2 retries by default.
Change-Id: Idf8cfa54b77be6f5127d2c9d587a427aa0898802
This should help slowly enabling H210 test everywhere.
Also fixing H210 enforced autospec in some places.
Change-Id: Ibbc00b528265f8b86bc2fe45e078d56d36381c5d
We already silence the "oslo.messaging" prefix, but the library
also uses "oslo_messsaging" in some cases.
Change-Id: Ifa9743c39bbd1424fbb07e2b65f409c9d7ca826a
Instead of setting TEMPEST_PLUGINS for the ironic-tempest-plugin
location let's use the `tempest_plugins` role to add our plugin.
Change-Id: Ie47014c6edb3582932f9fb4b20dc7f9187337027
Neither of these are really used. They have likely been cargo-culted.
Also removing mock from doc/requirements, not sure how it got there.
Change-Id: I8d242d86af4c6ded215e0bc4cf61da346f21e46c
Monkey patch the original current_thread to use the up-to-date _active
global variable. This solution is based on that documented at:
https://github.com/eventlet/eventlet/issues/592
Change-Id: I97c2a756076299a01170beb5bec3fa0e49593146
Story: 2007614
Python3 have a standard library for mock in the unittest module,
let's drop the mock requirement and switch tests to unittest mock.
Change-Id: I4f1b3e25c8adbc24cdda51c73da3b66967f7ef23
- Move staticmethods and classmethods to functions, since
in py36 we have a bug when ussing unittest.mock [1]
The only classmethod we are keeping is `_set_boot_device`
since it's used by `DracRedfishVirtualMediaBoot`
[1] https://bugs.python.org/issue23078
Change-Id: I6e51bb956890a01535c62f8a378756e65d438ac3