Skip to content

Conversation

@cardoe
Copy link
Contributor

@cardoe cardoe commented Nov 17, 2025

For devices using the fake hardware device type, skip over inspection and just set the resource-class to fakehw. Added additional robustness checks to other states to avoid failing on invalid conditions.

@cardoe cardoe requested a review from a team November 17, 2025 18:31
@cardoe cardoe marked this pull request as ready for review November 17, 2025 18:31
@cardoe cardoe enabled auto-merge November 17, 2025 18:32
For devices using the fake hardware device type, skip over inspection
and just set the resource-class to fakehw. Added additional robustness
checks to other states to avoid failing on invalid conditions.
- name: server-set-inspect-agent
# change the server to agent based inspection
depends: "inspect-server-redfish.Succeeded || inspect-server-redfish.Omitted"
depends: "server-start-state.Succeeded && (inspect-server-redfish.Succeeded || inspect-server-redfish.Omitted)"
Copy link
Contributor

@andrrax andrrax Nov 17, 2025

Choose a reason for hiding this comment

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

wouldn't this run if inspect-server-redfish (a just completed previous redfish inpsection) completed successfully? Is that really what is intended? I would expect an agent based inspection to only run if redfish/idrac-redfish isn't possible.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

You're right that's the end goal. But right now due to some hardware constraints and all the data we want not yet being in the redfish inspection data this is a compromise to get us to use redfish as much as possible.

@cardoe cardoe requested a review from a team November 17, 2025 19:24
@cardoe cardoe added this pull request to the merge queue Nov 17, 2025
Merged via the queue into main with commit 5ad1183 Nov 17, 2025
17 checks passed
@cardoe cardoe deleted the inspect-fake branch November 17, 2025 19:32
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.

4 participants