Commit Graph

156 Commits

Author SHA1 Message Date
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
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
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
Rachit7194
8394938d2f Fix for clear_foreign_config() unsupported on some controllers
iDRAC driver fails to clear foreign drives on some controllers
and returns  message_id ``STOR058`` which means controllers does
not support clear_foreign_config operation.

Change-Id: I7df2d30242e7a490dfdce04d7f6ce98c68e9f0ed
2019-09-12 10:52:35 -04:00
Vieri
d70c0939b8 Add Python 3 Train unit tests
This is a mechanically 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

Change-Id: Ic94863fc8a5907fc3874cccb87ed217bcd671252
2019-08-13 06:05:49 +00:00
mpardhi23
ceef78a938 Take Lifecycle Controller out of recovery mode
This patch is to check if a node is in recovery mode and take it
out of recovery mode by setting LifecycleControllerState attribute
value to 'Enabled'.

Modified list_lifecycle_settings() method to use
utils.list_settings() for retrieving lifecycle settings.

Change-Id: I4287f317b2413b70cd00fd4cf8aa69bff6ae5e2f
2019-06-17 04:52:24 -04:00
mpardhi23
bcce3bdc6b Check LCStatus instead of MessageID to determine if an iDRAC is ready
We are currently checking the MessageID to determine if an iDRAC
is ready. This patch is to check the value of LCStatus instead of
MessageID. If the value of LCStatus is "0", then the iDRAC is
considered ready.

Change-Id: I3426c226c4bb3cdcc95b98e9b203f100bb6777d5
2019-05-14 16:43:30 +00:00
Zuul
a34705b1bb Merge "Add realtime support to drive conversion" 2019-05-10 17:40:28 +00:00
Christopher Dearborn
ff312640d8 Add realtime support to drive conversion
This patch updates change_physical_disk_state() so that it returns the
actual results of drive conversion on each controller.  This allows the
caller to use the returned information for realtime drive conversion.

This patch also deprecates returning the is_reboot_required and
commit_required_ids keys in the dictionary.

Change-Id: I10f4a44660e70f0cd8efd0ca9e8e96cb46751a61
2019-05-09 14:38:12 -04:00
Zuul
3d0ac47c3a Merge "clear_foreign_config() succeeds if no foreign disk" 2019-05-02 18:16:45 +00:00
mpardhi23
8eec25c00d clear_foreign_config() succeeds if no foreign disk
When clear_foreign_config() does not detect a foreign disk, instead
of failing and raising an exception, it succeeds and returns a value
which informs the caller nothing further needs to be done.

Change-Id: I4cea95659db11747b1c8708e1dbe7cac53c0eaf9
2019-05-02 04:12:23 -04:00
Zuul
6616c4ebff Merge "Replace git.openstack.org URLs with opendev.org URLs" 2019-04-30 16:28:46 +00:00
jacky06
15fe14b8a0 Replace git.openstack.org URLs with opendev.org URLs
Change-Id: I06dfee32f6cf0a232a49901109b6b794f845c2fd
Closes-Bug: #1826699
2019-04-28 14:20:43 +08:00
Zuul
8fe209b491 Merge "Consider a BOSS card a RAID controller" 2019-04-23 15:28:16 +00:00
Christopher Dearborn
caff41164f Consider a BOSS card a RAID controller
This fixes the is_raid_controller method so that it returns true
for a BOSS controller in addition to normal RAID controllers.

Change-Id: Iedd3179b8b2b6e3815709cc1acfd6a3059e42399
2019-04-23 09:42:58 -04:00
OpenDev Sysadmins
0bde7c125e 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:33:58 +00:00
mpardhi23
6857a6d000 Implement ResetConfig and ClearForeignConfig functionality
For raid deletion, existing delete_virtual_disk functionality is not
freeing up foreign drives and spares, so have added ResetConfig and
ClearForeignConfig functionality for freeing up foreign drives and
spares.

Change-Id: I76390dc4fcf8de2fe5aa3d660f77edcef4a4dec1
2019-04-16 04:38:19 +00:00
Zuul
64ce3e2424 Merge "Filter unprintable ASCII during enumeration" 2019-02-15 22:45:34 +00:00
Christopher Dearborn
95440920fd Filter unprintable ASCII during enumeration
When enumerating DCIM_ControllerView, the DriverVersion field may have
unprintable ASCII characters in it if the server has a BOSS card. In
the past, it was observed that this field could contain unprintable
non-ASCII characters, but unprintable ASCII characters have been
found in it as well.

This fix changes the filtering so that only printable ASCII
characters and the tab character pass the filter.

Closes-Bug: 1816194
Change-Id: If7274fed19fb763aa7c2e4adc3676a4e3c26aee0
2019-02-15 17:18:17 -05:00
Christopher Dearborn
e204c367ab Fix iDRAC reset
The current code waits for 3 consecutive failed pings, each 10 seconds
apart to determine that an iDRAC has gone down during an iDRAC reset.
This is too long for some servers, as the iDRAC may come back up before
the 3rd ping failure.  This results in a failure to detect the iDRAC
going down, which causes a timeout on the reset.

This patch changes the code to wait for only 2 consecutive ping
failures, which is what our highly tested downstream code does.

Closes-Bug: 1816195
Change-Id: Iac21d5eb722834089cbe4a2e7e19370a951951f0
2019-02-15 17:14:29 -05:00
Zuul
45569a427f Merge "Add a real-time option when commit RAID creation/deletion in python-dracclient." 2019-01-31 17:05:07 +00:00
digambar
9069b1e416 Add a real-time option when commit RAID creation/deletion
in python-dracclient.

