[pve-devel] pveproxy: I might have discovered a bug

Michael Rasmussen mir at datanom.net
Sat Jun 22 01:22:04 CEST 2013


On Fri, 21 Jun 2013 20:24:23 +0200 (CEST)
Alexandre DERUMIER <aderumier at odiso.com> wrote:

> Maybe can you add some logs to see what is taking time ?
> 
I have found out what is going on but I cannot grasp the cause for the
problem. The log shows that when the contents tab is activated The web
gui is calling PVE::Storage::vdisk_list forever until the script is
terminated due to timeout. See log below (also attached as file):

2013/06/22 01:06:12 INFO> Storage.pm:668 PVE::Storage::vdisk_list -
Iterate Storage $VAR1 = {
          'omnios_nfs' => {
                            'options' => 'vers=3',
                            'content' => {
                                           'images' => 1,
                                           'rootdir' => 1,
                                           'backup' => 1
                                         },
                            'path' => '/mnt/pve/omnios_nfs',
                            'shared' => 1,
                            'type' => 'nfs',
                            'maxfiles' => '1',
                            'export' => '/vMotion/nfs',
                            'server' => '172.16.2.2'
                          },
          'qnap_nfs' => {
                          'options' => 'vers=3,tcp,noatime,relatime',
                          'content' => {
                                         'images' => 1,
                                         'iso' => 1,
                                         'vztmpl' => 1,
                                         'rootdir' => 1,
                                         'backup' => 1
                                       },
                          'path' => '/mnt/pve/qnap_nfs',
                          'shared' => 1,
                          'type' => 'nfs',
                          'maxfiles' => '2',
                          'export' => '/vz',
                          'server' => '192.168.2.10'
                        },
          'qnap' => {
                      'shared' => 1,
                      'target' =>
'iqn.2004-04.com.qnap:ts-212:iscsi.qnap.c8c1d1', 'content' => {
                                     'none' => 1
                                   },
                      'type' => 'iscsi',
                      'portal' => '192.168.2.10'
                    },
          'omnios' => {
                        'bsize' => '8k',
                        'target' =>
'iqn.2010-09.org.openindiana:vshare', 'pool' => 'vMotion',
                        'content' => {
                                       'images' => 1
                                     },
                        'iscsiprovider' => 'Comstar',
                        'type' => 'zfs',
                        'portal' => '172.16.2.2'
                      },
          'local' => {
                       'content' => {
                                      'images' => 1,
                                      'iso' => 1,
                                      'vztmpl' => 1,
                                      'rootdir' => 1
                                    },
                       'type' => 'dir',
                       'maxfiles' => '0',
                       'path' => '/var/lib/vz'
                     },
          'qnap_lvm' => {
                          'shared' => '1',
                          'base' =>
'qnap:0.0.0.scsi-36001405b83d88dbdff2cd405ddabf9d4', 'content' => {
                                         'images' => 1
                                       },
                          'vgname' => 'qnap_vg',
                          'type' => 'lvm'
                        }
        };
2013/06/22 01:06:12 INFO> ZFSPlugin.pm:531
PVE::Storage::ZFSPlugin::list_images - Before calling zfs_list_zvol
$VAR1 = { 'bsize' => '8k',
          'target' => 'iqn.2010-09.org.openindiana:vshare',
          'pool' => 'vMotion',
          'content' => {
                         'images' => 1
                       },
          'iscsiprovider' => 'Comstar',
          'type' => 'zfs',
          'portal' => '172.16.2.2'
        };
2013/06/22 01:06:12 INFO> ZFSPlugin.pm:283
PVE::Storage::ZFSPlugin::zfs_list_zvol - Starting to generate volume
list 2013/06/22 01:06:16 INFO> ZFSPlugin.pm:308
PVE::Storage::ZFSPlugin::zfs_list_zvol - Finished generating volume
list $VAR1 = { 'vMotion' => { 'vm-129-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-129-disk-1',
                                              'vmid' => '129',
                                              'size' => '53687091200'
                                            },
                         'vm-128-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-128-disk-1',
                                              'vmid' => '128',
                                              'size' => '32212254720'
                                            },
                         'vm-115-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-115-disk-1',
                                              'vmid' => '115',
                                              'size' => '21474836480'
                                            },
                         'vm-117-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-117-disk-1',
                                              'vmid' => '117',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-2' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-2',
                                              'vmid' => '107',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-1',
                                              'vmid' => '107',
                                              'size' => '17179869184'
                                            },
                         'vm-114-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-114-disk-1',
                                              'vmid' => '114',
                                              'size' => '21474836480'
                                            }
                       }
        };
