Comment #18 on issue 1064 by [email protected]: Cannot install VM on Gluster bankend storage
https://code.google.com/p/ganeti/issues/detail?id=1064

Hi Petr,

After I deploy Ganeti cluster again in Ubuntu 14.04, I could add instances successfully with gluster storage as follows. Now, let me fix Issue 1030 (https://code.google.com/p/ganeti/issues/detail?id=1030). Thanks very much for your help.

root@node2:~# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04 LTS
Release:        14.04
Codename:       trusty

root@node2:~# sudo gnt-instance add -n node2 -o debootstrap+default -t gluster -s 5G instance3 Mon Apr 20 09:58:48 2015 - INFO: Resolved given name 'instance3' to 'instance3.ganeti.com'
Mon Apr 20 09:58:52 2015 * disk 0, size 5.0G
Mon Apr 20 09:58:52 2015 * creating instance disks...
Mon Apr 20 09:58:52 2015 adding instance instance3.ganeti.com to cluster config Mon Apr 20 09:58:54 2015 - INFO: Waiting for instance instance3.ganeti.com to sync disks Mon Apr 20 09:58:54 2015 - INFO: Instance instance3.ganeti.com's disks are in sync
Mon Apr 20 09:58:54 2015 * running the instance OS create scripts...
Mon Apr 20 09:59:34 2015 * starting instance...

root@node2:~# gnt-instance list
Instance Hypervisor OS Primary_node Status Memory instance3.ganeti.com kvm debootstrap+default node2.ganeti.com running 128M

root@node2:~# gnt-instance info instance3
- Instance name: instance3.ganeti.com
  UUID: 4b87b3b0-a7b5-43dc-a707-e295e00e1120
  Serial number: 2
  Creation time: 2015-04-20 09:58:52
  Modification time: 2015-04-20 09:59:34
  State: configured to be up, actual state is up
  Nodes:
    - primary: node2.ganeti.com
      group: default (UUID 11f06efd-4400-46e9-8f59-585181d2df08)
    - secondaries:
  Operating system: debootstrap+default
  Operating system parameters:
  Allocated network port: 11002
  Hypervisor: kvm
  Hypervisor parameters:
    acpi: default (True)
    boot_order: default (disk)
    cdrom2_image_path: default ()
    cdrom_disk_type: default ()
    cdrom_image_path: default ()
    cpu_cores: default (0)
    cpu_mask: default (all)
    cpu_sockets: default (0)
    cpu_threads: default (0)
    cpu_type: default ()
    disk_cache: default (default)
    disk_type: default (paravirtual)
    floppy_image_path: default ()
    initrd_path: default (/boot/initrd-3-kvmU)
    kernel_args: default (ro)
    kernel_path: default (/boot/vmlinuz-3-kvmU)
    keymap: default ()
    kvm_extra: default ()
    kvm_flag: default ()
    kvm_path: default (/usr/bin/kvm)
    machine_version: default ()
    mem_path: default ()
    migration_downtime: default (30)
    nic_type: default (paravirtual)
    reboot_behavior: default (reboot)
    root_path: default (/dev/vda1)
    security_domain: default ()
    security_model: default (none)
    serial_console: default (True)
    serial_speed: default (38400)
    soundhw: default ()
    spice_bind: default ()
    spice_image_compression: default ()
    spice_ip_version: default (0)
    spice_jpeg_wan_compression: default ()
    spice_password_file: default ()
    spice_playback_compression: default (True)
    spice_streaming_video: default ()
    spice_tls_ciphers: default (HIGH:-DES:-3DES:-EXPORT:-ADH)
    spice_use_tls: default (False)
    spice_use_vdagent: default (True)
    spice_zlib_glz_wan_compression: default ()
    usb_devices: default ()
    usb_mouse: default ()
    use_chroot: default (False)
    use_localtime: default (False)
    user_shutdown: default (False)
    vga: default ()
    vhost_net: default (False)
    vnc_bind_address: default ()
    vnc_password_file: default ()
    vnc_tls: default (False)
    vnc_x509_path: default ()
    vnc_x509_verify: default (False)
    vnet_hdr: default (True)
  Back-end parameters:
    always_failover: default (False)
    auto_balance: default (True)
    maxmem: default (128)
    memory: default (128)
    minmem: default (128)
    spindle_use: default (1)
    vcpus: default (1)
  NICs:
    - nic/0:
      MAC: aa:00:00:ff:5d:0b
      IP: None
      mode: bridged
      link: xen-br0
      vlan:
      network: None
      UUID: 27481bd3-6a81-43bf-b2ca-e584705c4d6a
      name: None
  Disk template: gluster
  Disks:
    - disk/0: gluster, size 5.0G
      access mode: rw
      logical_id: ['loop', 'ganeti/4b87b3b0-a7b5-43dc-a707-e295e00e1120.0']
on primary: /var/run/ganeti/gluster/ganeti/4b87b3b0-a7b5-43dc-a707-e295e00e1120.0 (N/A:N/A)
      name: None
      UUID: 1803964f-f178-4bd7-8330-438fc89eb4da

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to