kvm instance do not boot

162 views
Skip to first unread message

Rodolfo Pilas

unread,
Jun 22, 2012, 11:17:56 AM6/22/12
to gan...@googlegroups.com

I have completed the installation of my first ganeti cluster (2 hosts - drbd); however I can not start the first instance, and the console shows only:

Starting SeaBIOS (version 0.5.1-…)
Booting from Hard Disk...

I create the instance with:

gnt-instance add -t drbd -n skywalker.dgc:anakin.dgc -o debootstrap+default -s 10GB -B memory=1024MB vm1dmz.dgc

This is a Debian Squeeze with ganeti-instance-debootstrap package with this configuration at /etc/default/ganeti-instance-debootstrap

SUITE="squeeze"
EXTRA_PKGS="acpi-support-base,console-tools,udev,openssh-server,vim,less,sudo,bash-completion,bzip2,dnsutils"
GENERATE_CACHE="yes"
CLEAN_CACHE="14"

I also follow the suggestion of Attila Sato of this message, without success:

Suggestions??  (thank you!)



root@anakin:~# gnt-instance info vm1dmz.dgc
Instance name: vm1dmz.dgc
UUID: e3dceac2-8256-4258-88c6-89669c5a775b
Serial number: 8
Creation time: 2012-06-21 17:35:03
Modification time: 2012-06-22 11:38:56
State: configured to be up, actual state is down
  Nodes:
    - primary: skywalker.dgc
    - secondaries: anakin.dgc
  Operating system: debootstrap+default
  Allocated network port: 11011
  Hypervisor: kvm
    - console connection: vnc to skywalker.dgc:11011 (display 5111)
    - acpi: default (True)
    - boot_order: default (disk)
    - cdrom_image_path: default ()
    - disk_cache: default (default)
    - disk_type: default (paravirtual)
    - initrd_path: 
    - kernel_args: default (ro)
    - kernel_path: 
    - kvm_flag: default ()
    - migration_downtime: default (30)
    - nic_type: default (paravirtual)
    - root_path: default (/dev/vda1)
    - security_domain: default ()
    - security_model: default (none)
    - serial_console: default (True)
    - usb_mouse: default ()
    - use_chroot: default (False)
    - use_localtime: default (False)
    - vhost_net: default (False)
    - vnc_bind_address: default (0.0.0.0)
    - vnc_password_file: default ()
    - vnc_tls: default (False)
    - vnc_x509_path: default ()
    - vnc_x509_verify: default (False)
  Hardware:
    - VCPUs: 2
    - memory: 1024MiB
    - NICs:
      - nic/0: MAC: aa:00:00:f3:b1:ff, IP: None, mode: bridged, link: vbr0
  Disks:
    - disk/0: drbd8, size 10.0G
      access mode:  rw
      nodeA:        skywalker.dgc, minor=0
      nodeB:        anakin.dgc, minor=0
      port:         11012
      auth key:     177750a8a72527b7915b0336b301a06c39faae13
      on primary:   /dev/drbd0 (147:0) in sync, status ok
      on secondary: /dev/drbd0 (147:0) in sync, status ok
      child devices:
        - child 0: lvm, size 10.0G
          logical_id:   vmstorage/503663cb-a116-45f7-8c8b-deecbfac812b.disk0_data
          on primary:   /dev/vmstorage/503663cb-a116-45f7-8c8b-deecbfac812b.disk0_data (254:0)
          on secondary: /dev/vmstorage/503663cb-a116-45f7-8c8b-deecbfac812b.disk0_data (254:0)
        - child 1: lvm, size 128M
          logical_id:   vmstorage/503663cb-a116-45f7-8c8b-deecbfac812b.disk0_meta
          on primary:   /dev/vmstorage/503663cb-a116-45f7-8c8b-deecbfac812b.disk0_meta (254:1)
          on secondary: /dev/vmstorage/503663cb-a116-45f7-8c8b-deecbfac812b.disk0_meta (254:1)


root@anakin:~# gnt-cluster info
Cluster name: clusterdmz.dgc
Cluster UUID: fd9e8353-715d-4d03-914b-52932d546b37
Creation time: 2012-06-20 13:04:29
Modification time: 2012-06-20 13:04:29
Master node: anakin.dgc
Architecture (this node): 64bit (x86_64)
Tags: (none)
Default hypervisor: kvm
Enabled hypervisors: kvm
Hypervisor parameters:
  - kvm:
      acpi: True
      boot_order: disk
      cdrom_image_path: 
      disk_cache: default
      disk_type: paravirtual
      initrd_path: 
      kernel_args: ro
      kernel_path: 
      kvm_flag: 
      migration_bandwidth: 32
      migration_downtime: 30
      migration_port: 8102
      nic_type: paravirtual
      root_path: /dev/vda1
      security_domain: 
      security_model: none
      serial_console: True
      usb_mouse: 
      use_chroot: False
      use_localtime: False
      vhost_net: False
      vnc_bind_address: 0.0.0.0
      vnc_password_file: 
      vnc_tls: False
      vnc_x509_path: 
      vnc_x509_verify: False
OS specific hypervisor parameters:
Cluster parameters:
  - candidate pool size: 10
  - master netdev: eth0
  - lvm volume group: vmstorage
  - file storage path: /srv/ganeti/file-storage
  - maintenance of node health: True
  - uid pool: 
Default instance parameters:
  - default:
      auto_balance: True
      memory: 512
      vcpus: 2
Default nic parameters:
  - default:
      link: vbr0
      mode: bridged


root@anakin:~# gnt-cluster verify
Fri Jun 22 12:20:17 2012 * Verifying global settings
Fri Jun 22 12:20:17 2012 * Gathering data (2 nodes)
Fri Jun 22 12:20:17 2012 * Verifying node status
Fri Jun 22 12:20:17 2012 * Verifying instance status
Fri Jun 22 12:20:17 2012 * Verifying orphan volumes
Fri Jun 22 12:20:17 2012 * Verifying orphan instances
Fri Jun 22 12:20:17 2012 * Verifying N+1 Memory redundancy
Fri Jun 22 12:20:17 2012 * Other Notes
Fri Jun 22 12:20:17 2012 * Hooks Results


---
Rodolfo Pilas
@ysidorito

Rodolfo Pilas

unread,
Jun 22, 2012, 1:37:51 PM6/22/12
to gan...@googlegroups.com
SOLVED

/dev/kvm do not exist…..   It has not enabled BIOS virtualization.  I have just enable it and all work ok.

I have found the reply here: http://man.he.net/man1/kvm-ok

---
Rodolfo Pilas
@ysidorito

Reply all
Reply to author
Forward
0 new messages