vm visible in console not in xen-orchestra



  • Hi

    strange problem - I've renamed zeus to hades, on the host's console xe vm-list shows both vm, xoa shows only one
    is this an error? or snapshot? or something else?

    c7e3b00e-2d29-476f-a1a7-dbead8938754-image.png

    xe vm list:
    
    
    uuid ( RO)           : ab4aba71-9266-4795-728f-36dfbc1461af
         name-label ( RW): 29_Hades
        power-state ( RO): running
    
    uuid ( RO)           : c2ae0376-b164-1d63-5c9a-e90a6be4cfbc
         name-label ( RW): 29_zeus-file-archive_2019-08-08T13:36:58.771Z
        power-state ( RO): halted
    
    
    

    and this uuid points to Hades vm?
    2ad3d5ab-e9b0-499d-8e2d-85b6a2f11a54-image.png

    @olivierlambert do You understand any of this? what's happend here?



  • The one still named "zeus" is a backup created by XO. You can see the details linking the two by issuing the following command --

    xe vm-list params=name-label,uuid,other-config uuid=c2ae0376-b164-1d63-5c9a-e90a6be4cfbc

    HTH, Dan



  • xe vm-list
    

    will return also your snapshots. There are several options to the command.

    try grep'ing:

    xe vm-list is-a-snapshot=false
    

    This will not most definitely only show Hades.



  • @jedimarcus You were right

    [root@XCP02 ~]# xe vm-list is-a-snapshot=false | grep 29_
         name-label ( RW): 29_Hades
    

    @Danp

    [root@XCP02 ~]# xe vm-list params=name-label,uuid,other-config uuid=c2ae0376-b164-1d63-5c9a-e90a6be4cfbc
    uuid ( RO)            : c2ae0376-b164-1d63-5c9a-e90a6be4cfbc
          name-label ( RW): 29_zeus-file-archive_2019-08-08T13:36:58.771Z
        other-config (MRW): base_template_name: Debian Stretch 9.0; import_task: OpaqueRef:c1020902-7587-47fd-9035-ad97d0f82c99; mac_seed: 06e28f1e-e6b0-3a82-1d50-33414ceea41e; install-methods: cdrom,nfs,http,ftp; linux_template: true
    
    

    ok thank You guys.


Log in to reply