[cobbler] Question about files.

2014-06-19 Thread Michael Tiernan
Anyone around who can answer a couple of simple (I hope) questions. The documentation offers this command: cobbler file add --name=string --comment=string --mode=string --path=string [--template=string] 1) Is the path=string a path relative or absolute on the target system? 2) What's

[cobbler] Anomaly report.

2014-06-26 Thread Michael Tiernan
Now I'd like to declare this a bug report but I've not proven what's happened but I've seen some quirks with this. I took an entire distribution and saved with with two names. First one I saved as SciLin_All-x86_64 and then I tried to use it and it worked weird so I loaded the second one with

[cobbler] How does Files work?

2014-06-30 Thread Michael Tiernan
There's a gui cli option for files. What's it supposed to do? How does this work? It asks for a template, what's it want there? While we're on it, how does one create (and then get) a fetchable file? I have the need to put a set of specific files on a system and I'd rather let cobbler handle

Re: [cobbler] How does Files work?

2014-06-30 Thread Michael Tiernan
On 6/30/14 9:02 AM, Harry Hoffman wrote: So, if you had a template located on the cobbler server at /srv/templates/etc_resolv_conf you can use cobbler templates do designate First off, thank you very much for your help and advice. I just want to clear up something obvious to make sure I don't

Re: [cobbler] cobbler reposync and yum options

2014-07-01 Thread Michael Tiernan
On 7/1/14 3:40 PM, Dan White wrote: If I add the options to the file and run the reposync command by hand, the options work. I don't know, so I'm asking to understand better. What are you expecting to see that is not happening? (Or vice versa?) ___

Re: [cobbler] cobbler reposync and yum options

2014-07-02 Thread Michael Tiernan
On 7/2/14 2:32 PM, Dan White wrote: Is this a problem with cobbler or with the repository I am trying to mirror ? I'm of the *opinion* that it's cobbler who's having trouble at this point. ___ cobbler mailing list cobbler@lists.fedorahosted.org

Re: [cobbler] Missing the obvious again.

2014-07-11 Thread Michael Tiernan
On 7/11/14 2:31 PM, Jörgen Maas wrote: Hi, [root@cobbler kickstarts]# tail -2 sample.ks # X $status [root@cobbler kickstarts]# cobbler system getks --name=test| tail -3 # X production I *HATE* it when that happens. ;) Thanks! (I figured out why I was missing it now.)

Re: [cobbler] Cobbler check

2014-07-16 Thread Michael Tiernan
2 : Unknown distribution type, cannot check for running service dhcpd 3 : Unknown distribution type, cannot check for running service cobblerd I'm *GUESSING* that it is telling you that the *host* you're running cobbler on is something cobbler doesn't recognize. I /think/ that it is telling

Re: [cobbler] Cobbler releases 2.4.6 and 2.6.3

2014-07-18 Thread Michael Tiernan
Today we release Cobbler 2.4.6 and 2.6.3; I've just rebuilt a server and installed 2.6.2 and then upgraded to 2.6.3 and am starting the configuration process. One thing I've noticed is a failed dependency: import tornado.ioloop as ioloop There's no tornado module (that I've found yet)

Re: [cobbler] Cobbler releases 2.4.6 and 2.6.3

2014-07-18 Thread Michael Tiernan
On 7/18/14 9:19 AM, Michael Tiernan wrote: I've just rebuilt a server and installed 2.6.2 and then upgraded to 2.6.3 and am starting the configuration process. One thing I've noticed is a failed dependency: import tornado.ioloop as ioloop There's no tornado module (that I've found yet

[cobbler] What's the difference?

2014-07-18 Thread Michael Tiernan
Just wondering, i didn't see it on the webpages anywhere, what's the difference between 2.4 2.6? Or maybe I should ask why two releases? ___ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler

[cobbler] About release 2.6.3

2014-07-18 Thread Michael Tiernan
As one who's unsure on the process, I just thought I'd mention, the RPM I used for cobbler-web doesn't have the changes I'd made in the GUI for the kickstart and snippet edit screens. Name: cobbler-web Relocations: (not relocatable) Version : 2.6.3

