importing distro - error ?
by Tom Brown
Firstly this is on a new setup so i dont actually know if this is an
error as such yet but when in import a RHEL4 into cobbler thats running
on Fedora 9 i get the following
---------------- (associating kickstarts)
- using default kickstart file choice
- using default kickstart file choice
---------------- (syncing)
Could not find files matching /usr/share/syslinux/pxelinux.0
does this look like an issue ?
cobbler-1.2.8-1.fc9.noarch
thanks
15 years, 6 months
Adding images via Ruby Bindings
by Bryan Kearney
This patch exposes adding images into cobbler via the ruby bindings. It seems like the "new", iterates over attributes, "save" model is standard across the various elements. Any reason we can not push the save method up?
-- bk
15 years, 6 months
Issues pxe provisioning: unable to retrieve stage2.img
by Aaron Lippold
Hi All,
I am having some issue with my cobbler system. Basically, for unknown
reasons, I can't seem to get past the
transferring stage2.img portion of the pxe boot. I have no issues
getting the DHCP address, the pxe menu, getting the installer to start
but when it tries to load the stage2.img and or minstg2.img it says it
is 'unable to retrieve' the image. However, I can get to those files
from the cobbler box using the 192.168.x.x ip from the browser and the
file permissions seems to be correct.
I didn't really update this laptop much before coming down so the
issue may be from my update to the 1.2.x codebase. My version before
was still using the /var/lib/cobbler/setting era code. Not really
sure. But I'd love to know if anyone has ran into this before. Some
folks on IRC were seeming to have similar problems. If I can't get
this worked out the trip will be a bit of a waste so I hope someone
has a quick answer.
Sorry I can't give more details but /var/log/httpd/access and error
aren't giving me much.
Thanks,
Aaron
15 years, 6 months
Next_Server Parameter Question and PXE Boot
by William J. Dennison
Now that I have read many data points on how PXE boot works, I have a
question. In the settings file for Cobbler I have made the next_server
parameter a DNS resolved name ex. "myserver.foo.com", not an IP address. I am
asking my PXE Boot environment to resolve the host name of the Cobbler
server, but as of yet it cannot because it does not know where to get the DNS
record for myserver.foo.com.
Does anyone know a way that I could make PXE Boot resolve DNS so I could
readily change the IP of my Cobbler server?
--
William J. Dennison
Principal Consultant
SRA International Inc. - RABA Center
8830 Stanford Blvd, Suite 205
Columbia, Maryland 21045
Phone: (410) 715-9399 x2351
Mobile: (410) 218-5866
Email: william_dennison(a)sra.com
Email2: wjdennison(a)gmail.com
Email3: wjdennison(a)cablespeed.com
Jabber: wjdennison(a)jabber.org
AIM: dennisonwjonly
GTalk: wjdennison(a)gmail.com
15 years, 6 months
Testing debian deployments
by Javier Palacios
I've at last performed the first debian deployment tests. They are
still unsuccessful, but promising. That means that I'm able to
get cobbler up to the point of really attempt to install. I send
attached the patch required.
One side of the problems come to the fact that I'm using a mix of
debian media from different epochs, and the other one is that my
local mirror (now managed with reposync) lacks some installation
packages.
Up to know I've identified two problems (that might be outdated), but
that forces to follow a different path with debian trees. To say fast,
a simple import of DVD media will never work.
* The kernel/initrd from media seems not network capable so neither
preseed nor packages can be downloaded
* The kernel/initrd from minimal netinstall media perform checks the
gpg signatures for some files, and they are not available on media
These are the reasons why even a media import plus a distro rewrite
(with kernel/initrd from net media) will fail. To have a chance, that
should be completed with an updated repository including some other
relevant sections.
I'm on the way to test with recently downloaded media, and to identify
which installer sections are required.
Javier Palacios
15 years, 6 months
cobbler - miltiple nics and bonding
by Tom Brown
Hi
I am looking at simplifying our bonding setup and i wonder if we can
integrate this into cobbler somehow. We have 6 nics and these need to be
setup as 3 bonds, at the moment this is done in the post but is there
any way cobbler could help us out here?
Also can koan be used with xen enterprise?
thanks
15 years, 6 months
[PATCH] Fix typo in webinterface
by Ruben Kerkhof
Signed-off-by: Ruben Kerkhof <ruben(a)rubenkerkhof.com>
---
webui_templates/system_edit.tmpl | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/webui_templates/system_edit.tmpl b/webui_templates/system_edit.tmpl
index f80feb3..33e793a 100644
--- a/webui_templates/system_edit.tmpl
+++ b/webui_templates/system_edit.tmpl
@@ -541,7 +541,7 @@ function page_onload() {
<tr>
<td>
- <label for="interfaces">Inteface</label>
+ <label for="interfaces">Interface</label>
</td>
<td>
<select name="interfaces" id="interfaces"
onchange="on_interface_change();">
--
1.5.5.1
Regards,
Ruben
15 years, 6 months
Advanced networking: ethernet bonding proposal
by Jasper Capel
Hey all,
Now that the arbitrary interface name and VLAN stuff is done, I'd like
to add bonding support to Cobbler. I'd like to start with coming to an
agreement on how this should look from a CLI-perspective.
I'd suggest the following:
cobbler system edit --name=system1 --add-interface=bond0
--bonding=master --bonding-opts="miimon=100" --ip=192.168.0.1
--subnet=255.255.255.0 --gateway=192.168.0.254 --static=1
cobbler system edit --name=system1 --add-interface=slave0
--mac=aa:bb:cc:dd:ee:f0 --bonding=slave --bonding-master=bond0
cobbler system edit --name=system1 --add-interface=slave1
--mac=aa:bb:cc:dd:ee:f1 --bonding=slave --bonding-master=bond0
I'd like to hear your thoughts on this. :)
--Jasper
15 years, 6 months
Cobbler DNS Problem
by William J. Dennison
Have seen several posts that attempt to address this, but yet to see an
answer. I have Cobbler 1.2.5-1.el5 installed. I am attempting to have a
backend DNS that forwards all DNS entries to front end DNS servers except for
the management of on zone.
When I run "cobbler sync", cobbler does not seem to include the file I have
stored in "/etc/cobbler/zone_templates". Below are some configuration files.
--------------------------------------------------------------------------------------------------
vim /etc/cobbler/named.conf
options {
listen-on port 53 { 127.0.0.1; 192.168.0.3; };
directory "/var/named";
dump-file "/var/named/data/cache_dump.db";
statistics-file "/var/named/data/named_stats.txt";
memstatistics-file "/var/named/data/named_mem_stats.txt";
allow-query { localhost; localnets; };
recursion yes;
forward first;
forwarders {
163.252.31.2;
163.252.98.37;
};
};
logging {
channel default_debug {
file "data/named.run";
severity debug;
};
};
$zone_include
----------------------------------------------------------------------------------------
vim /etc/cobbler/zone_templates/ziplock.com
\$TTL 300
@ IN SOA $cobbler_server. admin.ziplock.com. (
$serial ; Serial
600 ; Refresh
1800 ; Retry
604800 ; Expire
300 ; TTL
)
IN NS $cobbler_server.
$host_record
zladmin.ziplock.com A 192.168.0.3 ; ZLADMIN
----------------------------------------------------------------------------------------
vim /etc/cobbler/settings
---
allow_duplicate_macs: 0
allow_duplicate_ips: 0
bind_bin: /usr/sbin/named
default_kickstart: /etc/cobbler/default.ks
default_virt_bridge: xenbr0
default_virt_type: xenpv
default_virt_file_size: 5
default_virt_ram: 1024
default_ownership: "admin"
dhcpd_bin: /usr/sbin/dhcpd
dhcpd_conf: /etc/dhcpd.conf
dnsmasq_bin: /usr/sbin/dnsmasq
dnsmasq_conf: /etc/dnsmasq.conf
httpd_bin: /usr/sbin/httpd
http_port: 80
kernel_options:
ksdevice: eth0
lang: ' '
text: ~
manage_dhcp: 1
manage_dns: 1
manage_forward_zones:
- 'ziplock.com'
manage_reverse_zones:
- '192.168.0'
named_conf: /etc/named.conf
next_server: 'zladmin.ziplock.com'
omapi_enabled: 1
omapi_port: 647
omshell_bin: /usr/bin/omshell
pxe_just_once: 1
restart_dns: 1
restart_dhcp: 1
register_new_installs: 0
run_install_triggers: 1
server: 'zladmin.ziplock.com'
snippetsdir: /var/lib/cobbler/snippets
syslog_port: 25150
tftpd_bin: /usr/sbin/in.tftpd
tftpd_conf: /etc/xinetd.d/tftp
webdir: /var/www/cobbler
xmlrpc_port: 25151
xmlrpc_rw_enabled: 1
xmlrpc_rw_port: 25152
yum_post_install_mirror: 1
yumreposync_flags: "-l"
yumdownloader_flags: "--resolve"
Note: Everywhere I can find a hostname, it is set to zladmin.ziplock.com
15 years, 6 months
koan liveCD process for non-linux build
by Glenn Bailey
Howdy folks,
Let me see if I got this process down correctly for being able to PXE boot a Windows
install.
1. Create a virtualized ISO as outlined here:
https://fedorahosted.org/cobbler/wiki/AllAboutImages
2. Create a liveCD with Koan that automatically loads the "win32" profile I created
in the above step
3. Create a PXE bootable liveCD as outlined here:
https://fedorahosted.org/cobbler/wiki/HowToPxeAnyLiveCd
Now, this seems simple enough, but will this let me install, say a Windows Server 2008
machine from the WinPE iso's provided by my windows guys? They already have a build
system in place, and I just want to be able to let everyone boot via PXE instead of
having to use an actual ISO and I want to keep control of the PXE server .. ;-) Or is
there a simplier method of getting a WinPE boot disk into the PXE server?
Also, if this is the correct method, is there already a minimal ISO out there that can
be used just for koan installs? Like a 'koan' rescue disk or what not ;-)
glenn - terremark worldwide
15 years, 6 months