Change-Id: I3ada0e51235941620c9f27796da9790a182fb0e4
2019-01-31 10:32:00 +00:00
Zuul
82480155bf Merge "Fixes problem in is_boss_controller function" 2019-01-24 12:31:03 +00:00
David Paterson
5ec4f3dc1f Fixes problem in is_boss_controller function
We need to make sure we check model name of controller
starts with "BOSS"

Change-Id: I0b8608bad4ffc1f6c5bcf5ae36d9c0c76478260b
2019-01-21 17:20:01 -06:00
98k
e4bf12d7c5 Add doc/requirements.txt to docs tox environment
Without these dependencies, the docs build does not actually
work.

Change-Id: Iacb3707016077649a48f7640f1ff73b5a2ea1a28
2019-01-09 18:11:05 +00:00
Zuul
cc3f57ac3a Merge "Remove deprecated commit_required parameter from python-dracclient" 2019-01-09 14:19:49 +00:00
Rachit7194
e177d47521 Remove deprecated commit_required parameter from python-dracclient
Change-Id: Ic37afe82d6b98433ee60142ed3ee429c48de727d
2019-01-08 05:12:02 -05:00
Zuul
b0ab6c8da8 Merge "Update hacking version" 2019-01-04 16:09:13 +00:00
ZhijunWei
21d4325b25 Update hacking version
Change-Id: I25ce98508125a5e378ee56c2fa4b3269729193d9
2018-12-28 23:03:46 +08:00
98k
db211b9b65 Change openstack-dev to openstack-discuss
Mailinglists have been updated. Openstack-discuss replaces openstack-dev.

Change-Id: I0d6c03b871014ab3f260fa23e20da8cbfdbdcc75
2018-12-04 07:55:09 +00:00
zhouxinyong
2f52f51b73 Replacing the link in HACKING.rst
Change-Id: Ibd94975d4fd56ca63fa317d847e0822e75e2009f
2018-11-16 03:24:21 +08:00
David Paterson
bef7a0a8ce Add change_physical_disk_state function to client
Build a list of controllers which had disks converted
to or from RAID/JBOD and inidicate if a reboot is required.

The following steps allow the caller to retrieve a list of
controllers that have disks comverted to the specified
RAID status:
- Examine all disks in the system and filter out any that
are not attached to a RAID/BOSS controller.
- Inspect the controllers' disks to see if there are
disks that need to be converted. If a disk is already in
the desired status the disk is ignored, otherwise
it is converted. This function also handles failed or
unknown disk status appropriately and will raise exception(s)
where needed.
- Finally a dict is returned containing a list of controller
IDs for controllers whom had any of their disks converted,
and whether a reboot is required.

Typically the caller would then create a config job for the
list of controllers returned to finalize the RAID
configuration and reboot the node if necessary.

Change-Id: I5229f7699c9ca1d5b72a54b4ddcea6313b440836
Co-Authored-By: Christopher Dearborn <Christopher.Dearborn@dell.com>
2018-10-19 18:43:44 -04:00
Zuul
f823194b2e Merge "Adds ability to reset iDRAC" 2018-10-05 16:26:55 +00:00
Mark Beierl
88023841ef Adds ability to reset iDRAC
Adds new function to reset the iDRAC and wait for it
to become operational again.

Change-Id: Ia8dc0b97e02fc5f2c4d39b6b6d90456c1cfc5b7a
Co-Authored-By: Christopher Dearborn <christopher.dearborn@dell.com>
2018-09-27 20:03:05 -04:00
digambar
1baaadf7f2 Add UUID to System object in python-dracclient
Change-Id: I322d07f425470c585db950ef27cd4b9364eff71c
2018-09-27 05:09:41 -05:00
uday344
3cb32a967a Removed deprecated disk,raid and job state
Change-Id: I63e7bc013386449db8cf50aec1d9e80fe9a2c570
2018-09-11 13:04:12 -05:00
Zuul
63e193a1c5 Merge "Fix CPU count returned by introspection in Ironic iDRAC driver" 2018-09-06 17:17:56 +00:00
jainprasuk1996
92e4ba4c2b Fix CPU count returned by introspection in Ironic iDRAC driver
Change-Id: Id8ff61f7f2fb2c24af64f38f6cf34e5b6d66182c
2018-09-06 06:49:16 -05:00
Mark Beierl
6599e7f814 Define constants for types of reboot job
Adds constants, instead of arbitrary strings, for specifying the type
of reboot job.

Change-Id: I4f404bdb158899b4d0f50f87a120a222f4bd5939
2018-08-23 15:34:57 -04:00
Christopher Dearborn
873a86e9c5 Increase default is ready retries
The current number of is ready retries does not work with DSS9000
hardware.  This change doubles the number of retries, which has proven
to work.

Change-Id: I5651acbb22be1cffb2a7f448db6a6975d27ad963
2018-08-13 16:55:16 -04:00
Zuul
01858e0d41 Merge "Add support for NIC configuration" 2018-08-11 12:57:23 +00:00
Zuul
589ee04c83 Merge "Added is_jbod_capable method to raid resource" 2018-08-11 12:50:53 +00:00
Zuul
ee12ec65e7 Merge "Delete Job API" 2018-08-11 12:50:53 +00:00