The event messages may convey more
specific information. The generic IPMI may
be too vague to know where to proceed next.
Change-Id: I6e0ce8a34d741fa8d4c6c975212f6845755b4f9b
A session being marked broken may
maintain a hold on logonwaiters.
Clear those out in
the process of marking it broken
Change-Id: I6e1ad7f34cd541863e8663cc6fed66ab90d6bf95
The spec declares that if reading type is not threshold and no thresholds declared,
then '0' means the same as '3'.
Change-Id: I1f02ad27af4f2dad286387ed6aa0bdbcc1475fcf
On v3 systems a job is created to handle the last part of the
firmware update process when using Redfish to update the firmware.
Follow the state of that job for the 'validating' phase.
Change-Id: I0a294b687f4e7665684239239cc2f37ca9c76f0c
It may be redundant with SDR
sensors, but stage it for
easier access should it come up
as a needed approach.
Change-Id: I765bbcbcc6c916da2573008bf53f2e88a2a35baa
Using a trial and error method to determine the format of
AddNewVolWithNaAsync causes issues on some server models. When
repeatedly deleting and creating the RAID array on Cyborg with
CDI3A2U XCC firmware we occasionally see hanged web sessions and
on rare occasions an incorrectly formatted AddNewVolWithNaAsync
call will return success and not create the array.
To reduce the number of AddNewVolWithNaAsync calls we determine
when GetDefaultVolProp requires the extra controller slot number
argument and in this case we directly use the
AddNewVolWithNaAsync call with the extra controller type argument
as these 2 changes go hand in hand in the XCC firmware. This logic
reduces the amount of AddNewVolWithNaAsync calls by one and the
issues described above can no longer be observed.
Change-Id: Icdaa5ef0fb5629ad965e37cbbecdcf892f6e315f
Power policy command has
changed. Settings
are now relegated
to the last two bytes,
with status for the first two.
Change-Id: I6505d99fef357d7e2023b7393ad9ef8920b620c7
The request is sufficiently specific that we
do not care about the larger state of the
resource. Explicitly declare this by
indicating a wildcard etag.
Change-Id: Ie0529ffea63516bf025f4ce146e39df40bcc768d
In the ipmi path, provide a null
dictionary to make the check
viable, and stop assuming that
an unknown system is always purley.
Change-Id: I13f7a9f70d83e5679d90acb83e0df1522f441f41
While it must not be used with redfish,
it is ok to use the fast path even though
setting requires IPMI.
Change-Id: I57de25e0ed0bb125adab42916429eca1e29f2392
There are non-PCI adapters that are modeled as 'adapter',
but without corresponding adapter data.
The inventory data is more limited, but we can at least report current
firmware.
Change-Id: I42d17befe1f95fde3b88304418743f1ac456eedd
Purley has an incomplete redfish implementation for uefi settings,
blacklist it from the new way of pushing settings.
Reading settings seems fine, however.
Change-Id: Ie8baf50e11b05e2cafa644c414970ceeaaa35dbf
While IPMI has well defined
roles and redfish has some well-defined
starter roles, permit management
of users for custom roles.
Change-Id: Id6ff87a8ccbb12491adc37b460765d4eadf2c92d
For newer systems, provide access
to the richer configuration in
the proprietary Lenovo interface.
Fall back for standard for older platforms that still require IPMI
for that configuration.
Change-Id: Id66515f00116ce3c22fcba80c0003cfb9e6b1a5d
Python changed isAlive to is_alive, check and adapt
if the running python killed off the isAlive name.
Change-Id: I0369aab0308d6f2d9d7de489b6e1f9c3f2365204
The XCC conservatively holds back administrator from IPMI
access. If an IPMI request comes in, add
a corresponding redfish to make
the user actually have the requested role.
Change-Id: I4c360388fa487256df382f0f4afc74cd1d1f69a1
The redfish and ipmi standards do not provide well for standardized
user deletion consistently implemented across vendors.
Provide a hook for an OEM handler to go into vendor specific
behavior to provide a more reasonable deletion.
Change-Id: I7131edbb6dbab31d205eef664e68d721f33b4422
Use only one extra keep alive session for keeping the media
mounted. Do a weblogout on that session when the media is
detached.
Change-Id: I3012d263510ba97477542e1325876000f2a52356
Newer variants also require the special treatment,
switch to blocking the only variant that is unsupported.
Change-Id: Ifc679dd294d445f218c0b504d286155ac3e315d6
New proprietary commands are going to be used with a bit more
capability. For now, migrate existing DC energy over to new command
Change-Id: I30a003c4d45f4a0d591c80c55f1c267333f1123c
Trying each API call in any order doesn't work correctly for all
cases since the API call for Whitley incorrectly returns success
on the newest Purley firmware and vice versa. The Whitley volume
properties have some extra keys in them. Use one of the extra keys
to differentiate between Purley and Whitley.
Change-Id: Ia18631ec16107492e8753eb4312c56171ebd33f0