Bug 1182774 - [RFE][HC] volumes actions should be restricted when volume is assigned as a storage domain within hyperconverged cluster
Summary: [RFE][HC] volumes actions should be restricted when volume is assigned as a s...
Keywords:
Status: CLOSED DUPLICATE of bug 1620198
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 3.5.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ovirt-4.3.0
: ---
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
: 1183306 (view as bug list)
Depends On: 1183306
Blocks: 1183307 1596034
TreeView+ depends on / blocked
 
Reported: 2015-01-15 21:34 UTC by Paul Cuzner
Modified: 2019-04-28 10:02 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
: 1183306 (view as bug list)
Environment:
Last Closed: 2018-12-10 07:15:28 UTC
oVirt Team: Gluster
Embargoed:
sabose: ovirt-4.3?
rule-engine: planning_ack?
sabose: devel_ack+
sasundar: testing_ack+


Attachments (Terms of Use)

Description Paul Cuzner 2015-01-15 21:34:28 UTC
Description of problem:
In hyperconverged, a gluster volume becomes the storage domain for vm images. However, actions on the volume (stop/remove) are not currently prevented when the volume is actually assigned and in use as a storage domain.

Once a volume has been assigned as a storage domain, it should 'own' the glusterfs volume and the workflow around these tasks should change to be rhev orientated.



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


How reproducible:


Steps to Reproduce:
1. in hyperconverged cluster, create a volume and start it
2. add the volume as a storage domain to rhev
3. go to the volumes tab and issue a stop to confirm that a volume action does not link to actions against the associated object in rhev

Actual results:
stop and remove are allowed underneath an active storage domain.

Expected results:
For a volume that is a storage domain (hyperconverged - or not!), I would expect the following to happen;

* Volume Stop ;
  - include on the "stop volume" modal dialog the fact that this volume is 
    assigned as a storage domain
  - once the admin confirms the stop operation, place the domain into maintenance mode for consistency in the UI
  - once in maintenance mode, the voume stop can be performed

* Volume remove (note a stop must have already been performed)
  - should prompt for confirmation pointing out that the volume is a storage domain
  - if the user confirms removal
    - destroy the associated storage domain
    - issue the vol delete to remove the volume

* Volume start;
  - start the volume 
  - check domain state, and if in maintenance mode issue an activate



Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2015-12-01 15:35:05 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Sahina Bose 2016-03-08 15:41:45 UTC
*** Bug 1183306 has been marked as a duplicate of this bug. ***

Comment 3 Gobinda Das 2018-12-10 07:15:28 UTC

*** This bug has been marked as a duplicate of bug 1620198 ***


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