2013/06/22 01:06:16 INFO> ZFSPlugin.pm:536
PVE::Storage::ZFSPlugin::list_images - After zvol list is created
2013/06/22 01:06:16 INFO> ZFSPlugin.pm:565
PVE::Storage::ZFSPlugin::list_images - Before returning formatted list
$VAR1 = [ { 'format' => 'raw',
            'name' => 'vm-129-disk-1',
            'volid' => 'omnios:vm-129-disk-1',
            'vmid' => '129',
            'size' => '53687091200'
          },
          {
            'format' => 'raw',
            'name' => 'vm-128-disk-1',
            'volid' => 'omnios:vm-128-disk-1',
            'vmid' => '128',
            'size' => '32212254720'
          },
          {
            'format' => 'raw',
            'name' => 'vm-115-disk-1',
            'volid' => 'omnios:vm-115-disk-1',
            'vmid' => '115',
            'size' => '21474836480'
          },
          {
            'format' => 'raw',
            'name' => 'vm-117-disk-1',
            'volid' => 'omnios:vm-117-disk-1',
            'vmid' => '117',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-2',
            'volid' => 'omnios:vm-107-disk-2',
            'vmid' => '107',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-1',
            'volid' => 'omnios:vm-107-disk-1',
            'vmid' => '107',
            'size' => '17179869184'
          },
          {
            'format' => 'raw',
            'name' => 'vm-114-disk-1',
            'volid' => 'omnios:vm-114-disk-1',
            'vmid' => '114',
            'size' => '21474836480'
          }
        ];
2013/06/22 01:06:16 INFO> Storage.pm:678 PVE::Storage::vdisk_list -
Finished iterate Storage $VAR1 = {
          'omnios' => [
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-1',
                          'volid' => 'omnios:vm-107-disk-1',
                          'vmid' => '107',
                          'size' => '17179869184'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-2',
                          'volid' => 'omnios:vm-107-disk-2',
                          'vmid' => '107',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-114-disk-1',
                          'volid' => 'omnios:vm-114-disk-1',
                          'vmid' => '114',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-115-disk-1',
                          'volid' => 'omnios:vm-115-disk-1',
                          'vmid' => '115',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-117-disk-1',
                          'volid' => 'omnios:vm-117-disk-1',
                          'vmid' => '117',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-128-disk-1',
                          'volid' => 'omnios:vm-128-disk-1',
                          'vmid' => '128',
                          'size' => '32212254720'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-129-disk-1',
                          'volid' => 'omnios:vm-129-disk-1',
                          'vmid' => '129',
                          'size' => '53687091200'
                        }
                      ]
        };
2013/06/22 01:06:17 INFO> Storage.pm:668 PVE::Storage::vdisk_list -
Iterate Storage $VAR1 = {
          'omnios_nfs' => {
                            'options' => 'vers=3',
                            'content' => {
                                           'images' => 1,
                                           'rootdir' => 1,
                                           'backup' => 1
                                         },
                            'path' => '/mnt/pve/omnios_nfs',
                            'shared' => 1,
                            'type' => 'nfs',
                            'maxfiles' => '1',
                            'export' => '/vMotion/nfs',
                            'server' => '172.16.2.2'
                          },
          'qnap_nfs' => {
                          'options' => 'vers=3,tcp,noatime,relatime',
                          'content' => {
                                         'images' => 1,
                                         'iso' => 1,
                                         'vztmpl' => 1,
                                         'rootdir' => 1,
                                         'backup' => 1
                                       },
                          'path' => '/mnt/pve/qnap_nfs',
                          'shared' => 1,
                          'type' => 'nfs',
                          'maxfiles' => '2',
                          'export' => '/vz',
                          'server' => '192.168.2.10'
                        },
          'qnap' => {
                      'shared' => 1,
                      'target' =>
'iqn.2004-04.com.qnap:ts-212:iscsi.qnap.c8c1d1', 'content' => {
                                     'none' => 1
                                   },
                      'type' => 'iscsi',
                      'portal' => '192.168.2.10'
                    },
          'omnios' => {
                        'bsize' => '8k',
                        'target' =>
'iqn.2010-09.org.openindiana:vshare', 'pool' => 'vMotion',
                        'content' => {
                                       'images' => 1
                                     },
                        'iscsiprovider' => 'Comstar',
                        'type' => 'zfs',
                        'portal' => '172.16.2.2'
                      },
          'local' => {
                       'content' => {
                                      'images' => 1,
                                      'iso' => 1,
                                      'vztmpl' => 1,
                                      'rootdir' => 1
                                    },
                       'type' => 'dir',
                       'maxfiles' => '0',
                       'path' => '/var/lib/vz'
                     },
          'qnap_lvm' => {
                          'shared' => '1',
                          'base' =>
'qnap:0.0.0.scsi-36001405b83d88dbdff2cd405ddabf9d4', 'content' => {
                                         'images' => 1
                                       },
                          'vgname' => 'qnap_vg',
                          'type' => 'lvm'
                        }
        };
2013/06/22 01:06:17 INFO> ZFSPlugin.pm:531
PVE::Storage::ZFSPlugin::list_images - Before calling zfs_list_zvol
$VAR1 = { 'bsize' => '8k',
          'target' => 'iqn.2010-09.org.openindiana:vshare',
          'pool' => 'vMotion',
          'content' => {
                         'images' => 1
                       },
          'iscsiprovider' => 'Comstar',
          'type' => 'zfs',
          'portal' => '172.16.2.2'
        };
