Bug 1426227
| Summary: | vm.create_snapshot for rhev vm creates a snapshot with extended name | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Ilanit Stein <istein> |
| Component: | Providers | Assignee: | Greg Blomquist <gblomqui> |
| Status: | CLOSED NOTABUG | QA Contact: | Ilanit Stein <istein> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.7.0 | CC: | jfrey, jhardy, mkanoor, obarenbo, tfitzger |
| Target Milestone: | GA | ||
| Target Release: | cfme-future | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | automate:snapshot:rhev | ||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2017-03-05 14:14:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | RHEVM | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Ilanit Stein
2017-02-23 13:23:20 UTC
Looks like the provider create_snapshot method ignores the name passed to the method. https://github.com/ManageIQ/manageiq/blob/51c1c07fa128b496f480e59f054647492ca38033/app/models/manageiq/providers/redhat/infra_manager/vm/operations/snapshot.rb#L24 Sending to providers team to take a look. After investigating this issue with masayag, it turned out that for RHV provider,
Snapshot name parameter is not used.
Therefore, running create snapshot method with the following line, that includes snap_name, as done in this case:
snap_desc = $evm.root['snap_desc'] || "Snapshot:<#{snap_name}> for #{vm.name}"
is not relevant.
considering the above, I am closing the bug.
|