Skip to content

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

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

EmilienM merged 1 commit into
gophercloud:masterfrom
dtantsur:baremetal-maintenance

Conversation

@dtantsur

Copy link
Copy Markdown
Contributor

@dtantsur dtantsur mentioned this pull request Apr 20, 2022
39 of 61 tasks
@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

coveralls commented Apr 20, 2022 •

Copy link
Copy Markdown

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