XOCE misidentifing Orphaned Snapshots with XCP-ng 8.1
-
Hi All,
I have something really strange going on here.
I have created a new pool of 5 x HP Gen8 machines and fresh installed XCP-ng 8.1 from ISO.
The installation went perfectly fine and I have attached a NFS repo to the pool and started to migrate VM's from a older XS7.1 pool that we are decommissioning.
I noticed that when I looked at "Dashboard -> Health" this pool is showing all snapshots as being orphaned. If I delete any of them, the corresponding snapshot attached to the VM gets deleted. So, it appears that it thinks that attached snapshots are actually orphaned.
I have other pools that are running XCP-ng 8.1 that do not show this behavior, but none of them were created using a fresh install. All of the others were upgrades from previous versions of XCP-ng or XS7.1
I have done a check of the Repo and dont see any obvious problems. I have also upgraded the version of XOCE from 5.5 to the latest 5.66 with no change.
[22:28 shineyg8-2-1 ~]# vhd-util scan -f -c -p -m /run/sr-mount/09f2cd1e-9a19-006b-597e-e69c5f1201f9/*.vhd vhd=0ae2b3b5-a023-4cf3-99a5-b323016083d1.vhd capacity=21474836480 size=17053770240 hidden=1 parent=none vhd=87036915-2399-4f15-b8b3-f598497e7995.vhd capacity=21474836480 size=46592 hidden=0 parent=0ae2b3b5-a023-4cf3-99a5-b323016083d1.vhd vhd=2204e8c9-efe9-43ed-a6a8-a8904f9255f5.vhd capacity=21474836480 size=1124213248 hidden=1 parent=0ae2b3b5-a023-4cf3-99a5-b323016083d1.vhd vhd=1556e006-9621-4824-9a9d-6bab4ef9695e.vhd capacity=21474836480 size=46592 hidden=0 parent=2204e8c9-efe9-43ed-a6a8-a8904f9255f5.vhd vhd=ecf1fbc7-565f-4136-b2bb-64989b30783f.vhd capacity=21474836480 size=329220096 hidden=0 parent=2204e8c9-efe9-43ed-a6a8-a8904f9255f5.vhd vhd=1b7f72e0-b0ef-46a2-b67f-3d954f28a7bd.vhd capacity=68719476736 size=68790792704 hidden=1 parent=none vhd=7acd227d-3d99-4899-b973-c3b836ad2309.vhd capacity=68719476736 size=1090387968 hidden=0 parent=1b7f72e0-b0ef-46a2-b67f-3d954f28a7bd.vhd vhd=f918e5e2-53d4-4464-bbdf-0434ca493338.vhd capacity=68719476736 size=139264 hidden=0 parent=1b7f72e0-b0ef-46a2-b67f-3d954f28a7bd.vhd vhd=1d3cb7c5-9753-4563-afaf-7f584288c65f.vhd capacity=21474836480 size=21495808512 hidden=1 parent=none vhd=3df34f70-53c4-4a8a-9b79-d7e4067d7009.vhd capacity=21474836480 size=46592 hidden=0 parent=1d3cb7c5-9753-4563-afaf-7f584288c65f.vhd vhd=cc9f1e83-c397-4d0e-b466-0524ce0a3e94.vhd capacity=21474836480 size=405586432 hidden=1 parent=1d3cb7c5-9753-4563-afaf-7f584288c65f.vhd vhd=3e0c077d-80f4-4797-bff7-8109dfe59f67.vhd capacity=21474836480 size=46592 hidden=0 parent=cc9f1e83-c397-4d0e-b466-0524ce0a3e94.vhd vhd=59c03269-9283-4b35-86b6-bcc85afd80d9.vhd capacity=21474836480 size=61251584 hidden=0 parent=cc9f1e83-c397-4d0e-b466-0524ce0a3e94.vhd vhd=2372e670-388f-41ab-967e-d85045bc9436.vhd capacity=21474836480 size=12006572544 hidden=1 parent=none vhd=3bc0873d-e89c-44cf-aebf-a18219163f26.vhd capacity=21474836480 size=46592 hidden=0 parent=2372e670-388f-41ab-967e-d85045bc9436.vhd vhd=da01df76-255d-443a-94e6-32764b5bfddb.vhd capacity=21474836480 size=1246085632 hidden=1 parent=2372e670-388f-41ab-967e-d85045bc9436.vhd vhd=0e3eb73c-70b9-4295-bfc8-0f3ce12d5f9b.vhd capacity=21474836480 size=46592 hidden=0 parent=da01df76-255d-443a-94e6-32764b5bfddb.vhd vhd=a1ab995e-53d2-43b3-ba67-5c4014ffb9af.vhd capacity=21474836480 size=346718208 hidden=0 parent=da01df76-255d-443a-94e6-32764b5bfddb.vhd vhd=2a207ac4-fa5c-4809-b418-1f35c5c04c97.vhd capacity=21474836480 size=11498070528 hidden=1 parent=none vhd=cab1365d-f0cc-4df0-82fb-239f6e7fc77c.vhd capacity=21474836480 size=46592 hidden=0 parent=2a207ac4-fa5c-4809-b418-1f35c5c04c97.vhd vhd=9dfa3497-27de-4a41-b0a9-12e50889b296.vhd capacity=21474836480 size=1113707008 hidden=1 parent=2a207ac4-fa5c-4809-b418-1f35c5c04c97.vhd vhd=5644f72c-a60b-477c-b0ec-c0de9189d82c.vhd capacity=21474836480 size=456134656 hidden=0 parent=9dfa3497-27de-4a41-b0a9-12e50889b296.vhd vhd=5b8de6eb-9858-42a4-b633-524eb407b7f2.vhd capacity=21474836480 size=46592 hidden=0 parent=9dfa3497-27de-4a41-b0a9-12e50889b296.vhd vhd=2bfd2b98-5525-4e99-8205-1aa9d913be6e.vhd capacity=34359738368 size=22636814848 hidden=1 parent=none vhd=81a68100-45f7-4748-9b5e-68072ca7bf1a.vhd capacity=34359738368 size=71680 hidden=0 parent=2bfd2b98-5525-4e99-8205-1aa9d913be6e.vhd vhd=35e53692-ba5e-4c9e-b4bc-23c6d2b4b373.vhd capacity=34359738368 size=1807143424 hidden=1 parent=2bfd2b98-5525-4e99-8205-1aa9d913be6e.vhd vhd=68431f73-d53b-4cf0-9d31-b33e4beb73dd.vhd capacity=34359738368 size=83578880 hidden=0 parent=35e53692-ba5e-4c9e-b4bc-23c6d2b4b373.vhd vhd=fcd0fa61-9499-4d5a-9c09-eabe77ff850e.vhd capacity=34359738368 size=71680 hidden=0 parent=35e53692-ba5e-4c9e-b4bc-23c6d2b4b373.vhd vhd=2d708921-4732-4dd7-ab8d-93372fd2f27c.vhd capacity=137438953472 size=24517632512 hidden=1 parent=none vhd=21bb8dd8-f3d3-4ea1-ab11-0c08d3e39382.vhd capacity=137438953472 size=775856128 hidden=0 parent=2d708921-4732-4dd7-ab8d-93372fd2f27c.vhd vhd=b39c2230-c55b-4f61-9979-d476e1a07e7e.vhd capacity=137438953472 size=274432 hidden=0 parent=2d708921-4732-4dd7-ab8d-93372fd2f27c.vhd vhd=2f7363ad-f4bf-4949-ad3e-c9684492f0cd.vhd capacity=137438953472 size=107985506816 hidden=1 parent=none vhd=f08260a5-232b-4966-88a3-e5be430e8fea.vhd capacity=137438953472 size=274432 hidden=0 parent=2f7363ad-f4bf-4949-ad3e-c9684492f0cd.vhd vhd=56bc253f-9886-4ead-9f2b-2d493fb9cdd3.vhd capacity=137438953472 size=5200859648 hidden=1 parent=2f7363ad-f4bf-4949-ad3e-c9684492f0cd.vhd vhd=8867a8f2-f7fc-4c50-a12c-ea7c93d11f97.vhd capacity=137438953472 size=1075146752 hidden=0 parent=56bc253f-9886-4ead-9f2b-2d493fb9cdd3.vhd vhd=e6d3629b-f775-4002-ab8c-328eb484a83b.vhd capacity=137438953472 size=274432 hidden=0 parent=56bc253f-9886-4ead-9f2b-2d493fb9cdd3.vhd vhd=3c84b65c-6f26-4a3e-8750-cefe450a43a3.vhd capacity=68719476736 size=11571708416 hidden=1 parent=none vhd=9966a770-990b-4297-bbbf-7ac0ab671c78.vhd capacity=68719476736 size=139264 hidden=0 parent=3c84b65c-6f26-4a3e-8750-cefe450a43a3.vhd vhd=0ac7d3fe-bbb2-4594-b4ac-3d2b2a39700c.vhd capacity=68719476736 size=994025984 hidden=1 parent=3c84b65c-6f26-4a3e-8750-cefe450a43a3.vhd vhd=a99d419c-f97e-4674-be01-da7f8fb08d20.vhd capacity=68719476736 size=187240448 hidden=0 parent=0ac7d3fe-bbb2-4594-b4ac-3d2b2a39700c.vhd vhd=ea841bfe-b3ab-47ef-b948-9dc17901c89b.vhd capacity=68719476736 size=139264 hidden=0 parent=0ac7d3fe-bbb2-4594-b4ac-3d2b2a39700c.vhd vhd=464b8ece-8d54-4e9f-8de1-812258eee91e.vhd capacity=21474836480 size=3229659648 hidden=1 parent=none vhd=1f85a075-ad79-44ed-ac5f-fb61f4dc63c5.vhd capacity=21474836480 size=46592 hidden=0 parent=464b8ece-8d54-4e9f-8de1-812258eee91e.vhd vhd=b8283cef-29ac-4cba-afb2-fcb57054cc06.vhd capacity=21474836480 size=84095488 hidden=1 parent=464b8ece-8d54-4e9f-8de1-812258eee91e.vhd vhd=00188259-086d-4257-a815-face5df103e9.vhd capacity=21474836480 size=20291584 hidden=0 parent=b8283cef-29ac-4cba-afb2-fcb57054cc06.vhd vhd=daf8036f-d5de-4fe9-a473-6b1674033658.vhd capacity=21474836480 size=46592 hidden=0 parent=b8283cef-29ac-4cba-afb2-fcb57054cc06.vhd vhd=4b976581-08e3-4e51-8615-3c417797689c.vhd capacity=21474836480 size=19606786560 hidden=1 parent=none vhd=cff8b284-8aac-49bf-9bf8-2ce2ac5a0898.vhd capacity=21474836480 size=46592 hidden=0 parent=4b976581-08e3-4e51-8615-3c417797689c.vhd vhd=69f2ade6-8606-4b82-b833-7673c272a59f.vhd capacity=21474836480 size=487535104 hidden=1 parent=4b976581-08e3-4e51-8615-3c417797689c.vhd vhd=88bbfd71-ae1b-4589-83ae-432d2b63ae64.vhd capacity=21474836480 size=46592 hidden=0 parent=69f2ade6-8606-4b82-b833-7673c272a59f.vhd vhd=c4e4f77e-b30c-4c8b-b27b-2977e3ea81e0.vhd capacity=21474836480 size=197709824 hidden=0 parent=69f2ade6-8606-4b82-b833-7673c272a59f.vhd vhd=4d7ca8be-e0e6-4598-a2ee-b94ea3d0f0cd.vhd capacity=34359738368 size=7459500544 hidden=1 parent=none vhd=cc0fc418-9fbb-4297-9627-b24e1ba8ed97.vhd capacity=34359738368 size=71680 hidden=0 parent=4d7ca8be-e0e6-4598-a2ee-b94ea3d0f0cd.vhd vhd=cede1ebf-a47c-47da-863c-6f62d9312aa8.vhd capacity=34359738368 size=71680 hidden=0 parent=4d7ca8be-e0e6-4598-a2ee-b94ea3d0f0cd.vhd vhd=50f9c23e-c808-4c94-ba25-88741e68e7da.vhd capacity=21474836480 size=21495808512 hidden=1 parent=none vhd=2023ec06-fcbd-497c-b7ec-9fb102c132b4.vhd capacity=21474836480 size=46592 hidden=0 parent=50f9c23e-c808-4c94-ba25-88741e68e7da.vhd vhd=6e1d27b6-4849-4bae-9112-1c12d8692a87.vhd capacity=21474836480 size=3773886976 hidden=1 parent=50f9c23e-c808-4c94-ba25-88741e68e7da.vhd vhd=b1aa0bbb-5f68-4a4e-8140-12bc1a8de54e.vhd capacity=21474836480 size=1168338944 hidden=0 parent=6e1d27b6-4849-4bae-9112-1c12d8692a87.vhd vhd=bbdba0c3-0dfc-4f72-8664-beb5651f0207.vhd capacity=21474836480 size=46592 hidden=0 parent=6e1d27b6-4849-4bae-9112-1c12d8692a87.vhd vhd=56fe959e-4430-4855-866a-675ac4271db0.vhd capacity=8589934592 size=7751520768 hidden=1 parent=none vhd=fcd801ab-a29f-40db-bdb7-05617cca4c8f.vhd capacity=8589934592 size=20992 hidden=0 parent=56fe959e-4430-4855-866a-675ac4271db0.vhd vhd=36c036f2-5b88-4042-9a9b-ac26905d74bf.vhd capacity=8589934592 size=510624256 hidden=1 parent=56fe959e-4430-4855-866a-675ac4271db0.vhd vhd=1e5b87c1-8d89-4d40-b036-ebcaf330c6a2.vhd capacity=8589934592 size=397613568 hidden=0 parent=36c036f2-5b88-4042-9a9b-ac26905d74bf.vhd vhd=81f5a87c-0653-4b66-92bb-746c91bfa1ce.vhd capacity=8589934592 size=20992 hidden=0 parent=36c036f2-5b88-4042-9a9b-ac26905d74bf.vhd vhd=5a298960-5982-4f23-9ff2-36368228c06f.vhd capacity=21474836480 size=14553285120 hidden=1 parent=none .... Snip, but more of the same .... vhd=35f53ebd-bb1c-4d6b-85b4-b8693a3ccfab.vhd capacity=21474836480 size=46592 hidden=0 parent=fe677216-9e84-4f4a-9ffb-4d35e572e5c2.vhd vhd=b42248f3-44b9-41a4-a034-adc29bb3054f.vhd capacity=21474836480 size=1660031488 hidden=1 parent=fe677216-9e84-4f4a-9ffb-4d35e572e5c2.vhd vhd=21417665-cc95-4b87-84a7-b079b6b23c54.vhd capacity=21474836480 size=462397440 hidden=0 parent=b42248f3-44b9-41a4-a034-adc29bb3054f.vhd vhd=8792b5ee-2560-43ea-83e7-d796dc96616f.vhd capacity=21474836480 size=46592 hidden=0 parent=b42248f3-44b9-41a4-a034-adc29bb3054f.vhd vhd=21be636d-fa6e-4341-8bd8-5d21b8b6077e.vhd capacity=68719476736 size=67769586176 hidden=0 parent=none vhd=2f47fa7e-88a5-42c1-99f4-46a4b8649f97.vhd capacity=274877906944 size=135724352000 hidden=0 parent=none vhd=3ceee896-470a-480b-b743-da0d45c0461a.vhd capacity=34359738368 size=4101706240 hidden=0 parent=none vhd=4b340f75-c247-46ff-87c3-f28ca8ecf067.vhd capacity=68719476736 size=63581798912 hidden=0 parent=none vhd=7d7df1ed-1281-42fa-afb3-73badbdaa0f7.vhd capacity=68719476736 size=30096310784 hidden=0 parent=none vhd=7f992829-c941-431f-823a-ef68ddd0c3de.vhd capacity=34359738368 size=6459306496 hidden=0 parent=none vhd=82ba1e73-1ac4-4bff-a01c-5e3ae88288de.vhd capacity=137438953472 size=137039462912 hidden=0 parent=none vhd=885ad890-6292-4272-bc95-7ffea798baff.vhd capacity=68719476736 size=22437261824 hidden=0 parent=none vhd=8e335061-dba0-4446-aa52-2513766927fb.vhd capacity=137438953472 size=7073071616 hidden=0 parent=none vhd=8e4ce1d0-e832-42fc-a5d8-7e41b24301b2.vhd capacity=1318554959872 size=241532645888 hidden=0 parent=none vhd=9a9b607c-d378-4e5c-b8a7-dbd4b90bcd08.vhd capacity=21474836480 size=20306502144 hidden=0 parent=none vhd=b51139a9-12d2-4504-92da-45c4b03ace6e.vhd capacity=68719476736 size=67733864960 hidden=0 parent=none vhd=d9d6d003-88d5-4feb-82bc-7bbfa0c67fab.vhd capacity=68719476736 size=63571292672 hidden=0 parent=none vhd=e3303a18-ebda-4d3d-93c8-3abd401997ef.vhd capacity=34359738368 size=3633127936 hidden=0 parent=none vhd=e3e6e96e-90b4-4218-ae30-2097cf32c096.vhd capacity=68719476736 size=27131449856 hidden=0 parent=none vhd=ed86f2d2-ad7d-4911-a4f0-22f879a14ce9.vhd capacity=524288000 size=144986624 hidden=0 parent=none vhd=f6b54d8a-1b5f-4028-be84-60f01174b34d.vhd capacity=21474836480 size=18589782528 hidden=0 parent=none [22:28 shineyg8-2-1 ~]#
... with many more items ....Does anyone have any idea whats going on?
~Peg
-
Is the XS7.1 pool attached to separate NFS pool? And the snapshots existed prior to migration, correct?
-
Hi Damp,
Completely different NFS Repos between the two pools. In fact, different storage networks entirely.
I did the migration both ways, first by migrating with the snapshots and also by deleting the snapshots and waiting for the SMGC to finish before doing the migration.
If I delete all snapshots on the machine, wait for SMGC to finish and then create a new snapshot, it gets marked as Orphaned.
Using XenCenter, the snapshots all appear correctly linked to the VM, so I think its just a reporting thing, but I am not sure..
~Peg
-
You said using XenCenter it seems fine. What's the other way to create snap you are using and displaying the behavior?
-
Sorry, what I meant to say was that if I use XenCenter to examine the VM (going to the snapshot tab) I see the snapshots properly. I also seem them linked properly in XOCE by going to "Home -> VM -> [Pick Any VM}".
Didnt mean to cause confusion..
~Peg
-
Ping @badrAZ or @Rajaa-BARHTAOUI who updated the orphaned feature.
If the snapshot disk is correctly attached to a VM snapshot, it shouldn't be displayed there.
-
Hi @Anonabhar
Thank you for your report.
The XO logic is based on the
snapshot_ofproperty which indicates if a snapshot is attached to a VM or not.After looking at your issue, it means that this property isn't correctly updated on migrating a VM with snapshots to a freshly installed XCP 8.1.
I'm not able to reproduce it on migrating a VM with a snapshot from an old XCP 8.1 to a freshly installed XCP 8.1.
-
Hi @badrAZ ,
Thanks for the info. Is there any way I can view what properties are on the snapshot to check this? (and report back)
As a side-note, I have also just taken a snapshot of a VM that was not migrated in and it is also showing the same behavior in the "Dashboard -> Health" screen.
Kind Regards,
~Peg -
Yes, you can get the snapshot's record using the xo-cli.
The command is
xo-cli list-objects id=snapshotId
I'll need also the record of its VM. Thank you

-
Hi @badrAZ ,
Ok.. I think I got the information you are wanting..
This is the dump from the VM:
root@debian:/home/ken# xo-cli list-objects id=547501f1-51e5-67ea-771d-304ad95145aa [ { "type": "VM", "addresses": { "0/ipv4/0": "185.192.178.68", "0/ipv6/1": "fe80::6c88:c3ff:fe40:be7e", "0/ipv6/0": "2a0a:2e40:ac01:802:6c88:c3ff:fe40:be7e" }, "auto_poweron": false, "bios_strings": { "bios-vendor": "Xen", "bios-version": "", "system-manufacturer": "Xen", "system-product-name": "HVM domU", "system-version": "", "system-serial-number": "", "baseboard-manufacturer": "", "baseboard-product-name": "", "baseboard-version": "", "baseboard-serial-number": "", "baseboard-asset-tag": "", "baseboard-location-in-chassis": "", "enclosure-asset-tag": "", "hp-rombios": "", "oem-1": "Xen", "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d" }, "blockedOperations": {}, "boot": { "firmware": "bios", "order": "cdn" }, "CPUs": { "max": 2, "number": 2 }, "current_operations": {}, "expNestedHvm": false, "mainIpAddress": "185.192.178.68", "high_availability": "", "memory": { "dynamic": [ 2147483648, 2147483648 ], "static": [ 536870912, 2147483648 ], "size": 2147483648 }, "installTime": null, "name_description": "", "name_label": "AUC.Debian10-Tester", "other": { "import_task": "OpaqueRef:66a61f13-3146-4c48-a99c-13ab36bf75c4", "instant": "true", "base_template_name": "Debian Buster 10", "mac_seed": "40154d39-694a-3584-9863-dee48b5a5e68", "install-methods": "cdrom,nfs,http,ftp", "linux_template": "true" }, "os_version": { "name": "Debian GNU/Linux 10 (buster)", "uname": "4.19.0-9-amd64", "distro": "debian", "major": "10", "minor": "10" }, "power_state": "Halted", "hasVendorDevice": false, "snapshots": [ "c830ce0b-d03d-9cb4-53ce-fbd0bc258208" ], "startDelay": 0, "startTime": null, "tags": [], "VIFs": [ "d9fa7453-461e-856f-def5-002d41018251" ], "virtualizationMode": "hvm", "$container": "e78d04fc-b33f-6026-28bb-cdceb8e44863", "$VBDs": [ "6f6390fe-099f-0f15-a985-6da6cb659824", "58505004-b392-c293-4a46-9b797fee4b92" ], "VGPUs": [], "$VGPUs": [], "vga": "std", "videoram": "8", "coresPerSocket": 2, "id": "547501f1-51e5-67ea-771d-304ad95145aa", "uuid": "547501f1-51e5-67ea-771d-304ad95145aa", "$pool": "e78d04fc-b33f-6026-28bb-cdceb8e44863", "$poolId": "e78d04fc-b33f-6026-28bb-cdceb8e44863" } ]This is the dump from the snapshot:
root@debian:/home/ken# xo-cli list-objects id=c830ce0b-d03d-9cb4-53ce-fbd0bc258208 [ { "type": "VM-snapshot", "addresses": { "0/ipv4/0": "185.192.178.68", "0/ipv6/1": "fe80::6c88:c3ff:fe40:be7e", "0/ipv6/0": "2a0a:2e40:ac01:802:6c88:c3ff:fe40:be7e" }, "auto_poweron": false, "bios_strings": { "bios-vendor": "Xen", "bios-version": "", "system-manufacturer": "Xen", "system-product-name": "HVM domU", "system-version": "", "system-serial-number": "", "baseboard-manufacturer": "", "baseboard-product-name": "", "baseboard-version": "", "baseboard-serial-number": "", "baseboard-asset-tag": "", "baseboard-location-in-chassis": "", "enclosure-asset-tag": "", "hp-rombios": "", "oem-1": "Xen", "oem-2": "MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d" }, "blockedOperations": {}, "boot": { "firmware": "bios", "order": "cdn" }, "CPUs": { "max": 2, "number": 2 }, "current_operations": {}, "expNestedHvm": false, "mainIpAddress": "185.192.178.68", "high_availability": "", "memory": { "dynamic": [ 2147483648, 2147483648 ], "static": [ 536870912, 2147483648 ], "size": 2147483648 }, "installTime": null, "name_description": "", "name_label": "Test snapshot", "other": { "import_task": "OpaqueRef:66a61f13-3146-4c48-a99c-13ab36bf75c4", "instant": "true", "base_template_name": "Debian Buster 10", "mac_seed": "40154d39-694a-3584-9863-dee48b5a5e68", "install-methods": "cdrom,nfs,http,ftp", "linux_template": "true" }, "os_version": { "name": "Debian GNU/Linux 10 (buster)", "uname": "4.19.0-9-amd64", "distro": "debian", "major": "10", "minor": "10" }, "power_state": "Halted", "hasVendorDevice": false, "snapshots": [], "startDelay": 0, "startTime": null, "tags": [], "VIFs": [ "0dde6812-79f8-327d-e69c-e098b6fec730" ], "virtualizationMode": "hvm", "$container": "e78d04fc-b33f-6026-28bb-cdceb8e44863", "$VBDs": [ "a2f64b99-6e5d-3cea-8331-fea0c91c0b8e", "f95fc772-a9fb-e944-8f7b-4aefc4d0124d" ], "VGPUs": [], "$VGPUs": [], "vga": "std", "videoram": "8", "coresPerSocket": 2, "snapshot_time": 1599054372, "id": "c830ce0b-d03d-9cb4-53ce-fbd0bc258208", "uuid": "c830ce0b-d03d-9cb4-53ce-fbd0bc258208", "$pool": "e78d04fc-b33f-6026-28bb-cdceb8e44863", "$poolId": "e78d04fc-b33f-6026-28bb-cdceb8e44863" } ]If there is anything else I can give you, please let me know..
Kind Regards,
~Peg -
Thank you for your response,
The field
snapshot_ofdoesn't exist. Please give me the output ofxe vm-list uuid=snapshotUuid params=snapshot-ofThank you

