Commit Graph

196 Commits

Author SHA1 Message Date
Aija Jauntēva b4f1db2231 Switch to 2023.1 Python3 unit tests and generic template name
This is a patch to ensure unit testing is in place for all the of the tested
runtimes for antelope. Also, updating the template name to generic one.

See also the PTI in governance [1].

[1]: https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Ib9588e4421bc6748b1f63ba58c0594c90184005e
2022-09-26 06:54:44 -04:00
Aija Jauntēva 85cdc10d86 Drop Python 3.6 from envlist
Change-Id: Icb46ed40b9d0e28822776cd32c70436b728f8a9d
2022-09-26 06:54:44 -04:00
Aija Jauntēva 168a106085 Add Python3 Zed unit tests
This change ensures unit testing is in place for all of the tested
runtimes for Zed.

See also the Project Testing Interface (PTI) in OpenStack Governance
[1].

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8322665e65e427b3f6189a4ab9311308de3ce935
2022-03-08 05:59:40 -05:00
Zuul 9c7499ce61 Merge "Update tox Python versions for Yoga" 2021-12-16 13:36:11 +00:00
Zuul cc0ba24ba5 Merge "Updating yoga tested python versions in classifier" 2021-12-16 13:31:30 +00:00
Sagar Nanda 1488d904e2 Set iDRACCard attributes as nullable
The iDRACCard attribute GroupID is empty for 15th Generation servers,
e.g., Dell EMC PowerEdge R750 and R650, which triggered the error
"attribute GroupID is not nullable".

A similar error message has been observed when processing the
iDRACCardInteger attributes LowerBound and UpperBound read
from a PowerEdge XE2420 server.

This change sets those attributes as nullable.

Change-Id: If34d96fab4249f466f63b3740d1ff5eb68012462
2021-12-15 13:05:14 +00:00
Aija Jauntēva c104340ff6 Update tox Python versions for Yoga
Update list to Python 3.6, 3.9 per [1].

[1] https://governance.openstack.org/tc/reference/runtimes/yoga.html

Change-Id: I40a88297b09a542fcf79fde9d4066beef50a1b9d
2021-12-14 04:22:15 -05:00
Aija Jauntēva 980c097b47 Updating yoga tested python versions in classifier
We have updated the yoga testing runtime to keep the
py36 testing.

- https://review.opendev.org/c/openstack/governance/+/820195

Unit tests job template is also updated to keep python
3.6 as a voting job. So with the py3.6 and py3.9 testing as voting
job template, we are keeping python 3.6, 3.7, 3.8, and 3.9 as
tested versions in the Yoga cycle.

- https://review.opendev.org/c/openstack/openstack-zuul-jobs/+/820286

This commit adds missing 3.9 in version in setup.cfg classifier.

Change-Id: I26d89615aa8812e1ba3fcaebb66a82ffe135644b
2021-12-14 04:12:57 -05:00
Aija Jauntēva b71e16cacc Add Python3 Yoga unit tests
This change ensures unit testing is in place for all of the tested
runtimes for Yoga.

See also the Project Testing Interface (PTI) in OpenStack Governance
[1].

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: Id8e5b8c66455fd727cf5ed64ef313ae12098ea7f
2021-09-29 04:58:18 -04:00
Aija Jauntēva d26664e7f9 Fix virtual disks sharing same physical disks
`StartingLBA` needs to be passed when creating virtual disks
sharing same physicial disks. Otherwise, only the first virtual
disk creation succeeds and iDRAC job has status "Completed
with Errors".

Change-Id: I985a714636fb2036cca038ffa281c1b1e01ffd52
2021-09-21 08:29:24 -04:00
Monica Pardhi 9ebc4afc84 Fix for H755 RAID controller when convert to JBOD
When converting Dell EMC PERC H755 RAID controller physical
disks to non-RAID mode, RAID-0 virtual disks get created
for each physical disk and disks moved to 'Online' state.

This is different from other controllers supporting non-RAID
conversion and takes up physical disks that cannot be
later used for user intended RAID configuration. This change
excludes H755 RAID controller's physical disks when converting
to non-RAID mode and leaves disks in 'Ready' state.

Change-Id: Id6de320c8e8a9ca21fac277718c405c657f58a3a
2021-09-20 11:45:00 +00:00
Zuul 90daeb3c0a Merge "setup.cfg: Replace dashes with underscores" 2021-08-17 16:22:10 +00:00
erbarr 15bbf6422f setup.cfg: Replace dashes with underscores
Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I540c73978ad858649456d892796bf1e4c2e3e19e
2021-08-10 10:09:53 -05:00
erbarr a26ea3f5dd Use TOX_CONSTRAINTS_FILE
UPPER_CONSTRAINTS_FILE is old name and deprecated
This allows to use upper-constraints file as more
readable way instead of UPPER_CONSTRAINTS_FILE=<lower-constraints file>.

