Bug 1910022 - [RFE] add button to switch the master storage domain role
Summary: [RFE] add button to switch the master storage domain role
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.4.4
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.4.5
: ---
Assignee: shani
QA Contact: sshmulev
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-22 11:15 UTC by Eyal Shenitzky
Modified: 2021-03-18 15:14 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Feature: Add a button to switch the master storage domain role from UI. Reason: The ability to switch the master domain role is currently available only from SDK. Result: The master storage domain role can be switched by pressing the 'Set as master storage domain' button on the Storage Domain sidebar menu.
Clone Of:
Environment:
Last Closed: 2021-03-18 15:14:13 UTC
oVirt Team: Storage
Embargoed:
pm-rhel: planning_ack?
pm-rhel: devel_ack?
pm-rhel: testing_ack?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 113717 0 master MERGED webadmin: add switch master storage domain role to UI 2021-03-02 16:20:39 UTC

Description Eyal Shenitzky 2020-12-22 11:15:33 UTC
Description of problem:

Switching the master storage domain role already supported since bug 1576923
was fixed.

Currently, the only way to use it is via the REST-API - 

POST /ovirt-engine/api/datacenters/123/setmaster

 With a request body like this:

  <action>
    <storage_domain id="456"/>
  </action>

It will be very useful to add this functionality to the UI also.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Shir Fishbain 2021-03-07 17:22:38 UTC
QE doesn't have enough capacity to verify this bug in the 4.4.5 release.

Comment 2 Eyal Shenitzky 2021-03-08 09:17:20 UTC
Shani, can you assist here and verify this bug?
Please add the verification steps if all works well and move to 'verified'.

Comment 3 shani 2021-03-08 11:05:42 UTC
This button was already shown on the recent RHV Demos, and the demo is available here: https://imgur.com/a/XWquCeh
In order to verify, the same conditions for the SDK should apply:
- Both new and exists master domains should be active.
- Currently, the operation doesn't available for gluster domains: https://bugzilla.redhat.com/show_bug.cgi?id=1911597

Is this one enough for validating the operation?

Comment 4 Eyal Shenitzky 2021-03-08 11:53:35 UTC
(In reply to shani from comment #3)
> This button was already shown on the recent RHV Demos, and the demo is
> available here: https://imgur.com/a/XWquCeh
> In order to verify, the same conditions for the SDK should apply:
> - Both new and exists master domains should be active.
> - Currently, the operation doesn't available for gluster domains:
> https://bugzilla.redhat.com/show_bug.cgi?id=1911597
> 
> Is this one enough for validating the operation?

Yes.

Comment 5 Sandro Bonazzola 2021-03-18 15:14:13 UTC
This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021.

Since the problem described in this bug report should be resolved in oVirt 4.4.5 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.