[cobbler] How to debug...

2014-07-22 Thread Michael Tiernan
I'm sure I can solve this by hard work but I'm wondering if there's a way to trigger a debugging so that the steps that cobbler's supposed to be doing are obvious. I've got a single system in my cobbler instance and it *should* prepare the tftp stuff for the pxe boot but I'll be darned if I can

[cobbler] Small problem to report.

2014-07-23 Thread Michael Tiernan
When trying to install on a Scientific Linux system using the CentOS6 RPM, I get this error: Installing : cobbler-2.6.3-7.1.noarch Non-fatal POSTIN scriptlet failure in rpm package cobbler-2.6.3-7.1.noarch warning: %post(cobbler-2.6.3-7.1.noarch) scriptlet failed, exit status 1 This is a clean

Re: [cobbler] Small problem to report.

2014-07-23 Thread Michael Tiernan
On 7/23/14 12:09 PM, Harry Hoffman wrote: rpm -q —scripts -p cobbler-2.6.3-7.1.noarch.rpm preinstall scriptlet (using /bin/sh): if (( $1 = 2 )); then # package upgrade: backup configuration DATE=$(date +%Y%m%d-%H%M%SOURCE) if [[ ! -d /var/lib/cobbler/backup/upgrade-${DATE} ]]; then

Re: [cobbler] How to debug...

2014-07-28 Thread Michael Tiernan
On 7/25/14 7:36 PM, Drew Decker wrote: It looks like you are having it manage your DHCP for you. Yeah, sorry, that's not the problem I'm running into. I'm assuming that there's a point in the 'sync' process where cobbler goes through the list of systems looking for conditions to trigger it

Re: [cobbler] How to debug...

2014-07-31 Thread Michael Tiernan
Okay, here's what I'm running into now... I have a system that I just rebuilt as my host server. Everything built without a hitch. However, now, I've added a distro, two profiles, and a system. The system definition ends up in the dhcp config file but the sync process does NOT build the PXE

Re: [cobbler] How to debug...

2014-07-31 Thread Michael Tiernan
On 7/31/14 2:57 PM, Jörgen Maas wrote: if you are using the python tftp server these system definitions don't get generated iirc. I'm sorry, maybe I'm dense. I'm obviously saying the wrong thing here because the tftp server selection doesn't change this. (I've tested it too.) When the target

Re: [cobbler] How to debug...

2014-08-01 Thread Michael Tiernan
On 7/31/14 7:41 PM, alast...@alastair-munro.com wrote: Is there a file with the mac address in this dir? This is the problem, no MAC based files are being created. I'm sure it's something that will be obvious once it's found. :( ___ cobbler mailing

Re: [cobbler] How to debug...

2014-08-04 Thread Michael Tiernan
On 8/2/14 5:57 AM, André Gemünd wrote: thats a bit strange, as you should at least get some error message. Was that a full cobbler sync output you posted? There should e.g. at least be a 'generating PXE configuration files' output. Which version of Cobbler are you using? cobbler distro list,

Re: [cobbler] How to debug...

2014-08-04 Thread Michael Tiernan
On 8/2/14 12:02 PM, Alastair Munro wrote: Are you sure static was not ticked for ip on the interface ? It is and that's legal. It still generates the correct DHCP information (which works properly.) (And yes, I've tried it without now too.) ___ cobbler

Re: [cobbler] FW: reposync error

2014-08-06 Thread Michael Tiernan
On 8/6/14 7:32 AM, Lloyd Wilke wrote: Could you please assist with this error? It happens when I try to sync the repos created. I tried it using non cobbler tools and I got errors. I'm assuming that the problem isn't at your end but at the other end. Mirroring to ./precise-x86_64 from

Re: [cobbler] How to debug...