2013/06/22 01:06:18 INFO> ZFSPlugin.pm:283
PVE::Storage::ZFSPlugin::zfs_list_zvol - Starting to generate volume
list 2013/06/22 01:06:22 INFO> Storage.pm:668 PVE::Storage::vdisk_list
- Iterate Storage $VAR1 = { 'omnios_nfs' => {
                            'options' => 'vers=3',
                            'content' => {
                                           'images' => 1,
                                           'rootdir' => 1,
                                           'backup' => 1
                                         },
                            'path' => '/mnt/pve/omnios_nfs',
                            'shared' => 1,
                            'type' => 'nfs',
                            'maxfiles' => '1',
                            'export' => '/vMotion/nfs',
                            'server' => '172.16.2.2'
                          },
          'qnap_nfs' => {
                          'options' => 'vers=3,tcp,noatime,relatime',
                          'content' => {
                                         'images' => 1,
                                         'iso' => 1,
                                         'vztmpl' => 1,
                                         'rootdir' => 1,
                                         'backup' => 1
                                       },
                          'path' => '/mnt/pve/qnap_nfs',
                          'shared' => 1,
                          'type' => 'nfs',
                          'maxfiles' => '2',
                          'export' => '/vz',
                          'server' => '192.168.2.10'
                        },
          'qnap' => {
                      'shared' => 1,
                      'target' =>
'iqn.2004-04.com.qnap:ts-212:iscsi.qnap.c8c1d1', 'content' => {
                                     'none' => 1
                                   },
                      'type' => 'iscsi',
                      'portal' => '192.168.2.10'
                    },
          'omnios' => {
                        'bsize' => '8k',
                        'target' =>
'iqn.2010-09.org.openindiana:vshare', 'pool' => 'vMotion',
                        'content' => {
                                       'images' => 1
                                     },
                        'iscsiprovider' => 'Comstar',
                        'type' => 'zfs',
                        'portal' => '172.16.2.2'
                      },
          'local' => {
                       'content' => {
                                      'images' => 1,
                                      'iso' => 1,
                                      'vztmpl' => 1,
                                      'rootdir' => 1
                                    },
                       'type' => 'dir',
                       'maxfiles' => '0',
                       'path' => '/var/lib/vz'
                     },
          'qnap_lvm' => {
                          'shared' => '1',
                          'base' =>
'qnap:0.0.0.scsi-36001405b83d88dbdff2cd405ddabf9d4', 'content' => {
                                         'images' => 1
                                       },
                          'vgname' => 'qnap_vg',
                          'type' => 'lvm'
                        }
        };
2013/06/22 01:06:22 INFO> ZFSPlugin.pm:531
PVE::Storage::ZFSPlugin::list_images - Before calling zfs_list_zvol
$VAR1 = { 'bsize' => '8k',
          'target' => 'iqn.2010-09.org.openindiana:vshare',
          'pool' => 'vMotion',
          'content' => {
                         'images' => 1
                       },
          'iscsiprovider' => 'Comstar',
          'type' => 'zfs',
          'portal' => '172.16.2.2'
        };
2013/06/22 01:06:22 INFO> ZFSPlugin.pm:283
PVE::Storage::ZFSPlugin::zfs_list_zvol - Starting to generate volume
list 2013/06/22 01:06:26 INFO> ZFSPlugin.pm:308
PVE::Storage::ZFSPlugin::zfs_list_zvol - Finished generating volume
list $VAR1 = { 'vMotion' => { 'vm-129-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-129-disk-1',
                                              'vmid' => '129',
                                              'size' => '53687091200'
                                            },
                         'vm-128-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-128-disk-1',
                                              'vmid' => '128',
                                              'size' => '32212254720'
                                            },
                         'vm-115-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-115-disk-1',
                                              'vmid' => '115',
                                              'size' => '21474836480'
                                            },
                         'vm-117-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-117-disk-1',
                                              'vmid' => '117',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-2' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-2',
                                              'vmid' => '107',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-1',
                                              'vmid' => '107',
                                              'size' => '17179869184'
                                            },
                         'vm-114-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-114-disk-1',
                                              'vmid' => '114',
                                              'size' => '21474836480'
                                            }
                       }
        };
2013/06/22 01:06:26 INFO> ZFSPlugin.pm:536
PVE::Storage::ZFSPlugin::list_images - After zvol list is created
2013/06/22 01:06:26 INFO> ZFSPlugin.pm:565
PVE::Storage::ZFSPlugin::list_images - Before returning formatted list
$VAR1 = [ { 'format' => 'raw',
            'name' => 'vm-129-disk-1',
            'volid' => 'omnios:vm-129-disk-1',
            'vmid' => '129',
            'size' => '53687091200'
          },
          {
            'format' => 'raw',
            'name' => 'vm-128-disk-1',
            'volid' => 'omnios:vm-128-disk-1',
            'vmid' => '128',
            'size' => '32212254720'
          },
          {
            'format' => 'raw',
            'name' => 'vm-115-disk-1',
            'volid' => 'omnios:vm-115-disk-1',
            'vmid' => '115',
            'size' => '21474836480'
          },
          {
            'format' => 'raw',
            'name' => 'vm-117-disk-1',
            'volid' => 'omnios:vm-117-disk-1',
            'vmid' => '117',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-2',
            'volid' => 'omnios:vm-107-disk-2',
            'vmid' => '107',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-1',
            'volid' => 'omnios:vm-107-disk-1',
            'vmid' => '107',
            'size' => '17179869184'
          },
          {
            'format' => 'raw',
            'name' => 'vm-114-disk-1',
            'volid' => 'omnios:vm-114-disk-1',
            'vmid' => '114',
            'size' => '21474836480'
          }
        ];
