Skip to content

https://redhat.atlassian.net/browse/ACM-31312 CIM conversion#8760

Open
oafischer wants to merge 3 commits into2.17_stagefrom
of-31312
Open

https://redhat.atlassian.net/browse/ACM-31312 CIM conversion#8760
oafischer wants to merge 3 commits into2.17_stagefrom
of-31312

Conversation

@oafischer
Copy link
Copy Markdown
Contributor

2.17, 2.16, 2.15, 2.14 (?)

@dockerymick dockerymick self-requested a review April 22, 2026 15:36
Copy link
Copy Markdown
Contributor

@dockerymick dockerymick left a comment

Choose a reason for hiding this comment

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

Made some suggestions, thanks for your effort and patience!

:_mod-docs-content-type:

[#auto-add-hosts-cli]
= Automatically Adding bare metal hosts to the host inventory by using the command line interface
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
= Automatically Adding bare metal hosts to the host inventory by using the command line interface
= Automatically adding bare metal hosts to the host inventory by using the command line interface

@@ -0,0 +1,27 @@
:_mod-docs-content-type:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
:_mod-docs-content-type:
:_mod-docs-content-type: PROCEDURE

Comment on lines +17 to +27
. Add the following annotation to the `BareMetalHost` resource of the node that you want to delete:
+
----
bmac.agent-install.openshift.io/remove-agent-and-node-on-delete: true
----

. Delete the `BareMetalHost` resource by running the following command. Replace `<bmh-name>` with the name of your `BareMetalHost`:
+
----
oc delete bmh <bmh-name>
----
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Since it's a short file, figured i share the suggestion lol. If the main focus is script changes, please ignore this suggestion

Suggested change
. Add the following annotation to the `BareMetalHost` resource of the node that you want to delete:
+
----
bmac.agent-install.openshift.io/remove-agent-and-node-on-delete: true
----
. Delete the `BareMetalHost` resource by running the following command. Replace `<bmh-name>` with the name of your `BareMetalHost`:
+
----
oc delete bmh <bmh-name>
----
. Add the following annotation to the `BareMetalHost` resource of the node that you want to delete:
+
[source,bash]
----
bmac.agent-install.openshift.io/remove-agent-and-node-on-delete: true
----
. Delete the `BareMetalHost` resource by running the following command. Replace `<bmh-name>` with the name of your `BareMetalHost`:
+
[source,bash]
----
oc delete bmh <bmh-name>
----

[#remove-nodes-bm]
= Removing managed cluster nodes with a bare metal host

You can remove managed cluster nodes from a managed cluster. Make sure to not delete `NMStateConfig` resources when you delete the agent and bare metal host.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
You can remove managed cluster nodes from a managed cluster. Make sure to not delete `NMStateConfig` resources when you delete the agent and bare metal host.
[role="_abstract"]
You can remove managed cluster nodes from a managed cluster. Make sure to not delete `NMStateConfig` resources when you delete the agent and bare metal host.

[#remove-nodes-wo-bm]
= Removing managed cluster nodes without a bare metal host

You can remove managed cluster nodes from a managed cluster. Make sure to not delete `NMStateConfig` resources when you delete the agent and bare metal host.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Suggested change
You can remove managed cluster nodes from a managed cluster. Make sure to not delete `NMStateConfig` resources when you delete the agent and bare metal host.
[role="_abstract"]
You can remove managed cluster nodes from a managed cluster. Make sure to not delete `NMStateConfig` resources when you delete the agent and bare metal host.

@openshift-ci
Copy link
Copy Markdown

openshift-ci Bot commented Apr 24, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: dockerymick, oafischer

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants