vdsm-tool dump-volume-chains d17aa967-f7f7-4d9f-98e4-7022854da4f5

engine=# select * from images_storage_domain_view where
image_group_id='1844873e-45ef-4a2b-a991-2df6e92a3e2d';

output attached

вт, 7 апр. 2020 г. в 19:47, Shani Leviim <slev...@redhat.com>:

> Hi David,
> First, we need to compare the chain as it is seen by the engine and the
> host and see if there's a difference.
> Can you please share the output of the following?
>
> On the host:
> vdsm-tool dump-volume-chains <sd_id>
>
> On the engine:
> SELECT *
>      FROM images_storage_domain_view images_storage_domain_view
>      WHERE image_group_id = <image_group_id>;
>
>
> *Regards,*
>
> *Shani Leviim*
>
>
> On Tue, Apr 7, 2020 at 5:28 PM David David <dd432...@gmail.com> wrote:
>
>> hello
>>
>> after removing "auto generated" snapshot, the vm snapshot became to
>> illegal status and in the "snapshot" tab also marked in illegal status
>>
>> now my vm is not booting
>>
>> but "vdsm-client Volume getInfo" shows the snapshot status is legal
>>
>> vdsm-client Volume getInfo \
>> storagepoolID=00000000-0000-0000-0000-000000000000 \
>> storagedomainID=d17aa967-f7f7-4d9f-98e4-7022854da4f5 \
>> imageID=1844873e-45ef-4a2b-a991-2df6e92a3e2d \
>> volumeID=f447cd4f-9ab3-489d-8c2a-b2e69456496f
>>
>> {
>>     "status": "OK",
>>     "lease": {
>>         "path": "/dev/d17aa967-f7f7-4d9f-98e4-7022854da4f5/leases",
>>         "owners": [],
>>         "version": null,
>>         "offset": 132120576
>>     },
>>     "domain": "d17aa967-f7f7-4d9f-98e4-7022854da4f5",
>>     "capacity": "21474836480",
>>     "voltype": "LEAF",
>>     "description": "None",
>>     "parent": "00000000-0000-0000-0000-000000000000",
>>     "format": "RAW",
>>     "generation": 1,
>>     "image": "1844873e-45ef-4a2b-a991-2df6e92a3e2d",
>>     "uuid": "f447cd4f-9ab3-489d-8c2a-b2e69456496f",
>>     "disktype": "DATA",
>>     "legality": "LEGAL",
>>     "mtime": "0",
>>     "apparentsize": "21474836480",
>>     "truesize": "21474836480",
>>     "type": "PREALLOCATED",
>>     "children": [],
>>     "pool": "",
>>     "ctime": "1530472945"
>> }
>>
>> how to fix the problem?
>> _______________________________________________
>> Users mailing list -- users@ovirt.org
>> To unsubscribe send an email to users-le...@ovirt.org
>> Privacy Statement: https://www.ovirt.org/privacy-policy.html
>> oVirt Code of Conduct:
>> https://www.ovirt.org/community/about/community-guidelines/
>> List Archives:
>> https://lists.ovirt.org/archives/list/users@ovirt.org/message/JSYMY4QG2HSPVITAX7QSVZDZ4HJDLN4W/
>>
>
engine=# select * from images_storage_domain_view where 
image_group_id='1844873e-45ef-4a2b-a991-2df6e92a3e2d';


              image_guid              | storage_name |           
storage_pool_id            | storage_type |     creation_date      |    size    
 |               it_gui
d                |                description                |               
parentid               |      lastmodified      | app_list |              
storage_id
       |            vm_snapshot_id            | volume_type | volume_format | 
qcow_compat | imagestatus |            image_group_id            | active | 
volume_classif
ication | entity_type | vm_names  | number_of_vms | template_version_names |    
           disk_id                |  disk_alias  | disk_description | shareable 
| wipe_a
fter_delete | propagate_errors | sgio | disk_content_type |               
quota_id               | quota_name | quota_enforcement_type |           
disk_profile_id
      | disk_profile_name | actual_size | read_rate | write_rate | 
