can't clone vm from export domain via rest/json

Hi, I need some devel power here: this is on ovirt 3.3.3 el6 (yes I know, I need to upgrade..) error while cloning a vm from export to local storage data domain: POST https://REDACTED/api/storagedomains/e89fdbcb-cb51-42b7-b42c-7f4f0ec1f580/vms... { "storageDomain":{"id":"15679d40-0f20-4a0e-9880-eb5795cb8d1e","name":"LOCAL_DATA_DOMAIN_NAME"}, "cluster":{"id":"e65dc5f5-61e6-4d17-a5bf-33c677d129c7"}, "vm":{"name":"VM_NAME_1"}, "clone":true } ANSWER: { "storageDomain":{ "name":"LOCAL_DATA_DOMAIN_NAME", "id":"15679d40-0f20-4a0e-9880-eb5795cb8d1e" }, "cluster":{ "id":"e65dc5f5-61e6-4d17-a5bf-33c677d129c7" }, "vm":{ "name":"VM_NAME_2" }, "clone":true, "status":{ "state":"failed" }, "fault":{ "reason":"Operation Failed", "detail":"[action type failed import clone not collapsed]" } } why does it fail? this vm was exported from this storage domain onto the export domain and should then get re-imported as another vm-name is this because of lacking/inconsistent json support in 3.3.z? until now we were able to reverse engineer all needed functionality via json. -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen

Hi, for documentation purpose: jhernand helped me working around this issue. all details and the workaround are found at: https://bugzilla.redhat.com/show_bug.cgi?id=1147011 this is still a problem in latest master, maybe vdsm people (Dan?) should take a look at it. Thanks for the very fast help! -- Mit freundlichen Grüßen / Regards Sven Kieske Systemadministrator Mittwald CM Service GmbH & Co. KG Königsberger Straße 6 32339 Espelkamp T: +49-5772-293-100 F: +49-5772-293-333 https://www.mittwald.de Geschäftsführer: Robert Meyer St.Nr.: 331/5721/1033, USt-IdNr.: DE814773217, HRA 6640, AG Bad Oeynhausen Komplementärin: Robert Meyer Verwaltungs GmbH, HRB 13260, AG Bad Oeynhausen
participants (1)
-
Sven Kieske