On Sun, Jul 14, 2013 at 1:13 AM, harryxiyou <[email protected]> wrote: > hi all, > > When I add an instance with disk template plain, I happen > to errors as follows. > > root@node1:~# gnt-instance add -n node1.harrycluster.com -o > debootstrap+default -t plain -s 5G instance1 > Sat Jul 13 13:09:29 2013 - INFO: Resolved given name 'instance1' to > 'instance1.harrycluster.com' > Sat Jul 13 13:09:33 2013 * disk 0, size 5.0G > Sat Jul 13 13:09:33 2013 * creating instance disks... > Sat Jul 13 13:09:34 2013 adding instance instance1.harrycluster.com to > cluster config > Sat Jul 13 13:09:35 2013 - INFO: Waiting for instance > instance1.harrycluster.com to sync disks > Sat Jul 13 13:09:35 2013 - INFO: Instance > instance1.harrycluster.com's disks are in sync > Sat Jul 13 13:09:36 2013 * running the instance OS create scripts... > Sat Jul 13 13:09:47 2013 * starting instance... > > root@node1:~/essential-config-files# gnt-instance list > Instance Hypervisor OS Primary_node > Status Memory > instance1.harrycluster.com xen-pvm debootstrap+default > node1.harrycluster.com ERROR_down - > > root@node1:~/essential-config-files# gnt-instance info instance1 > - Instance name: instance1.harrycluster.com > UUID: 0a60db9a-7dfc-48e4-8a04-fc0fdf74b462 > Serial number: 2 > Creation time: 2013-07-13 09:20:03 > Modification time: 2013-07-13 09:20:16 > State: configured to be up, actual state is down > Nodes: > - primary: node1.harrycluster.com > group: default (UUID f29b7302-247f-4b0a-af26-98f02a2e24d6) > - secondaries: > Operating system: debootstrap+default > Operating system parameters: > Allocated network port: None > Hypervisor: xen-pvm > Hypervisor parameters: > blockdev_prefix: default (sd) > bootloader_args: default () > bootloader_path: default () > cpu_cap: default (0) > cpu_mask: default (all) > cpu_weight: default (256) > initrd_path: default () > kernel_args: default (ro)
I have solved this problem by setting initrd_path :) Thanks -- Thanks Weiwei Jia (Harry Wei)