read_latency_seconds | write_latency_seconds | flush_latency_seconds | 
alignment | disk_storage_type
| cinder_volume_type | last_alignment_scan | image_transfer_phase | 
image_transfer_type | image_transfer_bytes_sent | image_transfer_bytes_total | 
progress
--------------------------------------+--------------+--------------------------------------+--------------+------------------------+-------------+---------------------
-----------------+-------------------------------------------+--------------------------------------+------------------------+----------+-------------------------------
-------+--------------------------------------+-------------+---------------+-------------+-------------+--------------------------------------+--------+---------------
--------+-------------+-----------+---------------+------------------------+--------------------------------------+--------------+------------------+-----------+-------
------------+------------------+------+-------------------+--------------------------------------+------------+------------------------+--------------------------------
------+-------------------+-------------+-----------+------------+----------------------+-----------------------+-----------------------+-----------+-------------------
+--------------------+---------------------+----------------------+---------------------+---------------------------+----------------------------+----------
 f447cd4f-9ab3-489d-8c2a-b2e69456496f | data-fc-sata | 
6a1a2096-8fe7-4f7d-a2c9-08c39a5fc215 |            2 | 2016-06-06 04:21:16-04 | 
21474836480 | 00000000-0000-0000-0
000-000000000000 | Auto-generated for Live Storage Migration | 
00000000-0000-0000-0000-000000000000 | 2017-07-31 08:04:26-04 |          | 
d17aa967-f7f7-4d9f-98e4-702285
4da4f5 | e8e2f66b-494f-499b-8a4e-9965038af826 |           1 |             5 |   
        0 |           4 | 1844873e-45ef-4a2b-a991-2df6e92a3e2d | f      |
      1 | VM          | vsrvrepo7 |             1 |                        | 
1844873e-45ef-4a2b-a991-2df6e92a3e2d | vsrvrepo7_OS |                  | f      
   | f
            | Off              |      |                 0 | 
42d4bbdd-5e77-4b25-81f0-566a7b4dfb13 | Default    |                      0 | 
59415d77-0aaf-4273-a152-2160afa
4b3b5 | data-fc-sata      | 21474836480 |           |            |              
        |                       |                       |         0 |           
      0
|                    |                     |                      |             
        |                           |                            |
 5a58466b-1547-4346-a550-8590880b379e | data-fc-sata | 
6a1a2096-8fe7-4f7d-a2c9-08c39a5fc215 |            2 | 2018-07-01 15:22:34-04 | 
21474836480 | 00000000-0000-0000-0
000-000000000000 | Active VM                                 | 
f447cd4f-9ab3-489d-8c2a-b2e69456496f | 1969-12-31 19:00:00-05 |          | 
d17aa967-f7f7-4d9f-98e4-702285
4da4f5 | 944f36c7-cde4-42e4-9582-a038ea80246e |           2 |             4 |   
        2 |           1 | 1844873e-45ef-4a2b-a991-2df6e92a3e2d | t      |
      1 | VM          | vsrvrepo7 |             1 |                        | 
1844873e-45ef-4a2b-a991-2df6e92a3e2d | vsrvrepo7_OS |                  | f      
   | f
            | Off              |      |                 0 | 
42d4bbdd-5e77-4b25-81f0-566a7b4dfb13 | Default    |                      0 | 
59415d77-0aaf-4273-a152-2160afa
4b3b5 | data-fc-sata      | 21474836480 |         0 |         68 |          
0.000000000 |           0.000482851 |           0.000204153 |         0 |       
          0
|                    |                     |                      |             
        |                           |                            |
