Bug 1131932
| Summary: | Updating VM description using python API do not work | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Petter Reinholdtsen <pere> |
| Component: | ovirt-engine-sdk | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED DUPLICATE | QA Contact: | Shai Revivo <srevivo> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.4.1-1 | CC: | acathrow, ecohen, gklein, iheim, oramraz, Rhev-m-bugs, yeylon |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-20 12:25:17 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Petter Reinholdtsen
2014-08-20 10:55:50 UTC
I'd suggest to workaround the issue by forcing an empty domain name during the update of the VM: # This is a workaround for bug 1091688, it can be removed # once version 3.5 of the rhevm-sdk-python package is # available: domain = vm.get_domain() if domain is not None and domain.get_name() is None: domain.set_name("") vm.update() This should work with the current version of the RPM. The 3.5 version of the RPM isn't in good shape at the moment, so I don't recommend using it before we release it. Please try this workaround, if it works then we will close this bug as duplicate of bug 1091688. The workaround worked for me. Thank you! *** This bug has been marked as a duplicate of bug 1091688 *** |