Ganeti 2.4.5 looking for vmlinuz-2.6-U, but system is linux 3.0

380 views
Skip to first unread message

Karl Katzke

unread,
Mar 29, 2012, 4:30:58 PM3/29/12
to gan...@googlegroups.com
I got this error message for each system in my cluster: 

Thu Mar 29 16:20:32 2012   - ERROR: node XXX: hypervisor xen-pvm parameter verify failure (source cluster): Parameter 'kernel_path' fails validation: not found or not a file (current value: '/boot/vmlinuz-2.6-xenU')

However, the system is Linux 3.0:

Linux XXX 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux

... is there a way to change the path that Ganeti is looking for? Will this cause future problems? This will shortly in production; I was hoping to not run release candidate software on production. 

Thanks,
Karl Katzke

Thomas Rieschl

unread,
Mar 29, 2012, 4:54:35 PM3/29/12
to gan...@googlegroups.com
hi!

sure, just change the appropriate parameter:

# gnt-cluster modify -H xen-pvm:kernel_path=/boot/vmlinuz-....
or
# gnt-instance modify -H kernel_path=/boot/.... [instance_name]

It's the same with the other paramters (probably you'll have to change
initrd_path as well).

To see all the parameters just have a look at them with
# gnt-cluster info
or
# gnt-instance info [instance_name]


Cheers,
Thomas

Karl Katzke

unread,
Mar 29, 2012, 4:57:42 PM3/29/12
to ganeti
Thomas -

D'Oh! Thanks! I probably could've figured that out by reading the
documentation more closely; I got confused and assumed I was doing the
wrong thing when I used "gnt-cluster modify -H xen_pvm ..." instead of
"xen-pvm" ...

Thank you!

-Karl
>  smime.p7s
> 5KViewDownload

Alex Mandel

unread,
Mar 29, 2012, 4:36:25 PM3/29/12
to gan...@googlegroups.com

gnt-cluster modify -H xen:kernel_path=/yourpathhere

My understanding is you can change those values as needed, but of course
if you have instances that rely on booting that way you need to set the
value and leave it.

Thanks,
Alex

Iustin Pop

unread,
Mar 30, 2012, 4:24:49 AM3/30/12
to gan...@googlegroups.com
On Thu, Mar 29, 2012 at 03:30:58PM -0500, Karl Katzke wrote:
> I got this error message for each system in my cluster:
>
> Thu Mar 29 16:20:32 2012 - ERROR: node XXX: hypervisor xen-pvm parameter
> verify failure (source cluster): Parameter 'kernel_path' fails validation:
> not found or not a file (current value: '/boot/vmlinuz-2.6-xenU')
>
> However, the system is Linux 3.0:
>
> Linux XXX 3.0.0-12-server #20-Ubuntu SMP Fri Oct 7 16:36:30 UTC 2011 x86_64
> x86_64 x86_64 GNU/Linux

Others have already replied with the fix, I just wanted to mention that
we've updated the defaults and Ganeti 2.6 (when it will be released)
will look for vmlinuz-3-xenU (and similar for KVM).

regards,
iustin

Reply all
Reply to author
Forward
0 new messages