Re: [cobbler] Migrating from 2.2.3 to 2.4.0

2014-01-11 Thread James Cammarata
Sounds like cobbler isn't finding the kernel/initrd paths as specified in the distro configuration. When that happens, cobbler will ignore them silently - not the best way to handle it but that's the way it's been since 2007. On Fri, Jan 10, 2014 at 1:46 PM, Newman, Stuart J. (GSFC-444.0)[HONEYWE

Re: [cobbler] [PATCH 1/4] utils.py: fix set_virt_type() when value is <>

2013-12-17 Thread James Cammarata
Could you please send patches via pull requests on github? Thanks! On Mon, Dec 16, 2013 at 11:34 PM, John Morris wrote: > > Signed-off-by: John Morris > --- > cobbler/utils.py |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/cobbler/utils.py b/cobbler/utils.py >

Re: [cobbler] Problem setting up LDAP web authentication on 2.4.0.1

2013-12-08 Thread James Cammarata
Could you pastebin the output instead of attaching zips? On Fri, Dec 6, 2013 at 1:36 PM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > I am trying to upgrade Cobbler from 2.2.3 to 2.4.0.1 on a RHEL 6.4 > system running under ESXi 5.1 on Dell hardware. As soon as

Re: [cobbler] Problem importing Centos6.5 from private server

2013-12-08 Thread James Cammarata
That traceback is the util command to run the rsync failing. Can you run the rsync manually from the CLI outside of cobbler? This seems to be some kind of misconfiguration or permissions issue on the foo server (SELinux maybe?). On Tue, Dec 3, 2013 at 2:11 PM, Bret Wortman wrote: > I'm really s

Re: [cobbler] 2.2

2013-12-08 Thread James Cammarata
You can always grab the git repo and checkout the release22 branch. From there you just need to do "make rpms" to get an RPM. On Mon, Dec 2, 2013 at 7:31 AM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > Is there an archive of the 2.2 package available for downloa

Re: [cobbler] Using KOAN to install a VM under CentOS 6.4 using CentOS Xen...it installs over and over again

2013-11-27 Thread James Cammarata
post/system/centos-workstation"; > -O /dev/null > wget "http://cobbler/cblr/svc/op/nopxe/system/centos-workstation"; -O > /dev/null > > %end > > -- > > *From: *"James Cammarata" > *To: *"cobbler mailing list&qu

Re: [cobbler] Using KOAN to install a VM under CentOS 6.4 using CentOS Xen...it installs over and over again

2013-11-27 Thread James Cammarata
ust koan'd a new > instance and its now on it's second install all by itself... > > I am absolutely at a loss... This all worked for me using stock CentOS > 5.x hosts... Really the difference is I'm using Xen as supported under > CentOS 6.4 - so not sure if that ha

Re: [cobbler] Using KOAN to install a VM under CentOS 6.4 using CentOS Xen...it installs over and over again

2013-11-27 Thread James Cammarata
the snippet to the end of my kickstart like so: > > $SNIPPET('kickstart_done') > > And now see: > > wget "http://cobbler/cblr/svc/op/ks/system/centos-workstation"; -O > /root/cobbler.ks > wget "http://cobbler/cblr/svc/op/trig/mode/post/system/centos-wo

Re: [cobbler] Using KOAN to install a VM under CentOS 6.4 using CentOS Xen...it installs over and over again

2013-11-26 Thread James Cammarata
Do you also have the kickstart done ($SNIPPET('kickstart_done')) snippet included in your %post section? That is the piece which notifies the cobbler server the PXE is complete and toggles the netboot-enabled flag. On Tue, Nov 26, 2013 at 11:37 AM, Scot Floess wrote: > I should say I also tried

Re: [cobbler] Cobbler/Snippet Query

