Spam which is not spam but mistake ...
by Martial Paupe
Hi all,
Very sorry to send my personal email to the mailing list. I have obviously a
problem with my email client and some rules with was hidden this problem.
Thanks
Martial
15 years
Different gateways for different network interfaces
by Jens Ahrens
Hi everybody,
I want to install a system with 2 NICs. For configuring the systems I did:
cobbler system add --name="sys1" [....] --ip="10.0.0.1"
--mac="00:01:02:03:04:05" --subnet="255.255.255.0" --gateway="10.0.0.10"
cobbler system edit --name="sys1" --interface="1" --ip="192.168.0.1"
--mac="00:02:03:04:05:06" --subnet="255.255.255.0" --gateway="192.168.0.10"
When I do a:
cobbler system dumpvars --name=sys1
I get only one gateway - which is in this case the one for interface 1:
'gateway': '192.168.0.10'
In the dumped variables section interfaces, there is no gateway entry.
For getting the interfaces configured correctly in my kickstart file I
need the correct gateways for each NIC.
Is there anything I'm doing wrong?
Thanks and cheers,
Jens
15 years
It's time for another Cobbler survey!
by Michael DeHaan
Hi Everyone,
It's not quite a been a year since the last cobbler survey, but things
have been moving exponentially lately, so I figure it's a good time for
another!
As before, please reply off list (not here, to mdehaan(a)redhat.com
instead) and I'll post a anonymized summary of results later.
The goal of this survey is understand how everyone is using things,
which features get used most, and to better be able to plan and
understand where we need to go in the future. It helps me understand
what aspects are most important and what other tools are in use
along with Cobbler.
So, it would be fantastic if absolutely everyone on this list replies --
that would be awesome. Even if you aren't on this list
and are reading through gmane, shoot me an email --- it would be greatly
appreciated.
Results will be shared in a couple of weeks, once I have a chance to
aggregate and summarize them. Again, any specifics you wish
to share about your deployment help me understand you enormously, I
value them, and they won't be shared when I do share the summary.
Thanks!
--Michael
=== START ==
(1) What is your company/installbase and what do you? Be as
specific or non-specific as you like, we won't share specifics but want
to get an idea of what sectors
things are being used in.
(2) How did you find about Cobbler and how long have you been using
it? (or Just trying it out now, that's good to know also).
(3) How many machines do you have managed by Cobbler?
(4) Do you use the Cobbler web interface?
(5) Do you use the DHCP management feature?
(6) Do you use the DNS management feature?
(7) Do you use the Power management feature?
(8) Do you use "koan --replace-self"?
(9) Do you use "cobbler replicate" ?
(10) Do you use "cobbler buildiso" ?
(11) Do you use cobbler to mirror repositories ("cobbler repo add /
cobbler reposync") ?
(12) Do you use either the built-in config management tool
(--template-files) or the Puppet integration (--mgmt-classes) feature?
(13) Do you use koan to install virtual machines? (If so, what Xen
or KVM or VMware?) If not, what kind of virtualization do you use?
(14) What's the output of the following? You may choose to censor
the system counts if you want, but I still would like a feel as to
whether system records
are well leveraged.
sudo cobbler distro report | wc -l
sudo cobbler profile report | wc -l
sudo cobbler system report | wc -l
sudo cobbler image report | wc -l
sudo cobbler repo report | wc -l
(15) Are you interested in "Cloud" type applications, if so,
which? (EC2? Internally hosted?)
(16) What Open Source or proprietary software do you use to manage
your updates? (yum, Spacewalk/Satellite, etc?)
(17) What Open Source or proprietary software do you use for config
management (in-house solutions, cfengine, puppet, etc?)
(18) What Open Source or proprietary software do you use for monitoring?
(19) Just out of curiosity, how interested are you in "ITIL" at your
organization and how do you see this affecting Cobbler, if at all?
(20) Are the any applications you'd like to see Cobbler integration
better with? If so, how?
(21) What's your number one requested Cobbler feature?
(22) Anything else you'd like to add?
=== END ===
15 years
Adding --template-files text field to webui profile edit page (Trac Ticket #298)
by Bryan Schneiders
I've attempted to make a patch that adds a text field to the profile edit page in the webui for editing the --template-files list.
It successfully shows you the current --template-files list associated with a profile, but it doesn't appear to save changes or additions and I'm not sure why.
Patch against 1.6.x branch is attached.
--
Bryan Schneiders
bschneiders(a)woti.com
301-562-1900 ext 305
15 years
Django packaging and RPM update
by Michael DeHaan
Django files will be installed by the cobbler-web RPM into:
/usr/share/cobbler/django
Cobbler now has the following three Apache configuration files
/etc/httpd/conf.d/cobbler.conf -- basically now just points folks to
the web application and also ensures trees are servicable.
/etc/httpd/conf.d/cobbler-svc.conf -- handles the mod_python service
handlers -- we could actually consolidate this with the first, now would
be a good time (I think so, yes?)
/etc/httpd/conf.d/cobbler-django.conf (if installed) -- makes
http://.../cobbler_web work
If the user visits the old URL (http://.../cobbler/web) then they
will get a message telling them about the new URL and what package to
install.. should help nicely with IRC questions. :)
The cobbler web package also stores files in:
/var/www/cobbler_webui_content
html files, icons, CSS
I did this so the path would be wholy owned by cobbler-web, and not
by the cobbler package. Makes things a bit less confusing (to me, anyway)
The following path no longer has anything in it:
/var/www/cobbler/webui
Cobbler still puts internal content, but not "web browser content" in
/var/www/cobbler
as it has always done
The following path just contains the index.html file telling folks where
the new app is, which we'll keep around for a few releases at least:
/var/www/cobbler/web
Also in the source tree I've removed "webui_templates" and all the
django stuff (mostly) lives in the subdirectory "django-webui". There
are still a few source files that we should probably
consolidate, noteably django-webui/javascript should go into
webui_content (if that makes sense to James) and also the webui.html
file that is the minimal online help for the web app should probably
move from docs to webui_content too. (Which is not hard).
So when folks running 1.6 finally upgrade to 1.8, they should only be
slightly suprised by some .rpmsave files they need to remove in
/etc/httpd/conf.d -- of which I'm not sure of a great way to save
folks from that trouble -- but the web app should nicely point people to
the right place once they get going.
Comments? Questions?
--Michael
15 years
Re: [virt] Did you know virbr0 was not a real bridge?
by Mykel Alvis
Oops. Didn't mean to reply off-list.
When I used the technique you described, I get the network alive and kicking
but can't seem to get the VMs themselves started. I don't know if it's an
issue with koan starting the vm or with my libvirtd dnsmasq config.
I can't seem to see if the koan process is working correctly because the
console output from virt-manager is a blank screen. When I use virsh to
connect and try to reach the console, it hangs uninterruptedly. Do you (or
anyone) know if this is because the network is still awry or if it is likely
to be something else?
Thanks again for all your help,
M
On Wed, Apr 22, 2009 at 09:57, Michael DeHaan <mdehaan(a)redhat.com> wrote:
> Mykel Alvis wrote:
>
>> Certainly.
>>
>> ::::::::::::::
>> /tmp/ifcfg-eth0
>> ::::::::::::::
>> DEVICE=eth0
>> ONBOOT=yes
>> BOOTPROTO=dhcp
>> #BOOTPROTO=static
>> #IPADDR=10.151.37.241
>> #NETMASK=255.255.255.0
>> #DNS1=10.151.37.253
>> TYPE=Bridge
>> NM_MANAGED=No
>> ::::::::::::::
>> /tmp/ifcfg-peth0
>> ::::::::::::::
>> DEVICE=peth0
>> ONBOOT=yes
>> BRIDGE=eth0
>> HWADDR=00:1A:4B:45:65:69
>> NM_MANAGED=No
>>
>> I think it's odd that I reboot the system with these configs eth0 comes
>> alive with a dhcp address, so ifconfig gives me a listing with the eth0, lo
>> and virbr0 devices, even though there's an ifcfg-peth0. I don't know what
>> order things get initialized in, so I don't know if it's relevant.
>>
>> A 'service network restart' gives me the same errors a I previously
>> posted.
>>
>> This box is a somewhat minimal install, so if there's some package that's
>> essential for this to work I may not have installed it.
>>
>> Thanks!
>>
>> Mykel
>>
>
> Hmm, that looks about right. I had some problems setting mine up in F10
> recently too, so I ended up just keeping eth0 as the actual interface name
> and making a new file for the bridge... though I'm not sure that will help
> you out.
>
> Not sure if you meant to reply off-list, but here's mine:
>
> [mdehaan@mdehaan cobbler]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0
> # Intel Corporation 82567LM Gigabit Network Connection
> NM_CONTROLLED=no
> DEVICE=eth0
> HWADDR=00:24:7e:10:f9:44
> ONBOOT=yes
> BRIDGE=london
>
> [mdehaan@mdehaan cobbler]$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
> # Intel Corporation 82567LM Gigabit Network Connection
> DEVICE=london
> NM_CONTROLLED=no
> BOOTPROTO=dhcp
> ONBOOT=yes
> TYPE=Bridge
> [mdehaan@mdehaan
>
> The names of the files actually aren't that important, I named the other
> one "eth1" just because "london" wasn't something the service script could
> find. I was being silly in wanting to use "london bridge" in my demos. I
> have Network Manager still on but it's only managing my wireless card.
>
> Apparenlty it's NM_CONTROLLED, not NM_MANAGED, which might play a role. If
> you are running Fedora anyway, if it's not there, it's not there.
>
> --Michael
>
>
>
>
>
>
15 years
missing file icon_16_sync.png?
by Leonid Flaks
I see /var/log/http/error.log complaining about missing file
icon_16_sync.png. It is referenced in styles.css I checked in
cobbler-1.6.3-2 on fedora 10. Nothing important - just annoyance.
Thanks,
Leon
15 years
1.6.3: dhcp.template
by Stephan Huiser
fresh install of cobbler 1.6.3 on Fedora 10
'cobbler sync' fails on '/usr/sbin/dhcpd -t'
Error in /var/log/messages
Apr 17 23:01:52 hell dhcpd: Internet Systems Consortium DHCP Server 4.0.0
Apr 17 23:01:52 hell dhcpd: Copyright 2004-2007 Internet Systems Consortium.
Apr 17 23:01:52 hell dhcpd: All rights reserved.
Apr 17 23:01:52 hell dhcpd: For info, please visit
http://www.isc.org/sw/dhcp/
Apr 17 23:01:52 hell dhcpd: /etc/dhcpd.conf line 32: expecting a
parameter or declaration
Apr 17 23:01:52 hell dhcpd: fixed-address 10.76.0.2;
Apr 17 23:01:52 hell dhcpd: ^
Apr 17 23:01:52 hell dhcpd: Configuration file errors encountered -- exiting
Apr 17 23:01:52 hell dhcpd:
Apr 17 23:01:52 hell dhcpd: This version of ISC DHCP is based on the
release available
Apr 17 23:01:52 hell dhcpd: on ftp.isc.org. Features have been added
and other changes
Apr 17 23:01:52 hell dhcpd: have been made to the base software release
in order to make
Apr 17 23:01:52 hell dhcpd: it work better with this distribution.
Apr 17 23:01:52 hell dhcpd:
Apr 17 23:01:52 hell dhcpd: Please report for this software via the Red
Hat Bugzilla site:
Apr 17 23:01:52 hell dhcpd: http://bugzilla.redhat.com
Apr 17 23:01:52 hell dhcpd:
Apr 17 23:01:52 hell dhcpd: exiting.
I think this piece of dhcp.template causes the error:
#if $iface.hostname:
hostname $iface.hostname;
#end if
After removing these lines and running 'cobbler sync', DHCPD runs fine ...
- Stephan
15 years
repo is not defined error
by Nicholas Schuetz
Hello,
I am getting the following error when I try to add two repos to a
profile. I can save the profile with an individual repo defined
though. When more than one is defined I get this error:
---
2009-04-21 12:40:13,013 - api - Exception occured: cobbler.cexceptions.CX
2009-04-21 12:40:13,013 - api - Exception value: "repo
['RHEL-5-i386-TEST', 'RHEL-5-i386-THIRDPARTY'] is not defined"
2009-04-21 12:40:13,014 - api - Exception Info:
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
1567, in _dispatch
return method_handle(*params)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
1392, in modify_profile
return self.__call_method(obj, attribute, arg)
File "/usr/lib/python2.4/site-packages/cobbler/remote.py", line
1374, in __call_method
return method(arg)
File "/usr/lib/python2.4/site-packages/cobbler/item_profile.py",
line 253, in set_repos
return utils.set_repos(self,repos,bypass_check)
File "/usr/lib/python2.4/site-packages/cobbler/utils.py", line
1123, in set_repos
raise CX(_("repo %s is not defined") % r)
---
I see both repos in the repo list:
# cobbler repo list
RHEL-5-i386-INTEG
RHEL-5-i386-PROD
RHEL-5-i386-TEST
RHEL-5-i386-UAT
RHEL-5-i386-THIRDPARTY
I did do a cobbler reposync after creating the latest repo
"RHEL-5-i386-TEST" with cobbler 1.6.3. All other repos where created
with previous versions of cobbler.
Can anyone out there help me understand what is going on here?
I am running cobbler 1.6.3 on RHEL 5 x86.
Regards,
Nick
15 years