Always show actual VM image name
Description
The current behavior is the following: a change in VM image name is not showing up in VM properties. As it's explained here it's because
Image names are copied into the VM metadata on instantiation time, but it is only used as human readable reference. However, internally the ID is used to refer from the VM to the image, so OpenNebula knows which one is the right resource.
If an image name is updated, it should be shown in every OpenNebula component with updated name.
Proposed Solution: Remove NAME from DISK and resolve the indirection from Sunstone.
One of the possible solution can be to look for the actual image name in the database instead of showing the data from the VM template which was generated upon VM instantiation.
Use case
Current implementation
creates a situation that is confusing and may to errors that could impact customers over time. And worse, if we ever end up in a disaster recovery scenario, having image names that don't make sense might severely limit our options in restoring operational integrity, and/or delay resumption of service due to those limited options.
Progress Status
- [ ] Code committed
- [ ] Testing - QA
- [ ] Documentation (Release notes - resolved issues, compatibility, known issues)