2013/06/22 01:06:26 INFO> Storage.pm:678 PVE::Storage::vdisk_list -
Finished iterate Storage $VAR1 = {
          'omnios' => [
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-1',
                          'volid' => 'omnios:vm-107-disk-1',
                          'vmid' => '107',
                          'size' => '17179869184'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-2',
                          'volid' => 'omnios:vm-107-disk-2',
                          'vmid' => '107',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-114-disk-1',
                          'volid' => 'omnios:vm-114-disk-1',
                          'vmid' => '114',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-115-disk-1',
                          'volid' => 'omnios:vm-115-disk-1',
                          'vmid' => '115',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-117-disk-1',
                          'volid' => 'omnios:vm-117-disk-1',
                          'vmid' => '117',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-128-disk-1',
                          'volid' => 'omnios:vm-128-disk-1',
                          'vmid' => '128',
                          'size' => '32212254720'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-129-disk-1',
                          'volid' => 'omnios:vm-129-disk-1',
                          'vmid' => '129',
                          'size' => '53687091200'
                        }
                      ]
        };
2013/06/22 01:06:27 INFO> Storage.pm:668 PVE::Storage::vdisk_list -
Iterate Storage $VAR1 = {
          'omnios_nfs' => {
                            'options' => 'vers=3',
                            'content' => {
                                           'images' => 1,
                                           'rootdir' => 1,
                                           'backup' => 1
                                         },
                            'path' => '/mnt/pve/omnios_nfs',
                            'shared' => 1,
                            'type' => 'nfs',
                            'maxfiles' => '1',
                            'export' => '/vMotion/nfs',
                            'server' => '172.16.2.2'
                          },
          'qnap_nfs' => {
                          'options' => 'vers=3,tcp,noatime,relatime',
                          'content' => {
                                         'images' => 1,
                                         'iso' => 1,
                                         'vztmpl' => 1,
                                         'rootdir' => 1,
                                         'backup' => 1
                                       },
                          'path' => '/mnt/pve/qnap_nfs',
                          'shared' => 1,
                          'type' => 'nfs',
                          'maxfiles' => '2',
                          'export' => '/vz',
                          'server' => '192.168.2.10'
                        },
          'qnap' => {
                      'shared' => 1,
                      'target' =>
'iqn.2004-04.com.qnap:ts-212:iscsi.qnap.c8c1d1', 'content' => {
                                     'none' => 1
                                   },
                      'type' => 'iscsi',
                      'portal' => '192.168.2.10'
                    },
          'omnios' => {
                        'bsize' => '8k',
                        'target' =>
'iqn.2010-09.org.openindiana:vshare', 'pool' => 'vMotion',
                        'content' => {
                                       'images' => 1
                                     },
                        'iscsiprovider' => 'Comstar',
                        'type' => 'zfs',
                        'portal' => '172.16.2.2'
                      },
          'local' => {
                       'content' => {
                                      'images' => 1,
                                      'iso' => 1,
                                      'vztmpl' => 1,
                                      'rootdir' => 1
                                    },
                       'type' => 'dir',
                       'maxfiles' => '0',
                       'path' => '/var/lib/vz'
                     },
          'qnap_lvm' => {
                          'shared' => '1',
                          'base' =>
'qnap:0.0.0.scsi-36001405b83d88dbdff2cd405ddabf9d4', 'content' => {
                                         'images' => 1
                                       },
                          'vgname' => 'qnap_vg',
                          'type' => 'lvm'
                        }
        };
2013/06/22 01:06:27 INFO> ZFSPlugin.pm:531
PVE::Storage::ZFSPlugin::list_images - Before calling zfs_list_zvol
$VAR1 = { 'bsize' => '8k',
          'target' => 'iqn.2010-09.org.openindiana:vshare',
          'pool' => 'vMotion',
          'content' => {
                         'images' => 1
                       },
          'iscsiprovider' => 'Comstar',
          'type' => 'zfs',
          'portal' => '172.16.2.2'
        };
2013/06/22 01:06:27 INFO> ZFSPlugin.pm:283
PVE::Storage::ZFSPlugin::zfs_list_zvol - Starting to generate volume
list 2013/06/22 01:06:32 INFO> ZFSPlugin.pm:308
PVE::Storage::ZFSPlugin::zfs_list_zvol - Finished generating volume
list $VAR1 = { 'vMotion' => { 'vm-129-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-129-disk-1',
                                              'vmid' => '129',
                                              'size' => '53687091200'
                                            },
                         'vm-128-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-128-disk-1',
                                              'vmid' => '128',
                                              'size' => '32212254720'
                                            },
                         'vm-115-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-115-disk-1',
                                              'vmid' => '115',
                                              'size' => '21474836480'
                                            },
                         'vm-117-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-117-disk-1',
                                              'vmid' => '117',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-2' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-2',
                                              'vmid' => '107',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-1',
                                              'vmid' => '107',
                                              'size' => '17179869184'
                                            },
                         'vm-114-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-114-disk-1',
                                              'vmid' => '114',
                                              'size' => '21474836480'
                                            }
                       }
        };
