vmserver01:~# gnt-os list
Can't get the OS list
vmserver01:~# gnt-instance add -t drbd -s 1G -n vmserver01:vmserver02 -
o debootstrap tester
Failure: prerequisites not met for this operation:
OS 'debootstrap' not in supported os list for primary node
It's a fresh install and I'm pretty certain everything is setup right
(I deleted the drbd resources, rather than skipping them, is this
right?)
I followed the instructions to the letter, this is on x64 Debian Lenny
b.t.w.
Any help greatly appreciated!
vmserver01:~# gnt-cluster verify
Wed Dec 30 14:09:39 2009 * Verifying global settings
Wed Dec 30 14:09:39 2009 * Gathering data (2 nodes)
Wed Dec 30 14:09:40 2009 * Verifying node vmserver01 (master)
Wed Dec 30 14:09:40 2009 * Verifying node vmserver02 (master
candidate)
Wed Dec 30 14:09:40 2009 * Verifying orphan volumes
Wed Dec 30 14:09:40 2009 * Verifying remaining instances
Wed Dec 30 14:09:40 2009 * Verifying N+1 Memory redundancy
Wed Dec 30 14:09:40 2009 * Other Notes
Wed Dec 30 14:09:40 2009 * Hooks Results
vmserver01:~# gnt-cluster info
Cluster name: zencluster
Master node: vmserver01
Architecture (this node): 64bit (x86_64)
Tags: (none)
Default hypervisor: xen-pvm
Enabled hypervisors: xen-pvm
Hypervisor parameters:
- xen-pvm:
root_path: /dev/sda1
kernel_path: /boot/vmlinuz-2.6-xenU
initrd_path:
kernel_args: ro
Cluster parameters:
- candidate pool size: 10
- master netdev: xenbr0
- default bridge: xenbr0
- lvm volume group: xenvg
- file storage path: /srv/ganeti/file-storage
Default instance parameters:
- default:
auto_balance: True
vcpus: 1
memory: 128
also..
DRBD - Version: 8.3.2 (api:88)
If this helps..
Hi,
For this case there is the command "gnt-os diagnose". What does it tell
you?
iustin
On Dec 30, 2:26 pm, Iustin Pop <iu...@k1024.org> wrote:
> Hi,
>
> For this case there is the command "gnt-os diagnose". What does it tell
> you?
>
vmserver01:~# gnt-os diagnose
Can't get the OS list
Same thing :(
OK, that means you don't really have any OSes. What is your OS path?
(Unfortunately gnt-cluster info doesn't tell you, you have to check in the file
_autoconf.py for OS_SEARCH_PATH, I'll file a bug about this).
And then, what do you have in those directory(es)?
iustin
On Dec 30, 2:32 pm, Iustin Pop <iu...@k1024.org> wrote:
> OK, that means you don't really have any OSes. What is your OS path?
> (Unfortunately gnt-cluster info doesn't tell you, you have to check in the file
> _autoconf.py for OS_SEARCH_PATH, I'll file a bug about this).
>
> And then, what do you have in those directory(es)?
>
> iustin
vmserver01:/# cat /usr/local/lib/python2.5/site-packages/ganeti/
_autoconf.py | grep OS
OS_SEARCH_PATH = ['/srv/ganeti/os']
There's nothing at all in this path...
vmserver01:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
Well, there is where you need to install the deboostrap OS, under
/srv/ganeti/os/[debootstrap/create, import, export, etc.].
iustin
iustin
vmserver01:/usr/local/share/ganeti/os# cp -r debootstrap/ /srv/ganeti/
os/
That seems to want to work, however now I'm getting..
vmserver01:/usr/local/share/ganeti/os# gnt-instance add -t drbd -s 1G -
n vmserver01:vmserver02 -o debootstrap tester
Wed Dec 30 15:34:53 2009 * creating instance disks...
Wed Dec 30 15:34:55 2009 adding instance tester to cluster config
Wed Dec 30 15:34:55 2009 - INFO: Waiting for instance tester to sync
disks.
Wed Dec 30 15:35:06 2009 - INFO: Instance tester's disks are in sync.
Failure: command execution error:
There are some degraded disks for this instance
Oh well, one down.. more to go! :)
usermode_helper=/bin/true
to the /etc/modules drbd line
Good to hear :)
iustin