Change-Id: I0de17288315d3d6358f627e28a920fb2f3aac10c
2021-08-10 09:49:27 -05:00
Riccardo Pittau 6fdcfdae53 Add Python3 Xena unit tests
This change ensures unit testing is in place for all of the tested
runtimes for Xena.

See also the Project Testing Interface (PTI) in OpenStack Governance.
[1]

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I8f51b32ce9602a7c03b8aeed665ae2ff03171c5c
2021-06-08 12:53:54 +00:00
Richard Pioso 98c7ea39bf Add Python3 Wallaby unit tests
This change ensures unit testing is in place for all of the tested
runtimes for Wallaby.

See also the Project Testing Interface (PTI) in OpenStack Governance.
[1]

[1] https://governance.openstack.org/tc/reference/project-testing-interface.html

Change-Id: I18f353739508a4b5495db5d954528bbecdfeed02
2020-10-09 17:51:22 -04:00
Zuul 1bb602b5ac Merge "Remove install unnecessary packages" 2020-09-29 15:09:19 +00:00
Zuul bad642bb13 Merge "Provide last system inventory time" 2020-09-25 15:09:04 +00:00
Yogesh Ramachandra a4c819e304 Provide last system inventory time
This change provides the time system inventory was last performed
by the iDRAC. That is done during system restart and referred to as
Collect System Inventory on Restart (CSIOR). The value is represented
in yyyymmddHHMMSS format.

Change-Id: I73ff5eb517528afe56b5cf45a74fa5d5519db186
Closes-Bug: #1894938
2020-09-25 09:28:56 -05:00
Zuul ff76c8dd6a Merge "Add video enumeration to InventoryManagement" 2020-09-25 13:07:17 +00:00
Mudit d341ab4b3c Add video enumeration to InventoryManagement
Change-Id: Ia14ae67fea9d69ba27ebd43f6043b817f6cc5eff
Closes-Bug: #1894940
2020-09-25 07:54:27 -04:00
maaoyu 45cd2f459a Remove install unnecessary packages
The docs requirements migrated to doc/requirements.txt
we need not install things from requirements.txt.

Change-Id: Icde5901a633f78044f8bc6701cc980f2e9c5497a
2020-09-24 09:14:00 +08:00
Aija Jauntēva 2f1b1a601b Fix `tox -epep8` for python3.8 users
For those who have default python3 pointing to 3.8
an error occurs for `tox -epep8` as it tries to
use older pyflakes that has bug when running under
python3.8.

Bump `hacking` to later versions where the bug
is fixed.

Change-Id: I7bdde5c67b41be2c9fed92e2713ef22399013169
2020-08-31 11:22:39 -04:00
Zuul b84667750e Merge "Fix issue with reset_idrac on some servers" 2020-08-04 21:51:56 +00:00
Christopher Dearborn 1aaaf93f7c Fix issue with reset_idrac on some servers
This patch increases the amount of time to sleep before checking to see
if the iDRAC is ready following a reset to 60 seconds. 30 seconds was
too short for some servers.

Change-Id: I9252a2d56b852f72efcf571bf7d8e70cbb7cd874
2020-08-03 09:34:22 -04:00
Julia Kreger 94576895f7 Clarify module name
Change-Id: I76b2dc05aadb1773a87efaee64bc1184a1246521
2020-06-15 13:14:22 -07:00
Christopher Dearborn 5ec2fd5c0f Update upper constraints URL
Update the upper constraints URL to the new URL [0]

[0] http://lists.openstack.org/pipermail/openstack-discuss/2019-May/006478.html

Change-Id: I1bc8e6ea35909f091e24799b554199da16219e17
2020-05-18 16:38:11 -04:00
Zuul 3e52db0511 Merge "Update python versions for unit tests" 2020-05-06 13:21:28 +00:00
Christopher Dearborn 6fb41d91e9 Update python versions for unit tests
This patch updates py37 to py38 in the default unit test environments.

Change-Id: I776ae5c2ecf2d356959fd8ffbb5296c3b044edaf
2020-05-05 11:02:29 -04:00
Sean McGinnis 1c41f90762
Add py38 package metadata
Now that we are running the Victoria tests that include a
voting py38, we can now add the Python 3.8 metadata to the
package information to reflect that support.

Change-Id: I646696fd782a5dcb6058c636a77524dd324a2fba
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-05-02 07:48:15 -05:00
Christopher Dearborn 338af3a2a0 Update gate jobs for victoria
Update the gate jobs for the victoria release.