2013/06/22 01:06:32 INFO> ZFSPlugin.pm:536
PVE::Storage::ZFSPlugin::list_images - After zvol list is created
2013/06/22 01:06:32 INFO> ZFSPlugin.pm:565
PVE::Storage::ZFSPlugin::list_images - Before returning formatted list
$VAR1 = [ { 'format' => 'raw',
            'name' => 'vm-129-disk-1',
            'volid' => 'omnios:vm-129-disk-1',
            'vmid' => '129',
            'size' => '53687091200'
          },
          {
            'format' => 'raw',
            'name' => 'vm-128-disk-1',
            'volid' => 'omnios:vm-128-disk-1',
            'vmid' => '128',
            'size' => '32212254720'
          },
          {
            'format' => 'raw',
            'name' => 'vm-115-disk-1',
            'volid' => 'omnios:vm-115-disk-1',
            'vmid' => '115',
            'size' => '21474836480'
          },
          {
            'format' => 'raw',
            'name' => 'vm-117-disk-1',
            'volid' => 'omnios:vm-117-disk-1',
            'vmid' => '117',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-2',
            'volid' => 'omnios:vm-107-disk-2',
            'vmid' => '107',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-1',
            'volid' => 'omnios:vm-107-disk-1',
            'vmid' => '107',
            'size' => '17179869184'
          },
          {
            'format' => 'raw',
            'name' => 'vm-114-disk-1',
            'volid' => 'omnios:vm-114-disk-1',
            'vmid' => '114',
            'size' => '21474836480'
          }
        ];
2013/06/22 01:06:32 INFO> Storage.pm:678 PVE::Storage::vdisk_list -
Finished iterate Storage $VAR1 = {
          'omnios' => [
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-1',
                          'volid' => 'omnios:vm-107-disk-1',
                          'vmid' => '107',
                          'size' => '17179869184'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-2',
                          'volid' => 'omnios:vm-107-disk-2',
                          'vmid' => '107',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-114-disk-1',
                          'volid' => 'omnios:vm-114-disk-1',
                          'vmid' => '114',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-115-disk-1',
                          'volid' => 'omnios:vm-115-disk-1',
                          'vmid' => '115',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-117-disk-1',
                          'volid' => 'omnios:vm-117-disk-1',
                          'vmid' => '117',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-128-disk-1',
                          'volid' => 'omnios:vm-128-disk-1',
                          'vmid' => '128',
                          'size' => '32212254720'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-129-disk-1',
                          'volid' => 'omnios:vm-129-disk-1',
                          'vmid' => '129',
                          'size' => '53687091200'
                        }
                      ]
        };
2013/06/22 01:06:37 INFO> Storage.pm:668 PVE::Storage::vdisk_list -
Iterate Storage $VAR1 = {
          'omnios_nfs' => {
                            'options' => 'vers=3',
                            'content' => {
                                           'images' => 1,
                                           'rootdir' => 1,
                                           'backup' => 1
                                         },
                            'path' => '/mnt/pve/omnios_nfs',
                            'shared' => 1,
                            'type' => 'nfs',
                            'maxfiles' => '1',
                            'export' => '/vMotion/nfs',
                            'server' => '172.16.2.2'
                          },
          'qnap_nfs' => {
                          'options' => 'vers=3,tcp,noatime,relatime',
                          'content' => {
                                         'images' => 1,
                                         'iso' => 1,
                                         'vztmpl' => 1,
                                         'rootdir' => 1,
                                         'backup' => 1
                                       },
                          'path' => '/mnt/pve/qnap_nfs',
                          'shared' => 1,
                          'type' => 'nfs',
                          'maxfiles' => '2',
                          'export' => '/vz',
                          'server' => '192.168.2.10'
                        },
          'qnap' => {
                      'shared' => 1,
                      'target' =>
'iqn.2004-04.com.qnap:ts-212:iscsi.qnap.c8c1d1', 'content' => {
                                     'none' => 1
                                   },
                      'type' => 'iscsi',
                      'portal' => '192.168.2.10'
                    },
          'omnios' => {
                        'bsize' => '8k',
                        'target' =>
'iqn.2010-09.org.openindiana:vshare', 'pool' => 'vMotion',
                        'content' => {
                                       'images' => 1
                                     },
                        'iscsiprovider' => 'Comstar',
                        'type' => 'zfs',
                        'portal' => '172.16.2.2'
                      },
          'local' => {
                       'content' => {
                                      'images' => 1,
                                      'iso' => 1,
                                      'vztmpl' => 1,
                                      'rootdir' => 1
                                    },
                       'type' => 'dir',
                       'maxfiles' => '0',
                       'path' => '/var/lib/vz'
                     },
          'qnap_lvm' => {
                          'shared' => '1',
                          'base' =>
'qnap:0.0.0.scsi-36001405b83d88dbdff2cd405ddabf9d4', 'content' => {
                                         'images' => 1
                                       },
                          'vgname' => 'qnap_vg',
                          'type' => 'lvm'
                        }
        };