(2 rows)
f447cd4f-9ab3-489d-8c2a-b2e69456496f    data-fc-sata    
6a1a2096-8fe7-4f7d-a2c9-08c39a5fc215    2       2016-06-06 04:21:16-04  
21474836480     00000000-0000-0000-0000-000000000000    Auto-generated for Live 
Storage Migration       00000000-0000-0000-0000-000000000000    2017-07-31 
08:04:26-04          d17aa967-f7f7-4d9f-98e4-7022854da4f5    
e8e2f66b-494f-499b-8a4e-9965038af826    1       5       0       4       
1844873e-45ef-4a2b-a991-2df6e92a3e2d    f       1       VM      vsrvrepo7       
1               1844873e-45ef-4a2b-a991-2df6e92a3e2d    vsrvrepo7_OS    \N      
f       f       Off     \N      0       42d4bbdd-5e77-4b25-81f0-566a7b4dfb13    
Default 0       59415d77-0aaf-4273-a152-2160afa4b3b5    data-fc-sata    
21474836480     \N      \N      \N      \N      \N      0       0       \N      
\N      \N      \N      \N      \N      \N
5a58466b-1547-4346-a550-8590880b379e    data-fc-sata    
6a1a2096-8fe7-4f7d-a2c9-08c39a5fc215    2       2018-07-01 15:22:34-04  
21474836480     00000000-0000-0000-0000-000000000000    Active VM       
f447cd4f-9ab3-489d-8c2a-b2e69456496f    1969-12-31 19:00:00-05  \N      
d17aa967-f7f7-4d9f-98e4-7022854da4f5    944f36c7-cde4-42e4-9582-a038ea80246e    
2       4       2       1       1844873e-45ef-4a2b-a991-2df6e92a3e2d    t       
1       VM      vsrvrepo7       1               
1844873e-45ef-4a2b-a991-2df6e92a3e2d    vsrvrepo7_OS    \N      f       f       
Off     \N      0       42d4bbdd-5e77-4b25-81f0-566a7b4dfb13    Default 0       
59415d77-0aaf-4273-a152-2160afa4b3b5    data-fc-sata    21474836480     0       
68      0.000000000     0.000482851     0.000204153     0       0       \N      
\N      \N      \N      \N      \N      \N
Images volume chains (base volume first)

   image:    0714967b-5202-4f87-9a69-8dd0230f47bf

             - 400bd501-445f-4fc1-b889-7841a031c024
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    0f8931a8-8ab0-4ff2-9171-d237a74ad323

             - 1784699b-ffd4-47a8-ac64-551edb124c2e
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    4de736ce-1098-4b2e-b23d-d9922e2770cb

             - 458f06b4-27ed-4527-ae9b-a02ff6015f8a
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    734e1f15-25e7-4dcf-8fbe-a284ee111ee3

             - 806f14de-e741-4328-b796-c7b03f913b09
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    152b90d8-02c6-4df2-857e-65b541fb8d87

             - 5cfda34f-46de-4adb-b3c5-0c3cad2bf725
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    d914be55-d198-4d37-9d72-e8700dec0c3f

             - 65fec0d8-60b5-4432-b811-15d4b029caa9
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    4a39f7f0-5649-4655-9ce8-7502760f27cb

             - 1e3afa8c-98de-4e38-b026-b96302ccc844
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    4ba4ac30-a3f6-48e0-a421-092bda94d4e2

             - 2bcbb852-6f3d-45ca-9940-330ffae3dd00
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    54fdfe1e-ef55-4a93-9731-59b20c984978

             - c4b36d92-df4e-481c-83e8-9e70f50eeb7b
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    2dd1db64-73ec-430d-8448-4e5aecef4371

             - 10fb8b37-38b6-4e7c-afdf-df6f9939d48d
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    6e337522-df9f-456b-b2cf-0ee91c429c40

             - 7b95803a-d36d-4c23-9828-6a6b259d84cd
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    c31b5c7d-8c2c-4828-9a22-5514a1ac4f8f

             - 26b737de-fc5a-4c5f-99c2-a01b7355ebcf
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    b9d3b09b-6c5d-45c3-9da1-d23aaf273a96

             - c8944cb5-5dcc-4fcc-8064-3f183408d650
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    1844873e-45ef-4a2b-a991-2df6e92a3e2d

             - f447cd4f-9ab3-489d-8c2a-b2e69456496f
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    89552054-ed3e-4c7a-bc6f-d6f33e42a757

             - 0ccb8934-3986-4ebe-8ce5-3bb08f0f1dec
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED


   image:    6ff602d2-e098-4534-87f1-46cb336db4a9

             - 7c1bc91e-2949-4a2c-82a2-0ee947556874
               status: OK, voltype: LEAF, format: RAW, legality: LEGAL, type: 
PREALLOCATED
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/7JLGABAOFNWHNW436SFXSUUUT7IHIUAY/

Reply via email to