Change-Id: I5f28e901f2b05ffe99762433cbfc7942018d8543
2020-04-28 14:51:50 -04:00
Zuul e902ced872 Merge "Remove deprecated change phys disk state results" 2020-04-28 15:55:00 +00:00
Christopher Dearborn fef6ffa789 Remove deprecated change phys disk state results
Remove the deprecated is_reboot_required and commit_required_ids keys
from the results returned by the change_physical_disk_state method.

Change-Id: I0899597d2aa82d8075ce1c6be33968d992b17c84
2020-04-28 09:56:41 -04:00
Sean McGinnis 1f2b0ed263
Use unittest.mock instead of third party mock
Now that we no longer support py27, we can use the standard library
unittest.mock module instead of the third party mock lib.

Change-Id: I1e30d77b7ca98c08ec8c42a18df863b202525418
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-04-28 07:46:23 -05:00
Zuul 504ba41a68 Merge "Drop python 2.7 support and testing" 2020-04-28 00:55:31 +00:00
Rachit7194 05ff2ec7a3 Fix for read-only and unchanged attributes
This patch fixes the set_settings() in which if
any attribute is read-only and unchanged, it will be
considered as readonly attribute and not unchanged attribute.

Change-Id: I530f1c2f1b8d91f996b91fa0a5f0535ddcfa76e6
2020-04-24 16:51:42 -04:00
Christopher Dearborn 702da9c50d Drop python 2.7 support and testing
OpenStack is dropping support for py2.7 in the ussuri cycle.

python-dracclient supports python 3 and is ready to drop 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/691178

Change-Id: I7171e749707430c2c21c81976174e1278679c9c1
2020-04-24 15:13:03 -04:00
Zuul e3ad37aae8 Merge "Add the ability to manage RAID settings" 2020-04-02 23:54:44 +00:00
mpardhi23 c3bb9606aa Add the ability to manage RAID settings
This patch adds the ability to get and set the settings for RAID
settings.

Change-Id: Ifc63ca7d9a30378e75b160739b709a1264ffe550
2020-04-02 15:21:05 -04:00
Zuul d8046a5ed1 Merge "Create doc requirements.txt" 2020-04-01 21:40:03 +00:00
Rachit7194 719a7d81f8 Added ``bus`` attribute to PhysicalDisks for NVMe drives
This patch adds `bus` attribute to PhysicalDisks so clients
can determine the PCI bus ID of NVMe drives.

Change-Id: I9b6b88826b9902a059e1bf537e51d9f97c9389ba
2020-02-14 01:54:22 -05:00
Christopher Dearborn 1b22d279e8 Create doc requirements.txt
This patch creates a new doc/requirements.txt file, moves into it the
required packages from test-requirements.txt, and makes the necessary
changes to the docs build to fix the dependencies.

Change-Id: I6cc9aadc6359fac5b985afb370bd4e33d4749b74
2020-02-06 16:30:24 -05:00
Zuul 44e66936e4 Merge "Switch from oslosphinx to openstackdocstheme" 2020-02-05 21:59:51 +00:00
Zuul 3366b67f5d Merge "Switch to Ussuri jobs" 2020-02-05 21:38:37 +00:00
Rachit7194 01e7ca19ce Fix parsing for virtual disk RAIDStatus attribute
This patch changes the parsing of virtual disks so
that if the DCIM_VirutalDiskView.RAIDStatus attribute
is not present then DCIM_VirutalDiskView.RaidStatus
will be used instead.
This is needed due to the attribute being renamed in
LCC version 4.0.0

Change-Id: I4ca1b7f6df47ce808920b5e24ad0be6b76963917
2020-01-30 00:12:51 -05:00
xuanyandong 8a0c29474a Switch to Ussuri jobs
Change-Id: Ia11a93354a489764ac9e77433bda1987c879a77c
2019-10-25 10:53:24 +08:00
Thomas Bechtold b4c304c5d6 Switch from oslosphinx to openstackdocstheme
That's what the OpenStack community is using today. Also with newer
Sphinx versions, the current approach does no longer build.

Change-Id: Iab9f72bb146e8dd36de7fa868b41801e0c97e2ea
2019-10-07 14:27:41 +02:00
Christopher Dearborn 091b516725 Fixes some issues with zuulv3 changes
This patch fixes some issues with the zuulv3 changes.

Change-Id: I27dfdbe9cb29f12c9ab245258f1afefbb1da6090
2019-10-03 16:01:47 -04:00
Christopher Dearborn 2570a588cd Changes for zuulv3
This patch adds the gate jobs for this repo to this repo.  It also
switches from running py35 unit tests to running py36/37 unit tests.

Change-Id: Iee58de2768962fa27d11b513b1462f2d9c2a277d
2019-10-03 14:35:17 -04:00
Zuul 1a6819f240 Merge "Add Python 3 Train unit tests" 2019-10-02 18:59:50 +00:00