Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Dell Gen14 support #33

Merged
merged 4 commits into from
Oct 23, 2024
Merged

Adding Dell Gen14 support #33

merged 4 commits into from
Oct 23, 2024

Conversation

ErwanAliasr1
Copy link
Collaborator

As per issues reported in #25 , let's add a specific test suite for C6420.

A TestDell class is created to get a generic setUp().
This class is instanciated by products like c6615.
This will ease adding new Dell servers types for mocking.

Signed-off-by: Erwan Velu <e.velu@criteo.com>
This commit is about adding Dell C6420 as a new supported model.

- Adding oem/power/thermal dumps
- Adding a small quirk for the inlet temp that misses a PhysicalContext.

Signed-off-by: Erwan Velu <e.velu@criteo.com>
If there is no System.Embedded.1 path, let's use the default Attributes path.
This is required to support Gen14 systems.

If no OEM entries are found, let's be fatal and report an issue.

Signed-off-by: Erwan Velu <e.velu@criteo.com>
The current implementation of get_redfish_url() logs an error every time
the get fails.

This was added to prevent silent failures.
Some endpoints must be present to get a proper monitoring.

That said, some calls may depends on the hardware specification meaning
that several calls can be needed to get the proper metrics.
In that case, the first call will complains while the second will work.
This generates very noisy output that makes users feeling something is
wrong while everything works as expected.

This commit is adding a log_failure paramater to get_redfish_url() to
indicate if the call should log a failure or not. This is up to the
caller to determine if this flag is necessary.

The current implementation keeps the same behavior aka logging every error.

This commit silence two calls
- one from HPE to detect if we run into a multinode chassis
- one from Dell where the OEM metrics can be located in two different paths.

Signed-off-by: Erwan Velu <e.velu@criteo.com>
@ErwanAliasr1 ErwanAliasr1 self-assigned this Oct 22, 2024
@ErwanAliasr1 ErwanAliasr1 changed the title Adding Gen14 support Adding Dell Gen14 support Oct 22, 2024
Copy link
Contributor

@anisse anisse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed small typos in the last commit message:
will complains -> will complain
paramater -> parameter

Otherwise LGTM!

@ErwanAliasr1 ErwanAliasr1 merged commit f2fa9c2 into main Oct 23, 2024
4 checks passed
@ErwanAliasr1 ErwanAliasr1 deleted the dell branch October 23, 2024 14:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants