Bug 1495851

Summary: Snapshot field is not clickable for orphaned VMs
Product: Red Hat CloudForms Management Engine Reporter: Jan Zmeskal <jzmeskal>
Component: UI - OPSAssignee: Dan Clarizio <dclarizi>
Status: CLOSED NOTABUG QA Contact: Matouš Mojžíš <mmojzis>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 5.8.0CC: gmccullo, hkataria, jhardy, jzmeskal, lavenel, mmojzis, mpovolny, obarenbo, smallamp
Target Milestone: GA   
Target Release: cfme-future   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:vm
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-11-03 22:09:20 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:

Comment 5 Greg McCullough 2017-09-27 17:15:17 UTC
In the code there are two similar VM properties: archived and orphaned.
They are defined in the code here: https://github.com/ManageIQ/manageiq/blob/master/app/models/vm_or_template.rb#L1278-L1289

archived (both Provider ID and storage ID are nil)
ems_id.nil? && storage_id.nil?

orphaned (Provider ID is nil but the storages ID is not)
ems_id.nil? && !storage_id.nil?


Loic - Yes, from everything I know the provider must be known to be able to manage snapshots for a VM.  However, you may want to discuss with the Provider team at some point.

Comment 6 Sudhir Mallamprabhakara 2017-09-28 17:12:41 UTC
Loic, Are we good on the bug??Can this be closed??

- Sudhir

Comment 7 Loic Avenel 2017-10-24 07:15:14 UTC
(In reply to Sudhir Mallamprabhakara from comment #6)
> Loic, Are we good on the bug??Can this be closed??
> 
> - Sudhir

Yes, we can close it.

Comment 8 Harpreet Kataria 2017-11-03 22:09:20 UTC
Closing as per comments above.