2014-08-08 Thread Michael Tiernan
So, my adventure has yielded some interesting results. I've been putting debug instrumenting/tracing statements into the code as I go along and I've found out that indeed the code in pxegen is the jumping off point for this issue. (N.B. I use my initials MCT to mark my debugs and the first thing

Re: [cobbler] Enabling pxe boot option via ipmi?

2014-08-13 Thread Michael Tiernan
On 12.08.2014 [14:36:50 -0400], Jennifer Patrick wrote: Hiya. Just wondering if anyone has figured out a way via the API, or how to show-horn it into the web-interface, to enable cobbler to set a pxe boot flag on a system. Currently in cobbler we can do the equivalent of: May I ask why

Re: [cobbler] Creating custom/local repos

2014-08-19 Thread Michael Tiernan
On 8/12/14 3:02 PM, alast...@alastair-munro.com wrote: Added a page on the wiki on how to create your own custom repos for putting rpms that don't fit anywhere else: This leads me to a question that I've been working on. I just need to know if I've been working under an incorrect assumption.

[cobbler] Clarification request.

2014-08-28 Thread Michael Tiernan
There's two specific snippets provided with the distribution and I wanted to make sure I had a clear understanding of their purpose and use. kickstart_start kickstart_done Their 'ideal' (*cough*) locations are at the very start and very end of a kickstart process. Their purpose of the _start

Re: [cobbler] Fwd: [cobbler-devel] Templated scripts

2014-09-17 Thread Michael Tiernan
On 9/17/14 5:11 AM, alast...@alastair-munro.com wrote: Also, I think cobbler_web should have a left hand option for template scripts As just an aside, may I express displeasure with the fact that the templating currently reads as Source = Target instead of the more logical Target = Source

[cobbler] A question on management interfaces

2014-09-23 Thread Michael Tiernan
I know what *I* think of when I see the button for Management Interface when configuring a system but I'm curious about a couple of things and I suspect getting them well documented for those who come after us might be a good idea. So, I'm going to pose them here in the hopes that it stirs others

[cobbler] Distribution sigs.

2014-09-26 Thread Michael Tiernan
I'm trying to import a Scientific Linux V5 distro and getting failures. Is the how and why of the signature file explained anywhere? ___ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler

[cobbler] I've noticed another qurik.

2014-10-10 Thread Michael Tiernan
I don't know if this rises to the level of being a bug but it's a curiosity that I think I'd like to bring up. I have a profile which defines everything needed about a system. It includes the definition of the kickstart and it works fine. If I look at the system's report, I'll see: Kickstart

Re: [cobbler] I've noticed another qurik.

2014-10-10 Thread Michael Tiernan
On 10/10/14 3:32 PM, Jörgen Maas wrote: This is a bug in 2.6.5, can you confirm you are on that version? It should already be fixed in the release26 branch. Confirmed. Cobbler 2.6.5 source: ?, ? build time: Fri Aug 15 18:00:00 2014 I'll try to release 2.6.6 this weekend... if i find some

Re: [cobbler] Fwd: [cobbler-devel] Templated scripts

2014-10-24 Thread Michael Tiernan
On 10/24/14 9:31 AM, Alan Evangelista wrote: On 09/17/2014 10:25 AM, Michael Tiernan wrote: As just an aside, may I express displeasure with the fact that the templating currently reads as Source = Target instead of the more logical Target = Source Currently the syntax for the templates

Re: [cobbler] Fwd: [cobbler-devel] Templated scripts

2014-10-24 Thread Michael Tiernan
On 10/24/14 1:30 PM, Jörgen Maas wrote: I agree with Michael here... it seems to make more sense. It could also be that we're both a bit 'strange' ;-) Sounds like you've been talking to my wife. ;) Anyway, if we want to change it, 3.0 is the time to do it. That's fine, I just wanted to

Re: [cobbler] Download a file from the Cobbler server to be processed during the Ubuntu installation

2015-02-05 Thread Michael Tiernan
On 2/5/15 4:36 AM, Rubén Pérez wrote: Thanks for your answer. It's very helpful, but I still have some doubts about it. I'm sorry if what I'm going to ask is too obvious. Just to add a datapoint for you. This was something I spent a lot of time trying to do and I made no progress on it. In

Re: [cobbler] Download a file from the Cobbler server to be processed during the Ubuntu installation

