Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgr/dashboard: Add details to the modal which displays the `safe-to-d… #47849

Merged
merged 1 commit into from Sep 16, 2022

Conversation

torchiaf
Copy link
Contributor

@torchiaf torchiaf commented Aug 29, 2022

…estroy` result

  • Add warnings type information in the case of the OSDs are not safe to destroy
  • Add info type information in the case of the OSDs are safe to destroy

Fixes: https://tracker.ceph.com/issues/37327
Signed-off-by: Francesco Torchia francesco.torchia@suse.com

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@torchiaf torchiaf requested a review from a team as a code owner August 29, 2022 10:42
@torchiaf torchiaf requested review from aaSharma14 and bryanmontalvan and removed request for a team August 29, 2022 10:42
@votdev votdev self-requested a review August 31, 2022 07:29
@votdev votdev added this to In progress in Dashboard via automation Aug 31, 2022
@votdev votdev moved this from In progress to Review in progress in Dashboard Aug 31, 2022
@torchiaf
Copy link
Contributor Author

Below, a demo showing all the possible warnings messages for different OSDs:

image

@torchiaf
Copy link
Contributor Author

Below, the info message in case of the destroy action is safe:

image

@torchiaf
Copy link
Contributor Author

The CI steps which are failed are not apparently related to the changes included in this PR.

@torchiaf torchiaf force-pushed the fix/37327 branch 2 times, most recently from 3cd2b47 to e9bbe2b Compare September 1, 2022 13:48
@votdev
Copy link
Member

votdev commented Sep 8, 2022

jenkins retest this please

Dashboard automation moved this from Review in progress to Reviewer approved Sep 8, 2022
@torchiaf torchiaf force-pushed the fix/37327 branch 2 times, most recently from 9ae6416 to 85990a2 Compare September 12, 2022 07:37
@votdev
Copy link
Member

votdev commented Sep 12, 2022

jenkins retest this please

Copy link
Member

@nizamial09 nizamial09 left a comment

Choose a reason for hiding this comment

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

Thank you! @torchiaf LGTM! just a minor ask.

{{ actionDescription }}! {{ message }}</cd-alert-panel>
class="danger mb-3">
<cd-alert-panel type="warning">
<ng-container i18n>
Copy link
Member

Choose a reason for hiding this comment

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

ng-container is mostly used to hold the structural directives, but here a simple span will suffice, right?

…estroy` result

- Add warnings type information in the case of the OSDs are not safe to destroy
- Add info type information in the case of the OSDs are safe to destroy

Fixes: https://tracker.ceph.com/issues/37327
Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
@nizamial09 nizamial09 merged commit e4638a1 into ceph:main Sep 16, 2022
Dashboard automation moved this from Reviewer approved to Done Sep 16, 2022
@nizamial09
Copy link
Member

Thanks @torchiaf ! I added the backport for pacific and quincy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Dashboard
  
Done
3 participants