[et-mgmt-tools] cobbler system add

drew einhorn drew.einhorn at gmail.com
Fri Aug 10 17:30:12 UTC 2007


Think there's at least 2 parts to my dnsmasq problem.

Got past the firstone.  It was a permissions problem.
Had to do a chmod o+rx /var/lib/cobbler

which was owned by root, but dnsmasq was running as nobody

and could not read /var/lib/cobbler/cobbler_hosts

Don't know if the permission on /var/lib/cobbler was a default
from the cobbler installation, or something I mucked up.

Haven't gotten started on the second on.

Peter Wright suggested that it looks like my vmlinuz/initrd.img
don't support my virtual nic.  He's probably right,  I've got to
figure out how to build the right vmlinz/initrd.img before I try
again and we see if there's a third problem lurking behind these
two.


On 8/9/07, Michael DeHaan <mdehaan at redhat.com> wrote:
>
> drew einhorn wrote:
> >
> >
> > On 8/8/07, *Michael DeHaan* <mdehaan at redhat.com
> > <mailto:mdehaan at redhat.com>> wrote:
> >
> >     It's hard to tell for sure from what you've posted (lots of
> networking
> >     things could be afoot), but what does your
> >     /etc/cobbler/dnsmasq.template
> >     look like?   How about the generated /etc/dnsmasq.conf?   Those are
> a
> >     few things to start with.   Since you didn't mention editing
> >     /etc/cobbler/dnsmasq.conf it might not be correct for your
> >     environment.
> >
> >     There are some setup instructions including information at logging
> >     here:
> >     http://www.thekelleys.org.uk/dnsmasq/docs/setup.html -- keep in mind
> >     that cobbler will generate
> >     it's own dnsmasq.conf based on the template, and the same for
> >     /etc/ethers and /var/lib/cobbler/cobbler_hosts -- but that should
> give
> >     you some idea of how it all works.
> >
> >     <snip>
> >
> >     --Michael
> >
> >     _______________________________________________
> >     et-mgmt-tools mailing list
> >     et-mgmt-tools at redhat.com <mailto:et-mgmt-tools at redhat.com>
> >     https://www.redhat.com/mailman/listinfo/et-mgmt-tools
> >
> >
> > I've tried a few variations on /etc/cobbler/dnsmasq.template
> > Here's my latest:
> >
> > $cat /etc/cobbler/dnsmasq.template
> > # Cobbler generated configuration file for dnsmasq
> > # $date
> > #
> >
> > # resolve.conf .. ?
> > #no-poll
> > #enable-dbus
> > read-ethers
> > addn-hosts = /var/lib/cobbler/cobbler_hosts
> >
> > dhcp-range=10.0.0.128 <http://10.0.0.128>, 10.0.0.254 <http://10.0.0.254
> >
> > dhcp-option=3,$next_server
> > dhcp-lease-max=1000
> > dhcp-authoritative
> > dhcp-boot=pxelinux.0
> > dhcp-boot=net:normalarch,pxelinux.0
> > dhcp-boot=net:ia64,$elilo
> >
> > $insert_cobbler_system_definitions
> >
> > And the resulting
> >
> > $cat /etc/dnsmasq.conf
> >
> > # Cobbler generated configuration file for dnsmasq
> > # Thu Aug  9 15:42:24 2007
> >
> > # resolve.conf .. ?
> > #no-poll
> > #enable-dbus
> > read-ethers
> > addn-hosts = /var/lib/cobbler/cobbler_hosts
> >
> > dhcp-range= 10.0.0.128 <http://10.0.0.128>, 10.0.0.254 <
> http://10.0.0.254>
> > dhcp-option=3,10.0.0.21 <http://10.0.0.21>
> > dhcp-lease-max=1000
> > dhcp-authoritative
> > dhcp-boot=pxelinux.0
> > dhcp-boot=net:normalarch, pxelinux.0
> > dhcp-boot=net:ia64,elilo-3.6-ia64.efi
> >
> > and
> > $ cat /etc/ethers
> > 00:50:56:00:00:FF       10.0.0.66 <http://10.0.0.66>
> >
> > and
> > $ cat /var/lib/cobbler/cobbler_hosts
> > 10.0.0.66 <http://10.0.0.66>       ctl01.sms
> >
> > Still pxeboot complains: No DHCP or proxyDHCP offers were received.
> >
> > --
> > Drew Einhorn
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > et-mgmt-tools mailing list
> > et-mgmt-tools at redhat.com
> > https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>
> Individual networking issues are beyond my ability to debug over email,
> and probably the scope of this list.
>
> You might want to see if you get the same problem with ISC and whether
> you get DHCP offers for your VMware
> guests when using your existing DHCP config.
>
> If any of those remove the problem, you have a dnsmasq config problem --
> otherwise, it might be something
> else.    I would think VMware would PXE just like anything else, but I
> have no idea what all the pieces
> to the puzzle are.
>
> Sorry I can't be of any more help.
>
> --Michael
>
>
> _______________________________________________
> et-mgmt-tools mailing list
> et-mgmt-tools at redhat.com
> https://www.redhat.com/mailman/listinfo/et-mgmt-tools
>



-- 
Drew Einhorn
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/et-mgmt-tools/attachments/20070810/8b97ae8c/attachment.htm>


More information about the et-mgmt-tools mailing list