Cobbler RHN mirror + registered system does not play well together
by Greg Swift
So after a long conversation with Dan White I got him to a comfortable
interim solution.
That being said, I don't understand how this is supposed to work.
So the use case:
Local cobbler system mirroring RHN channels to provide a local mirror
augmenting RHN. All the systems still attach to RHN. Yum complains about
duplicate named repositories.
Dan said he had it working on version 0.5.4-22.el5, but going up to
0.5.4-22.el5_7.1 it breaks.
However on my 0.5.4-17.el5_6.1 is broken as well.
[root@myboxen yum.repos.d]# rpm -q yum-rhn-plugin
yum-rhn-plugin-0.5.4-17.el5_6.1
[root@myboxen yum.repos.d]# yum repolist
Loaded plugins: rhnplugin, security
Repository rhel-x86_64-server-5 is listed more than once in the
configuration
When you mirror a RHN channel into cobbler as a repository it requires that
the name of the repository match the name of the channel from RHN. But if
you tell the system to attach the cobbler repos to yum for use
post-installation that same repository gets created in the
cobbler-config.repo file.
The interim fix I gave him was to rename that single repository with a sed
script in his %post after the repo file is downloaded.
In /usr/lib/python*/site-packages/cobbler/action_reposync.py in the
create_local_file method we tried replacing:
config_file.write("[%s]\n" % repo.name)
with
if output and repo.breed == 'rhn':
config_file.write("[cobbler-%s]\n" % repo.name)
else:
config_file.write("[%s]\n" % repo.name)
But since that is not how the cobbler-config.repo file is generated the
logic never got accessed.
any thoughts?
12 years, 5 months
[PATCH] removed a lot of useless spaces in koan
by Christian Berendt
Hi.
I started working on the provisioning of images using cobbler (I tried
it with the latest release 2.2.1 and got a few exceptions on the client
side). Before changing code I removed a bulk of useless spaces in the
sources of koan. I attached the patch, hope it's useful to beautify the
code a little bit.. ;)
I hope the patch is in a correct form, I read
https://fedorahosted.org/cobbler/wiki/PatchProcess, but it's the first
time working with git.
Patches for the image based provisioning will follow...
Bye, Christian.
--
Christian Berendt
Linux / Unix Consultant & Developer
Mail: berendt(a)b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537
12 years, 5 months
[PATCH] Chain load authentication plugin
by James Clendenan
Hi All,
I've attached an updated version of the authentication chain loading plugin.
It should apply cleanly to 2.2.1 now, as a few directories have been moved around.
Let me know if you run into any problems with it.
James
12 years, 5 months
[PATCH] support changing passwords from the web interface
by James Cammarata
commit 29c23fd272cb42650025736d25d7252f67031b54
Author: James Cammarata <jimi(a)sngx.net>
Date: Mon Oct 31 01:34:50 2011 -0500
Adding support for changing passwords from the web interface.
Currently supports authn_configfile only.
As it says above, so far I've only added this to authn_configfile. It
should be possible to add it to any authn module, the only question
being should we? Do we want to allow LDAP users to change their
password from cobbler's interface, or those using pass through? Maybe
we'd need to make this a configurable option, so people can allow that
for any given module if they want?
Anyway, this is just in my github for now, I'll probably move it to
master before long. I have some questions about stability, for
instance is the rewrite of the digest file thread safe? Will multiple
users hitting it from the web interface at the same time cause
problems? Should we make a backup of the digest file just in case
there's an error writing it, so we can revert the change? Things like
that.
12 years, 5 months
Re: [Pulp-list] N00b: Pulp and Cobbler ?
by Greg Swift
As Phil said, the easiest mix would probably be to create all of the repos
in Pulp and just define them as external repos in Cobbler.
But I think for a true split of responsibilities Cobbler would need to
support the distribution's repository being external. If you manually
adjust the Kickstart Metadata in the Cobbler's profiles you could probably
accomplish this, but cobbler would still need a source for the kernel and
initrd in the PXE environment to be defined in the profile..
I cross posted this to the cobbler list.
-greg
On Wed, Oct 26, 2011 at 10:59, Dan White <ygor(a)comcast.net> wrote:
> So how then do I mix the two ?
>
> “Sometimes I think the surest sign that intelligent life exists elsewhere
> in the universe is that none of it has tried to contact us.”
> Bill Waterson (Calvin & Hobbes)
>
> ----- Phil Gardner <phil.gardnerjr(a)gmail.com> wrote:
> > I am actually just now setting up a similar environment. From what I can
> > tell, Pulp is better at managing repos with keeping track of package
> > versions, and can push updates out to the consumers without actually
> > interacting with the server (consumer).
> >
> > I have been testing with adding a second non-ssl vhost to Pulp's apache
> > and using that url as the install/updates repos when kickstarting
> > (inside cobbler kickstart templates). Or you could just import the base
> > install trees into cobbler and just use that for installs. Each would
> work.
> >
> > Any other important differences between the two? Some of their
> > functionality does overlap, but pulp is better at dealing with lots of
> > repos, and cobbler is great for managing kickstart stuff.
> >
> > On 10/26/2011 11:40 AM, Dan White wrote:
> > > I have a Cobbler/Puppet/Kickstart environment I am running with, but I
> am running into problems maintaining a local set of repo mirrors.
> > >
> > > Is it possible to roll Pulp into this mix ?
> > >
> > > “Sometimes I think the surest sign that intelligent life exists
> elsewhere in the universe is that none of it has tried to contact us.”
> > > Bill Waterson (Calvin & Hobbes)
> > >
> > > _______________________________________________
> > > Pulp-list mailing list
> > > Pulp-list(a)redhat.com
> > > https://www.redhat.com/mailman/listinfo/pulp-list
> >
> > --
> > _____________________
> > Phil Gardner
> > PGP Key ID 0xFECC890C
> > OTR Fingerprint 6707E9B8 BD6062D3 5010FE8B 36D614E3 D2F80538
> >
> > _______________________________________________
> > Pulp-list mailing list
> > Pulp-list(a)redhat.com
> > https://www.redhat.com/mailman/listinfo/pulp-list
>
>
> _______________________________________________
> Pulp-list mailing list
> Pulp-list(a)redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
>
12 years, 5 months
Future of Satellite
by Konrad Scherer
Hello all,
I have seen this mentioned in several other places (puppet users) but not here.
As cobbler is integrated with Satellite I think this is of interest to the
people subscribed to this list. At the 2011 RedHat summit there was a
presentation at about the future of Satellite[1].
There is a pdf of the slides of the presentation[2]. Of interest to cobbler
users is the new provisioning engine: The Foreman (pg 39). Interestingly v5 of
the pdf described The Foreman as "cobbler on steroids" and that item has been
removed from v7.
Some obvious questions:
1) Will the next major version of Satellite support both cobbler and foreman?
2) Will there be any tools to help users of cobbler migrate to foreman?
As a happy and grateful user of cobbler I have noticed that the cobbler project
is not as active as it used to be. Is it time for me to move on?
Konrad
[1]
http://www.redhat.com/webinars/?zPage=2011-07-07-Future-of-Red-Hat-Networ...
[2]
http://www.redhat.com/summit/2011/presentations/summit/whats_next/thursda...
12 years, 5 months
cobbler DHCP IPv6
by Ray Brady
Hi,
I'm new to the list, my first query!!
I wondered what the current status is of IPv6 DHCP configuration support in
cobbler?
What's the current plan for implementation of such support?
Has this been attempted already? If so, has it hit a road block?
Any and all information greatly appreciated.
Thanks in advance,
R.
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.
12 years, 5 months
more webui enhancements and the logo
by Greg Swift
So as I was originally doing all of the webui mods I did a fairly good
job of keeping my changes separate. But yesterday I threw together
what was supposed to just be 1 change (adding a configuration variable
to choose your stylesheet) and it ended up including an updated
stylesheet along with a new one, some layout fixes to the tables, as
well as the new logo+favicon.
I haven't gotten final word on setting up the license on the logo to
ensure that there is no legal issue, if anyone has any suggestions on
doing this right I am open to suggestions.
I'm not suggesting we merge this just yet, but I would like another
set of eyes on how I added the stylesheet variable.
The commit is here:
https://github.com/gregswift/cobbler/commit/70f2c08c7beb89a35e364eeefd167...
Here is the changelog entry:
Added blue-style.css to deprecate style.css
Added a new setting called 'stylesheet' which allows for admin
selectable stylesheets in the webui.
Set the default stylesheet to the new 'brown-style.css'
The stylesheets need to live in the cobbler web content directory.
Added the passing of the stylesheet configuration setting into the views.
Moved the settings parsing in views.py/settings to
get_settingsviews.py/get_settings supports getting full settings list
or a single value
Moved the old logo to logo-classic.png, I plan on making a classic
stylesheet soonish.
Added new logo image and favicon. thanks to Abi, Mladen, and others
in the Fedora Design team for their help.
Will be adding the source images in a upcoming commit.
Changed index page to let the logo be a css placed image.
Fixed the table layouts in new style sheet by adjusting table type and adding
and empty column to the events, snippet and ks tmpl files.
12 years, 6 months