-
Hi @badrAZ
Thanks for your help. I got a really strange response (as in... Nothing...)

[09:18 shineyg8-2-1 ~]# xe vm-list uuid=c830ce0b-d03d-9cb4-53ce-fbd0bc258208 params=snapshot-of [09:19 shineyg8-2-1 ~]#But if I do it against the original (base) VM I get:
[09:17 shineyg8-2-1 ~]# xe vm-list uuid=547501f1-51e5-67ea-771d-304ad95145aa params=snapshot-of snapshot-of ( RO) : <not in database> -
That's because you need to use
xe snapshot-param-list. -
Ah, that is better 8-) This is what I get this time...
[09:56 shineyg8-2-1 ~]# xe snapshot-param-list uuid=c830ce0b-d03d-9cb4-53ce-fbd0bc258208 uuid ( RO) : c830ce0b-d03d-9cb4-53ce-fbd0bc258208 name-label ( RW): Test snapshot name-description ( RW): user-version ( RW): 1 is-a-template ( RW): true is-default-template ( RW): false is-a-snapshot ( RO): true snapshot-of ( RO): 547501f1-51e5-67ea-771d-304ad95145aa snapshots ( RO): snapshot-time ( RO): 20200902T13:46:12Z snapshot-info ( RO): disk-snapshot-type: crash_consistent; power-state-at-snapshot: Halted parent ( RO): <not in database> children ( RO): 547501f1-51e5-67ea-771d-304ad95145aa is-control-domain ( RO): false power-state ( RO): halted memory-actual ( RO): 0 memory-target ( RO): 0 memory-overhead ( RO): 20971520 memory-static-max ( RW): 2147483648 memory-dynamic-max ( RW): 2147483648 memory-dynamic-min ( RW): 2147483648 memory-static-min ( RW): 536870912 suspend-VDI-uuid ( RW): <not in database> suspend-SR-uuid ( RW): <not in database> VCPUs-params (MRW): VCPUs-max ( RW): 2 VCPUs-at-startup ( RW): 2 actions-after-shutdown ( RW): Destroy actions-after-reboot ( RW): Restart actions-after-crash ( RW): Restart console-uuids (SRO): hvm ( RO): false platform (MRW): timeoffset: 1; videoram: 8; hpet: true; secureboot: false; device-model: qemu-upstream-compat; apic: true; device_id: 0001; vga: std; nx: true; pae: true; viridian: false; acpi: 1; cores-per-socket: 2 allowed-operations (SRO): destroy; export; revert; clone; copy current-operations (SRO): blocked-operations (MRW): allowed-VBD-devices (SRO): 1; 2; 4; 5; 6; 7; 8; 9; 10; 11; 12; 13; 14; 15; 16; 17; 18; 19; 20; 21; 22; 23; 24; 25; 26; 27; 28; 29; 30; 31; 32; 33; 34; 35; 36; 37; 38; 39; 40; 41; 42; 43; 44; 45; 46; 47; 48; 49; 50; 51; 52; 53; 54; 55; 56; 57; 58; 59; 60; 61; 62; 63; 64; 65; 66; 67; 68; 69; 70; 71; 72; 73; 74; 75; 76; 77; 78; 79; 80; 81; 82; 83; 84; 85; 86; 87; 88; 89; 90; 91; 92; 93; 94; 95; 96; 97; 98; 99; 100; 101; 102; 103; 104; 105; 106; 107; 108; 109; 110; 111; 112; 113; 114; 115; 116; 117; 118; 119; 120; 121; 122; 123; 124; 125; 126; 127; 128; 129; 130; 131; 132; 133; 134; 135; 136; 137; 138; 139; 140; 141; 142; 143; 144; 145; 146; 147; 148; 149; 150; 151; 152; 153; 154; 155; 156; 157; 158; 159; 160; 161; 162; 163; 164; 165; 166; 167; 168; 169; 170; 171; 172; 173; 174; 175; 176; 177; 178; 179; 180; 181; 182; 183; 184; 185; 186; 187; 188; 189; 190; 191; 192; 193; 194; 195; 196; 197; 198; 199; 200; 201; 202; 203; 204; 205; 206; 207; 208; 209; 210; 211; 212; 213; 214; 215; 216; 217; 218; 219; 220; 221; 222; 223; 224; 225; 226; 227; 228; 229; 230; 231; 232; 233; 234; 235; 236; 237; 238; 239; 240; 241; 242; 243; 244; 245; 246; 247; 248; 249; 250; 251; 252; 253; 254 allowed-VIF-devices (SRO): 1; 2; 3; 4; 5; 6 possible-hosts ( RO): ec347d65-341f-4ad2-941a-2e8544539ae7; 64e44a18-ca98-4014-9265-dc0854ffa6cd; 74d1a6d6-0660-4d4f-825d-60d609fc4fec; d4fb12f2-8d30-4efd-bf27-40006f6ec809; 92780235-d330-470f-88dd-b62d755ef119 domain-type ( RW): hvm current-domain-type ( RO): unspecified HVM-boot-policy ( RW): BIOS order HVM-boot-params (MRW): firmware: bios; order: cdn HVM-shadow-multiplier ( RW): 1.000 PV-kernel ( RW): PV-ramdisk ( RW): PV-args ( RW): PV-legacy-args ( RW): PV-bootloader ( RW): PV-bootloader-args ( RW): last-boot-CPU-flags ( RO): vendor: GenuineIntel; features: 1fcbfbff-97ba2223-2d93fbff-00000403-00000001-00000000-00000000-00000000-00001000-9c000400-00000000-00000000-00000000-00000000-00000000 last-boot-record ( RO): '' resident-on ( RO): <not in database> affinity ( RW): <not in database> other-config (MRW): import_task: OpaqueRef:66a61f13-3146-4c48-a99c-13ab36bf75c4; instant: true; base_template_name: Debian Buster 10; mac_seed: 40154d39-694a-3584-9863-dee48b5a5e68; install-methods: cdrom,nfs,http,ftp; linux_template: true dom-id ( RO): -1 recommendations ( RO): <restrictions><restriction field="memory-static-max" max="1649267441664"/><restriction field="vcpus-max" max="32"/><restriction field="has-vendor-device" value="false"/><restriction field="allow-gpu-passthrough" value="1"/><restriction field="allow-vgpu" value="1"/><restriction field="allow-network-sriov" value="1"/><restriction field="supports-bios" value="yes"/><restriction field="supports-uefi" value="no"/><restriction field="supports-secure-boot" value="no"/><restriction max="255" property="number-of-vbds"/><restriction max="7" property="number-of-vifs"/></restrictions> xenstore-data (MRW): vm-data: ; vm-data/mmio-hole-size: 268435456 ha-always-run ( RW) [DEPRECATED]: false ha-restart-priority ( RW): blobs ( RO): start-time ( RO): 19700101T00:00:00Z install-time ( RO): 19700101T00:00:00Z VCPUs-number ( RO): 0 VCPUs-utilisation (MRO): os-version (MRO): name: Debian GNU/Linux 10 (buster); uname: 4.19.0-9-amd64; distro: debian; major: 10; minor: 10 PV-drivers-version (MRO): major: 8; minor: 0; micro: 50; build: 1 PV-drivers-up-to-date ( RO) [DEPRECATED]: true memory (MRO): disks (MRO): VBDs (SRO): a2f64b99-6e5d-3cea-8331-fea0c91c0b8e; f95fc772-a9fb-e944-8f7b-4aefc4d0124d networks (MRO): 0/ip: 185.192.178.68; 0/ipv4/0: 185.192.178.68; 0/ipv6/1: fe80::6c88:c3ff:fe40:be7e; 0/ipv6/0: 2a0a:2e40:ac01:802:6c88:c3ff:fe40:be7e PV-drivers-detected ( RO): true other (MRO): platform-feature-multiprocessor-suspend: 1; has-vendor-device: 0; feature-suspend: 1; feature-poweroff: 1; feature-reboot: 1; feature-vcpu-hotplug: 1; feature-balloon: 1; shutdown: live ( RO): true guest-metrics-last-updated ( RO): 20200823T20:32:37Z can-use-hotplug-vbd ( RO): unspecified can-use-hotplug-vif ( RO): unspecified cooperative ( RO) [DEPRECATED]: true tags (SRW): appliance ( RW): <not in database> snapshot-schedule ( RW): <not in database> is-vmss-snapshot ( RO): false start-delay ( RW): 0 shutdown-delay ( RW): 0 order ( RW): 0 version ( RO): 0 generation-id ( RO): hardware-platform-version ( RO): 0 has-vendor-device ( RW): false requires-reboot ( RO): false reference-label ( RO): debian-10 bios-strings (MRO): bios-vendor: Xen; bios-version: ; system-manufacturer: Xen; system-product-name: HVM domU; system-version: ; system-serial-number: ; baseboard-manufacturer: ; baseboard-product-name: ; baseboard-version: ; baseboard-serial-number: ; baseboard-asset-tag: ; baseboard-location-in-chassis: ; enclosure-asset-tag: ; hp-rombios: ; oem-1: Xen; oem-2: MS_VM_CERT/SHA1/bdbeb6e0a816d43fa6d3fe8aaef04c2bad9d3e3d [09:56 shineyg8-2-1 ~]# -
@Anonabhar It seems that the property
snapshot-ofisn't correctly reported byXO. Did you tried to disconnect/reconnect the server containing this snapshot to see if it resolves your issue?And please give me the version of your
xo-server. -
Hi @badrAZ
Well.. Monkey Poo!!!!!

Disconnecting the server and re-enabling the server did clear the issue. I have made a few snapshots and run a few backups to cause snapshots to be rotated and all is looking good..
Something must have been stuck in the original connection?
FYI:

Please mark this as solved...
~Peg
-
Which isn't normal is the fact XO should "reset" the connection and fetch all objects again to avoid "partial" object info⦠@badrAZ we should investigate on that, we can't rely on just disconnect/reconnect in such situations.
-
@olivierlambert I've created the dedicated Github issue

Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register Login