Skip to content

baremetal: add API to set maintenance and maintenance reason#2384

Merged
EmilienM merged 1 commit intogophercloud:masterfrom
dtantsur:baremetal-maintenance
Apr 21, 2022
Merged

baremetal: add API to set maintenance and maintenance reason#2384
EmilienM merged 1 commit intogophercloud:masterfrom
dtantsur:baremetal-maintenance

Conversation

@dtantsur
Copy link
Copy Markdown
Contributor

@EmilienM
Copy link
Copy Markdown
Contributor

@dtantsur thanks for your PR :-)
Would you be able to add tests (fixtures and acceptance) if possible?

@dtantsur
Copy link
Copy Markdown
Contributor Author

Yep, working on exactly that (struggling to even compile anything locally, meh)

@dtantsur dtantsur force-pushed the baremetal-maintenance branch from a965aec to 558cdc6 Compare April 20, 2022 14:54
@dtantsur
Copy link
Copy Markdown
Contributor Author

Okay, this has acceptance tests (that I couldn't verify locally, so may not even compile). I'll look into fixtures tomorrow, need to understand what they are.

@dtantsur dtantsur force-pushed the baremetal-maintenance branch from 558cdc6 to a21e54c Compare April 20, 2022 15:52
@coveralls
Copy link
Copy Markdown

coveralls commented Apr 20, 2022

Coverage Status

Coverage increased (+0.002%) to 79.939% when pulling a2b4532 on dtantsur:baremetal-maintenance into 614ab7b on gophercloud:master.

For very historical reasons, Ironic requires a special API to set them.
While the maintenance itself can be set directly (for even more
historical reasons), the reason cannot.
@dtantsur dtantsur force-pushed the baremetal-maintenance branch from a21e54c to a2b4532 Compare April 21, 2022 09:41
@EmilienM
Copy link
Copy Markdown
Contributor

LGTM

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.

Missing maintenance API for baremetal Node

3 participants