2013-11-18 Thread James Cammarata
There is no limit, but how are you setting $version? Variables in snippet names should work fine (but it should be quoted, ie. $SNIPPET('$version/snippet1)) On Mon, Nov 18, 2013 at 8:38 AM, Madden, Joe wrote: > Hi all, > > > > I have been playing with snippets for some time now and understand t

Re: [cobbler] Profile does not use the configured repo

2013-11-08 Thread James Cammarata
ection. > > -- > *Von:* cobbler-boun...@lists.fedorahosted.org [mailto: > cobbler-boun...@lists.fedorahosted.org] *Im Auftrag von *James Cammarata > *Gesendet:* Donnerstag, 7. November 2013 17:01 > *An:* cobbler mailing list > *Betreff:* Re: [cobble

Re: [cobbler] slow sync after upgrade to 2.4.1

2013-11-07 Thread James Cammarata
I believe Jorgen was looking into this, however I haven't heard back if he found anything yet. This is definitely our highest priority issue, and sorry it's taking us a while to get to it. On Thu, Nov 7, 2013 at 11:11 AM, Matthew Nicholson < matthew.a.nichol...@gmail.com> wrote: > I've ping IRC

Re: [cobbler] VMware 5.5

2013-11-07 Thread James Cammarata
Oh cool, I didn't see jmaas had merged that into devel. I'll need to update the signatures file on the website then so it's available via the signature update CLI command. On Thu, Nov 7, 2013 at 10:35 AM, Wes Hardin wrote: > On 11/07/2013 08:31 AM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL > TEC

Re: [cobbler] VMware 5.5

2013-11-07 Thread James Cammarata
Thanks, I'll grab those ISOs and test them when I get a chance. Most likely, it's just because VMware changed their file structure (again...). On Thu, Nov 7, 2013 at 8:31 AM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > Currently, I cannot import esxi 5.1 update

Re: [cobbler] Profile does not use the configured repo

2013-11-07 Thread James Cammarata
Do you have the '$yum_config_stanza' magic variable in your %post section? On Thu, Nov 7, 2013 at 7:05 AM, wrote: > Hi, > > I have added successfully a Repo in Cobbler (2.4.0) and it is also > possible to execute a cobbler reposync. > > I also successfully added the repo to one of my RHEL6-Prof

Re: [cobbler] help with cobbler import of debian wheezy via remote/rsync path

2013-10-12 Thread James Cammarata
Can you verify that the rsync is completing? There should be a message in /var/log/cobbler/cobbler.log with the output from the rsync. My bet is that it's not copying everything (or completely failing somehow) and thus the required files for import are not there. On Wed, Oct 2, 2013 at 2:55 PM, D

Re: [cobbler] Fwd: Error before I log into cobbler web

2013-10-12 Thread James Cammarata
Are you running selinux on the system? On Thu, Oct 3, 2013 at 10:16 AM, Sapan Ganguly wrote: > > > Does anyone know why I get this error below before I even get a change to > login to cobbler web? I'm trying to run v2.4. I've set it up to use PAM > authentication but I get this same problem wh

Re: [cobbler] Debian 7.1 import error

2013-10-12 Thread James Cammarata
What version of cobbler are you running? On Fri, Oct 4, 2013 at 1:10 PM, replic4nt0wnz . wrote: > Sorry for not responding to the original message posted yesterday but > my original email addy doesn't seem to be working w/the list. > > Anyway, I'm getting the same import error when trying to imp

Re: [cobbler] bad rsync module management?

2013-10-12 Thread James Cammarata
Is foo set to mirror locally? If so, have you done a "cobbler sync" to make sure the rsyncd.conf is rewritten? On Thu, Oct 10, 2013 at 9:09 AM, Duncan Hutty wrote: > I'm working on getting a replication slave going and I'm having some > trouble, and I'm trying to determine whether my assumption

Re: [cobbler] Repeating Installation of Box

2013-10-12 Thread James Cammarata
To prevent pxe boot loops, you should be sure to include the line $SNIPPET('kickstart_done') in your %post section. Also set pxe_just_once in your settings to 1 (you can edit the file manually and restart cobblerd, or if you're running 2.4.0 you can execute the command "cobbler setting edit --name=

Re: [cobbler] multiple pxeprofile templates

2013-10-12 Thread James Cammarata
Don't use a new template, just set the serial console options in --kopts for the desired profiles or systems. The templates that are used are somewhat hard-coded, and not easily changed. On Tue, Oct 8, 2013 at 1:19 PM, Sarakaitis, Eric wrote: > I want to add another pxeprofile_esxi.template and

Re: [cobbler] Trigger Registration

2013-10-02 Thread James Cammarata
No, triggers are single event only. On Wed, Oct 2, 2013 at 8:52 AM, Mike Eklund wrote: > Is it possible for new style triggers to register with more then one event? > > Regards, > > Mike E. > > ___ > cobbler mailing list > cobbler@lists.fedorahosted.o

Re: [cobbler] How can I remove parent from a profile?!

2013-09-29 Thread James Cammarata
You need to set it to a distro, if you're removing the parent, you can't simply orphan the object. On Sun, Sep 29, 2013 at 4:13 PM, Jakov Sosic wrote: > I have a profile that has a parent profile set. I want to remove the > parent profile and set up a distro, preferably without removing the who

Re: [cobbler] Rendering oddness in 2.4.0

2013-09-24 Thread James Cammarata
No, frankly both of them should have caused issues, the oddity is that the top-level one did not. Are you sure there weren't any #raw blocks in there? On Tue, Sep 24, 2013 at 8:04 PM, Corey Kovacs wrote: > I recently bestowed the virtues of cobbler unto a colleague who has, like > many, decided

Re: [cobbler] Should I create a Repo to mirror my Distro?

2013-09-20 Thread James Cammarata
ok at our Prod environment (servers there use > RHEL5) and the RHEL doesn't appear to follow same yum convention > RHEL-Base.repo! > I'm guessing its due to RHN registration requirement. Is there a way to > mirror the RHEL distro/repos? > > Again, thanks for your help. &

Re: [cobbler] Should I create a Repo to mirror my Distro?

2013-09-19 Thread James Cammarata
4", > "enable_gpxe": 0, > "enable_menu": 1, > "fetchable_files": {}, > "kernel_options": {}, > "kernel_options_post": {}, > "kickstart": "/var/lib/cobbler/kickstarts/bg-centos5-core.ks", >

Re: [cobbler] Should I create a Repo to mirror my Distro?

2013-09-19 Thread James Cammarata
By default, when you've run import on a distro, the cobbler server is configured as the default source in the kickstart assuming you have the $yum_repo_stanza and $yum_config_stanza variables in your kickstart (refer to the sample_end.ks we package to see where they go). Typically you will not setu

Re: [cobbler] i386 repo configuration defaults to i686

2013-09-14 Thread James Cammarata
Hrm, it's possible I'm just curious if that'd break something else down the line since a lot of modern packages use i686 instead. Have you opened an issue on github for this yet? On Thu, Sep 5, 2013 at 7:36 AM, Ronald J. Yacketta wrote: > We maintain several older Fedora versions for various rea

Re: [cobbler] trying to set up cobbler, ran into invalid selinux type that cobbler wants me to change.

2013-08-28 Thread James Cammarata
That message can be ignored if you are not having any problems. You appear to be on an older version of cobbler (2.2.3-2?) but most systems today work fine with cobbler and SELinux enabled. The only thing you should have to do is set some booleans: allow_httpd_mod_auth_pam --> on httpd_can_network

Re: [cobbler] Auto Adding Repos

2013-08-20 Thread James Cammarata
You can remove the $yum_repo_stanza and $yum_config_stanza lines and write your own snippets. In 2.4.0 I added the repo data to the variables available in the kickstart template, so you should be able to reference them directly. The variable name is $repo_data, and is an array of dictionaries repr

Re: [cobbler] TFTP Error - File Not found

2013-08-20 Thread James Cammarata
After you run cobbler sync, do you see files in the directory configured as your tftp root? On Tue, Aug 20, 2013 at 10:15 AM, John Williams wrote: > I'm getting a the following error when testing a new instance of Cobbler > on Ubuntu: > > PXE-T01: File not found > PXE-E3B: TFTP Error - File Not

Re: [cobbler] Upgrade from Cobbler 2.1.0 - 2.4

2013-07-01 Thread James Cammarata
On Mon, Jul 1, 2013 at 9:08 AM, Yogesh Mulay wrote: > Friends, > > I need help on how to upgrade from 2.1.0 to 2.4 latest. Is there any link > to this ... > > I have a fresh install working fine though ... > > Can any one suggest the Upgrade procedure ... > Can you list specifically where you're

Re: [cobbler] login failed

2013-06-01 Thread James Cammarata
Yes it does. On Sat, Jun 1, 2013 at 10:36 PM, David Birdsong wrote: > Thanks. > > Does that file get created on a cobblerd restart? > > > On Sat, Jun 1, 2013 at 10:47 AM, James Cammarata wrote: > >> On Fri, May 31, 2013 at 6:03 PM, David Birdsong > > wrot

Re: [cobbler] login failed

2013-06-01 Thread James Cammarata
On Fri, May 31, 2013 at 6:03 PM, David Birdsong wrote: > I recently restarted my fairly new installation of cobblerd and I'm not > getting the XML-RPC error: login failed > > Full traceback: > https://gist.github.com/davidbirdsong/5688501 > > I'm sure this is simple and possibly related to setting

Re: [cobbler] cobbler reposync only -- more than one ?

2013-05-29 Thread James Cammarata
No, unfortunately --only means to try just one repo. Feel free to submit a feature request via github to change that behavior. On Wed, May 29, 2013 at 11:22 AM, Dan White wrote: > the "only" option for reposync: only one or can I specify two or three ? > And if so, how ? > > I tried --only="r

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-29 Thread James Cammarata
It has already been merged into the master and release24 branches. On Wed, May 29, 2013 at 7:33 AM, Rainer Duffner wrote: > Am Tue, 28 May 2013 12:14:51 -0500 > schrieb James Cammarata : > > > > Actually, most of the framework was in the post snippet, this should > > wor

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-28 Thread James Cammarata
On Tue, May 28, 2013 at 9:56 AM, James Cammarata wrote: > Yes, I still need to write a snippet (or modify the existing one) to do > the static routes. If you write that yourself feel free to share it. > On May 28, 2013 9:48 AM, "Rainer Duffner" wrote: > >> Am Tue

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-28 Thread James Cammarata
Yes, I still need to write a snippet (or modify the existing one) to do the static routes. If you write that yourself feel free to share it. On May 28, 2013 9:48 AM, "Rainer Duffner" wrote: > Am Tue, 28 May 2013 09:04:42 -0500 > schrieb James Cammarata : > > > Ahhh, I s

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-28 Thread James Cammarata
$dns = ",".join($iface.name_servers) option domain-name-servers $dns; #end if Feel free to open an issue for this on github and I'll get it added in permanently. On Tue, May 28, 2013 at 8:40 AM, Rainer Duffner wrote: > Am Tue, 28 May 2013 07:42:49 -0500 > schr

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-28 Thread James Cammarata
On Tue, May 28, 2013 at 3:29 AM, Rainer Duffner wrote: > May 27 16:21:13 cobbler dhcpd: DHCPACK on 10.38.111.143 to > 00:0c:29:a1:f5:b6 via eth1 > May 27 16:21:13 cobbler dhcpd: Abandoning IP address 10.38.111.143: > declined. > May 27 16:21:13 cobbler dhcpd: DHCPDECLINE of 10.38.111.143 from > 00

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-27 Thread James Cammarata
7;hostname'",), 'lineCol': (38, 3), 'rawCode': u"$SNIPPET('networking.xml')", 'time': 'Sun May 26 23:41:18 2013'}] (the above is from me troubleshooting why opensuse builds no longer seem to be working...) On

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-27 Thread James Cammarata
7, 2013 at 4:05 AM, Rainer Duffner wrote: > Am Fri, 24 May 2013 20:15:54 -0500 > schrieb James Cammarata : > > > I just packaged 2.4.0 beta6 up, which includes everything I mentioned > > earlier. I have been testing it quite a bit and it seems pretty solid > > as far as

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-25 Thread James Cammarata
They are just now starting to be promoted into the testing repositories: https://admin.fedoraproject.org/updates/search/cobbler It looks like the EL5/EL6 ones just got promoted. On Sat, May 25, 2013 at 12:33 PM, Rainer Duffner wrote: > Am Fri, 24 May 2013 20:15:54 -0500 > schrieb

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-24 Thread James Cammarata
> > > * > * > *Bret Wortman* > <http://damascusgrp.com/> > http://damascusgrp.com/ <http://bretwortman.com/> > http://about.me/wortmanbret > > > On Fri, May 24, 2013 at 11:31 AM, James Cammarata wrote: > >> I've been making a lot of improvem

Re: [cobbler] cobbler 2.4 and ubuntu12

2013-05-24 Thread James Cammarata
I've been making a lot of improvements in this area lately, so if this is a brand new installation of cobbler I'd recommend you grab the master branch via github and use that instead. Specifically, I've been fixing: * better apt repo support, to address the issue you mention above. Specifically no

Re: [cobbler] Cobbler 2.4 and 1.2.5 interoperability

2013-05-15 Thread James Cammarata
On Wed, May 15, 2013 at 7:43 AM, Amnon Cohen wrote: > Can a 2.4 cobbler server replicate from a version 1.2.5 cobbler master? > > What about the other way round? > > Thanks, > Amnon > No, I do not believe it would work either way due to the fact that there were some pretty major changes in 1

Re: [cobbler] help with import

2013-05-14 Thread James Cammarata
On Tue, May 14, 2013 at 1:01 PM, David Birdsong wrote: > > On Tue, May 14, 2013 at 10:46 AM, James Cammarata wrote: > >> On Tue, May 14, 2013 at 12:42 PM, Harry Hoffman < >> hhoff...@ip-solutions.net> wrote: >> >>> Can you post the command and args you

Re: [cobbler] help with import

2013-05-14 Thread James Cammarata
On Tue, May 14, 2013 at 12:42 PM, Harry Hoffman wrote: > Can you post the command and args you used to do the import? > Also, can you verify that you're using the full DVD ISO and not the minimal or netboot version? ___ cobbler mailing list cobbler@list

Re: [cobbler] getVar - REMOTE_ADDR

2013-05-14 Thread James Cammarata
On Tue, May 14, 2013 at 5:50 AM, Alex Davies wrote: > Hi, > > Is there a way to get the client IP retrieving the kickstart file (as > opposed to the IP configured for a given system) in getVar in a snippet? > Something like getVar(REMOTE_ADDR, None) > > Snippets are executed on the client side, s

Re: [cobbler] cobbler 2.4.0 and problems booting Ubuntu 12.10 desktop 64bit

2013-05-09 Thread James Cammarata
On Thu, May 9, 2013 at 2:00 PM, Harry Hoffman wrote: > I thought I added that to the wiki a while ago? > > On 05/09/2013 01:55 PM, James Cammarata wrote: > > Just getting back to this, due to some testing with Ubuntu 13.04. Digging > > through the errors shown in the ALT

Re: [cobbler] Cobbler not sending e-mails

2013-05-09 Thread James Cammarata
tfix/qmgr[31508]: 6424D9966A: removed > > > Could it be the joining of e-mails in code should be doe with ; as the > separator vice , ? > > On Thursday, 09 May, 2013 11:42 EDT, "James Cammarata" > wrote: > > > On Wed, May 8, 2013 at 3:16 PM, Ronald J. Yacketta &

Re: [cobbler] cobbler 2.4.0 and problems booting Ubuntu 12.10 desktop 64bit

2013-05-09 Thread James Cammarata
Just getting back to this, due to some testing with Ubuntu 13.04. Digging through the errors shown in the ALT+F4 window, I finally found a launchpad bug that pointed me towards this option (formatted for use in cobbler's sample.seed): d-i live-installer/net-image string http:// $http_server/cobble

Re: [cobbler] Cobbler not sending e-mails

2013-05-09 Thread James Cammarata
]: disconnect from > localhost[127.0.0.1] > May 8 16:13:11 eden postfix/smtp[32201]: D16D299669: to=< > sysad...@potsdam.edu>, relay=smtp.potsdam.edu[137.143.110.104]:25, > delay=0.59, delays=0.09/0.03/0.3/0.17, dsn=2.0.0, status=sent (250 ok > 1368043992 qp 4757) > May

Re: [cobbler] DJANGO_SETTINGS_MODULE

2013-05-08 Thread James Cammarata
Can you validate the cobbler_web.conf file matches the one on github? Also you might want to make sure you don't have mod_python installed as it can sometimes interfere with mod_wsgi depending on the config. On Wed, May 8, 2013 at 12:48 PM, Saleh, Sami wrote: > I'm trying to setup cobbler on a

Re: [cobbler] Cobbler not sending e-mails

2013-05-08 Thread James Cammarata
.@potsdam.edu' ] > build_reporting_smtp_server: "smtp.potsdam.edu" > build_reporting_subject: "[COBBLER] " > > [root@eden cobbler]# rpm -qa | grep cobbler > cobbler-2.2.3-2.el6.noarch > cobbler-web-2.2.3-2.el6.noarch > > > On Wednesday, 08 May, 2013 0

Re: [cobbler] Cobbler not sending e-mails

2013-05-08 Thread James Cammarata
On Wed, May 8, 2013 at 1:00 PM, Ronald J. Yacketta wrote: > Trying to figure out why I am not getting e-mails from profile / system > installs. Found a patch and applied it then compared my KS file to the > default one left behind during a fresh install. > > After a profile / system is installed t

Re: [cobbler] cobbler repo add --mirror=url: multiple URLs?

2013-05-03 Thread James Cammarata
On Fri, May 3, 2013 at 3:44 AM, David Lee wrote: > (cobbler 2.0.11; old; we could upgrade...) RedHat systems. > > We have a local repo of additional RPMs, so we linked cobbler to this via: > cobbler repo add --mirror=url ... > > That works fine. > > But it would also be useful if that URL sp

Re: [cobbler] Cobbler 2.4

2013-05-02 Thread James Cammarata
On Thu, May 2, 2013 at 12:25 PM, Ronald J. Yacketta wrote: > Will their be any cloud provisioning capabilities in 2.4? Currently > working through setting up OpenStack and would like to continue to use > cobbler if possible. > > -Ron > I don't think that will be ready for 2.4.0. This work is goin

Re: [cobbler] Cobbler 2.4

2013-05-02 Thread James Cammarata
On Thu, May 2, 2013 at 7:14 AM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > I have several questions concerning Cobbler 2.4 > > >1. Approximately when will thwe production version of Cobbler 2.4 be >released? > > There is no official date. Part of the rea

Re: [cobbler] Only default distro kickstarting

2013-04-26 Thread James Cammarata
On Fri, Apr 26, 2013 at 2:04 PM, Janowiak, Edward < edward.janow...@chartercom.com> wrote: > I mounted the iso to /mnt and used "cobbler import --path=/mnt > --name=RHEL-5.5 --arch=x86_64". > Umount /mnt, delete the 5.5 distro, restart cobblerd, and then redo the mount/import. I have seen this i

Re: [cobbler] Only default distro kickstarting

2013-04-26 Thread James Cammarata
On Fri, Apr 26, 2013 at 1:44 PM, Janowiak, Edward < edward.janow...@chartercom.com> wrote: > I got my first distro, CentOS 6.3, kickstarting systems very nicely. I > added the RHEL 5u5 distro, profile, and simple kickstart template. Any > systems I try to build off the RHEL 5u5 distro instead buil

Re: [cobbler] Newbie install problem

2013-04-25 Thread James Cammarata
On Thu, Apr 25, 2013 at 11:19 AM, Amnon Cohen wrote: > Hello, > > I am having some problems installing Cobbler release24 on > Scientific Linux 6.2 > Have you reviewed the installation prerequisites? http://www.cobblerd.org/manuals/2.4.0/3/1_-_Prerequisites.html

Re: [cobbler] Puppet Integration

2013-04-16 Thread James Cammarata
On Tue, Apr 16, 2013 at 10:08 AM, Ronald J. Yacketta wrote: > Like the idea, but think it would be more portable / user friendly if > 'puppet-server' was in /etc/cobblet/settings. > > If it is in settings then we could pull it in and make it usable via a > snippet that could generate puppet.conf?

Re: [cobbler] Puppet Integration

2013-04-16 Thread James Cammarata
On Tue, Apr 16, 2013 at 8:39 AM, Ronald J. Yacketta wrote: > We are in the process of integrating Puppet into our Cobbler environment > and have followed a couple guides to get the basics in place. > Looking getks I see the bits in place to install Puppet and run it, but > not seeing were puppet i

Re: [cobbler] /etc/pki/product/* missing

2013-04-16 Thread James Cammarata
On Tue, Apr 16, 2013 at 12:55 AM, Simon Dwyer wrote: > Hi All, > > anyone know why when i install RHEL 6.4 with cobbler it deletes the > /etc/pki/product/*.pem (or doesn't generate it at all?) so i cant register > with RH with subscription-manager? > > I am running just the basic kickstart file.

Re: [cobbler] WebUI Repo Sync

2013-04-15 Thread James Cammarata
On Mon, Apr 15, 2013 at 9:58 AM, Ronald J. Yacketta wrote: > Tracked it down to an error in views.py > > 563 elif what == "profile" and multi_mode == "reposync": > 564 options = { "repos" : names, "tries" : 3 } > > should be > > 563 elif what == "repo" and multi_mode == "reposyn

Re: [cobbler] WebUI Repo Sync

2013-04-15 Thread James Cammarata
On Mon, Apr 15, 2013 at 7:42 AM, Ronald J. Yacketta wrote: > Just noticed that 'reposync' is not a valid batch command for repo's, has > this been added already? if so, might their be a patch I can apply to > cobbler-web-2.2.3-2? > That is a good point. Feel free to add the patch yourself, howeve

Re: [cobbler] IP address of client machine in profile-based install

2013-04-09 Thread James Cammarata
On Tue, Apr 9, 2013 at 2:15 PM, Guillaume Rozan wrote: > Hi, > > thanks for taking the time to help. > > I could configure PXE in the way you describe, but then all the clients of > a given subnet will be associated to a specific profile (meaning a specific > distribution in my case) > What I want

Re: [cobbler] DVD Import fails for latest RHEL 6.4 DVD ISO

2013-04-08 Thread James Cammarata
On Apr 8, 2013 4:34 PM, "Scott, Sean I" wrote: > > Running cobbler version cobbler-2.4.0-beta4.el5 and cobbler-web-2.4.0-beta4.el5 > > > > Even after performing a ‘cobbler signature update’ I was unable to ‘cobbler import --name=rhel6.4 --path=/mnt/iso/ --arch=x86_64 --breed=redhat’ for the latest

Re: [cobbler] Cobbler status + Notification Mail

2013-04-04 Thread James Cammarata
On Thu, Apr 4, 2013 at 3:17 AM, wrote: > Hi, > > I've just started to use Cobbler 2.3 to deploy servers. Everything works > perfectly except two things. > > [root@server ~]# cobbler status > ip |target |start|state > 10.0.0.1 |system:devxxx |Mon Dec 17 1

Re: [cobbler] import from a network server always copy files

2013-04-02 Thread James Cammarata
On Tue, Apr 2, 2013 at 11:21 AM, FRANK Michael wrote: > ** > Hello All, > > I am just new to Cobbler and try to build my first test system. We already > have a Server sharing and syncing the CentOS repo. If I try to import this > repo from the server cobbler always sync over the hole content to >

Re: [cobbler] Cobbler and puppet 3.1

2013-03-27 Thread James Cammarata
On Wed, Mar 27, 2013 at 1:53 PM, Ronald J. Yacketta wrote: > James, > > Is their a road map for 2.4? > > -Ron > No, cobbler doesn't have any official road map unfortunately. I had been considering getting 2.4.0 out the door before the end of March but unfortunately some personal issues* have come

Re: [cobbler] Cobbler and puppet 3.1

2013-03-26 Thread James Cammarata
On Mar 26, 2013 2:28 PM, "Ronald J. Yacketta" wrote: > > Hello all! > > Just checking to see if (when?) cobbler will be updated to utilize puppet 3.x. Currently in settings puppetca_path points to /usr/sbin/puppetca which no longer exists it is now part of puppet itself (puppet certificate_reques

Re: [cobbler] snippet issue

2013-03-22 Thread James Cammarata
On Fri, Mar 22, 2013 at 2:07 PM, Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] wrote: > RHEL 6.4 Cobbler 2.2.3 > > > > I have a kickstart as follows: > > ** ** > > # this file intentionally left blank > > # admins: edit it as you like, or leave it blank for

Re: [cobbler] Finding snippet errors

2013-03-22 Thread James Cammarata
On Fri, Mar 22, 2013 at 8:57 AM, Harry Hoffman wrote: > Jimmi, > > Will this fix be pushed out to the 2.4 version that in epel-testing? > > Cheers, > Harry > That was merged in back in October, so it should already be in 2.4.0 beta. ___ cobbler mailing

Re: [cobbler] Finding snippet errors

2013-03-22 Thread James Cammarata
On Fri, Mar 22, 2013 at 7:05 AM, Robert Jacobson wrote: > On 3/22/2013 7:30 AM, Harry Hoffman wrote: > > Have you run "cobbler validateks" on the kickstart file that includes > the snippet? > > > Thanks, I didn't know about this -- However, for my particular example of > a broken snippet, it doe

Re: [cobbler] Finding snippet errors (was: Internal Server Error)

2013-03-22 Thread James Cammarata
On Fri, Mar 22, 2013 at 6:26 AM, Robert Jacobson wrote: > On 3/22/2013 4:46 AM, James Cammarata wrote: > >> >> Nothing gets logged in /var/logs/httpd/* nor >> /var/log/cobbler/cobbler.log? You should see apache at least log the 500. >> > > I hope you're

Re: [cobbler] Internal Server Error

2013-03-22 Thread James Cammarata
On Thu, Mar 21, 2013 at 8:24 PM, David Leach wrote: > Just trying to track down what happened to our cobber server to make this > happen. But wondering if anyone has any pointers as the person most likely > responsible for the change is out sick. > > When trying to view kickstarts in the web ui

Re: [cobbler] Assigning a system to a profile

2013-03-19 Thread James Cammarata
On Tue, Mar 19, 2013 at 1:37 PM, Sam Sen wrote: > Correct and yes you can use the same ISO for all blades (I’ve done it > before). > > ** ** > > I’m just trying to get it to boot into the OS install without having to > select the system from the cobbler menu. > > ** ** > > Regards,

Re: [cobbler] Cobbler Power commands

2013-03-18 Thread James Cammarata
On Mon, Mar 18, 2013 at 5:59 PM, David Leach wrote: > Oh, I forgot my manners. > > Thanks for the speedy turn around, it's appreciated! > > > On 03/18/2013 03:50 PM, David Leach wrote: > > Didn't restart cobblerd.. > > Things look good now. > > No problem, I'll get this merged into master and pro

Re: [cobbler] Cobbler Power commands

2013-03-18 Thread James Cammarata
On Mon, Mar 18, 2013 at 11:58 AM, David Leach wrote: > Fencing agents run sweet, tested this on the command line. We're running > 2.2.3 Fencing agents are the latest as of about a month ago. > > The problem occurs when a host fails because it's ipmi interface is down, > a hardware failure or the

Re: [cobbler] Cobbler Power commands

2013-03-18 Thread James Cammarata
On Mon, Mar 18, 2013 at 10:59 AM, David Leach wrote: > Hi, > > We're trying to use cobbler as a tool to power down hosts and power them > up in mass whenever we need to do an image update or just for a downtime. > > One issue which is a little frustrating is if you run a power command on a > bunch

Re: [cobbler] overriding name_servers_search

2013-03-18 Thread James Cammarata
On Mon, Mar 18, 2013 at 6:56 AM, Robert Jacobson wrote: > > I'd like to override a profile-set variable for one particular system, but > I can't figure out how to do it. For the system, I want to completely > replace name_servers_search with "foo.com", but when I put in 'foo.com' > for name_serv

Re: [cobbler] Can't find /tmp/pre_install_network_config error on kickstart in F18

2013-03-14 Thread James Cammarata
On Thu, Mar 14, 2013 at 1:53 PM, Bret Wortman wrote: > Looks like it's a dependency error that's getting swallowed by the error > handler. It's definitely getting logged anywhere at this stage -- how can I > patch this code to spit out the error and determine what the dependency > problem is? > >

Re: [cobbler] Can't find /tmp/pre_install_network_config error on kickstart in F18

2013-03-14 Thread James Cammarata
On Thu, Mar 14, 2013 at 12:31 PM, Bret Wortman wrote: > I've been trying to troubleshoot this on F18/Cobbler 2.2.3 for two days > now and could use whatever input anyone might have. > > I'm using a modified version of the sample.ks kickstart which works great > on F17 and, by copying it and chang

Re: [cobbler] Run command from the server

2013-03-12 Thread James Cammarata
On Tue, Mar 12, 2013 at 8:38 AM, Personal Técnico wrote: > Yes, my kickstart file includes a $SNIPPET('kickstart_done'): > > [...] > %post > $SNIPPET('log_ks_post') > # Start yum configuration > $yum_config_stanza > # End yum configuration > $SNIPPET('post_install_kernel_options') > $SNIPPET('pos

Re: [cobbler] Unable to koan ANY profiles.

2013-03-12 Thread James Cammarata
On Tue, Mar 12, 2013 at 9:32 AM, Ronald J. Yacketta wrote: > Not sure whats wrong, imported SL 6.3 like I have many times in the past > without issue. Go to koan SL 6.3 and now I get > > koan --server=SERVER --virt --profile=SL-6.3-x86_64 --virt-name=koan_test > -virt-type=qemu --virt-path=/mnt/s

Re: [cobbler] Run command from the server

2013-03-12 Thread James Cammarata
On Tue, Mar 12, 2013 at 7:34 AM, Personal Técnico wrote: > Hi, > > We're trying to run a command from the server to the new node, after the > post-install in a kickstart file. We have tried to create a bash script > file and copy it into the triggers folder (/var/lib/cobbler/triggers/) or > into

Re: [cobbler] Build Report throws 500 Error

2013-03-12 Thread James Cammarata
On Tue, Mar 12, 2013 at 5:25 AM, Tom Brown wrote: > I believe this was fixed by this patch: > > commit 596579e8edf31029bd95c3c1e040550b0a7e0883 > Author: James Cammarata > Date: Thu Jul 12 23:10:33 2012 -0500 > > Fix post_report trigger typo > > Diff her

Re: [cobbler] Build Report throws 500 Error

2013-03-11 Thread James Cammarata
; "/usr/lib64/python2.6/xmlrpclib.py", line 838, in close > [Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5] raise > Fault(**self._stack[0]) > [Mon Mar 11 17:18:43 2013] [error] [client 192.168.10.5] Fault: ":global name 'config' is not defined"&g

Re: [cobbler] No more tabs, cannot add/remove repos via web interface

2013-03-11 Thread James Cammarata
On Mon, Mar 11, 2013 at 8:52 AM, Robert Jacobson wrote: > On 3/8/2013 3:54 PM, Orion Poplawski wrote: > >> Running: >> >> server: cobbler-2.4.0-beta3.el6.noarch >> >> client: Fedora 18 with Firefox >> >> For a while now (don't remember when it changed), I cannot add or remove >> items >> from the

Re: [cobbler] Importing F18 using Cobbler 2.2.3 and locally mirrored F18 repos

2013-03-11 Thread James Cammarata
On Mon, Mar 11, 2013 at 8:38 AM, Bret Wortman wrote: > Sudoed to root, yes. > > # getenforce > Disabled > # systemctl status iptables > iptables.service - IPv4 firewall with iptables > Loaded: loaded (/usr/lib/systemd/system/iptables.service; > disabled) > Active: inactive (dea

Re: [cobbler] Importing F18 using Cobbler 2.2.3 and locally mirrored F18 repos

2013-03-11 Thread James Cammarata
On Mon, Mar 11, 2013 at 8:14 AM, Bret Wortman wrote: > Still failing, same error. Also tried stopping cobblerd, deleting the > file, and starting cobblerd. No joy. > And you're running this as root or via sudo? No selinux blocking things? ___ cobbler ma

Re: [cobbler] Importing F18 using Cobbler 2.2.3 and locally mirrored F18 repos

2013-03-11 Thread James Cammarata
On Mon, Mar 11, 2013 at 8:09 AM, Bret Wortman wrote: > So I upgraded and restarted cobblerd, but now: > > # cobbler distro list > Traceback (most recent call last): > File "/usr/bin/cobbler", line 35, in > sys.exit(app.main()) > : > : > File "/usr/lib64/python2.7/xmlrpclib.py", line 793, in

Re: [cobbler] Importing F18 using Cobbler 2.2.3 and locally mirrored F18 repos

2013-03-11 Thread James Cammarata
On Mon, Mar 11, 2013 at 7:56 AM, Bret Wortman wrote: > Okay, but my whole problem is that the systems on this network don't have > internet connectivity, so I have to replicate the F18 mirror locally. Will > this work using a local path instead of rsync just as well? I'll pull the > beta 2.4.0 and

Re: [cobbler] Importing F18 using Cobbler 2.2.3 and locally mirrored F18 repos

2013-03-11 Thread James Cammarata
On Mon, Mar 11, 2013 at 7:23 AM, Bret Wortman wrote: > In fact, here's what /var/www/cobbler/ks_mirror/F18-i386 looks like when > it bails out: > > # cd /var/www/cobbler/ks_mirror/F18-i386 > # du -sh * > 114M images > 57M isolinux > 213M LiveOS > 4.0G Packages > 15M repo

Re: [cobbler] issues with boot.cfg and default menu list

2013-03-08 Thread James Cammarata
On Fri, Mar 8, 2013 at 12:26 PM, Sarakaitis, Eric < eric.sarakai...@cbts.cinbell.com> wrote: > With esxi, every time I add a system, cobbler seems to nuke my modified > boot.cfg and default menu… how can I prevent that? Any way to make cobbler > fully qualify the paths within the boot.cfg for me?

Re: [cobbler] Importing F18 using Cobbler 2.2.3 and locally mirrored F18 repos

2013-03-08 Thread James Cammarata
On Fri, Mar 8, 2013 at 12:14 PM, Bret Wortman wrote: > > *Bret Wortman* > > http://damascusgrp.com/ > http://twitter.com/BretWortmanI've got some systems that aren't connected > to the internet, so i have to mirror the repositories I need to them

Re: [cobbler] problems with network_config_esxi snippet

2013-03-06 Thread James Cammarata
On Wed, Mar 6, 2013 at 11:08 AM, Will McDonald wrote: > On 6 March 2013 17:05, James Cammarata wrote: > > On Wed, Mar 6, 2013 at 8:52 AM, Sarakaitis, Eric > > wrote: > >> > >> $SNIPPET(' network_config_esxi') > >> > > > > >

Re: [cobbler] problems with network_config_esxi snippet

2013-03-06 Thread James Cammarata
On Wed, Mar 6, 2013 at 8:52 AM, Sarakaitis, Eric < eric.sarakai...@cbts.cinbell.com> wrote: > I have a new kickstart I'm developing for ESXi deployment, but I'm having > problems getting the networking snippet to work. > > System kickstart output - > # Error: no snippet data for network_config_esx

  1   2   3   4   5   6   7   >