Jarrod Johnson
8f94185418
Implement normalized bmc settings for XCC3
...
Provide a measure of compatibility with previous generations.
Change-Id: I37137c3c61bfa85d1ef259574a2e1831e4e7547b
2024-10-25 17:17:31 -04:00
Zuul
46ce42e081
Merge "Ignore exhaust when looking for inlet"
2024-10-25 15:54:10 +00:00
Jarrod Johnson
7e643ce3b5
Ignore exhaust when looking for inlet
...
External environment is vague, but 'exhaust' in the name
is a pretty safe disqualifier.
Change-Id: I4395b89d48ea25f72abe6136856401598d8346f7
2024-10-25 11:41:12 -04:00
Jarrod Johnson
b7349965af
Fix omitted comma in replace call
...
Change-Id: I8ba08216aa198cefa2b0f8c95d64d7caa6cc4067
2024-10-16 12:12:48 -04:00
Jarrod Johnson
3f16d45c1e
Move normalized CPU and power to OEM
...
This permits OEM extensions, and use this to provide data for
XCC3 accurately.
Change-Id: I67e31839810ddf6740a99cf118e31287ec7fa2ba
2024-09-27 12:28:10 -04:00
Jarrod Johnson
764524cb33
Fix returning too much data when asked only for names
...
Change-Id: Ibff814f76695676467ceda36f906ba5ed2f7f1fc
2024-09-27 11:49:51 -04:00
Jarrod Johnson
cb5146c736
Repair session token implicitly on expiration in OEM
...
If the token is invalidated, retry to get a new token and
attempt to transparently continue.
Change-Id: Ib0d963010a0d464b46cf97f12267909b7caa8dc4
2024-09-13 09:08:57 -04:00
Jarrod Johnson
61f463885f
Fix IPMI identify on/off for IMM/XCC systems
...
Change-Id: I0fff2fe94d194e44f75dd09f73a6a326f127f8c8
2024-09-12 15:37:40 -04:00
Jarrod Johnson
3278c762f9
Add RDOC support for XCC3
...
Change-Id: Iae47c220a595b2636986cf8dc00b31052d1b0b23
2024-09-12 15:22:26 -04:00
Jarrod Johnson
e09da05a45
Fix issues with OEM retrieval
...
Also small performance boost to XCC3 retrieval.
Change-Id: I186c2f87f4dbc213b4a56de3b18de5afcf62f08a
2024-09-12 14:19:27 -04:00
Jarrod Johnson
2ee10df146
Attempt generic height information extraction
...
Change-Id: I751f4bbe00c0aaa9d4dd57e33c1343e883807167
2024-09-12 11:28:17 -04:00
Jarrod Johnson
36c6285715
Add expanded/emulated expanded redfish support
...
This allows OEM to opt in to expanding a single
request to incur fewer requests.
Change-Id: I417492e68682f66afd992e40fa780e5592000d75
2024-09-12 11:04:18 -04:00
Jarrod Johnson
4dd8b6403b
Negotiate a redfish session, if possible
...
Particularly newer redfish implementations can
be much quicker if the user/password is omitted
Change-Id: Idd964dd6393d91196dce23a75a91c600e9f9d273
2024-09-11 16:52:47 -04:00
Jarrod Johnson
ff04e4fa32
Add blink support to Lenovo "IPMI" support
...
Hop over to redfish to implement blink support
in the identify LED.
Change-Id: I9f304c3a135b7b00c6e20167940f86f5f375b5ad
2024-09-11 09:12:14 -04:00
Jarrod Johnson
b6776ce2ee
Rework get description to enable it to work fer XCC3
...
Change-Id: I3c1fdb74bd68571e81963037bc339bff8228ccea
2024-09-09 07:44:00 -04:00
Jarrod Johnson
74b2e6da48
Modify build for snap versions
...
Snapshots need to be treated special by various distributions
Change-Id: I158cb713548920c5a45790bce00c97f2e00a8f32
2024-09-04 12:22:27 -04:00
Zuul
72c90d65e1
Merge "Amend deb package build to avoid extranoeus content"
2024-09-04 14:41:19 +00:00
Jarrod Johnson
6c9a64dd1f
Amend deb package build to avoid extranoeus content
...
Change-Id: I6619e057874ee84d42bac6d35456278ae90f16f2
2024-09-04 10:31:14 -04:00
Jarrod Johnson
9e47a44b93
Use approved method to determine XCC vintage
...
Use the model on the Manager instance to determine XCC 3 vs. prior generations.
Change-Id: I2c192d6d1842af9a512396769e56a42e1cef14a7
2024-08-30 13:37:15 -04:00
Jarrod Johnson
505a1d3d07
Implement fixup of firmware inventory
...
Redfish raw firmware inventory is given a facelift for
the sake of being more user friendly.
Change-Id: If6e1fa326c8b3d43c9e49e67b062c9b544f2f010
2024-08-30 11:21:31 -04:00
Jarrod Johnson
8045c2517f
Prefer XCC3 detection over XCC2
...
XCC3 may get superset of XCC2, best to assume XCC3 for unique setting.
Change-Id: Ia4154c3452f606e54d047e8816345ee71be383af
2024-08-29 15:56:48 -04:00
Jarrod Johnson
20a8dc83e9
Fix str concatenation on redfish spec violations
...
Change-Id: Iaa013e7df8538a5d3b26dfce3e70192e3b48d59e
2024-08-29 13:52:34 -04:00
Jarrod Johnson
4e166bd246
Refactor redfish settings and leverage in XCC3
...
XCC3 has some OEM settings managed in a redfish
settings registry sort of way. Refactor
to pull out generic registry handling and use it
with XCC3 settings as well as UEFI.
Manifest 'XCC' settings with 'XCC.' prefix, imitating the 'IMM.' of
the past. Since OData forbids '.', this means XCC. cannot
conflict with hypothetical BIOS names that may conflict.
Change-Id: Idb9e5ecffdc0d27f20ae070acdc3cd78658a0955
2024-08-29 10:58:00 -04:00
Jarrod Johnson
a8a03632a0
Wire up redfish for getting extended BMC settings
...
In recent XCC incarnations, this is possible over non-IPMI,
so wire it up to be more equivalent.
Change-Id: Ie13d6faeee27639df67352568046810e0615fcb6
2024-08-27 10:03:32 -04:00
Jarrod Johnson
5b47863592
Add generic redfish license handling
...
Use redfish standard mechanism for generic and
starting point for redfish OEM support.
Change-Id: I6ae8939c5b8f3a15a9b941a5a81f60438e7aa005
2024-08-27 09:32:51 -04:00
Jarrod Johnson
5756a1e377
Extend MAC collection in redfish
...
There is yet another flavor of MAC address organization.
So make sure we provide chances to hit it at least three of
the various ways redfish may choose to manifest mac addresses.
There are other paths to the data as well, but hopefully an
implementation at least implements one of the three.
Change-Id: Iaba947e2e16f14b6e7a94018beac046efd73bc25
2024-08-26 16:22:08 -04:00
Jarrod Johnson
1c4e75a0af
Normalize UUID format
...
Some implementations include hyphen, others don't. Case selection
is also variable.
Change-Id: Ic3d8c411722732172f782a0a81f8f5bbbdd54525
2024-08-26 13:54:24 -04:00
Jarrod Johnson
939e976791
Add multipart update support to redfish updates
...
Change-Id: I706087c6aaac0071b91de3747930523a9896bf19
2024-08-26 13:07:05 -04:00
Jarrod Johnson
5736dea914
Add BMC reset to redfish implementation
...
Change-Id: Ib2024871fa829659429d7e44b6860c62a70826de
2024-08-26 11:37:56 -04:00
Jarrod Johnson
5c1a3634ef
Fix the extended bmc configuration
...
Change-Id: I118520280dd453ee1c8e8cef806f4fab0783746c
2024-08-26 09:59:46 -04:00
Jarrod Johnson
e430b21685
Exposed advanced, extended BMC configuration
...
Change-Id: Ice54d8dc65cc7f40aebd1f7ec3c3af44d17ec540
2024-08-26 09:11:22 -04:00
Jarrod Johnson
ecd3d5cadc
Restore UEFI configuration to IMM systems
...
The work to migrate newer systems to redfish unfortunately
broke ability to work with older IMM based systems.
Use the lack of redfish in the class to indicate that the system
predates this and should use IPMI.
Change-Id: I8ca2782e81984a86ddb5f2ded358bbfad07be46d
2024-06-24 09:04:17 -04:00
Jarrod Johnson
3673666035
Update for modern Debian/Ubuntu build
...
Change-Id: Ia22d711512137fcaf30174b0e899d6ce7d937fec
2024-06-11 13:26:47 -04:00
Jarrod Johnson
ea0bfc99c9
Add FAPM meters for better quality power data
...
Change-Id: I5e716badabdf5bdaa04666ddcd55f1d3c6d2a789
2024-06-11 10:58:20 -04:00
Dmitry Tantsur
9b05952343
Remove unused test-requirements
...
Change-Id: I7ee6b6ea25f4f7de9801cbbb15efc0040f630db1
2024-04-21 13:18:28 +02:00
Jarrod Johnson
ed94d36d18
Handle out of order setting instances
...
The data from the xClarity controller may not be sorted,
apply numeric sort on the way out.
Change-Id: Icd22a140bf6b558703b1006a41047ffbd6a1e3d8
2024-04-09 09:46:24 -04:00
Jarrod Johnson
584c109763
Fix handling of empty bays during cap manipulation
...
Change-Id: Idb57183dca12e0e58f61469c185cba841f2eca08
2024-03-20 08:26:44 -04:00
Jarrod Johnson
d70f660e08
Fix SMM height
...
SMM height failed to trim the leading 4 bits
Change-Id: I180a2919002b4cd600f99caa527bdc7ebc43244f
2024-03-05 16:32:06 -05:00
Jarrod Johnson
e3f187d185
Extent redfish inventory enumeration of XCC
...
Have the inventory explicitly cover the memory and processors.
Change-Id: I9fcb85f21a460c45285ec80c06093a077751a3c1
2024-03-01 14:09:51 -05:00
Jarrod Johnson
cbe0896f00
No longer consider unrecognized states as 'warning'
...
The precedent seems to be to ignore unknown states, so
follow that.
Change-Id: Ibafc28a1695276455401334aeca8e4f0dc65446b
2024-02-27 11:20:38 -05:00
Jarrod Johnson
da7796b518
Catch more XCC variants
...
Some XCCs rename a property to a different name.
Change-Id: I2ad278c5a99477d0aab01f4e71862196f96998fc
2024-02-12 08:46:11 -05:00
Jarrod Johnson
30d5545230
More gracefully fail on normalized readings
...
If something in IPMI doesn't follow DCMI close enough,
provide a more graceful error.
Similarly, if a redfish implementation is missing EnvironmentMetrics
or that EnvironmentMetrics is incomplete, handle more gracefully.
Change-Id: I708841306e68a88271d533061f6ca5a687f904b5
2024-01-24 14:43:12 -05:00
Vlad Spoiala1
4d6921caba
Add retry mechanism to FW update.
...
On v3 systems we sometimes get an empty status when monitoring the
status of the BMC FW upgrade. This happens for 1 to 3 seconds when
transitioning from the "apply" phase to the "validating" phase.
Add a retry mechanism so we don't incorrectly exit on the first empty
status.
Change-Id: I02c653f36d09087cdf76fb7d7dee71917a128c51
2024-01-22 18:49:32 +02:00
Vlad Spoiala1
3f3853023f
Add prefix to 7mm disks.
...
Change-Id: I0c33944a92de87f32baed97dbb1789f86b1cd0a3
2023-11-16 16:30:32 +02:00
Zuul
e18605626b
Merge "Do not presume messages in result"
2023-11-14 16:54:53 +00:00
Jarrod Johnson
a93437c7e4
Do not presume messages in result
...
Sometimes we may have no messages array,
and this check for a validating job fails.
Fix this by skipping the next task if no pointer to next
task can be found.
Change-Id: I8d8e8ad6bfe9b70e7643ae84da9f3c7779eda55e
2023-11-14 11:37:26 -05:00
Vlad Spoiala1
a815d9da4c
Fix total and free capacity calculations.
...
Change-Id: I8cd3d15480a49e7bcdcb8a08cc82f6af637c7bef
2023-11-14 18:11:41 +02:00
Jarrod Johnson
b91ea93fe7
Have average CPU handle totally missing sensors
...
If not even unavailable sensors are found, create
a new sensor to hold the unavailable data.
Change-Id: I2865ff6b407955cb69655e1ae80da22c31bb6d5a
2023-10-26 11:28:43 -04:00
Jarrod Johnson
0335e90e4c
Handle missing sensors
...
For scenarios where device is missing inlet or
cpu sensors, more gracefuly report the result.
Change-Id: I810d7f6733a2150ee89560743503148f660caaf3
2023-10-26 10:52:19 -04:00
Jarrod Johnson
3d4c5c7811
Add normalized temperature/power data for redfish
...
As has been done for IPMI, create
hooks for popular sensor metrics that users want
normalized across distinct models.
This allows a client to request pertinent data without having to
keep track of inconsistent sensor names across different systems.
Change-Id: Idd1ac8222231f1a786a4f4af148e3fc3d1f6c89b
2023-10-26 08:24:56 -04:00