--Apple-Mail=_33DFF62E-3CCC-498F-8E1E-FD21397C6DBD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset=us-ascii
I'm trying to attach a SAN domain to data center.
It's an old domain that is re-attached. Import works fine.
But doing the attachement failed, either throug the UI or REST API call.
The log of the api calls are :
POST =
/api/datacenters/92fbe5d6-2920-401d-b69b-ad4568e4f407/storagedomains =
HTTP/1.1
Host: example.com:1443
Authorization: XXX
User-Agent: PycURL/7.43.0 libcurl/7.46.0 OpenSSL/1.0.2e zlib/1.2.8
Cookie: XXXX
Version: 3
Content-Type: application/xml
Accept: application/xml
Filter: False
Prefer: persistent-auth
Content-Length: 60
<storage_domain id=3D"a8dedf2c-5574-48e9-a7fb-e343dc0c6b4d"/>
*
upload completely sent off: 60 out of 60 bytes
* ?
< HTTP/1.1 400 Bad Request
< Date: Thu, 14 Apr 2016 16:31:48 GMT
< Server: Apache
< Content-Type: application/xml
< Content-Length: 135
< JSESSIONID: R4TTWw65M5TIhbVJo8VBuOOV
< Connection: close
<=20
* ?
< <?xml version=3D"1.0" encoding=3D"UTF-8"
standalone=3D"yes"?>
< <fault>
< <reason>Operation Failed</reason>
< <detail>[]</detail>
< </fault>
There is nothing in the engine.log :
2016-04-14 18:00:57,831 ERROR =
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] =
(default task-23) [] Correlation ID: 59497e82, Job ID: =
84e0e22c-bb28-434b-a952-73f0e2c4cfaa, Call Stack: null, Custom Event ID: =
-1, Message: Failed to attach Storage Domain vmsys01 to Data Center =
en01. (User: FA4@apachesso)
Where can I find informations about that ?
--Apple-Mail=_33DFF62E-3CCC-498F-8E1E-FD21397C6DBD
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=us-ascii
<html><head><meta http-equiv=3D"Content-Type"
content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">I'm trying to attach a SAN domain to data center.<div =
class=3D""><br class=3D""></div><div
class=3D"">It's an old domain that =
is re-attached. Import works fine.</div><div class=3D""><br =
class=3D""></div><div class=3D"">But doing the
attachement failed, =
either throug the UI or REST API call.</div><div class=3D""><br
=
class=3D""></div><div class=3D"">The log of the api
calls are =
:</div><div class=3D""><br
class=3D""></div><div class=3D""><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">> POST =
/api/datacenters/92fbe5d6-2920-401d-b69b-ad4568e4f407/storagedomains =
HTTP/1.1</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;" class=3D"">> Host: <a
href=3D"http://example.com" =
class=3D"">example.com</a>:1443</div><div
style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;" class=3D"">> Authorization:
=
XXX</div><div style=3D"margin: 0px; font-size: 11px; font-family: =
Menlo;" class=3D"">> User-Agent: PycURL/7.43.0 libcurl/7.46.0 =
OpenSSL/1.0.2e zlib/1.2.8</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo;" class=3D"">> Cookie:
XXXX</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">> Version: 3</div><div style=3D"margin: 0px;
font-size: =
11px; font-family: Menlo;" class=3D"">> Content-Type: =
application/xml</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;" class=3D"">> Accept:
application/xml</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">> Filter: False</div><div style=3D"margin:
0px; font-size: =
11px; font-family: Menlo;" class=3D"">> Prefer: =
persistent-auth</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;" class=3D"">> Content-Length:
60</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">> <storage_domain =
id=3D"a8dedf2c-5574-48e9-a7fb-e343dc0c6b4d"/></div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;"
class=3D"">* =
upload completely sent off: 60 out of 60 bytes</div><div style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;" class=3D"">*
?</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">< HTTP/1.1 400 Bad Request</div><div
style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;" class=3D"">< Date: Thu, 14
Apr =
2016 16:31:48 GMT</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;" class=3D"">< Server:
Apache</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">< Content-Type: application/xml</div><div
style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;" class=3D"">< =
Content-Length: 135</div><div style=3D"margin: 0px; font-size: 11px; =
font-family: Menlo;" class=3D"">< JSESSIONID: =
R4TTWw65M5TIhbVJo8VBuOOV</div><div style=3D"margin: 0px; font-size: =
11px; font-family: Menlo;" class=3D"">< Connection:
close</div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">< </div><div style=3D"margin: 0px;
font-size: 11px; =
font-family: Menlo;" class=3D"">* ?</div><div
style=3D"margin: 0px; =
font-size: 11px; font-family: Menlo;" class=3D"">< <?xml
=
version=3D"1.0" encoding=3D"UTF-8"
standalone=3D"yes"?></div><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">< <fault></div><div
style=3D"margin: 0px; font-size: =
11px; font-family: Menlo;" class=3D"">< =
<reason>Operation Failed</reason></div><div
style=3D"margin: =
0px; font-size: 11px; font-family: Menlo;" class=3D""><
=
<detail>[]</detail></div><div style=3D"margin:
0px; =
font-size: 11px; font-family: Menlo;" class=3D"">< =
</fault></div></div><div class=3D""><br
class=3D""></div><div =
class=3D"">There is nothing in the engine.log :</div><div
class=3D""><div =
style=3D"margin: 0px; font-size: 11px; font-family: Menlo;" =
class=3D"">2016-04-14 18:00:57,831 ERROR =
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] =
(default task-23) [] Correlation ID: 59497e82, Job ID: =
84e0e22c-bb28-434b-a952-73f0e2c4cfaa, Call Stack: null, Custom Event ID: =
-1, Message: Failed to attach Storage Domain vmsys01 to Data Center =
en01. (User: FA4@apachesso)</div></div><div class=3D""><br
=
class=3D""></div><div class=3D"">Where can I find
informations about =
that ?</div><div class=3D""><br
class=3D""></div><div class=3D""><br =
class=3D""></div></body></html>=
--Apple-Mail=_33DFF62E-3CCC-498F-8E1E-FD21397C6DBD--