2015-02-06 Thread Michael Tiernan
On 2/5/15 9:33 AM, Leonid Flaks wrote: First of all I don't expect using this process on the unprotected public network as Michael noted earlier today, Just for clarification, I didn't suggest or imply doing it on an unprotected network. Quite the opposite. Until I've done things to the system

Re: [cobbler] Kickstart file choose network interface for Ubuntu 14.04 installation

2015-02-25 Thread Michael Tiernan
On 2/24/15 9:16 PM, Lê Hoàng Anh wrote: But I want the kickstart to automatically choose the connected interface Double check, I think this used to work: network --bootproto=dhcp --device=link Which says to use the device that has a link available. (i.e. plugged in.) -- MCTMichael C

Re: [cobbler] Somewhat off topic. Re: Kickstarts.

2015-04-23 Thread Michael Tiernan
On 4/23/15 11:25 AM, Tucker DeWitt wrote: It's been a long time since I tried to deal with this same problem so I've forgotten where the actual bug lies but we ended up hacking in some pre install work that _I think_ managed to get it working. This is the snippet we're using before setting up

Re: [cobbler] Somewhat off topic. Re: Kickstarts.

2015-04-23 Thread Michael Tiernan
On 4/23/15 8:11 AM, Michael Tiernan wrote: In trying to do some new kickstarts, Just out of morbid curiosity since I like doing things against the stream, is there a way to force kickstarts/anaconda to NOT use the UUID of the drives in the mount table? (i.e. fstab) -- MCTMichael C

[cobbler] Somewhat off topic. Re: Kickstarts.

2015-04-23 Thread Michael Tiernan
In trying to do some new kickstarts, I've found the problem of not being able to specify gpt labels on drives. But I've run into a strange thing and I'm looking for pointers to read more about it. I have two 2tb drives. I build an MD raid across two of their partitions (i.e. sda1, sdb2) at

Re: [cobbler] Binary File Templates

2015-05-06 Thread Michael Tiernan
On 5/5/15 10:27 AM, Dallin Young wrote: I need to be able to distribute keytabs and certificates that are binary We've all run into this. The answer is, the use of templates doesn't yield to this need as we'd hoped. What I've done is used the pub directory in the tree. I'd considered using a

[cobbler] Reality check.

2015-05-06 Thread Michael Tiernan
Just to make sure, no one's found a way to make cobbler use a mirror list for a repo right? ___ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/mailman/listinfo/cobbler

Re: [cobbler] Provisioning 50 cluster nodes

2015-05-06 Thread Michael Tiernan
On 4/29/15 11:51 AM, Alan Evangelista wrote: Anyway, copying koan's register.py to all systems and running it to auto register each system in Cobbler is a good option. Just out of curiosity is register.py (or cobbler-register) available outside of koan?

Re: [cobbler] named host records for IPMI addresses

2015-04-16 Thread Michael Tiernan
On 3/21/15 2:32 AM, Jörgen Maas wrote: I think it would be a nice feature, so patches for this will certainly be merged into the tree. Feel free to start hacking :). Mind you that the master branch is very much different compared to release26. Backporting it to release26 might be somewhat

Re: [cobbler] exporting cobbler data

2015-04-16 Thread Michael Tiernan
If anyone ever wants a project, may I suggest that what would be very handy (for some of us) would be a way to export profiles and or systems as the actual cli command strings to reproduce the entry. i.e.: cobbler profile add --name Printers --kickstart cobbler system add --name SystemName

Re: [cobbler] Dropping 'http' support. Was: cobbler reposync failed

2015-06-05 Thread Michael Tiernan
As http mirroring seems unstable, imho we should either not support http mirroring or at least mention the issue in Cobbler documentation. I'd really prefer to see that it be documented and not dropped. There are repos we have to use occasionally that are only available via http protocol and

[cobbler] Operation of repo_create_stanza in 2.6.9

2015-06-16 Thread Michael Tiernan
Just trying to sort out where my error originated. Did the operation of creating local repositories *change* between 2.6.8 and 2.6.9? I am adjusting my files but this *seems* to be a new quirk. I am assuming it is my error but a reality check never hurts.

