Skip to content

Add support for ReadyToRemove interface#186

Open
abiasojo wants to merge 1 commit intoibm-openbmc:1120from
abiasojo:1120-Readtoremove
Open

Add support for ReadyToRemove interface#186
abiasojo wants to merge 1 commit intoibm-openbmc:1120from
abiasojo:1120-Readtoremove

Conversation

@abiasojo
Copy link
Copy Markdown

@abiasojo abiasojo commented Sep 8, 2025

Add support for ReadyToRemove interface.

@jenkins-openbmc-ibm
Copy link
Copy Markdown

Can one of the admins verify this patch?

Copy link
Copy Markdown
Contributor

@jeaaustx jeaaustx left a comment

Choose a reason for hiding this comment

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

Please add detail to PR description and to the commit message itself.

For upstream will probably need commit message to describe why this option is being added and what it would be used for.

@@ -0,0 +1,9 @@
description: >
An indication of whether the inventory is prepared by the system for
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.

nit: Seems like more common term would be "inventory item".

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I have updated this.

@@ -0,0 +1,9 @@
description: >
An indication of whether the inventory is prepared by the system for
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.

nit: Interface description seems like it is usually termed as "Implement to..."
(this description reads more like the actual property description).

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

I have updated this

- name: ReadyToRemove
type: boolean
description: >
An indication of whether the item is prepared by the system for
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.

Question: Is this readonly? If not, then I'm wondering about this description. If the property is set to false versus set to true by something?

(The description as written seems to be about what a query of this property would indicate.)

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.

It should be ReadWrite

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Noted

@gtmills
Copy link
Copy Markdown
Contributor

gtmills commented Sep 8, 2025

add to approvelist

Copy link
Copy Markdown
Contributor

@baemyung baemyung left a comment

Choose a reason for hiding this comment

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

It looks good to me

@gtmills
Copy link
Copy Markdown
Contributor

gtmills commented Sep 11, 2025

Let's give this a week or two upstream before we take it downstream

@baemyung
Copy link
Copy Markdown
Contributor

baemyung commented Oct 1, 2025

Please add

  1. Change-Id to the commit msg to indicate the upstream commit.
    Change-Id: I5c50f8792d968e3427e64ebf99a2fc5f32aaa87a

--
Upstream: https://gerrit.openbmc.org/c/openbmc/phosphor-dbus-interfaces/+/83617

@sunharis
Copy link
Copy Markdown

sunharis commented Oct 8, 2025

I would suggest to wait on this until we conclude the Concurrent Maintenance backend design. Is there anything else at bmcweb which needs this dbus interface early?

This new D-Bus interface is implemented to indicate whether the item is
prepared by the system for removal. Setting the value to true shall
cause the service to perform appropriate actions to quiesce the item.

ReadyToRemove is already on the Redfish Drive and PCIeDevice resource.
ReadyToRemove was added to Redfish Manager, Redfish Assembly, and
Redfish Chassis in 2025.3. [1]

IBM plans to use ReadyToRemove for redundant BMCs. This ReadyToRemove is
part of IBM's Concurrent maintenance

```
[1]https://www.dmtf.org/sites/default/files/standards/documents/DSP0268_2025.3.pdf
```

Change-Id: I5c50f8792d968e3427e64ebf99a2fc5f32aaa87a
Signed-off-by: Abiola Asojo <abiola.asojo@ibm.com>
@gtmills
Copy link
Copy Markdown
Contributor

gtmills commented Nov 6, 2025

I would suggest to wait on this until we conclude the Concurrent Maintenance backend design. Is there anything else at bmcweb which needs this dbus interface early?

The bmcweb work could start as soon as this interface goes in, but I would suggest we keep going upstream with it.

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.

6 participants