issues with instance moving

26 views
Skip to first unread message

Vladimir Palii

unread,
Apr 17, 2018, 2:45:22 PM4/17/18
to Synnefo
Greetings, 

We are experiencing issues with instance moving, check please information below: 



root@server02:~# gnt-instance move -n server04 --dry-run instance1
Instance instance1 will be moved. This requires a shutdown of the
instance. Continue?
y/[n]/?: y
Fri Apr 13 05:45:49 2018  - INFO: Not checking memory on the secondary node as instance will not be started
Fri Apr 13 05:45:49 2018  - INFO: dry-run mode requested, not actually executing the operation

root@server02:~# gnt-instance move -n server04 instance1
Instance instance1 will be moved. This requires a shutdown of the
instance. Continue?
y/[n]/?: y
Fri Apr 13 05:46:21 2018  - INFO: Not checking memory on the secondary node as instance will not be started
Fri Apr 13 05:46:21 2018  - INFO: Shutting down instance instance1 on source node server02.domainname.com
Fri Apr 13 05:46:22 2018  - INFO: Copying data for disk 0
Failure: command execution error:
'str' object has no attribute 'ToDict'

root@server02:~# gnt-instance move -n server01 instance1
Instance instance1 will be moved. This requires a shutdown of the
instance. Continue?
y/[n]/?: y
Fri Apr 13 05:54:24 2018  - INFO: Not checking memory on the secondary node as instance will not be started
Fri Apr 13 05:54:24 2018  - INFO: Shutting down instance instance1 on source node server02.domainname.com
Fri Apr 13 05:54:25 2018  - INFO: Copying data for disk 0
Failure: command execution error:
'str' object has no attribute 'ToDict'

root@server02:~# gnt-instance move -n server04 snf-252 
Instance snf-252 will be moved. This requires a shutdown of the
instance. Continue?
y/[n]/?: y
Fri Apr 13 05:59:54 2018  - INFO: Not checking memory on the secondary node as instance will not be started
Fri Apr 13 05:59:54 2018  - INFO: Shutting down instance snf-252 on source node server03.domainname.com
Fri Apr 13 05:59:55 2018  - INFO: Copying data for disk 0
Failure: command execution error:
'str' object has no attribute ‘ToDict'

root@server02:/var/log# gnt-cluster verify
Submitted jobs 561610, 561611
Waiting for job 561610 ...
Fri Apr 13 05:47:30 2018 * Verifying cluster config
Fri Apr 13 05:47:30 2018 * Verifying cluster certificate files
Fri Apr 13 05:47:30 2018 * Verifying hypervisor parameters
Fri Apr 13 05:47:30 2018 * Verifying all nodes belong to an existing group
Waiting for job 561611 ...
Fri Apr 13 05:47:30 2018 * Verifying group 'default'
Fri Apr 13 05:47:30 2018 * Gathering data (6 nodes)
Fri Apr 13 05:47:33 2018 * Gathering disk information (6 nodes)
Fri Apr 13 05:47:34 2018 * Verifying configuration file consistency
Fri Apr 13 05:47:34 2018 * Verifying node status
Fri Apr 13 05:47:34 2018 * Verifying instance status
Fri Apr 13 05:47:35 2018 * Verifying orphan volumes
Fri Apr 13 05:47:35 2018   - ERROR: node server04.domainname.com: volume ganeti/8335aa45-b23e-41dd-9ec3-8942f9728994.disk0 is unknown
Fri Apr 13 05:47:35 2018 * Verifying N+1 Memory redundancy
Fri Apr 13 05:47:35 2018 * Other Notes
Fri Apr 13 05:47:35 2018   - NOTICE: 6 non-redundant instance(s) found.
Fri Apr 13 05:47:35 2018 * Hooks Results