2013/06/22 01:06:37 INFO> ZFSPlugin.pm:531
PVE::Storage::ZFSPlugin::list_images - Before calling zfs_list_zvol
$VAR1 = { 'bsize' => '8k',
          'target' => 'iqn.2010-09.org.openindiana:vshare',
          'pool' => 'vMotion',
          'content' => {
                         'images' => 1
                       },
          'iscsiprovider' => 'Comstar',
          'type' => 'zfs',
          'portal' => '172.16.2.2'
        };
2013/06/22 01:06:37 INFO> ZFSPlugin.pm:308
PVE::Storage::ZFSPlugin::zfs_list_zvol - Finished generating volume
list $VAR1 = { 'vMotion' => {
                         'vm-129-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-129-disk-1',
                                              'vmid' => '129',
                                              'size' => '53687091200'
                                            },
                         'vm-128-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-128-disk-1',
                                              'vmid' => '128',
                                              'size' => '32212254720'
                                            },
                         'vm-115-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-115-disk-1',
                                              'vmid' => '115',
                                              'size' => '21474836480'
                                            },
                         'vm-117-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-117-disk-1',
                                              'vmid' => '117',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-2' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-2',
                                              'vmid' => '107',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-1',
                                              'vmid' => '107',
                                              'size' => '17179869184'
                                            },
                         'vm-114-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-114-disk-1',
                                              'vmid' => '114',
                                              'size' => '21474836480'
                                            }
                       }
        };
2013/06/22 01:06:37 INFO> ZFSPlugin.pm:536
PVE::Storage::ZFSPlugin::list_images - After zvol list is created
2013/06/22 01:06:37 INFO> ZFSPlugin.pm:565
PVE::Storage::ZFSPlugin::list_images - Before returning formatted list
$VAR1 = [ { 'format' => 'raw',
            'name' => 'vm-129-disk-1',
            'volid' => 'omnios:vm-129-disk-1',
            'vmid' => '129',
            'size' => '53687091200'
          },
          {
            'format' => 'raw',
            'name' => 'vm-128-disk-1',
            'volid' => 'omnios:vm-128-disk-1',
            'vmid' => '128',
            'size' => '32212254720'
          },
          {
            'format' => 'raw',
            'name' => 'vm-115-disk-1',
            'volid' => 'omnios:vm-115-disk-1',
            'vmid' => '115',
            'size' => '21474836480'
          },
          {
            'format' => 'raw',
            'name' => 'vm-117-disk-1',
            'volid' => 'omnios:vm-117-disk-1',
            'vmid' => '117',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-2',
            'volid' => 'omnios:vm-107-disk-2',
            'vmid' => '107',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-1',
            'volid' => 'omnios:vm-107-disk-1',
            'vmid' => '107',
            'size' => '17179869184'
          },
          {
            'format' => 'raw',
            'name' => 'vm-114-disk-1',
            'volid' => 'omnios:vm-114-disk-1',
            'vmid' => '114',
            'size' => '21474836480'
          }
        ];
2013/06/22 01:06:37 INFO> Storage.pm:678 PVE::Storage::vdisk_list -
Finished iterate Storage $VAR1 = {
          'omnios' => [
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-1',
                          'volid' => 'omnios:vm-107-disk-1',
                          'vmid' => '107',
                          'size' => '17179869184'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-2',
                          'volid' => 'omnios:vm-107-disk-2',
                          'vmid' => '107',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-114-disk-1',
                          'volid' => 'omnios:vm-114-disk-1',
                          'vmid' => '114',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-115-disk-1',
                          'volid' => 'omnios:vm-115-disk-1',
                          'vmid' => '115',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-117-disk-1',
                          'volid' => 'omnios:vm-117-disk-1',
                          'vmid' => '117',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-128-disk-1',
                          'volid' => 'omnios:vm-128-disk-1',
                          'vmid' => '128',
                          'size' => '32212254720'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-129-disk-1',
                          'volid' => 'omnios:vm-129-disk-1',
                          'vmid' => '129',
                          'size' => '53687091200'
                        }
                      ]
        };
2013/06/22 01:06:38 INFO> ZFSPlugin.pm:283
PVE::Storage::ZFSPlugin::zfs_list_zvol - Starting to generate volume
list 2013/06/22 01:06:47 INFO> ZFSPlugin.pm:308
PVE::Storage::ZFSPlugin::zfs_list_zvol - Finished generating volume
list $VAR1 = { 'vMotion' => { 'vm-129-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-129-disk-1',
                                              'vmid' => '129',
                                              'size' => '53687091200'
                                            },
                         'vm-128-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-128-disk-1',
                                              'vmid' => '128',
                                              'size' => '32212254720'
                                            },
                         'vm-115-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-115-disk-1',
                                              'vmid' => '115',
                                              'size' => '21474836480'
                                            },
                         'vm-117-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-117-disk-1',
                                              'vmid' => '117',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-2' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-2',
                                              'vmid' => '107',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-1',
                                              'vmid' => '107',
                                              'size' => '17179869184'
                                            },
                         'vm-114-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-114-disk-1',
                                              'vmid' => '114',
                                              'size' => '21474836480'
                                            }
                       }
        };