Re: [cobbler] Creating local RPM repos in Cobbler.

2015-06-17 Thread Michael Tiernan
On 6/17/15 12:22 PM, alast...@alastair-munro.com wrote: Can you add a new page? Done thank you! https://github.com/cobbler/cobbler/wiki/Creating-custom-yum-repos,-alternative-%232 ___ cobbler mailing list cobbler@lists.fedorahosted.org

[cobbler] Creating local RPM repos in Cobbler.

2015-06-17 Thread Michael Tiernan
I earlier reported that the instructions on the wiki page didn't work for me. I was going to rewrite it but I'm unsure if I should remove the instructions there and replace them with my own or if I should create a second page that describes the steps I've gone through. What's the right thing to

[cobbler] Documentation

2015-06-15 Thread Michael Tiernan
Just as an FYI, the documentation at: https://github.com/cobbler/cobbler/wiki/Creating-custom-yum-repos seems to be broken and not working. If I can, I'll do more tests to see if I can figure out what's right/wrong about it. ___ cobbler mailing list

[cobbler] Possible bug?

2015-06-01 Thread Michael Tiernan
Before I issue a real bug report I wanted to see if anyone else has seen this... Make that (these)... 1) I have an image that seems to work properly BUT, if I click on the image name, the EDIT features work fine. If I click on the File part, I get a crash. Short version: TypeError at

[cobbler] Network booting live discs.

2015-06-02 Thread Michael Tiernan
I've found a number of old instructions for booting liveCDs. Has anyone put together the actual steps for taking a bootable image and creating a netbootable system specific to cobbler? (If so, can anyone provide a pointer to me?) Thanks in advance.

Re: [cobbler] Pointer please.

2015-10-19 Thread Michael Tiernan
On 10/19/15 1:53 PM, Nishanth Aravamudan wrote: https://fedorahosted.org/cobbler/wiki/CobblerTriggers http://lmgtfy.com/?q=cobbler+triggers Not sure what specifically you are asking for? Perfect! Thank you! Exactly what I needed, I lost my bookmarks so this helps!

[cobbler] Pointer please.

2015-10-19 Thread Michael Tiernan
I saw a note *somewhere* that talked about the three types of install triggers and some suggestions for use. I can't find it to save my life, anyone have any pointers for that/them? Thanks for your time! ___ cobbler mailing list

Re: [cobbler] Pointer please.

2015-10-19 Thread Michael Tiernan
On 10/19/15 1:53 PM, Nishanth Aravamudan wrote: https://fedorahosted.org/cobbler/wiki/CobblerTriggers Of course the smarmy lmgtfy isn't helpful since it doesn't return the details about the *install* triggers. The fedora one was the one that had been lost from my bookmarks and wasn't

[cobbler] Regular expressions in snippets & templates

2016-03-02 Thread Michael Tiernan
I concede to having to wear the dunce cap. I'm having a really bad senior moment and cannot for the life of me get a simple regular expression match to work in a snippet/template under cobbler. Anyone have any snippet examples or pointers to references for help? Thanks for everyone's time.

[cobbler] Disabling ipv6

2016-10-04 Thread Michael Tiernan
Just in case this is an obvious question, I’ll ping this cloud. I’m finding that the built systems aren’t honoring any of my flags telling it not to enable ipv6. Anyone see this before and can point to a thread or discussion of it? I asked on IRC but no one had any answers... Thanks for

[cobbler-devel] Just out of curiosity...

2014-09-29 Thread Michael Tiernan
i got asked a question that I didn't know the answer to. It's a philosophical one I suppose. The back end of cobbler has the ability to use MySQL as a storage facility. The question I got asked was why not SQLite? Wouldn't that be easier than MySQL? Opinions?

Re: [cobbler-devel] Just out of curiosity...

2014-09-29 Thread Michael Tiernan
On 9/29/14 1:36 PM, Alan Evangelista wrote: I liked the idea of having relational db support, I'd find it helpful for no more of a reason than to allow the data to be used for other functions. Not quite a CMDB but it'd be nice to be able to use the back end layer of data for other purposes. Just