storage_domain.set_name(new_name) storage_domain.update() status: 400 reason: Bad Request detail: [Cannot edit Storage. Only Storage Domain name is updateable.]
this is api bug, see https://bugzilla.redhat.com/show_bug.cgi?id=815736
*** This bug has been marked as a duplicate of bug 815736 ***
I'm not sure it's the same. When I do it in rest (changing only name) it works. I think Attila also specified it as: 'If I remove the type tag, operation succeeds, but I think this is not how it's supposed to work.' Bottom line - when there is a work-around in rest, there is no in sdk
of course as in sdk you cannot remove individual elements from the xml objects, (i.e it get converted to xml including <type> element which cause #815736)