2013/06/22 01:06:47 INFO> ZFSPlugin.pm:536
PVE::Storage::ZFSPlugin::list_images - After zvol list is created
2013/06/22 01:06:47 INFO> ZFSPlugin.pm:565
PVE::Storage::ZFSPlugin::list_images - Before returning formatted list
$VAR1 = [ { 'format' => 'raw',
            'name' => 'vm-129-disk-1',
            'volid' => 'omnios:vm-129-disk-1',
            'vmid' => '129',
            'size' => '53687091200'
          },
          {
            'format' => 'raw',
            'name' => 'vm-128-disk-1',
            'volid' => 'omnios:vm-128-disk-1',
            'vmid' => '128',
            'size' => '32212254720'
          },
          {
            'format' => 'raw',
            'name' => 'vm-115-disk-1',
            'volid' => 'omnios:vm-115-disk-1',
            'vmid' => '115',
            'size' => '21474836480'
          },
          {
            'format' => 'raw',
            'name' => 'vm-117-disk-1',
            'volid' => 'omnios:vm-117-disk-1',
            'vmid' => '117',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-2',
            'volid' => 'omnios:vm-107-disk-2',
            'vmid' => '107',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-1',
            'volid' => 'omnios:vm-107-disk-1',
            'vmid' => '107',
            'size' => '17179869184'
          },
          {
            'format' => 'raw',
            'name' => 'vm-114-disk-1',
            'volid' => 'omnios:vm-114-disk-1',
            'vmid' => '114',
            'size' => '21474836480'
          }
        ];
2013/06/22 01:06:47 INFO> Storage.pm:678 PVE::Storage::vdisk_list -
Finished iterate Storage $VAR1 = {
          'omnios' => [
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-1',
                          'volid' => 'omnios:vm-107-disk-1',
                          'vmid' => '107',
                          'size' => '17179869184'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-2',
                          'volid' => 'omnios:vm-107-disk-2',
                          'vmid' => '107',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-114-disk-1',
                          'volid' => 'omnios:vm-114-disk-1',
                          'vmid' => '114',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-115-disk-1',
                          'volid' => 'omnios:vm-115-disk-1',
                          'vmid' => '115',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-117-disk-1',
                          'volid' => 'omnios:vm-117-disk-1',
                          'vmid' => '117',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-128-disk-1',
                          'volid' => 'omnios:vm-128-disk-1',
                          'vmid' => '128',
                          'size' => '32212254720'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-129-disk-1',
                          'volid' => 'omnios:vm-129-disk-1',
                          'vmid' => '129',
                          'size' => '53687091200'
                        }
                      ]
        };
2013/06/22 01:06:52 INFO> Storage.pm:668 PVE::Storage::vdisk_list -
Iterate Storage $VAR1 = {
          'omnios_nfs' => {
                            'options' => 'vers=3',
                            'content' => {
                                           'images' => 1,
                                           'rootdir' => 1,
                                           'backup' => 1
                                         },
                            'path' => '/mnt/pve/omnios_nfs',
                            'shared' => 1,
                            'type' => 'nfs',
                            'maxfiles' => '1',
                            'export' => '/vMotion/nfs',
                            'server' => '172.16.2.2'
                          },
          'qnap_nfs' => {
                          'options' => 'vers=3,tcp,noatime,relatime',
                          'content' => {
                                         'images' => 1,
                                         'iso' => 1,
                                         'vztmpl' => 1,
                                         'rootdir' => 1,
                                         'backup' => 1
                                       },
                          'path' => '/mnt/pve/qnap_nfs',
                          'shared' => 1,
                          'type' => 'nfs',
                          'maxfiles' => '2',
                          'export' => '/vz',
                          'server' => '192.168.2.10'
                        },
          'qnap' => {
                      'shared' => 1,
                      'target' =>
'iqn.2004-04.com.qnap:ts-212:iscsi.qnap.c8c1d1', 'content' => {
                                     'none' => 1
                                   },
                      'type' => 'iscsi',
                      'portal' => '192.168.2.10'
                    },
          'omnios' => {
                        'bsize' => '8k',
                        'target' =>
'iqn.2010-09.org.openindiana:vshare', 'pool' => 'vMotion',
                        'content' => {
                                       'images' => 1
                                     },
                        'iscsiprovider' => 'Comstar',
                        'type' => 'zfs',
                        'portal' => '172.16.2.2'
                      },
          'local' => {
                       'content' => {
                                      'images' => 1,
                                      'iso' => 1,
                                      'vztmpl' => 1,
                                      'rootdir' => 1
                                    },
                       'type' => 'dir',
                       'maxfiles' => '0',
                       'path' => '/var/lib/vz'
                     },
          'qnap_lvm' => {
                          'shared' => '1',
                          'base' =>
'qnap:0.0.0.scsi-36001405b83d88dbdff2cd405ddabf9d4', 'content' => {
                                         'images' => 1
                                       },
                          'vgname' => 'qnap_vg',
                          'type' => 'lvm'
                        }
        };
