Bug 1265133
Summary: | [Per host CHAP] Updating CHAP credentials via storageconnectionextensions with a target that already exist in the DB fails with 'Internal Engine Error' | ||||||
---|---|---|---|---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Elad <ebenahar> | ||||
Component: | Backend.Core | Assignee: | Tal Nisan <tnisan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Elad <ebenahar> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 3.6.0 | CC: | amureini, bugs | ||||
Target Milestone: | ovirt-3.6.1 | Flags: | amureini:
ovirt-3.6.z?
rule-engine: planning_ack? amureini: devel_ack+ rule-engine: testing_ack+ |
||||
Target Release: | 3.6.1 | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | storage | ||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-12-16 12:17:34 UTC | Type: | Bug | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Attachments: |
|
Description
Elad
2015-09-22 08:08:30 UTC
A connection extension is identified by the combination of host and iqn. Updating either of them doesn't make sense, and should be blocked by a CDA (regardless of whether there's already such a definition or not). In oVirt testing is done on single release by default. Therefore I'm removing the 4.0 flag. If you think this bug must be tested in 4.0 as well, please re-add the flag. Please note we might not have testing resources to handle the 4.0 clone. Updating an existing storage connection under storageconnectionextensions, with a target name which already exists under another connection is blocked on CDA with a correct message: Body: <storage_connection_extension> <target>iqn.2008-05.com.xtremio:xio00153500071-514f0c50023f6c01</target> <username>elad</username> <password>123123123123</password> </storage_connection_extension> Response: <fault> <reason>Operation Failed</reason> <detail> [Cannot edit Storage Connection Extension. Connection extension already exists for the host green-vdsb and the target iqn.2008-05.com.xtremio:xio00153500071-514f0c50023f6c01.] </detail> </fault> Engine.log: 2015-12-02 09:57:01,959 WARN [org.ovirt.engine.core.bll.storage.UpdateStorageServerConnectionExtensionCommand] (ajp-/127.0.0.1:8702-12) [700dd14f] CanDoAction of action 'UpdateStorageServerConnectionExtension' failed for user admin@internal. Reasons: VAR__TYPE__STORAGE__CONNECTION__EXTENSION,VAR__ACTION__UPDATE,ACTION_TYPE_FAILED_STORAGE_CONNECTION_EXTENSION_ALREADY_EXISTS,$target iqn.2008-05.com.xtremio:xio00153500071-514f0c50023f6c01,$vdsName green-vdsb Following comment #3, verified using: rhevm-3.6.1-0.2.el6.noarch rhevm-restapi-3.6.1-0.2.el6.noarch According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release. |