gnt-cluster info
Cluster UUID: 12a3db98-6fd1-4e28-8dd7-1ebf8d490f01
Creation time: 2015-07-17 21:09:32
Modification time: 2018-03-23 00:28:02
Architecture (this node): 64bits (x86_64)
Tags: (none)
Default hypervisor: xen-pvm
Enabled hypervisors: xen-pvm, xen-hvm
Hypervisor parameters: 
  xen-hvm: 
    acpi: True
    blockdev_prefix: hd
    boot_order: cd
    cdrom_image_path: 
    cpu_cap: 0
    cpu_mask: all
    cpu_weight: 256
    cpuid: 
    device_model: /usr/lib/xen/bin/qemu-dm
    disk_type: paravirtual
    kernel_path: /usr/lib/xen-4.1/boot/hvmloader
    migration_mode: non-live
    migration_port: 8002
    nic_type: rtl8139
    pae: True
    pci_pass: 
    reboot_behavior: reboot
    soundhw: 
    use_localtime: False
    vif_script: 
    vif_type: ioemu
    viridian: False
    vnc_bind_address: 0.0.0.0
    vnc_password_file: /etc/ganeti/vnc-cluster-password
    xen_cmd: xm
  xen-pvm: 
    blockdev_prefix: sd
    bootloader_args: 
    bootloader_path: 
    cpu_cap: 0
    cpu_mask: all
    cpu_weight: 256
    cpuid: 
    initrd_path: /boot/initrd.img-3.2.0-4-amd64
    kernel_args: ro
    kernel_path: /boot/vmlinuz-3.2.0-4-amd64
    migration_mode: live
    migration_port: 8002
    reboot_behavior: reboot
    root_path: /dev/xvda1
    soundhw: 
    use_bootloader: False
    vif_script: /etc/xen/scripts/vif-custom
    xen_cmd: xm
OS-specific hypervisor parameters: 
OS parameters: 
Hidden OSes: 
Blacklisted OSes: 
Cluster parameters: 
  candidate pool size: 10
  master netdev: xenbr0
  master netmask: 32
  use external master IP address setup script: False
  lvm volume group: ganeti
  lvm reserved volumes: (none)
  drbd usermode helper: /bin/true
  file storage path: /srv/ganeti/file-storage
  shared file storage path: /srv/ganeti/shared-file-storage
  maintenance of node health: False
  uid pool: 
  default instance allocator: hail
  primary ip version: 4
  preallocation wipe disks: False
  OS search path: /srv/ganeti/os, /usr/local/lib/ganeti/os, /usr/lib/ganeti/os, /usr/share/ganeti/os
  ExtStorage Providers search path: /srv/ganeti/extstorage, /usr/local/lib/ganeti/extstorage, /usr/lib/ganeti/extstorage, /usr/share/ganeti/extstorage
  enabled disk templates: drbd, plain
Default node parameters: 
  exclusive_storage: False
  oob_program: 
  ovs: False
  ovs_link: 
  ovs_name: switch1
  spindle_count: 1
Default instance parameters: 
  default: 
    auto_balance: True
    maxmem: 128
    minmem: 128
    vcpus: 1
Default nic parameters: 
  default: 
    link: xenbr0
    mode: bridged
    vlan: 
Default disk parameters: 
  blockdev: 
  diskless: 
  drbd: 
    c-delay-target: 1
    c-fill-target: 0
    c-max-rate: 61440
    c-min-rate: 4096
    c-plan-ahead: 20
    data-stripes: 1
    disk-barriers: n
    disk-custom: 
    dynamic-resync: False
    meta-barriers: False
    meta-stripes: 1
    metavg: ganeti
    net-custom: 
    protocol: C
    resync-rate: 61440
  ext: 
    access: kernelspace
  file: 
  plain: 
    stripes: 1
  rbd: 
    access: kernelspace
    pool: rbd
  sharedfile: 
Instance policy - limits for instances: 
  bounds specs: 
    - max/0: 
        cpu-count: 64
        disk-count: 16
        disk-size: 1048576
        memory-size: 65536
        nic-count: 8
        spindle-use: 12
      min/0: 
        cpu-count: 0
        disk-count: 1
        disk-size: 32
        memory-size: 128
        nic-count: 0
        spindle-use: 1
  std: 
    cpu-count: 1
    disk-count: 1
    disk-size: 1024
    memory-size: 128
    nic-count: 1
    spindle-use: 1
  allowed disk templates: drbd, plain
  vcpu-ratio: 4
  spindle-ratio: 32



Let me know please if you need additional information.
Reply all
Reply to author
Forward
0 new messages