Bug 1379771 - Introduce a 'force' flag for updating a storage server connection
Summary: Introduce a 'force' flag for updating a storage server connection
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.0-alpha
: ---
Assignee: Daniel Erez
QA Contact: Raz Tamir
URL:
Whiteboard:
Depends On:
Blocks: 1386606 1386610
TreeView+ depends on / blocked
 
Reported: 2016-09-27 15:43 UTC by Daniel Erez
Modified: 2017-04-25 01:07 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
This release introduces a 'force' flag, which can be used to update a storage server connection regardless of the associated storage domain status (allowing updates even when the storage domain is not in Maintenance mode). For example: PUT /ovirt-engine/api/storageconnections/123;force=true
Clone Of:
: 1386606 1386610 (view as bug list)
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:
gklein: testing_plan_complete-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2017:0997 0 normal SHIPPED_LIVE Red Hat Virtualization Manager (ovirt-engine) 4.1 GA 2017-04-18 20:11:26 UTC
oVirt gerrit 64531 0 None None None 2016-09-27 16:34:01 UTC

Description Daniel Erez 2016-09-27 15:43:10 UTC
Description of problem:
Updating a storage server connection is applicable only when the corresponded storage domain is in status maintenance. To allow updating regardless to the status, a 'force' option should be introduced.

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

Steps to Reproduce:
1. Find a storage domain in status different than maintenance.
2. Update the corresponded storage server connection using 'force' URL parameter.

Expected results:
Should be updated successfully.

Example:

PUT http://127.0.0.1:8080/ovirt-engine/api/storageconnections/123?force

<storage_connection>
    <address>456</address>
    <port>3260</port>
    <target>789</target>
    <type>iscsi</type>
</storage_connection>

Comment 1 Red Hat Bugzilla Rules Engine 2016-09-27 15:43:17 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 9 Raz Tamir 2016-11-27 13:55:57 UTC
Verified on -  
ovirt-engine-4.1.0-0.0.master.20161126211319.gitae69c34.el7.centos.noarch

Comment 10 Allon Mureinik 2016-11-30 14:24:57 UTC
> PUT http://127.0.0.1:8080/ovirt-engine/api/storageconnections/123?force
Should be ?force=true

Comment 11 Raz Tamir 2016-11-30 16:50:17 UTC
This works with ?force only.
Moving to assign

Comment 12 Raz Tamir 2016-12-07 13:47:54 UTC
Verified on -  
ovirt-engine-4.1.0-0.0.master.20161126211319.gitae69c34.el7.centos.noarch


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