Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1379771 - Introduce a 'force' flag for updating a storage server connection
Introduce a 'force' flag for updating a storage server connection
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.6.7
Unspecified Unspecified
medium Severity medium
: ovirt-4.1.0-alpha
: ---
Assigned To: Daniel Erez
Raz Tamir
: Improvement, ZStream
Depends On:
Blocks: 1386606 1386610
  Show dependency treegraph
 
Reported: 2016-09-27 11:43 EDT by Daniel Erez
Modified: 2017-04-24 21:07 EDT (History)
14 users (show)

See Also:
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
Story Points: ---
Clone Of:
: 1386606 1386610 (view as bug list)
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
gklein: testing_plan_complete-


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 64531 None None None 2016-09-27 12:34 EDT
Red Hat Product Errata RHEA-2017:0997 normal SHIPPED_LIVE Red Hat Virtualization Manager (ovirt-engine) 4.1 GA 2017-04-18 16:11:26 EDT

  None (edit)
Description Daniel Erez 2016-09-27 11:43:10 EDT
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 11:43:17 EDT
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 08:55:57 EST
Verified on -  
ovirt-engine-4.1.0-0.0.master.20161126211319.gitae69c34.el7.centos.noarch
Comment 10 Allon Mureinik 2016-11-30 09:24:57 EST
> PUT http://127.0.0.1:8080/ovirt-engine/api/storageconnections/123?force
Should be ?force=true
Comment 11 Raz Tamir 2016-11-30 11:50:17 EST
This works with ?force only.
Moving to assign
Comment 12 Raz Tamir 2016-12-07 08:47:54 EST
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.