Bug 866173
Summary: | webadmin: no information is shown on snapshots on upgraded setup (3.0 to 3.1) incl. new snapshots | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Dafna Ron <dron> | ||||||
Component: | ovirt-engine-webadmin-portal | Assignee: | Asaf Shakarchi <asaf> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | vvyazmin <vvyazmin> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | urgent | ||||||||
Version: | 3.1.0 | CC: | abaron, amureini, derez, dpaikov, dyasny, ecohen, hateya, iheim, Rhev-m-bugs, sgrinber, ykaul | ||||||
Target Milestone: | --- | Keywords: | Regression | ||||||
Target Release: | 3.1.0 | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Linux | ||||||||
Whiteboard: | storage | ||||||||
Fixed In Version: | SI24 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-12-04 20:07:55 UTC | Type: | Bug | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | Storage | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Dafna, can you attach a db dump? since its a webadmin bug I did not attach any logs and db dump is was not requested. since I still have the same setup please tell me what you need me to do and I will attach it. Please attach a db dump, thanks. Created attachment 631457 [details]
db dump
Since engine v3.0 didn't support full snapshots it is impossible to reflect any of it in the new 3.1 UI, Thus I suggest to display a message which indicates that the information is unavailable. (In reply to comment #6) > Since engine v3.0 didn't support full snapshots it is impossible to reflect > any of it in the new 3.1 UI, > > Thus I suggest to display a message which indicates that the information is > unavailable. Iirc upgrade also updates the snapshots info? what info is in the db? (In reply to comment #7) > (In reply to comment #6) > > Since engine v3.0 didn't support full snapshots it is impossible to reflect > > any of it in the new 3.1 UI, > > > > Thus I suggest to display a message which indicates that the information is > > unavailable. > > Iirc upgrade also updates the snapshots info? > what info is in the db? An entry per snapshot in the new snapshot table without the blob which contains the ovf. (In reply to comment #8) > (In reply to comment #7) > > (In reply to comment #6) > > > Since engine v3.0 didn't support full snapshots it is impossible to reflect > > > any of it in the new 3.1 UI, > > > > > > Thus I suggest to display a message which indicates that the information is > > > unavailable. > > > > Iirc upgrade also updates the snapshots info? > > what info is in the db? > An entry per snapshot in the new snapshot table without the blob which > contains the ovf. Then can we fix upgrade to include the same (latest) ovf for all the snapshots? (In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #7) > > > (In reply to comment #6) > > > > Since engine v3.0 didn't support full snapshots it is impossible to reflect > > > > any of it in the new 3.1 UI, > > > > > > > > Thus I suggest to display a message which indicates that the information is > > > > unavailable. > > > > > > Iirc upgrade also updates the snapshots info? > > > what info is in the db? > > An entry per snapshot in the new snapshot table without the blob which > > contains the ovf. > > Then can we fix upgrade to include the same (latest) ovf for all the > snapshots? I guess so but IMO it isn't the appropriate solution, this misleads the admin with wrong information. (In reply to comment #10) > (In reply to comment #9) > > (In reply to comment #8) > > > (In reply to comment #7) > > > > (In reply to comment #6) > > > > > Since engine v3.0 didn't support full snapshots it is impossible to reflect > > > > > any of it in the new 3.1 UI, > > > > > > > > > > Thus I suggest to display a message which indicates that the information is > > > > > unavailable. > > > > > > > > Iirc upgrade also updates the snapshots info? > > > > what info is in the db? > > > An entry per snapshot in the new snapshot table without the blob which > > > contains the ovf. > > > > Then can we fix upgrade to include the same (latest) ovf for all the > > snapshots? > I guess so but IMO it isn't the appropriate solution, this misleads the > admin with wrong information. I disagree, that is the info we have, without it the snapshots are totally broken in which case the solution would be to delete them (not an acceptable solution). (In reply to comment #11) > (In reply to comment #10) > > (In reply to comment #9) > > > (In reply to comment #8) > > > > (In reply to comment #7) > > > > > (In reply to comment #6) > > > > > > Since engine v3.0 didn't support full snapshots it is impossible to reflect > > > > > > any of it in the new 3.1 UI, > > > > > > > > > > > > Thus I suggest to display a message which indicates that the information is > > > > > > unavailable. > > > > > > > > > > Iirc upgrade also updates the snapshots info? > > > > > what info is in the db? > > > > An entry per snapshot in the new snapshot table without the blob which > > > > contains the ovf. > > > > > > Then can we fix upgrade to include the same (latest) ovf for all the > > > snapshots? > > I guess so but IMO it isn't the appropriate solution, this misleads the > > admin with wrong information. > > I disagree, that is the info we have, without it the snapshots are totally > broken in which case the solution would be to delete them (not an acceptable > solution). True, so here's a final clarification for this bug: Full snapshot confiugration wasn't supported in Engine v3, Snapshot preview in v3 uses the current VM details, network interfaces combined with the snapshot disks. So for snapshots taken in v3 after upgrade, the same exact info should be used in engine v3.1 and above In case dealing with old snapshots, current VM details and network interfaces will be loaded from the database, combined with the snapshot disk images. Patch submitted: http://gerrit.ovirt.org/#/c/8981/ Merged Iddfae10354603e2ec9acb61f91e1361dd7504da4 Checked on si24.1. |
Created attachment 626926 [details] screen shots Description of problem: I have a setup upgraded from 3.0 and no information is shown on any of the snapshots when they are selected. it's for existing vm's and new ones created from blank template. I tested the same on a clean install and we can see the info on a clean setup. Version-Release number of selected component (if applicable): si20 upgraded from 3.0 How reproducible: 100% Steps to Reproduce: 1. upgrade 3.0 to 3.1 2. select a vm with snapshots 3. create a new vm -> create a new snapshot and select it Actual results: no information is shown on the snapshots in the general/disks/network atc. Expected results: we should see information on snapshot Additional info: screen shots from clean setup and upgraded one