Carlos García Ibáñez created JCLOUDS-441:
--------------------------------------------
Summary: Error when requesting the list of attached volumes
(Abiquo REST API 2.6)
Key: JCLOUDS-441
URL: https://issues.apache.org/jira/browse/JCLOUDS-441
Project: jclouds
Issue Type: Bug
Components: jclouds-labs
Affects Versions: 1.7.0
Reporter: Carlos García Ibáñez
With version 2.6 of the Abiquo REST API, an error is raised when the list of
volumes attached to a Virtual Machine is requested via the
VirtualMachine.listAttachedVolumes() method. The response obtained is 406: Not
Acceptable.
Capturing the network traffic we've noticed that the request sent specifies an
Accept header as follows :"application/vnd.abiquo.iscsivolumes+xml;version=2.6".
We've also checked that the behaviour is the expected when setting this header
to "application/vnd.abiquo.volumes+xml;version=2.6"
The change seems easy, but I'm concerned about backwards compatibility for
older versions of the Abiquo API.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)