2013/06/22 01:06:52 INFO> ZFSPlugin.pm:531
PVE::Storage::ZFSPlugin::list_images - Before calling zfs_list_zvol
$VAR1 = { 'bsize' => '8k',
          'target' => 'iqn.2010-09.org.openindiana:vshare',
          'pool' => 'vMotion',
          'content' => {
                         'images' => 1
                       },
          'iscsiprovider' => 'Comstar',
          'type' => 'zfs',
          'portal' => '172.16.2.2'
        };
2013/06/22 01:06:52 INFO> ZFSPlugin.pm:283
PVE::Storage::ZFSPlugin::zfs_list_zvol - Starting to generate volume
list 2013/06/22 01:06:55 INFO> ZFSPlugin.pm:308
PVE::Storage::ZFSPlugin::zfs_list_zvol - Finished generating volume
list $VAR1 = { 'vMotion' => { 'vm-129-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-129-disk-1',
                                              'vmid' => '129',
                                              'size' => '53687091200'
                                            },
                         'vm-128-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-128-disk-1',
                                              'vmid' => '128',
                                              'size' => '32212254720'
                                            },
                         'vm-115-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-115-disk-1',
                                              'vmid' => '115',
                                              'size' => '21474836480'
                                            },
                         'vm-117-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-117-disk-1',
                                              'vmid' => '117',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-2' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-2',
                                              'vmid' => '107',
                                              'size' => 4294967296
                                            },
                         'vm-107-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-107-disk-1',
                                              'vmid' => '107',
                                              'size' => '17179869184'
                                            },
                         'vm-114-disk-1' => {
                                              'format' => 'raw',
                                              'name' => 'vm-114-disk-1',
                                              'vmid' => '114',
                                              'size' => '21474836480'
                                            }
                       }
        };
2013/06/22 01:06:55 INFO> ZFSPlugin.pm:536
PVE::Storage::ZFSPlugin::list_images - After zvol list is created
2013/06/22 01:06:55 INFO> ZFSPlugin.pm:565
PVE::Storage::ZFSPlugin::list_images - Before returning formatted list
$VAR1 = [ { 'format' => 'raw',
            'name' => 'vm-129-disk-1',
            'volid' => 'omnios:vm-129-disk-1',
            'vmid' => '129',
            'size' => '53687091200'
          },
          {
            'format' => 'raw',
            'name' => 'vm-128-disk-1',
            'volid' => 'omnios:vm-128-disk-1',
            'vmid' => '128',
            'size' => '32212254720'
          },
          {
            'format' => 'raw',
            'name' => 'vm-115-disk-1',
            'volid' => 'omnios:vm-115-disk-1',
            'vmid' => '115',
            'size' => '21474836480'
          },
          {
            'format' => 'raw',
            'name' => 'vm-117-disk-1',
            'volid' => 'omnios:vm-117-disk-1',
            'vmid' => '117',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-2',
            'volid' => 'omnios:vm-107-disk-2',
            'vmid' => '107',
            'size' => 4294967296
          },
          {
            'format' => 'raw',
            'name' => 'vm-107-disk-1',
            'volid' => 'omnios:vm-107-disk-1',
            'vmid' => '107',
            'size' => '17179869184'
          },
          {
            'format' => 'raw',
            'name' => 'vm-114-disk-1',
            'volid' => 'omnios:vm-114-disk-1',
            'vmid' => '114',
            'size' => '21474836480'
          }
        ];
2013/06/22 01:06:55 INFO> Storage.pm:678 PVE::Storage::vdisk_list -
Finished iterate Storage $VAR1 = {
          'omnios' => [
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-1',
                          'volid' => 'omnios:vm-107-disk-1',
                          'vmid' => '107',
                          'size' => '17179869184'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-107-disk-2',
                          'volid' => 'omnios:vm-107-disk-2',
                          'vmid' => '107',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-114-disk-1',
                          'volid' => 'omnios:vm-114-disk-1',
                          'vmid' => '114',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-115-disk-1',
                          'volid' => 'omnios:vm-115-disk-1',
                          'vmid' => '115',
                          'size' => '21474836480'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-117-disk-1',
                          'volid' => 'omnios:vm-117-disk-1',
                          'vmid' => '117',
                          'size' => 4294967296
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-128-disk-1',
                          'volid' => 'omnios:vm-128-disk-1',
                          'vmid' => '128',
                          'size' => '32212254720'
                        },
                        {
                          'format' => 'raw',
                          'name' => 'vm-129-disk-1',
                          'volid' => 'omnios:vm-129-disk-1',
                          'vmid' => '129',
                          'size' => '53687091200'
                        }
                      ]
        };

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
Debian Hint #7: You can use the cron-apt package to do automatic nightly
downloads of updates for packages installed on your system.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ZFSPlugin.log
Type: text/x-log
Size: 63288 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20130622/180fda53/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.proxmox.com/pipermail/pve-devel/attachments/20130622/180fda53/attachment.sig>


More information about the pve-devel mailing list