* 'Helga Velroyen' via ganeti-devel <[email protected]> [2014-08-04 
17:19:02 +0200]:

> I sent out a patch today that will fix this!
> Cheers, Helga

Ohh! True story! My bad :)

Thanks!


> On Aug 4, 2014 5:13 PM, <[email protected]> wrote:
> 
> > Status: Accepted
> > Owner: ----
> > Labels: Type-Defect Priority-Medium Milestone-Release2.10
> >
> > New issue 909 by [email protected]: Non vm_capable nodes require
> > /usr/bin/kvm
> > http://code.google.com/p/ganeti/issues/detail?id=909
> >
> > Use stable-2.10
> >
> > 1. Let the master-candidates be non vm_capable nodes.
> > 2. Enable kvm hypervisor.
> > 3. Remove qemu-kvm package from master-candidates
> > 4. Run `gnt-node` list.
> > 5. `?` will appear on master-candidates.
> > 6. `gnt-cluster verify` will complain during Verifying node status.
> >
> > After some digging I found the following:
> >
> > LUClusterVerifyGroup() invokes node_verify() RPC. Before that
> > node_verify_param gets filled with
> >
> >       constants.NV_VMNODES: self.cfg.GetNonVmCapableNodeList()
> >
> > i.e. a list of nodes' *uuids* and *NOT* names.
> >
> > In backend context VerifyNode() does the following:
> >
> >   my_name = netutils.Hostname.GetSysName()
> >   vm_capable = my_name not in what.get(constants.NV_VMNODES, [])
> >
> >   _VerifyHypervisors(what, vm_capable, result, all_hvparams)
> >   _VerifyHvparams(what, vm_capable, result)
> >
> > vm_capable is True since the node's FQDN is not in the uuids list.
> >
> > Any thoughts how to fix this?
> >
> > Modifying the corresponding config methods to return a list of (uuid,
> > name) tuples is a way to go but I am not quite sure if this is what we
> > want...
> >
> > --
> > 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
> >

Attachment: signature.asc
Description: Digital signature

Reply via email to