Bug 1258247
Summary: | [Per host CHAP] Modifying CHAP credentials fails with "Could not find resource for relative" | ||
---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Elad <ebenahar> |
Component: | ovirt-engine | Assignee: | Tal Nisan <tnisan> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Elad <ebenahar> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.6.0 | CC: | acanan, amureini, bazulay, gklein, juan.hernandez, lsurette, rbalakri, Rhev-m-bugs, tnisan, yeylon, ykaul |
Target Milestone: | ovirt-3.6.0-rc | ||
Target Release: | 3.6.0 | ||
Hardware: | x86_64 | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | 3.6.0-11 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 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: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1186812 |
Description
Elad
2015-08-30 13:58:59 UTC
Juan, from checking the setup it seems that the relative link to the extensions appears under the host but once you try to GET it it ends with a 404, on master it works correctly, any idea why? This happens because the version of Resteasy included in JBoss EAP doesn't like the fact that the resource implementation for connection extensions contains an incorrect @Path annotation, it must be removed. Tal, please take the bug or assign it to someone in your team, so that it will be backported to the 3.6 branch. I already verified that the proposed fix solves the problem both in the master branch and in the 3.6 branch. By the way, the instructions to reproduce that appear in the description of the bug aren't correct: the XML tag should be "storage_connection_extension", not "storageconnectionextension". I used a the following script to reproduce: ---8<--- #!/bin/sh -ex url="https://engine36.example.com/ovirt-engine/api" user="admin@internal" password="..." curl \ --verbose \ --cacert /etc/pki/ovirt-engine/ca.pem \ --user "${user}:${password}" \ --request POST \ --header "Content-Type: application/xml" \ --header "Accept: application/xml" \ --data ' <storage_connection_extension> <target>iqn.2015-06.com.example:mytarget</target> <username>foo</username> <password>bar</password> </storage_connection_extension> ' \ "${url}/hosts/6bc0bc71-7201-4fcb-84d8-e5db1397144a/storageconnectionextensions" --->8--- I will take it from here, thanks a lot Juan. Adding a storage connection under storageconnectionextensions for a host now works as expected Verified using: rhevm-3.6.0-0.16.master.el6.noarch rhevm-restapi-3.6.0-0.16.master.el6.noarch RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE |