Without pbr, the list has to be manually curated.
There is a setuptools directive that will work and
is used by pbr, but for now use the output with some
modules trimmed.
Change-Id: I772b7bef263639167b3b5c54bc7812e1e8acbaf6
There are some build environments we are being asked
to support that pbr does not. A quick fallback
to handle such environments.
Change-Id: Ie5dac2555c73e80e4cf589932a18f31a530bdf65
When the retry logic was moved to console, it exposed a problem with
the sol handler being called in the midst of transmitting without
clearing the pending payload, resulting in an infinite recursion
of sending the same break.
Resolve by using the common call to sendoutput to have it occur
only after the current head of pending output has been removed.
Change-Id: Iaae86a3bd870c1841530e200ef0f5780a5cc6993
SMM may not allow a new user to access web. Make the user_access
extensible and use that to have web privilege follow the ipmi
privilege.
Change-Id: Ib08e0064b3fb402de833a159c471e28579520a5d
XCC may be transiently unable to provide the UEFI configuration.
Implement a retry if the XCC reports that it does not exist.
Change-Id: If0d5f1136087d60b9f834f7970a59f0af61336c3
In the event of an event that is not modeled by the IPMI sensors,
make sure that at least the health summary is correct. Add in
a known condition that is missed by IPMI sensor modeling for detail
as well.
Change-Id: I207e137c49b4321cf4040188a84de569f55c5707
XCC aggressively ages out a session. Check last
token refresh before deciding a session is viable,
discarding it if it is too old.
Change-Id: I490263edb4b2a8ddbd91d6b236d4a7e689f410c7
When doing a firmware update, a surprise flow leads to a potentially
misleading exception. Change to be more clearly obvious that there
is confusion.
Change-Id: Ib9aa2c0f357daf5af0462062733c2c83c7e25079
M.2 drive firmware is held in a different area in the API. Provide
that data along non-M.2 drives.
Change-Id: I94b85687b2f22bc45d6e37c9da855f7bbd426c2f
The XCC provides more detailed information. Augment the inventory
and firmware commands with this information.
Change-Id: Ib2cedc4176f18d82eea3a2a156ac3c7e5a16f3eb
Oldest XCCs return different data to unsupported APIs, so
modify to support three variants, no return, return 2, and
the latest that require support for the return code.
Change-Id: I8d04cfffa42ff9b70bd4a19e32b353c0c7be5544
CSRF scheme was refactored in recent FPC firmware, support the third
location where the CSRF tokens might be found.
Change-Id: I0a3a9310e399f77d2a40f4b9d815127b9a884d1d
This avoids having to fetch SDR for every since instance when
many instances have common SDR. This improves first-run performance
and reduces memory consumption.
Change-Id: I1283297b8f4635e096af962fa1a49d4c752e80ec
redfish has a concept of 'no news is good news', and firmware is
changing to use that. Support both old and new behavior.
Change-Id: I1b85359ee1236c7ad5f26b67640415839ad1073b
Upcoming XCC firmware update has an additional step to support in
order to successfully perform an update.
Change-Id: I08e1fccd25d40b290bbd818bdb57ef74131e76f7
The get_description call will now help describe the height of current
Lenovo dense portfolio chassis.
Change-Id: I7d7f53b71360f3e2227c08a06cac03ac0d407210
The python3 http support has some differences from python2. Provide
compatibility for both python 2 and python 3.
Change-Id: Idb8d5815b0a540fc7ae4183bd033a2725d889930
The storage functions were not leaving the web
session viable after a time. Correct by having
the storage functions logout on completion.
Change-Id: If0ccc40d0525de4a4f3690be478bd5fb0d7dcd3c
hacking is not capped in g-r and it is in
blacklist for requirement as hacking new version
can break the gate jobs.
Hacking can break gate jobs because of various
reasons:
- There might be new rule addition in hacking
- Some rules becomes default from non-default
- Updates in pycodestyle etc
That was the main reason it was not added in g-r
auto sync also. Most of the project maintained the
compatible and cap the hacking version in
test-requirements.txt and update to new version when
project is ready. Bumping new version might need code
fix also on project side depends on what new in that
version.
If project does not have cap the hacking version then,
there is possibility of gate failure whenever new hacking
version is released by QA team.
Example of such failure in recent release of hacking 1.1.0
- http://lists.openstack.org/pipermail/openstack-dev/2018-May/130282.html
Change-Id: I5f17ec6f67c7e7addfc5b2b2a3f17719402d9c0b
Some adapters do not provide this information explicitly. Handle
this discrepency by defaulting to an empty list.
Change-Id: I72c2e83a78c821e1d790972b253e9d7026a5f7ad
If mark_broken called early, it would incorrectly
fail due to self.socket not existing yet. Address
this by ensuring the attribute exists earlier and
ignoring the pool accounting if socket is not yet
assigned.
Additionally, fix a problem where the callback for
console could happen before console actually had
the ipmi_session attribute.
Change-Id: Idb93ca23d4a43760698bdc55d19418210daa7a62
There exists one set of FPCs and IMMs that share id. Compensate
by using the more direct IMM query first, then falling back
to the fpc id based.
Change-Id: Ibbaea1ffce6e5903523a8467280d168bb080daee
Some devices might experience a problem returning a useful response to
get device id under certain circumstance. Make failures due to
inability to lock into a device id transient rather than persistent.
Change-Id: Ie11155632c1a627a1c3303555a6ba10926c7efb0
Slot events should generically have the Slot/Connector number.
Fix this by clarifying the description and allowing it
for any offset. Additionally, the USB offset defined in
the spec is added.
Change-Id: I80dcb86ae58f47b794eab1571c292708edf83995
For inventory taking, the lack of common names for the same thing
is a problem. Provide a 'name' field to preserve the original
name that may be duplicate, but indicate multiple instances
of the same thing.
Change-Id: I02e9902f4c2d9d07982fd00b9a17617b96deb1ef
Rework the disk inventory to handle both firmware and hardware
style data, at least for XCC generation.
Change-Id: I195ab395b8f1905f548094bc5014200fb3a39e2a
For some settings, it is very helpful to be able to take wildcards.
Honor those and have those potentially replicate across multiple
matches.
Change-Id: I9ebfb2a4686b5f822527be9b05b59ca9df1e3caf
Reset to factory defaults is a relatively common request, provide
an extensible hook. Use the standard redfish method on current systems.
Change-Id: I92a17a7434eeab0d8f455cf609ca2db764fe4a17
The property is ASCII representation of decimal number that would result
from erroneously evaluating BCD as normal. Compensate by working back
to the hexadecimal representation and presenting that as a number.
Change-Id: I47ae2fe484c2eaaa4c103eae81c56f9561ac316c