[cobbler] Using database behind cobbler.

2019-01-18 Thread Michael Tiernan

Has anyone done it recently and met with success?

I was thinking of doing it but before I dive down that rabbit hole I 
thought I'd ask if it was a fool's errand.


Thanks for any feedback on it.

--
 << MCT >> Michael C Tiernan | xmpp:mtier...@mit.edu | +1 (617) 324-9173
  MIT-Research Computing Project - http://researchcomputing.mit.edu/
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html




smime.p7s
Description: S/MIME Cryptographic Signature
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/cobbler@lists.fedorahosted.org


[cobbler] Test

2017-10-03 Thread Michael C. Tiernan
Sorry for the test message. I'm trying to help the mailing list host system 
administrator.

Thanks in advance for your time.
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Quirky thing with parameters. Anyone else see it?

2017-08-24 Thread Michael C. Tiernan
So I have taken to including a section in my kickstart that reads the values of 
the ks_meta parameter and the value of mgmt_parameters.

It seems that while ks_meta, is defined by cobbler (seen from dumpvars) it does 
not seem to be showing up in my cheetah/kickstart environment.

Two questions.

1) Anyone else seen this?

2) Is there a way to do a dumpvars type of listing of existing variables from 
inside the cheetah code?

Thanks for all your time.
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[cobbler] Sorry, I have to test.

2017-03-24 Thread Michael C. Tiernan
Sorry that I haev to do this.
My email isn't going through.
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[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 everyone's time.
___
cobbler mailing list -- cobbler@lists.fedorahosted.org
To unsubscribe send an email to cobbler-le...@lists.fedorahosted.org


[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 mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Power management problem

2016-01-20 Thread Waldron, Michael H
The fix to this problem was to add "lanplus=1" to 
/etc/cobbler/power/fence_idrac.template. This causes the underlying ipmitool 
command to use '-I lanplus' instead of the default '-I lan'. The lanplus option 
is required for this to work on our servers.


Mike Waldron
Systems Specialist
ITS - Research Computing Center
University of North Carolina at Chapel Hill



___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Re: Power management problem

2016-01-15 Thread Waldron, Michael H
I see this in /var/log/cobbler/cobbler.log:

Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user(cobbler)
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user(cobbler)
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE expiring token; user()
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE CLI Authorized; user(?)
Fri Jan 15 13:06:05 2016 - DEBUG | REMOTE CLI Authorized; user(?)
Fri Jan 15 13:06:05 2016 - INFO | REMOTE start_task(Power management (status)); 
event_id(2016-01-15_130605_power); user(?)
Fri Jan 15 13:06:06 2016 - DEBUG | get_item; ['system', 'c1101']
Fri Jan 15 13:06:06 2016 - DEBUG | done with get_item; ['system', 'c1101']
Fri Jan 15 13:06:06 2016 - DEBUG | get_item; ['system', 'c1101']
Fri Jan 15 13:06:06 2016 - DEBUG | done with get_item; ['system', 'c1101']
Fri Jan 15 13:06:06 2016 - DEBUG | REMOTE CLI Authorized; user(?)

And in the tasks/power.log:

Fri Jan 15 13:06:06 2016 - INFO | cobbler power configuration is:
Fri Jan 15 13:06:06 2016 - INFO |   type   : ipmilan
Fri Jan 15 13:06:06 2016 - INFO |   address: [redacted]
Fri Jan 15 13:06:06 2016 - INFO |   user   : root
Fri Jan 15 13:06:06 2016 - INFO |   id :
Fri Jan 15 13:06:06 2016 - INFO | running: /sbin/fence_ipmilan
Fri Jan 15 13:06:15 2016 - INFO | received on stdout:
Fri Jan 15 13:06:15 2016 - DEBUG | received on stderr: Failed: Unable to obtain 
correct plug status or plug is not available



Fri Jan 15 13:06:17 2016 - INFO | running: /sbin/fence_ipmilan
Fri Jan 15 13:06:25 2016 - INFO | received on stdout:
Fri Jan 15 13:06:25 2016 - DEBUG | received on stderr: Failed: Unable to obtain 
correct plug status or plug is not available



Fri Jan 15 13:06:27 2016 - INFO | running: /sbin/fence_ipmilan
Fri Jan 15 13:06:35 2016 - INFO | received on stdout:
Fri Jan 15 13:06:35 2016 - DEBUG | received on stderr: Failed: Unable to obtain 
correct plug status or plug is not available



Fri Jan 15 13:06:37 2016 - INFO | running: /sbin/fence_ipmilan
Fri Jan 15 13:06:45 2016 - INFO | received on stdout:
Fri Jan 15 13:06:45 2016 - DEBUG | received on stderr: Failed: Unable to obtain 
correct plug status or plug is not available



Fri Jan 15 13:06:47 2016 - INFO | running: /sbin/fence_ipmilan
Fri Jan 15 13:06:55 2016 - INFO | received on stdout:
Fri Jan 15 13:06:55 2016 - DEBUG | received on stderr: Failed: Unable to obtain 
correct plug status or plug is not available



Fri Jan 15 13:06:57 2016 - INFO | Exception occured: 
Fri Jan 15 13:06:57 2016 - INFO | Exception value: 'command failed (rc=1), 
please validate the physical setup and cobbler config'
Fri Jan 15 13:06:57 2016 - INFO | Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 126, in die
raise CX(msg)

Fri Jan 15 13:06:57 2016 - WARNING | failed to execute power task on c1101
Fri Jan 15 13:06:57 2016 - INFO | ### TASK COMPLETE ###




Mike Waldron
Systems Specialist
ITS - Research Computing Center
University of North Carolina at Chapel Hill


From: Waldron, Michael H
Sent: Friday, January 15, 2016 10:39 AM
To: cobbler@lists.fedorahosted.org
Subject: Power management problem

I'm trying to use the power management feature in cobbler, but when I run any 
of the power commands, such as 'cobbler system powerstatus', I get the error:

Failed: Unable to obtain correct plug status or plug is not available

It is calling the fence_ipmilan agent, and I have verified that this works from 
the command line:

fence_ipmilan -a 172.26.145.151 -P -l root -p password -o status

Has anyone else seen this issue?

Mike Waldron
Systems Specialist
ITS - Research Computing Center
University of North Carolina at Chapel Hill

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


[cobbler] Power management problem

2016-01-15 Thread Waldron, Michael H
I'm trying to use the power management feature in cobbler, but when I run any 
of the power commands, such as 'cobbler system powerstatus', I get the error:

Failed: Unable to obtain correct plug status or plug is not available

It is calling the fence_ipmilan agent, and I have verified that this works from 
the command line:

fence_ipmilan -a 172.26.145.151 -P -l root -p password -o status

Has anyone else seen this issue?

Mike Waldron
Systems Specialist
ITS - Research Computing Center
University of North Carolina at Chapel Hill

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org


Re: [cobbler] Provisioning a cluster

2015-11-06 Thread Waldron, Michael H
Andre,

That did the trick, I also had to install python-ethtool in addition to koan, 
and now it works. One additional question, do you have a method for it to also 
register the desired hostname or do you just rename it after it's registered?

Vielen dank!

Mike

Date: Fri, 6 Nov 2015 09:36:36 +0100 (CET)
From: André Gemünd 
To: cobbler mailing list 
Subject: Re: [cobbler] Provisioning a cluster
Message-ID:
<316657621.782597.1446798996731.javamail.zim...@scai.fraunhofer.de>
Content-Type: text/plain; charset=utf-8

Hi Mike,

you need to enable EPEL and install koan in your kickstart. I forgot to mention 
that as we have it in our default package list (handy for reinstalls).
We mirror EPEL with cobbler repo and then add it to the profile repos field for 
nearly all of our profiles (except the bare minimal). If you have the 
$yum_repo_stanza in your kickstart, this will enable it for installs.

Cheers
Andre

Mike Waldron
Systems Specialist
ITS - Research Computing Center
University of North Carolina at Chapel Hill

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Provisioning a cluster

2015-11-05 Thread Waldron, Michael H
Andre,

I am running a default installation and the kickstart does have the 
$SNIPPET('cobbler_register') entry, however it's not working. The system 
doesn't get registered and just installs again when rebooted. I do have 
register_new_installs set also. I see that after installation the 
cobbler-register command is not installed on the worker. Am I missing something?

Mike

Date: Thu, 5 Nov 2015 10:14:21 +0100 (CET)
From: André Gemünd 
To: cobbler mailing list 
Subject: Re: [cobbler] Provisioning a cluster
Message-ID:
<1369099692.750496.1446714861962.javamail.zim...@scai.fraunhofer.de>
Content-Type: text/plain; charset="utf-8"

> I am new to Cobbler, and am wondering if anyone uses it to provision a large 
> cluster? Rather than having to collect a lot of MAC addresses and manually 
> create all the system records, I'd like to be able to have systems register 
> themselves when they are first booted. 

Assuming the Cobbler server sits in an internal cluster network, when we are 
provisioning the (uniform) worker nodes for the first time, we simply set the 
default entry for PXE boots to provision the correct distro, depending on your 
paths e.g. in /var/lib/tftpboot/pxelinux.cfg/default. You can enable menu in 
cobbler settings to let cobbler sync generate you a file showing the available 
profiles with the correct params. In the kickstart we use cobbler_register.

> I've seen the snippet 'cobbler_register' which seems intended for this 
> purpose, but I can't figure out how to use it. Is anyone doing this? If so 
> can you provide specifics on how to do so? 

The snippet should just work when its used in a kickstart with 
$SNIPPET('cobbler_register'). Be sure to set register_new_installs in cobbler 
settings. We also have pxe_just_once set to 1.

-- 
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemu...@scai.fraunhofer.de
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] Provisioning a cluster

2015-11-04 Thread Waldron, Michael H
I am new to Cobbler, and am wondering if anyone uses it to provision a large 
cluster? Rather than having to collect a lot of MAC addresses and manually 
create all the system records, I'd like to be able to have systems register 
themselves when they are first booted.

I've seen the snippet 'cobbler_register' which seems intended for this purpose, 
but I can't figure out how to use it. Is anyone doing this? If so can you 
provide specifics on how to do so?

Mike Waldron


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 turning up in my searches.

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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 do please?
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 we have no power to change it.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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 /file/edit/cobbler/isos/MyCrap/bootdisk/memtestp

string indices must be integers, not str

Request Method: GET
Request URL:
http://10.13.1.123/cobbler_web/file/edit/cobbler/isos/MyCrap/bootdisk/memtestp
Django Version: 1.4.20
Exception Type: TypeError
Exception Value:

string indices must be integers, not str

Exception Location: /usr/share/cobbler/web/cobbler_web/views.py in
get_fields, line 158
Python Executable: /usr/bin/python
Python Version: 2.6.6
Python Path:

['/usr/share/cobbler/web/cobbler_web',
 '/usr/share/cobbler/web',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib/python2.6/site-packages']

Server time: Mon, 1 Jun 2015 19:47:37 +

2) When the image is loaded on the target system I get a PXE menu and I
don't seem to be able to turn it off. It's off in the settings and the
web UI shows no options for disabling it. Did I miss something obvious?

Thanks for everyone's time.
___
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?
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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] 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 slight alternative to it and creating a
"binary_files" tree and a 'hosts'/$hostname and a 'profile'/$profile
tree that doesn't get manipulated.

I'm still experimenting and haven't dumped a lot of time into it yet.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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)

-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 the dick layouts:
Yes, that's the route I'v ebeen going down.

What surprised me was that it would create one with the MSDOS label and
the other one, it freely uses the gpt label. Gotta love consistancy.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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 kickstart.

The quirky thing is that the first drive is, as we know, given an MSDOS
label but the quirky part is that the second drive *does* get the GPT
label. Is there anyway to control this odd behavior so that both drives
get the exact same label?

-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 time consuming.

An opinin. (Worth what was paid for it.)

I for one need to have the IPMI addressess constantly even if the other
DHCP addresses aren't generated.

Currently, I create entries such as:
host ipmi_0019B9D3527F {
hardware ethernet 00:19:B9:D3:52:7F;
fixed-address 10.12.15.10;
}

-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 --profile Printers .

An analogy would be what's done in some databases in displaying/dumping
the schema as SQL statements.
-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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.)

-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 to prepare it /after/ the kickstart, it is then that I allow it
to reach the dirty net.

My effort at chasing down this "feaature" was to streamline that process.

-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 *my* view, the systems being built have a need to remain isolated
from other resources available on the net so I was looking for a secure
way to drop some critical files (such as a known ssh key) into a system
but I failed. (I suspected my own limitations more than cobbler's)

One of the things I really wanted to be able to do was provide an area
that *behaved* /like/ an isolated tftp so that when the system reached a
specific point of creation it could retrieve, without any massaging or
interpretation of the contents, a file quickly and easily.

My time got overcome by events and I've not gotten back to it in a while.
-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] gpt partition

2014-12-16 Thread Michael
Just two important precisions to the readers :

+ DISKS=\$(list-harddrives | awk '$2 < $mindisk {next} \$1 ~ /^\/dev\//
{print substr(\$1,6) ; next} {print \$1}' | sort | sed -n 1p)
Be careful with the anaconda macro '*list-hardrives*' in this cheetah
scripts : If you have (software) raid, it may screw up your partition
scheme.
So, test and validate before use those partition snippets.

+ The use of  *efibootmgr* I mentioned above is for a kickstart used with
PXE & GPXE. The PXE servers were CentOS 6.5/Cobbler 2.4.4.
Anaconda installer from DVD CentOS-6.5 performs the *efiboootmgr* command
by itself, and  my test Workstations installs smoothly.

Pay attention, do tests and validations before entering in production mode.

*Michael PATRIS*
Thales Alenia Space Belgium.

>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] gpt partition

2014-12-16 Thread Michael
Hi,

I faced the same exact trouble some months ago with new Linux Workstations.
I did not had the choice : _MUST_ install via a gpt part.

This is what I put in my Kickstart to fix the issue and deploy the
Worstations (CentOS 6.5):

















*# partition Disk Sectionclearpart --all --initlabel
part /boot --fstype=ext4 --size=500 --asprimary
part /boot/efi --fstype=efi --grow --maxsize=200 --size=50 --asprimary
part / --fstype=ext4 --size=38000 --asprimary
#part swap --size=2048
part swap --hibernation
part /Lwork --fstype=ext4 --size=1 --grow%packages
--ignoremissing...efibootmgr.x86_64...%post
--log=/root/ks-post.log...# Enable our EFI entry in the stupid EFI
Bios provider !
/usr/sbin/efibootmgr
/usr/sbin/efibootmgr -b  -B
/usr/sbin/efibootmgr -c -w -L 'CentOS' -l \\EFI\\redhat\\grub.efi
/usr/sbin/efibootmgr -v
...*

I guess this looks like an ugly hack... But I was able to automate installation,

since I did not find any informations at the time to deploy the WS.

See the man page of efibootmgr to understand what it does to your system.

Be very careful with options *-b * and *-B* since it delete the
first boot entry !

Look at the */boot partitions to be complete.*

Hope it will help you. Let us know. :-)


Regards,


*Michael PATRIS*
Thales Alenia Space Belgium


2014-12-15 23:33 GMT+01:00 Albino A. Aveleda :
>
> Dear all,
>
> I have to use the GPT partition because my disk array is bigger than 2TB.
> I am using CentOS 6.5 and cobbler 2.6.3.
> I added the pre section in my kickstart to create a partiotion with parted
> command, but it didn't work. I looked for on Internet but I can't find the
> error.
> Part of my kickstart is below. What do I do wrong?
>
> ...
> # Disk
> clearpart --none
> part /boot --fstype="ext4" --onpart=sda1
> part swap --onpart=sda2
> part / --fstype="ext4" --onpart=sda3
>
> %packages
> ...
> %end
>
> %pre
> parted -s /dev/sda mklabel gpt
> parted -s /dev/sda unit MB mkpart primary 1 300
> parted -s /dev/sda unit MB mkpart primary 300 1024
> parted -s /dev/sda unit MB mkpart primary 1024 -1
> parted -s /dev/sda set 1 boot on
> parted -s /dev/sda set 2 swap on
> %end
>
> Best regards,
> Bino
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 "illuminate" the point and others can
decide if and when it needs to be addressed.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 reads as if you were saying
>> 3+5=x instead of x=3+5
> 
> I don't know what you mean.

Sorry. I didn't mean the contents of the templates, I mean the template
definitions as given to Cobbler in the "Management" screen.

Here's a template definition for one of my cobbler profiles:
  /var/lib/cobbler/templates/ntp_conf.tmpl=/etc/ntp.conf

It *reads* logically as:
  Create the file "{source file on cobbler server}"
  from the file "/etc/ntp.conf"

Whereas one would *expect* it to read:
  /etc/ntp.conf=/var/lib/cobbler/templates/ntp_conf.tmpl

i.e:  ${Target} = ${Source}

While writing this, it occurs to me that should we have the option, it
would be "logical" the way it is written if it said:
   ${Source} => ${Target}

The difference being the visible "direction of movement" shown by the
arrowhead. Either "->" or "=>" would produce the same thing.

Again, just an opinion.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 time :(
Not assuming you'll do it for me but I am not in a critical need for it
so when it gets done it gets done. :)

-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

___
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  : <>

which is exactly what I wanted. However if I look at the GUI, I'll see
the kickstart for that system as NOT being "<>" but as one of
my kickstart files and I can't change it back from the GUI.

I am of the opinion that this is not a desired behavior, I should be
able to leave the kickstart as inherited from the Profile and not
defined. As a matter of fact, this existing method of operation allows
me to change the kickstart when that's not what the profile wants.

I should be able to define a profile "Red Hat 6.3 Webserver" and then
assign that to specific machines and the machine should build accordingly.

If I never use the GUI, it works fine BTW.

Thanks' for everyone's time.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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] 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 to
consider the info and/or answers and maybe allow a dialog where this
stuff gets more understanding across the board.

1) What exactly does cobbler think a management interface is?

2) Are there any restrictions or conditions on declaring something as a
management interface?

3) Does cobbler allow me to have more than one management interface?
(Either by error or design.)

4) Does value of the flag for "management interface" get used *anywhere*
else inside of cobbler or is it only an indicator?

5) What effect might I expect to see on a system that does NOT have any
interface declared as a management interface?

Thanks for everyone's time!

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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"

Currently the syntax for the templates reads as if you were saying
3+5=x instead of x=3+5

Just had to get it out there.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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" snippet is to pull the triggers on profile
"pre_install" and system "pre_install" actions and the "_done" snippet
does the corresponding "post_install" for profiles and then systems as
well as other tasks such as handling the pxe once triggering and the
"save kickstart" operation.

Did I miss anything about these?

(I plan to put comments in them for my future reference.)
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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.

I was under the impression that *somehow*, if I add a repo (and mirror
it) under cobbler (e.g. EPEL) that cobbler would/could create a repo
entry, in my case, in /etc/yum.repos.d/ for EPEL that points to my
mirror and not to the upstream master.

Did I mis understand something?

Right now I'm assuming that I've not gotten that part of the
configuration done correctly and will eventually "get it right" along
with all the other things I'm doing.

Thanks for everyone's time.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 this is preferred instead of using the "PXE Once" option
for the system?

Not questioning your logic, just trying to learn.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 I do is put a marker into each
procedure/subroutine/method/function I go through.)

I tracked it down to the point where I figured out that the output I'm
expecting should be coming from:
  pxegen.write_all_system_files(system, menu_items)

So I tracked this down and found that it is in the tftpd module named
manage_in_tftpd.py but not in the alternative one manage_tftpd_py.py

So, I tried using both.

First test I ran as I've been configured previously, using the tftpd.py
server:

task started: 2014-08-08_094804_sync
task started (id=Sync, time=Fri Aug  8 09:48:04 2014)
running pre-sync triggers
cleaning trees
removing: /var/www/cobbler/images/scilinall-x86_64
removing: /var/lib/tftpboot/pxelinux.cfg/default
removing: /var/lib/tftpboot/pxelinux.cfg/01-f4-6d-04-37-26-03
removing: /var/lib/tftpboot/pxelinux.cfg/01-f4-6d-04-37-26-91
removing: /var/lib/tftpboot/grub/01-F4-6D-04-37-26-91
removing: /var/lib/tftpboot/grub/grub-x86.efi
removing: /var/lib/tftpboot/grub/grub-x86_64.efi
removing: /var/lib/tftpboot/grub/efidefault
removing: /var/lib/tftpboot/grub/01-F4-6D-04-37-26-03
removing: /var/lib/tftpboot/grub/images
removing: /var/lib/tftpboot/images/scilinall-x86_64
removing: /var/lib/tftpboot/images/memtest
copying bootloaders
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
copying: /boot/memtest -> /var/lib/tftpboot/images/memtest
copying: /var/lib/cobbler/loaders/yaboot -> /var/lib/tftpboot/yaboot
copying: /var/lib/cobbler/loaders/grub-x86_64.efi -> 
/var/lib/tftpboot/grub/grub-x86_64.efi
copying: /var/lib/cobbler/loaders/grub-x86.efi -> 
/var/lib/tftpboot/grub/grub-x86.efi
copying files for distro: scilinall-x86_64
MCT Not remote kernel.
trying hardlink 
/var/www/cobbler/ks_mirror/scilinall-x86_64/images/pxeboot/vmlinuz -> 
/var/www/cobbler/images/scilinall-x86_64/vmlinuz
MCT Not remote initrd.
trying hardlink 
/var/www/cobbler/ks_mirror/scilinall-x86_64/images/pxeboot/initrd.img -> 
/var/www/cobbler/images/scilinall-x86_64/initrd.img
Writing template files for scilinall-x86_64
MCT make_actual_pxe_menu.
MCT get_menu_items.
MCT write_pxe_file.
MCT write_pxe_file. filename=None; system=None; profile.name=T2_Server; 
distro.name=scilinall-x86_64
MCT write_pxe_file.
MCT write_pxe_file. filename=None; system=None; profile.name=T2_Server; 
distro.name=scilinall-x86_64
MCT write_pxe_file.
MCT write_pxe_file. filename=None; system=None; profile.name=T2_Worker; 
distro.name=scilinall-x86_64
MCT write_pxe_file.
MCT write_pxe_file. filename=None; system=None; profile.name=T2_Worker; 
distro.name=scilinall-x86_64
MCT write_pxe_file.
MCT write_pxe_file. filename=None; system=None; profile.name=scilinall-x86_64; 
distro.name=scilinall-x86_64
MCT write_pxe_file.
MCT write_pxe_file. filename=None; system=None; profile.name=scilinall-x86_64; 
distro.name=scilinall-x86_64
rendering DHCP files
generating /etc/dhcp/dhcpd.conf
rendering TFTPD files
generating /etc/xinetd.d/tftp
cleaning link caches
running: find /var/lib/tftpboot/images/.link_cache -maxdepth 1 -type f -links 1 
-exec rm -f '{}' ';'
received on stdout:
received on stderr:
running post-sync triggers
running python triggers from /var/lib/cobbler/triggers/sync/post/*
running python trigger cobbler.modules.sync_post_restart_services
running: dhcpd -t -q
received on stdout:
received on stderr:
running: service dhcpd restart
received on stdout: Shutting down dhcpd: [  OK  ]
Starting dhcpd: [  OK  ]

received on stderr:
running shell triggers from /var/lib/cobbler/triggers/sync/post/*
running python triggers from /var/lib/cobbler/triggers/change/*
running python trigger cobbler.modules.scm_track
running shell triggers from /var/lib/cobbler/triggers/change/*
*** TASK COMPLETE ***

And when I looked into the tftp directory I got:

# find /var/lib/tftpboot/ -type f
/var/lib/tftpboot/pxelinux.cfg/default
/var/lib/tftpboot/pxelinux.0
/var/lib/tftpboot/grub/grub-x86.efi
/var/lib/tftpboot/grub/grub-x86_64.efi
/var/lib/tftpboot/grub/efidefault
/var/lib/tftpboot/boot/grub/menu.lst
/var/lib/tftpboot/yaboot
/var/lib/tftpboot/memdisk
/var/lib/tftpboot/menu.c32
/var/lib/tftpboot/images/memtest

As we know, this is what I've been complaining about, no system specific
PXE files. So, now I switch tftp modules and use "in_tftpd" in the
modules.conf file and do the exact same test:

task started: 2014-08-08_100040_sync
task started (id=Sync, time=Fri Aug  8 10:00:40 2014)
running pre-sync triggers
cleaning trees
removing: /var/www/cobbler/images/scilinall-x86_64
removing: /var/lib/tftpboot/pxelinux.cfg/default
removing: /var/lib/tftpboot/grub/grub-x86.efi
removing: /var/lib/tftpboot/grub/grub

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 http://archive.ubuntu.com//ubuntu/dists/
Arches: i386,amd64
Dists: sid,precise,precise-security
Sections: main,main/debian-installer,contrib,non-free,main,universe
Will NOT clean up.
Pdiff mode: use.
Attempting to get lock, this might take 2 minutes before it fails.
Get Release files.
[0%] Getting: dists/sid/Release... dists/sid/Release failed 404 Not Found
dists/sid/Release failed md5sum check, removing
[0%] Getting: dists/sid/Release.gpg... dists/sid/Release.gpg failed 404
Not Found
dists/sid/Release.gpg failed md5sum check, removing
[0%] Getting: dists/precise/Release... dists/precise/Release failed 404
Not Found
dists/precise/Release failed md5sum check, removing
[0%] Getting: dists/precise/Release.gpg... dists/precise/Release.gpg
failed 404 Not Found
dists/precise/Release.gpg failed md5sum check, removing
[0%] Getting: dists/precise-security/Release...
dists/precise-security/Release failed 404 Not Found
dists/precise-security/Release failed md5sum check, removing
[0%] Getting: dists/precise-security/Release.gpg...
dists/precise-security/Release.gpg failed 404 Not Found
dists/precise-security/Release.gpg failed md5sum check, removing
Errors:
Failed to download some Release or Release.gpg files!
releasing 1 pending lock... at
/usr/lib/perl5/vendor_perl/5.8.8/LockFile/Simple.pm line 206.
 Download of dists/sid/Release failed: 404 Not Found Download of
dists/sid/Release.gpg failed: 404 Not Found Download of
dists/precise/Release failed: 404 Not Found Download of
dists/precise/Release.gpg failed: 404 Not Found Download of
dists/precise-security/Release failed: 404 Not Found Download of
dists/precise-security/Release.gpg failed: 404 Not Found

-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] How to debug...

2014-08-04 Thread Michael Tiernan
m Options: {}

Name   : sl-mit
Apt Components (apt only)  : []
Apt Dist Names (apt only)  : []
Arch   : x86_64
Breed  : yum
Comment: MIT SciLinux 6.4 - x86_64 - Base
Createrepo Flags   : <>
Environment Variables  : {}
Keep Updated   : True
Mirror :
http://kickstart.cmsaf.mit.edu/sl-mitcms/6.4/x86_64/os
Mirror locally : True
Owners : ['admin']
Priority   : 99
RPM List   : []
Yum Options: {}

images:
==

mgmtclasses:
==

packages:
==

files:
==


-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 system initiates the PXE boot process, after the address
is assigned, the target system requests, via tftp protocol a file which,
if the MAC address of the target matches, is sent back to the target to
then boot from.

It is *those* files and confgs that are not being created and prepared
for these target systems.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 boot files required for this system
(MAC/UUID based), it just skips right over that part of the process.

I need a suggestion for what to look for to troubleshoot this.

Oh yea, the system has the netboot enabled so it *should* be getting built.

Any thoughts anyone? I'm getting pretty irked by this.

(I've rebuilt it twice for other purposes and keep running into this.)
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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
creating the PXE boot stuff appropriate for that MAC address.

This is what I'm looking for. How to debug this aspect of the process.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] How to debug...

2014-07-25 Thread Michael Tiernan
On 7/22/14 4:36 PM, Michael Tiernan wrote:
> 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 assumed I broke the system doing some of the other things I was trying
on the system at the same time.

I've rebuilt the system from scratch and following each and every step
carefully, recreated the system and find the same problem.

I have one distro, two repos, two profiles, one system and the "cobbler
sync" runs without error but doesn't create the needed files for the PXE
configs.

I don't know what the *bleep* I'm missing

Anyone want to offer an opinion?

Here's what I get from the 'sync':

task started: 2014-07-25_153320_sync
task started (id=Sync, time=Fri Jul 25 15:33:20 2014)
running pre-sync triggers
cleaning trees
removing: /var/www/cobbler/images/scilinall-x86_64
removing: /var/lib/tftpboot/pxelinux.cfg/default
removing: /var/lib/tftpboot/grub/images
removing: /var/lib/tftpboot/grub/efidefault
removing: /var/lib/tftpboot/grub/grub-x86.efi
removing: /var/lib/tftpboot/grub/grub-x86_64.efi
removing: /var/lib/tftpboot/s390x/profile_list
copying bootloaders
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
copying: /var/lib/cobbler/loaders/yaboot -> /var/lib/tftpboot/yaboot
copying: /var/lib/cobbler/loaders/grub-x86_64.efi ->
/var/lib/tftpboot/grub/grub-x86_64.efi
copying: /var/lib/cobbler/loaders/grub-x86.efi ->
/var/lib/tftpboot/grub/grub-x86.efi
copying files for distro: scilinall-x86_64
trying hardlink
/var/www/cobbler/ks_mirror/scilinall/images/pxeboot/vmlinuz ->
/var/www/cobbler/images/scilinall-x86_64/vmlinuz
trying hardlink
/var/www/cobbler/ks_mirror/scilinall/images/pxeboot/initrd.img ->
/var/www/cobbler/images/scilinall-x86_64/initrd.img
{{{ At this point, everything *seems* to be normal but no pxe boot
entries exist.}}}
Writing template files for scilinall-x86_64
rendering DHCP files
generating /etc/dhcp/dhcpd.conf
rendering TFTPD files
generating /etc/xinetd.d/tftp
cleaning link caches
running post-sync triggers
running python triggers from /var/lib/cobbler/triggers/sync/post/*
running python trigger cobbler.modules.sync_post_restart_services
running: dhcpd -t -q
received on stdout:
received on stderr:
running: service dhcpd restart
received on stdout: Shutting down dhcpd: [  OK  ]
Starting dhcpd: [  OK  ]



-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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
mkdir -p /var/lib/cobbler/backup/upgrade-${DATE}
fi
for i in "config" "snippets" "kickstarts" "triggers" "scripts"; do
if [[ -d /var/lib/cobbler/${i} ]]; then
cp -r /var/lib/cobbler/${i} /var/lib/cobbler/backup/upgrade-${DATE}
fi
done
if [[ -d /etc/cobbler ]]; then
cp -r /etc/cobbler /var/lib/cobbler/backup/upgrade-${DATE}
fi
fi
postinstall scriptlet (using /bin/sh):
# package install
if (( $1 == 1 )); then
/sbin/chkconfig --add cobblerd > /dev/null 2>&1
/etc/init.d/cobblerd start > /dev/null 2>&1
/etc/init.d/httpd restart > /dev/null 2>&1
fi
preuninstall scriptlet (using /bin/sh):
# before last package is removed
if (( $1 == 0 )); then
/sbin/chkconfig --del cobblerd > /dev/null 2>&1
/etc/init.d/cobblerd stop > /dev/null 2>&1
fi
postuninstall scriptlet (using /bin/sh):
# after last package is removed
if (( $1 == 0 )); then
/etc/init.d/httpd condrestart > /dev/null 2>&1
fi


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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 install on a fresh system.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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 see why it's
NOT doing this.

I'm hoping there's a flag one can turn on (or whatever) that will allow
me to see the steps it's attempting to take. I'm sure I'm missing
something obvious and I'd like to find it before I go crazy. :)

Thanks for everyone's time.

task started: 2014-07-22_163236_sync
task started (id=Sync, time=Tue Jul 22 16:32:36 2014)
running pre-sync triggers
cleaning trees
removing: /var/www/cobbler/images/scilinall-x86_64
removing: /var/lib/tftpboot/pxelinux.cfg/default
removing: /var/lib/tftpboot/grub/images
removing: /var/lib/tftpboot/grub/efidefault
removing: /var/lib/tftpboot/grub/grub-x86_64.efi
removing: /var/lib/tftpboot/grub/grub-x86.efi
removing: /var/lib/tftpboot/s390x/profile_list
copying bootloaders
copying: /var/lib/cobbler/loaders/pxelinux.0 -> /var/lib/tftpboot/pxelinux.0
copying: /var/lib/cobbler/loaders/menu.c32 -> /var/lib/tftpboot/menu.c32
copying: /var/lib/cobbler/loaders/yaboot -> /var/lib/tftpboot/yaboot
copying: /var/lib/cobbler/loaders/grub-x86_64.efi -> 
/var/lib/tftpboot/grub/grub-x86_64.efi
copying: /var/lib/cobbler/loaders/grub-x86.efi -> 
/var/lib/tftpboot/grub/grub-x86.efi
copying files for distro: scilinall-x86_64
trying hardlink /var/www/cobbler/ks_mirror/scilinall/images/pxeboot/vmlinuz -> 
/var/www/cobbler/images/scilinall-x86_64/vmlinuz
trying hardlink /var/www/cobbler/ks_mirror/scilinall/images/pxeboot/initrd.img 
-> /var/www/cobbler/images/scilinall-x86_64/initrd.img
Writing template files for scilinall-x86_64
rendering DHCP files
generating /etc/dhcp/dhcpd.conf
rendering TFTPD files
generating /etc/xinetd.d/tftp
cleaning link caches
running: find /var/lib/tftpboot/images/.link_cache -maxdepth 1 -type f -links 1 
-exec rm -f '{}' ';'
received on stdout:
received on stderr:
running post-sync triggers
running python triggers from /var/lib/cobbler/triggers/sync/post/*
running python trigger cobbler.modules.sync_post_restart_services
running: dhcpd -t -q
received on stdout:
received on stderr:
running: service dhcpd restart
received on stdout: Shutting down dhcpd: [  OK  ]
Starting dhcpd: [  OK  ]

received on stderr:
running shell triggers from /var/lib/cobbler/triggers/sync/post/*
running python triggers from /var/lib/cobbler/triggers/change/*
running python trigger cobbler.modules.scm_track
running shell triggers from /var/lib/cobbler/triggers/change/*
*** TASK COMPLETE ***

___
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 Vendor: 
obs://build.opensuse.org/home:libertas-ict
Release : 7.1   Build Date: Fri 18 Jul 2014 
01:57:58 AM EDT
Install Date: Fri 18 Jul 2014 08:20:26 AM EDT  Build Host: cloud120
Group   : Applications/System   Source RPM: 
cobbler-2.6.3-7.1.src.rpm
Size: 1537365  License: GPLv2+
Signature   : RSA/SHA1, Fri 18 Jul 2014 01:58:05 AM EDT, Key ID 82e9c4222589a1ed
URL : http://www.cobblerd.org/
Summary : Web interface for Cobbler
Description :
Web interface for Cobbler that allows visiting
http://server/cobbler_web to configure the install server.

Just thought I'd let others know. :)

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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


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) 
Clarification, the problem is for the tftpd.py module.

I'll post final corrrections in a moment.

-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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)
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Anamon

2014-07-18 Thread Michael
Hello Jörgen,

We are using it... Less than 1% of our deployments.

We don't need anamon when everything goes well off course.
But... When something goes bad, when your install has a little thing
wrecked...

The anamon becomes helpful to understand what, and when something goes
wrong.

We use PXE installation massively.
Last time I used it to debug a fresh RHEL  install on a brand new physical
server.
As the RAID card was no supported, the anaconda goes to build partitions on
just one disk.

You come back in front of your ILO console, everything looks ok but you
don't have RAID1...
Not easy to detect immediately and even worse easy to understand when and
why it goes bad.

The good reflex was to go see the install log files and I saw that the raid
card was detected
but there was no driver to support it. Fast and rapid detection, brings a
rapid solution.
(a driver disk was used).

So yes, we use anamon. It is quite rare but how helpful !

Off course, if you have an alternative purely based on remote syslog. It
will be welcomed too.



*Michael PATRIS Thales Alenia Space*

2014-07-17 14:30 GMT+02:00 Jörgen Maas :

> Hi guys,
>
> Just wondering if there are people out there actually using anamon ?
> Please let me know if you do, or don't.
>
> --
> Grtz,
> Jörgen Maas
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 you that because it doesn't know what the
platform is that you're on it can't identify the dhcpd service and the
status of it and the same for 'cobblerd'.


-- 
  << MCT >>   Michael C Tiernan xmpp:mtier...@mit.edu +1 (617) 324-9173
  MIT - Laboratory for Nuclear Science - http://www.lns.mit.edu
  High Perf Research Computing Facility at The Bates Linear Accelerator
Please avoid sending me MS-Word or MS-PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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.)
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] Missing the obvious again.

2014-07-10 Thread Michael Tiernan
I can create a system and declare it as having the status "Development"
or any of three other values, what I'd like to be able to do is then
reference that in a kickstart template but I'll be darned if I can find it.

Does it have another name some other place or does it not get
transmitted to the cheeta rewrite?

On another "subject", for clarification (if anyone cares), my previous
confusion with the "fetchable files" was borne out of a symantic issue.

I assumed two types of files based on the names "Fetchable Files" and
"Template Files", my understanding (for whatever reason) was that a
"Template File" was "processed" (as it is) via the cheeta template process.

The real asumption on my part was that a "Fetchable" file was left
unmolested and transferred "as-is" in a simple file transfer process. It
would be via this process that something such as a binary file could be
provided to a system without interpretation.

So, now I know. :)
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler reposync and yum options

2014-07-02 Thread Michael Tiernan
On 7/2/14 7:48 AM, Michael Tiernan wrote:
> That's interesting, I did some experimenting to see how it behaves and
> during this, I could see that almost any yumopts you put into place
> *are* propogated to the json file but then not to the repo file.
>
> My opinion? (Worth nothing.) Yes, it's a bug.

I'm *GUESSING* here but when poking around in the code it looks like the
only options it really recognizes here are enabled, priority and gpgcheck=1.

It seems that unless you specifically say 'gpgcheck=1' it just uses
'gpgcheck=0' automatically.
It even says: # FIXME: potentially might want a way to turn this on/off
on a per-repo basis

So... I think this runs on both sides of the lines, a bug report because
the feature was never implemented. ;)
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler reposync and yum options

2014-07-02 Thread Michael Tiernan
On 7/1/14 4:49 PM, Dan White wrote:
> Is it supposed to ? (Feature Request)
> or not ? (BUG)

That's interesting, I did some experimenting to see how it behaves and
during this, I could see that almost any yumopts you put into place
*are* propogated to the json file but then not to the repo file.

My opinion? (Worth nothing.) Yes, it's a bug.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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?)
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


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 "assume"
anything.

The base of the prefix you used "/srv/templates" (i.e. templates) is
user created and not already there normally right? (Nor does it have to
be that name.)

I'm just making sure I am covering all my bases.

Thanks.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] How does "Files" work?

2014-06-30 Thread Michael Tiernan
On 6/30/14 7:59 AM, Harry Hoffman wrote:
> Hi,
> Straight from the manual...
Grr... :)

Okay, let me reread this and see what I can learn.

Thanks for letting me know.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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 moving them instead of my scripting some
strange approach to fixing it.

Thanks for everyone's time.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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 the name
"scilin_everything-x86_64" (notice the case of the names).

When I perform a kickstart with the first one (mixed case) it fails to
find packages and complains about broken repositories. When I use the
second one, (all lower) it works fine. Down right perfectly.

I can't figure out the differences (yet) because I've got other issues
to solve first but I thought I'd share this quirk to let others know.

Here's the distro report:

Name   : scilin_everything-x86_64
Architecture   : x86_64
TFTP Boot Files: {}
Breed  : redhat
Comment:
Fetchable Files: {}
Initrd : 
/var/www/cobbler/ks_mirror/scilin_everything-x86_64/images/pxeboot/initrd.img
Kernel : 
/var/www/cobbler/ks_mirror/scilin_everything-x86_64/images/pxeboot/vmlinuz
Kernel Options : {}
Kernel Options (Post Install)  : {}
Kickstart Metadata : {'tree': 
'http://@@http_server@@/cblr/links/scilin_everything-x86_64'}
Management Classes : []
OS Version : rhel6
Owners : ['admin']
Red Hat Management Key : <>
Red Hat Management Server  : <>
Template Files : {}

Name   : SciLin_All-x86_64
Architecture   : x86_64
TFTP Boot Files: {}
Breed  : redhat
Comment:
Fetchable Files: {}
Initrd : 
/var/www/cobbler/ks_mirror/SciLin_All-x86_64/images/pxeboot/initrd.img
Kernel : 
/var/www/cobbler/ks_mirror/SciLin_All-x86_64/images/pxeboot/vmlinuz
Kernel Options : {}
Kernel Options (Post Install)  : {}
Kickstart Metadata : {'tree': 
'http://@@http_server@@/cblr/links/SciLin_All-x86_64'}
Management Classes : []
OS Version : rhel6
Owners : ['admin']
Red Hat Management Key : <>
Red Hat Management Server  : <>
Template Files : {}

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[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 "template" asking for?

And the obvious question, how does a (this) file get content?

Thanks for everyone's time.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] Cobbler Bug in 2.4-1

2014-05-19 Thread Michael Luczkow
Hello Marcin, 

Thank you for pointing out the /etc/cobbler/settings.  My approach was actually 
to modify the pre and post python scripts that run and remove "cert" from them 
(using "puppet" instead of "puppetca":
/usr/lib/python2.6/site-packages/cobbler/modules/install_pre_puppet.py and 
install_post_puppet.py

Bug or not, our existing, functioning provisioning server (which was a vanilla 
EPEL install) stopped functioning when cobbler was updated to 2.4.4-1.

Cheers!


-------
Michael Luczkow
マイケル  ラシュコー
Senior Linux Systems Administrator
シニア  リナックス システム  アドミニストレイター
Okinawa Institute of Science and Technology Graduate University
沖縄科学技術大学院大学
☎ 080.6495.7191 (mobile)  ✉ michael.lucz...@oist.jp
-------

Hi Michael,

This is not a bug. You can set a path for puppet binary.
Just edit puppetca_path: "/usr/bin/puppet" in your /etc/cobbler/settings.



On 13 May 2014 07:15, Michael Luczkow  wrote:

> Dear List,
>
> Cobbler tries to execute "puppetca cert clean HOSTNAME" when instead it
> should be trying to either "puppetca clean HOSTNAME" or "puppet cert clean
> HOSTNAME"
>
> Initial cleaning and post signing do not function because of this.
>
> May 10 05:23:57 Updated: cobbler-2.4.4-1.el6.noarch
> May 10 05:23:58 Updated: cobbler-web-2.4.4-1.el6.noarch
>
>
>
> -------
> Michael Luczkow
> マイケル  ラシュコー
> Senior Linux Systems Administrator
> シニア  リナックス システム  アドミニストレイター
> Okinawa Institute of Science and Technology Graduate University
> 沖縄科学技術大学院大学
> ☎ 080.6495.7191 (mobile)  ✉ michael.luczkow at oist.jp
>
> ---
> ___
> cobbler mailing list
> cobbler at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>



-- 
Pozdrawiam
Marcin Spoczyński
mobile: +353877508301
e-mail: marcin at spoczynski.com
-- next part --
An HTML attachment was scrubbed...
URL: 
<https://lists.fedorahosted.org/pipermail/cobbler/attachments/20140513/525c25f7/attachment.html>


___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] Cobbler Bug in 2.4-1

2014-05-12 Thread Michael Luczkow
Dear List, 

Cobbler tries to execute "puppetca cert clean HOSTNAME" when instead it should 
be trying to either "puppetca clean HOSTNAME" or "puppet cert clean HOSTNAME"

Initial cleaning and post signing do not function because of this.

May 10 05:23:57 Updated: cobbler-2.4.4-1.el6.noarch
May 10 05:23:58 Updated: cobbler-web-2.4.4-1.el6.noarch


-------
Michael Luczkow
マイケル  ラシュコー
Senior Linux Systems Administrator
シニア  リナックス システム  アドミニストレイター
Okinawa Institute of Science and Technology Graduate University
沖縄科学技術大学院大学
☎ 080.6495.7191 (mobile)  ✉ michael.lucz...@oist.jp
---
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] [cobbler-devel] Call for help: testing RPM packages

2014-02-25 Thread Michael Jansen
Hi

This is what i came up with. Not what i had in my mind but i ended with it 
anyway :) .

I think anyone who install cobbler should be a pro. Thats why i ended up only 
pointing out the steps required and some hints where to find more information. 
Describing everything in detailed is to much. Just setting up SSL in apache2 
is something probably worth writing a book about.

Mike

#!/bin/sh
# Quickstart document for Cobblerd on openSUSE
#
# This is both a document and a script. Read the configuration part carefully and when finished
# you can run the script.
#
# Setting up and running cobblerd is not a easy task. Knowledge in apache configuration (setting
# up ssl, virtual hosts, apache module and wsgi) is needed. Certificates and some server
# administration knowledge is required too.
#
# Configuration
# ==
#
# The inter process session caching module to use. Configured in /etc/apache2/ssl-global.conf.
# Possible values:
#   - shmcb (DEFAULT)
#   - none
#   - shmht
#   - dbm
APACHE_SSL_SESSION_CACHE_MODULE=${APACHE_SSL_SESSION_CACHE_MODULE:-shmcb}

# Cobbler requires https support which in turn requires a certificate. If you are just test driving
# cobbler locally it is possible to create a self signed certificate with gensslcert. If you
# generate one add meaningful values down there.
#
# The certificate can be found at /etc/apache2/ssl*/ after running this script.
#
# Change to "true" to generate the certificate.
GENERATE_SELF_SIGNED_CERTIFICATE=${GENERATE_SELF_SIGNED_CERTIFICATE:-false}
# Empty CN gives you the default files used in /etc/apache2/vhosts.d/vhost-ssl.template
CERTIFICATE_CN=${CERTIFICATE_CN:-"local.site"}
CERTIFICATE_COMMENT=${CERTIFICATE_COMMENT:-"local self signed ssl certificate"}
CERTIFICATE_COUNTRY=${CERTIFICATE_COUNTRY:-"XY"}
CERTIFICATE_STATE=${CERTIFICATE_STATE:-"state"}
CERTIFICATE_CITY=${CERTIFICATE_CITY:-"city"}
CERTIFICATE_ORG=${CERTIFICATE_ORG:-"SUSE Linux Web Server"}
CERTIFICATE_UNIT=${CERTIFICATE_UNIT:-"web server"}
CERTIFICATE_FQDN=${CERTIFICATE_FQDN:-"$(hostname --fqdn)"}
CERTIFICATE_EMAIL=${CERTIFICATE_EMAIL:-"webmaster@${CERTIFICATE_FQDN}"}

# If you checked all configuration values uncomment the following line.
# SCRIPT_CONFIGURED="true"



# EXECUTION
# ==

echo "Step 0) Check preferences"
if [ 0 != $(id -u) ]; then
echo "fail - you are not root."
exit -1
else
echo "ok - you are root."
fi

if [ -z "${SCRIPT_CONFIGURED}" ]; then
echo "fail - script not configured."
exit -1
else
echo "ok - script configured."
fi

echo ""
echo "Step 1) Enabled require apache modules (/etc/sysconfig/apache2:APACHE_MODULES)"
(
/usr/sbin/a2enmod proxy
/usr/sbin/a2enmod proxy_http
/usr/sbin/a2enmod proxy_connect
/usr/sbin/a2enmod rewrite
/usr/sbin/a2enmod ssl
/usr/sbin/a2enmod wsgi
/usr/sbin/a2enmod version
/usr/sbin/a2enmod socache_${APACHE_SSL_SESSION_CACHE_MODULE}
) | sed -e "s/^//"

echo ""
echo "Step 2) Enable required apache flag (/etc/sysconfig/apache2:APACHE_SERVER_FLAGS)"
(
/usr/sbin/a2enflag SSL
) | sed -e "s/^//"

if [ "${GENERATE_SELF_SIGNED_CERTIFICATE}" == "true" ]; then
echo ""
echo "Step 3) Generate self signed certificate"
(
gensslcert \
-C "${CERTIFICATE_CN}" \
-N "${CERTIFICATE_COMMENT}" \
-c "${CERTIFICATE_COUNTRY}" \
-s "${CERTIFICATE_STATE}" \
-l "${CERTIFICATE_CITY}" \
-o "${CERTIFICATE_ORG}" \
-u "${CERTIFICATE_UNIT}" \
-n "${CERTIFICATE_FQDN}" \
-e "${CERTIFICATE_EMAIL}"
) 2>&1 | sed -e "s/^//"
else
echo ""
echo "Step 3) Generate self signed certificate. Skipped."
fi

echo ""
echo "!"
echo "The following steps have to be done manually!"
echo ""
echo "Step 4) Review /etc/sysconfig/apache2 and configure as necessary."
echo "see https://activedoc.opensuse.org/book/opensuse-reference/chapter-20-the-apache-http-server";
echo ""
echo "Step 5) Enable HTTPS in apache."
echo "see https://activedoc.opensuse.org/book/opensuse-reference/chapter-20-the-apache-http-server#sec.apache2.ssl";
echo ""
echo "Step 6) Check Firewall."
echo "Make sure the port 80 is open and available from the desired locations."
echo ""
echo "Step 7) Start/enable the apache2 and cobblerd services."
echo "systemctl enable apache2.service"
echo "systemctl enable cobblerd.service"
echo "or"
echo "systemctl start apache2.service"
echo "systemctl start cobblerd.service"
echo ""
echo "Step 8) visit https://${CERTIFICATE_FQDN}/cobbler_web/";
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] [cobbler-devel] Call for help: testing RPM packages

2014-02-24 Thread Michael Jansen
On Monday 24 February 2014 06:42:07 Jörgen Maas wrote:
> Hi Michael,
> 
> Yes, this would not have been possible without your many patches to the
> Cobbler build system, so thanks again! :)
> My hopes for this packaging effort is to get more direct involvement from
> downstream users & developers to give the development of Cobbler another
> boost.

I think its a step in the right direction. 

> 
> If you are willing to contribute a README for SUSE that would be great!
> 
> Regarding the a2enmod/a2enflag stuff, we currently do those things in the
> %post section.
> Is it against openSUSE's packaging policy to do this?
> I think it would be best to align our packages as close as possible with
> the downstream packaging policies.

I talked with guys on #obs and they said its not done in opensuse. The 
subversion package for example only has a README explaining what is needed to 
activate a subversion server. No automatic enabling/disabling of apache 
modules.

And i found nothing at all in the suse package guide so i guess that is 
correct. We will be unable to configure a system correctly for cobbler anyway 
(SSL Certificate for example) so i guess it makes sense to not enable anything 
at all. Cobbler is not for the casual user. Those that enable it should take 
care to get it right manually.

Mike
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] v2.4.0 has not support fedora 20

2014-01-09 Thread Michael Galloway
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

i just pulled cobbler from git and copied the file over to my install

git clone https://github.com/cobbler/cobbler.git



On 01/09/2014 08:41 PM, missing...@gmail.com wrote:
> Thanks !
> 
> I trid two ways :
> 
> 1. edit  file in  /var/lib/cobbler/distro_signatures.json ,and add
> f20 to it ,like this
> 
> "fedora20": { "signatures":["Packages"], 
> "version_file":"(fedora)-release-20-(.*)\\.noarch\\.rpm", 
> "version_file_regex":null, "kernel_arch":"kernel-(.*)\\.rpm", 
> "kernel_arch_regex":null, 
> "supported_arches":["i386","x86_64","ppc","ppc64"], 
> "supported_repo_breeds":["rsync", "rhn", "yum"], 
> "kernel_file":"vmlinuz(.*)", "initrd_file":"initrd(.*)\\.img", 
> "isolinux_ok":false, 
> "default_kickstart":"/var/lib/cobbler/kickstarts/sample_end.ks", 
> "kernel_options":"repo=$tree", "kernel_options_post":"", 
> "boot_files":[] }
> 
> then  exec   "cobbler signature report" ,still no f20
> 
> 
> Currently loaded signatures: debian: squeeze wheezy freebsd: 8.2 
> 8.3 9.0 generic: generic26 redhat: fedora16 fedora17 fedora18 
> fedora19 rhel4 rhel5 rhel6
> 
> ... then  i restart cobbler ,   exec " cobbler
> signature report"
> 
> No breeds found in the signature, a signature update is
> recommended
> 
> 2.   run  " cobbler signature update " , it seems got file from 
> http://www.cobblerd.org/signatures/latest.json  , not from git
> ,how can get it from git?
> 
> cobbler signature update Traceback (most recent call last): File
> "/usr/lib/python2.6/site-packages/cobbler/cli.py", line 177, in
> opt data = getattr(options, k) AttributeError: Values instance has
> no attribute 'name' task started: 2014-01-10_094024_sigupdate task
> started (id=Updating Signatures, time=Fri Jan 10 09:40:24 2014) 
> Successfully got file from
> http://www.cobblerd.org/signatures/latest.json *** TASK COMPLETE
> *** 
> 
>
> 
missing...@gmail.com
> 
> *From:* Michael Galloway <mailto:gallowa...@ornl.gov> *Date:*
> 2014-01-10 03:12 *To:* cobbler
> <mailto:cobbler@lists.fedorahosted.org> *Subject:* Re: [cobbler]
> v2.4.0 has not support fedora 20 actually, i think the current
> distro_signatures.json from git has fedora20:
> 
> root@cobbler:~# cobbler signature report Currently loaded
> signatures: debian: squeeze wheezy freebsd: 8.2 8.3 8.4 9.0 
> generic: generic26 redhat: fedora16 fedora17 fedora18 fedora19 
> fedora20
> 
> did you try a:
> 
> cobbler signature update
> 
> and cobblerd restart?
> 
> On 01/09/2014 02:09 PM, Scot Floess wrote:
>> I had a similar issue.  Take a peak in: 
>> /var/lib/cobbler/distro_signatures.json
> 
>> Just add some new json for F20...
> 
>> 
>
>>  *From: *"missing cn"  *To: *"cobbler" 
>>  *Sent: *Monday, January 6, 2014 
>> 2:55:07 AM *Subject: *[cobbler]  v2.4.0 has not support fedora
>> 20
> 
>> Hi all !
> 
>> It's running cobbler 2.4.0 on centos 6.4 , i have try to install 
>> fedora 20  ,but it give me some error messages:
> 
>> -- cobbler import 
>> --path=/var/iso/Linux/Fedora/x86_64/20 --name Fedora-20-x86_64
>> task started: 2014-01-06_154214_import task started (id=Media
>> import, time=Mon Jan  6 15:42:14 2014) Found a candidate
>> signature: breed=redhat, version=rhel6 Found a candidate
>> signature: breed=redhat, version=fedora16 Found a candidate
>> signature: breed=redhat, version=fedora17 Found a candidate
>> signature: breed=redhat, version=fedora18 Found a candidate
>> signature: breed=redhat, version=fedora19 No signature matched
>> in /var/www/cobbler/ks_mirror/Fedora-20-x86_64 !!! TASK FAILED
>> !!! --
> 
>> then i type " cobbler signature report " ,it  display
> 
>> -
> 
>> ... redhat: fedora16 fedora17 fedora18 fedora19 rhel4 rhel5 
>> rhel6 
> 
>> ---
> 
>> fedora 20 is not in list, how can i install fedora 20 ?
> 
>> Thanks !
> 
> 
>> 
>
>> 
> 
> missing...@gmail.com
> 
>> __

Re: [cobbler] contributing snippets

2014-01-09 Thread Michael Galloway
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1



On 01/09/2014 02:47 PM, Petro wrote:
> On 14/1/9 12:33 PM, Harry Hoffman wrote:
>> Hi All,
>> 
>> I've written a bunch of snippets to harden RH based distro so
>> that they conform to NIST/CIS benchmarks for system hardening.
>> 
>> Is there a central place to contribute these (assuming they are
>> wanted) or should I just find a place to host and then send a
>> link?
> If nothing else put them up on github.
> 
> Regards, Petro. :wq 
> ___

that's what i was thinking, perhaps push them into the contrib folder?

- --- michael

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSzv2UAAoJEBhLjSvQGDU9Ev4QAMGJkF50nMAv1oLZpRv9PkON
3FigstgaWZmVCNip9GmY31k44JADyj9X9+NddM9el4eV01BU3rFcwI4tU+L9fhza
hvqYaE0E1qxTFWhASZqcgJcvNmi1MEWQ+LuNpgposmYnLUA0nBmcRwMCxhak1YRZ
2QrZ0X1xPi8WFBjUUplu72QLxEyyJY4Z5Qf/zxIMnqC2zpRt9DLEULYcVZa3lRAq
Uk4gDDN+XJ9LVvIdY3PQnZ2v9WiOcyMAhoSpdoCKBHrDFlkdAbSdvfoft0P5FMI8
WBrXaG8VmOAPBs4uuDVnH+YtnZFPQZU4E3U7aU3/LEQu6pWaTJq2oI/L9MRClTpy
37h0JAH31EjYHaxtAJxAeWF3AYWx/iztnC72x7UGhAfkJHykgHwYxOtZu2u1PS0h
hURBSG111x0qL8wm0ZBA75tlf44MKiHpaYGJ0fQAwgP82G63ePPNsyiA1kqC7rfA
d9Dv5ILJPwPdxTd6h66NQN1Si80L4N+oBgSlgqeG5pFIHWQ/lSNqX75enVycZBLe
CA41dFoSpNur0gxka8XnmMmy09slb3VigFMh5WnDh4jvTPB29rkrVgreVrKV+2wZ
kopzuUSd5SQ1oVotTR26AP5zXlXUnDeFHvr6hsLukOVymC9xJGCSdRS681JQDsWm
gfRy6FJvSSfkCQ1RrVnz
=WgZl
-END PGP SIGNATURE-
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] v2.4.0 has not support fedora 20

2014-01-09 Thread Michael Galloway
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

actually, i think the current distro_signatures.json from git has
fedora20:

root@cobbler:~# cobbler signature report
Currently loaded signatures:
debian:
squeeze
wheezy
freebsd:
8.2
8.3
8.4
9.0
generic:
generic26
redhat:
fedora16
fedora17
fedora18
fedora19
fedora20

did you try a:

cobbler signature update

and cobblerd restart?

On 01/09/2014 02:09 PM, Scot Floess wrote:
> I had a similar issue.  Take a peak in: 
> /var/lib/cobbler/distro_signatures.json
> 
> Just add some new json for F20...
> 
> 
>
>  *From: *"missing cn"  *To: *"cobbler"
>  *Sent: *Monday, January 6, 2014
> 2:55:07 AM *Subject: *[cobbler]  v2.4.0 has not support fedora 20
> 
> Hi all !
> 
> It's running cobbler 2.4.0 on centos 6.4 , i have try to install 
> fedora 20  ,but it give me some error messages:
> 
> -- cobbler import
> --path=/var/iso/Linux/Fedora/x86_64/20 --name Fedora-20-x86_64 task
> started: 2014-01-06_154214_import task started (id=Media import,
> time=Mon Jan  6 15:42:14 2014) Found a candidate signature:
> breed=redhat, version=rhel6 Found a candidate signature:
> breed=redhat, version=fedora16 Found a candidate signature:
> breed=redhat, version=fedora17 Found a candidate signature:
> breed=redhat, version=fedora18 Found a candidate signature:
> breed=redhat, version=fedora19 No signature matched in
> /var/www/cobbler/ks_mirror/Fedora-20-x86_64 !!! TASK FAILED !!! 
> --
> 
> then i type " cobbler signature report " ,it  display
> 
> -
> 
> ... redhat: fedora16 fedora17 fedora18 fedora19 rhel4 rhel5 
> rhel6 
> 
> ---
> 
> fedora 20 is not in list, how can i install fedora 20 ?
> 
> Thanks !
> 
> 
> 
>
> 
missing...@gmail.com
> 
> ___ cobbler mailing
> list cobbler@lists.fedorahosted.org 
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
> 
> 
> 
> 
> -- Make It So Number One
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBAgAGBQJSzvSKAAoJEBhLjSvQGDU90AwQAICYoqShkoocv36GDLsEU6vf
z5OGNFZ17jIUsu9kblq/ZdxDqAZDvrL+9h30CfY4qigfFt7mjwtSva/CcuIumNFX
oDQdVpqEitb2tVMx/sM35dUmiY07Mywv6t1sSCmAbcFg6iUm425f5VqIy5h/BvAD
AZCT8ukYTgol4hJqDeHwRrsJ+oSYEIFDCKLYp3WM61DMJ4Mfb0Qcb8VerY2M3qdv
Fy/ZzvjbRjzrOJe5Mv/t8gy2TtlC8Afn8XKbLDlykSXRGg0ovfTua0I8KzY0e3Kd
km3P5FdGLU9WSyVKqxbZqT277L7nREsL8d1XmZsr0NrPPNvCJde4qVEuCc8257gm
KP7zjPQcwKHoZt8lNuFUwv8BdYRrkzJxsDLR3WgTJvtfJcJbNgNsHAZKdfFC/4wI
yMrWyZLnIEo4YBe5HpXo8nVjQHS2Yb3MYqOF3CpYI6B2XETIYDNklupIXdIHqMKM
x5DEKUDF057TfS5dsp6hf2Jsxql5rS4jFxfwXdSYVxddkA0eMqwqCqfGR6moTcrR
5pwueF+SzgLvA5aWBWV09e6S0/7kyCNLltD6WTroD35HRjmwWVt6rEX73VubSa+5
Pp4Dei7laj0U7b4KApgvUIYSBmk4fyIZweEeSPxnYdtQNREEbL/d8Jf8B5RoomG7
9ekyeNNWIZCfe1LFTYeg
=d/Ph
-END PGP SIGNATURE-
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] reread partition table without reboot

2013-09-13 Thread Michael
Hello,

Have you tried the following command:

*blockdev --rereadpt*   ?


Regards,
*Michael*



2013/9/12 Mann, Owen 

>  You could also try `sfdisk -R`
>
>  Owen Mann, Interactive Data Real Time Services
>
> 60 Codman Hill Rd, Boxborough, MA 01719
>
> 978-795-3758 owen.m...@interactivedata.com
>   --
> *From:* cobbler-boun...@lists.fedorahosted.org [
> cobbler-boun...@lists.fedorahosted.org] on behalf of Robert Joseph [
> rjos...@foursquare.com]
> *Sent:* Thursday, September 12, 2013 4:14 PM
> *To:* cobbler mailing list
> *Subject:* Re: [cobbler] reread partition table without reboot
>
>
>
>
> On Thu, Sep 12, 2013 at 1:09 PM, Patrick Lists <
> cobbler-l...@puzzled.xs4all.nl> wrote:
>
>> On 09/12/2013 09:32 PM, Robert Joseph wrote:
>> [snip]
>>
>>  anyone have suggestions for getting the OS to successfully reread the
>>> partition table on a disk with an already mounted partition?
>>>
>>
>>  Don't know if it's available but have you tried kpartx?
>>
>
>  no, will look into it.
>
>  fwiw, the reason i'm using parted is because the disks are large (3TB)
> and it's my understanding that kickstart's built-in 'part' command doesn't
> work for disks > 2TB.  perhaps i'm wrong about that, that would make
> everything simple.
>
>  -r
>
>
>>
>> Regards,
>> Patrick
>>
>>
>> __**_
>> cobbler mailing list
>> cobbler@lists.fedorahosted.org
>> https://lists.fedorahosted.**org/mailman/listinfo/cobbler<https://lists.fedorahosted.org/mailman/listinfo/cobbler>
>>
>
>
>
>  --
> robert joseph, (m) 415-516-0548
> production operations @ foursquare
> foursquare is hiring! foursquare.com/jobs
>
> ***
> This message (including any files transmitted with it) may contain
> confidential and/or proprietary information, is the property of Interactive
> Data Corporation and/or its subsidiaries, and is directed only to the
> addressee(s). If you are not the designated recipient or have reason to
> believe you received this message in error, please delete this message from
> your system and notify the sender immediately. An unintended recipient's
> disclosure, copying, distribution, or use of this message or any
> attachments is prohibited and may be unlawful.
> ***
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] package groups in 2.2.3

2013-09-05 Thread FRANK Michael
Nick,

 

I had the similar problem and a restart of cobbler (I rebooted the host)
solved the issue.

 

regards

 

Michael

Von: cobbler-boun...@lists.fedorahosted.org
[mailto:cobbler-boun...@lists.fedorahosted.org] Im Auftrag von nicholas
geovanis
Gesendet: Mittwoch, 4. September 2013 22:28
An: cobbler mailing list
Betreff: [cobbler] package groups in 2.2.3

 

I recently upgraded to 2.2.3 and I'm kickstarting with essentially the
same templates as before the upgrade. But I find now that most (but not
all) of my package group definitions are lost, such that during the
kickstart I'm prompted to "abort or ignore" for all groups.except
@base, @core, @graphics and @java.

The kickstart works fine even if I choose "ignore"; it seems to pick-up
any requisites from its own checking.

So it looked like I might need to add "repos" to the profile definition.
Tried that, nothing improved. Also made sure that I used
$yum_repo_stanza in the kickstart script. No effect.

So the general question is: How do I convince cobbler to find my
(actually RedHat's) package group definitions?

Thank.Nick G



DISCLAIMER:
This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited. Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] FTP user/password in Cobbler

2013-09-04 Thread FRANK Michael
Hello Alan,

What threat are you expecting? Even if you dont find a ftp server which
support anonymous user you could create a user with read only rights.
The content of the repositories is normaly public or do yo have any
speacial developement which are confidential?


regards

Mike

-Original Message-
From: cobbler-boun...@lists.fedorahosted.org
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of Alan
Evangelista
Sent: Mittwoch, 4. September 2013 01:01
To: cobbler@lists.fedorahosted.org
Subject: [cobbler] FTP user/password in Cobbler

I am using Cobbler to provide Linux distributions to users in an
automated provisioning application.
The used FTP server will not allow anonymous access anymore. However,
afaik Cobbler requires that FTP user/password are set in the kickstart
file, the ks file is made available via http and it is transmitted
unencrypted from the Cobbler server to the target system. 
Therefore, anyone could look
at the user/password in the ks file. Are there any ways to improve
security here? I've thought about temporary passwords, but I think this
is not good enough, as the vulnerability will still be there, just for a
shorter time.

I know the question may be out of Cobbler scope, but I hope other users
already faced the same problem.

Thanks in advance,
Alan Evangelista

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


DISCLAIMER:
This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited. Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] import from a network server always copy files

2013-04-02 Thread FRANK Michael
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 
/var/www/cobbler/ks_mirror. 

My Server shares the CentOS repo via hostname:/data/vm/repo and it is mounted 
at  /data/repo in my cobbler server. The Server also shares the repo via ftp. 
  The CentOS tree is in the directory centos so that the hole 
path is /data/repo/centos/6/os...

I tried several combinations of:

cobbler import --path=/data/repo/centos --name=CentOS 
--available-as=ftp://deaugvbo0001.aug.de.corp/centos 
  --breed=redhat
cobbler import --path=/data/repo --name=CentOS 
--available-as=nfs://deaugvbo0001.aug.de.corp:/data/vm/repo
cobbler import --path=/data/repo/centos --name=CentOS 
--available-as=nfs://deaugvbo0001.aug.de.corp:/data/vm/repo/centos 
--breed=redhat

How could I prevent Cobbler from syncing the repo to local filesystem. 

Any help is much appreciated

Thanks

Mike









DISCLAIMER:
This electronic transmission (and any attachments thereto) is intended solely 
for the use of the addressee(s). It may contain confidential or legally 
privileged information. If you are not the intended recipient of this message, 
you must delete it immediately and notify the sender. Any unauthorized use or 
disclosure of this message is strictly prohibited. Faurecia does not guarantee 
the integrity of this transmission and shall therefore never be liable if the 
message is altered or falsified nor for any virus, interception or damage to 
your system.

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] kernel/nic problems?

2013-01-31 Thread Michael Dur
I can see that the modules are loading but systems still aren't  
finding the repo, and the interfaces don't seem to be available.  I  
think something may be wrong with my autoyast file, which was  
generated from a dvd install.  It seems after the initial pxe boot the  
interface is left with no configuration.  Time to hit the autoyast  
docs..


-Michael



Message: 1
Date: Fri, 25 Jan 2013 15:38:24 -0500
From: Michael J Dur 
To: cobbler@lists.fedorahosted.org
Subject: Re: [cobbler] kernel/nic problems?
Message-ID: <20130125203824.gb18...@seas.upenn.edu>
Content-Type: text/plain; charset=us-ascii


I'm testing with two dell models, the T1500 and 990.  They seem to use a
broadcom and e1000e driver respectively.  I've unpacked the initrd,  
moved those

modules in and repacked.  I'll let you know how I make out, thanks for your
help.

-Michael


--

Message: 1
Date: Thu, 24 Jan 2013 09:37:46 -0500
From: Michael 
To: cobbler@lists.fedorahosted.org
Subject: [cobbler] kernel/nic problems?
Message-ID: <20130124143746.ga1...@seas.upenn.edu>
Content-Type: text/plain; charset=us-ascii


I have a cobbler server running openSUSE 12.1 that will deploy  
openSUSE 12.1.
Currently systems get dhcp then pxe boot via tftp and fail to find  
the install repo.
At that point I can manually specify where the repo is  
(http://192.168.100.1/cblr/links/openSUSE121-x86_64)
and I'm told that there is no interface, and that the kernel may  
not support my nic.


Has anyone been through something like this?

--
Michael


--

Message: 2
Date: Thu, 24 Jan 2013 09:45:37 -0500
From: Michael 
To: cobbler@lists.fedorahosted.org
Subject: Re: [cobbler] kernel/nic problems?
Message-ID: <20130124144537.gb1...@seas.upenn.edu>
Content-Type: text/plain; charset=us-ascii


A little more info:
I can connect a machine that is already booted to a working OS, get  
dhcp and see what appears to be the
contents of the install DVD that cobbler imported when I open  
http://192.168.100.1/cblr/links/openSUSE121-x86_64 in a

browser.

On 01/24, Michael wrote:
> Date: Thu, 24 Jan 2013 09:37:46 -0500
> From: Michael 
> To: cobbler@lists.fedorahosted.org
> Subject: kernel/nic problems?
>
>
> I have a cobbler server running openSUSE 12.1 that will deploy  
openSUSE 12.1.
> Currently systems get dhcp then pxe boot via tftp and fail to  
find the install repo.
> At that point I can manually specify where the repo is  
(http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> and I'm told that there is no interface, and that the kernel may  
not support my nic.

>
> Has anyone been through something like this?
>
> --
> Michael

--
Michael


--

Message: 3
Date: Thu, 24 Jan 2013 15:02:59 +
From: Will McDonald 
To: cobbler mailing list 
Subject: Re: [cobbler] kernel/nic problems?
Message-ID:

Content-Type: text/plain; charset="iso-8859-1"

It sounds like the initrd doesn't have a corresponding module for your NIC.
What sort of machine/NIC?

I've seen this with ESX hosts in the past. If you create a VM with a VMXNET
adapter, it'll do the initial PXE boot to pull down its bootloader, which
then doesn't have a kernel module for the VMXNET out-of-the-box (because
that'd normally come with VMWare Tools).

What's the output of 'lsmod' on the running system? And if you dig into the
initrd for the distribution, does it contain an equivalent module?

Will.


On 24 January 2013 14:45, Michael  wrote:

>
> A little more info:
> I can connect a machine that is already booted to a working OS, get dhcp
> and see what appears to be the
> contents of the install DVD that cobbler imported when I open
> http://192.168.100.1/cblr/links/openSUSE121-x86_64 in a
> browser.
>
> On 01/24, Michael wrote:
> > Date: Thu, 24 Jan 2013 09:37:46 -0500
> > From: Michael 
> > To: cobbler@lists.fedorahosted.org
> > Subject: kernel/nic problems?
> >
> >
> > I have a cobbler server running openSUSE 12.1 that will deploy openSUSE
> 12.1.
> > Currently systems get dhcp then pxe boot via tftp and fail to find the
> install repo.
> > At that point I can manually specify where the repo is (
> http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> > and I'm told that there is no interface, and that the kernel may not
> support my nic.
> >
> > Has anyone been through something like this?
> >
> > --
> > Michael
>
> --
> Michael
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
-- next part --
An HTML attachment was scrubbed...
URL:

Re: [cobbler] kernel/nic problems?

2013-01-25 Thread Michael J Dur

I'm testing with two dell models, the T1500 and 990.  They seem to use a 
broadcom and e1000e driver respectively.  I've unpacked the initrd, moved those 
modules in and repacked.  I'll let you know how I make out, thanks for your 
help.

-Michael

> --
> 
> Message: 1
> Date: Thu, 24 Jan 2013 09:37:46 -0500
> From: Michael 
> To: cobbler@lists.fedorahosted.org
> Subject: [cobbler] kernel/nic problems?
> Message-ID: <20130124143746.ga1...@seas.upenn.edu>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> I have a cobbler server running openSUSE 12.1 that will deploy openSUSE 12.1.
> Currently systems get dhcp then pxe boot via tftp and fail to find the 
> install repo.
> At that point I can manually specify where the repo is 
> (http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> and I'm told that there is no interface, and that the kernel may not support 
> my nic.
> 
> Has anyone been through something like this?
> 
> -- 
> Michael
> 
> 
> --
> 
> Message: 2
> Date: Thu, 24 Jan 2013 09:45:37 -0500
> From: Michael 
> To: cobbler@lists.fedorahosted.org
> Subject: Re: [cobbler] kernel/nic problems?
> Message-ID: <20130124144537.gb1...@seas.upenn.edu>
> Content-Type: text/plain; charset=us-ascii
> 
> 
> A little more info: 
> I can connect a machine that is already booted to a working OS, get dhcp and 
> see what appears to be the 
> contents of the install DVD that cobbler imported when I open 
> http://192.168.100.1/cblr/links/openSUSE121-x86_64 in a 
> browser.
> 
> On 01/24, Michael wrote:
> > Date: Thu, 24 Jan 2013 09:37:46 -0500
> > From: Michael 
> > To: cobbler@lists.fedorahosted.org
> > Subject: kernel/nic problems?
> > 
> > 
> > I have a cobbler server running openSUSE 12.1 that will deploy openSUSE 
> > 12.1.
> > Currently systems get dhcp then pxe boot via tftp and fail to find the 
> > install repo.
> > At that point I can manually specify where the repo is 
> > (http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> > and I'm told that there is no interface, and that the kernel may not 
> > support my nic.
> > 
> > Has anyone been through something like this?
> > 
> > -- 
> > Michael
> 
> -- 
> Michael
> 
> 
> --
> 
> Message: 3
> Date: Thu, 24 Jan 2013 15:02:59 +
> From: Will McDonald 
> To: cobbler mailing list 
> Subject: Re: [cobbler] kernel/nic problems?
> Message-ID:
>   
> Content-Type: text/plain; charset="iso-8859-1"
> 
> It sounds like the initrd doesn't have a corresponding module for your NIC.
> What sort of machine/NIC?
> 
> I've seen this with ESX hosts in the past. If you create a VM with a VMXNET
> adapter, it'll do the initial PXE boot to pull down its bootloader, which
> then doesn't have a kernel module for the VMXNET out-of-the-box (because
> that'd normally come with VMWare Tools).
> 
> What's the output of 'lsmod' on the running system? And if you dig into the
> initrd for the distribution, does it contain an equivalent module?
> 
> Will.
> 
> 
> On 24 January 2013 14:45, Michael  wrote:
> 
> >
> > A little more info:
> > I can connect a machine that is already booted to a working OS, get dhcp
> > and see what appears to be the
> > contents of the install DVD that cobbler imported when I open
> > http://192.168.100.1/cblr/links/openSUSE121-x86_64 in a
> > browser.
> >
> > On 01/24, Michael wrote:
> > > Date: Thu, 24 Jan 2013 09:37:46 -0500
> > > From: Michael 
> > > To: cobbler@lists.fedorahosted.org
> > > Subject: kernel/nic problems?
> > >
> > >
> > > I have a cobbler server running openSUSE 12.1 that will deploy openSUSE
> > 12.1.
> > > Currently systems get dhcp then pxe boot via tftp and fail to find the
> > install repo.
> > > At that point I can manually specify where the repo is (
> > http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> > > and I'm told that there is no interface, and that the kernel may not
> > support my nic.
> > >
> > > Has anyone been through something like this?
> > >
> > > --
> > > Michael
> >
> > --
> > Michael
> > ___
> > cobbler mailing list
> > cobbler@lists.fedorahosted.org
> > https://lists.fedorahosted.org/mailman/listinfo/cobbler
> >
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> <https://lists.fedorahosted.org/pipermail/cobbler/attachments/20130124/a370042b/attachment-0001.html>
> 
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] kernel/nic problems?

2013-01-24 Thread Michael

A little more info: 
I can connect a machine that is already booted to a working OS, get dhcp and 
see what appears to be the 
contents of the install DVD that cobbler imported when I open 
http://192.168.100.1/cblr/links/openSUSE121-x86_64 in a 
browser.

On 01/24, Michael wrote:
> Date: Thu, 24 Jan 2013 09:37:46 -0500
> From: Michael 
> To: cobbler@lists.fedorahosted.org
> Subject: kernel/nic problems?
> 
> 
> I have a cobbler server running openSUSE 12.1 that will deploy openSUSE 12.1.
> Currently systems get dhcp then pxe boot via tftp and fail to find the 
> install repo.
> At that point I can manually specify where the repo is 
> (http://192.168.100.1/cblr/links/openSUSE121-x86_64)
> and I'm told that there is no interface, and that the kernel may not support 
> my nic.
> 
> Has anyone been through something like this?
> 
> -- 
> Michael

-- 
Michael
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] kernel/nic problems?

2013-01-24 Thread Michael

I have a cobbler server running openSUSE 12.1 that will deploy openSUSE 12.1.
Currently systems get dhcp then pxe boot via tftp and fail to find the install 
repo.
At that point I can manually specify where the repo is 
(http://192.168.100.1/cblr/links/openSUSE121-x86_64)
and I'm told that there is no interface, and that the kernel may not support my 
nic.

Has anyone been through something like this?

-- 
Michael
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


[cobbler] Customizing properties in pxelinux.cfg/default

2012-07-13 Thread Michael Matczynski
Hello!

I'm PXE booting a machine that I only have serial console access to.
Thus, I'm looking for a way to customize some of the properties on the
top of the tftpboot/pxelinux.cfg/default file, in particular:

1. Add "serial 0 9600"

2. Set the "default" value to auto-boot one of the distro's I have configured.

Seems like this should be an obvious task, so I apologize if I just
haven't been able to find this in the documentation.

Thanks!
Mike


-- 
Michael Matczynski
w: www.zingtech.com
w: www.catchwine.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] manual import

2012-04-13 Thread Michael Gliwinski
On Saturday 07 Apr 2012 10:43:52 Nick wrote:
> On 06/04/12 16:37, James Cammarata wrote:
> >> What would I need to do to manually replicate what `cobbler import`
> >> does?
...
> > 
> > But, for the record, import is basically a wrapper around the following
> > steps:
> > 
> > cobbler distro add
> > cobbler profile add
> > cobbler repo add
> > 
> > All of which might add more than one object.
> 
> I have asked the same question before and got basically the same answer.
> However I think it misses some details which you have to spelunk the
> source code to find out, such as creating links, supplying the right
> vmlinuz and initrd paths, etc.
...

OK, got it!  Thanks again everyone for the pointers and examples.

So what I was trying to achieve (which I probably didn't explain properly) was 
to add a distro and repo without downloading the same data twice (once in DVD 
ISO and once for repo).

I finally got there after a couple of tries and it turned out the distro only 
needs (at least for CentOS) 3 files that are not already in the repo mirror: 
kernel, initrd and install.img (anaconda).

In case it would be useful to anyone the steps are below (this is for CentOS 6 
x86_64).

So basically the idea is to download the needed files into a distro tree dir 
(in /var/www/cobbler/ks_mirror) and link everything else (cache/ Packages/ 
repodata/) that's needed for installation to the repo dir (in 
/var/www/cobbler/repo_mirror).

So far it seems to work well.  I'll probably revise that when I start adding 
debian based distros.


 1. created a repo: cobbler repo add --name=centos-6-os-x86_64 --
mirror=http://mirror.centos.org/centos/6/os/x86_64/ --priority=1 --arch=x86_64 
&& cobbler reposync

 2. created a file: centos-6-ks-files with contents:

images/install.img
images/pxeboot/initrd.img
images/pxeboot/vmlinuz

 3. mkdir /var/lib/cobbler/ks_mirror/centos-6-x86_64

 4. wget --base=http://mirror.centos.org/centos/6/os/x86_64/ --input-
file=centos-6-ks-files --timestamping --force-directories --no-host-
directories --directory-prefix=/var/lib/cobbler/ks_mirror/centos-6-x86_64 --
cut-dirs=4

 5. for dir in cache Packages repodata; do ln -sf 
/var/www/cobbler/repo_mirror/centos-6-os-x86_64/$dir 
/var/www/cobbler/ks_mirror/centos-6-x86_64/$dir; done

 6. ln -sf /var/www/cobbler/ks_mirror/centos-6-x86_64 
/var/www/cobbler/links/cobbler-6-x86_64

 7. cobbler distro add --name=centos-6-x86_64 --
kernel=/var/www/cobbler/ks_mirror/centos-6-x86_64/images/pxeboot/vmlinuz --
initrd=/var/www/cobbler/ks_mirror/centos-6-x86_64/images/pxeboot/initrd.img --
ksmeta="tree=http://@@http_server@@/cblr/links/centos-6-x86_64";


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] manual import

2012-04-12 Thread Michael Gliwinski
On Wednesday 11 Apr 2012 12:26:47 Jörgen Maas wrote:
> On Wed, Apr 11, 2012 at 1:01 PM, Michael Gliwinski <
> 
> michael.gliwin...@henderson-group.com> wrote:
> > Do you know where is it getting the installer image from (the anaconda
> > install.img, or whatever it's called) when booting?  Or how does it know
> > where
> > to get it? :)
> 
> That's included in the initrd, for debian/ubuntu it will download installer
> modules on the fly.. that's why you have to supply the mirror information
> on the kernel boot commandline.

I was missing the part about supplying the mirror information to the installer 
via command line or the `url` option in kickstart.

I ran a couple of scenarios now and got it working, thanks again!


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] manual import

2012-04-11 Thread Michael Gliwinski
On Wednesday 11 Apr 2012 11:13:52 Jörgen Maas wrote:
> On Wed, Apr 11, 2012 at 11:37 AM, Michael Gliwinski <
> 
> michael.gliwin...@henderson-group.com> wrote:
> > 
> > Yip, that's what I thought, but is anyone actually using `cobbler distro
> > add`
> > directly?  From list of accepted options I see it needs kernel and initrd
> > but
> > surely more that that is needed to boot the installer?
> 
> Hi,
> 
> Yes, i'm using the manual "distro add" method and never use the Cobbler
> distro importers at all. I manually copy the kernel/initrd onto the cobbler
> servers, create the distro and corresponding profiles. In my experience the
> kernel and initrd are all that's really needed. All our repo' s are hosted
> on a (non-Cobbler) separate server, so we refer to that in the
> kickstart/preseeds/autoyast files. So, basically we use Cobbler only to
> manage the pxeboot, kickstart templating and iso building features.

Thanks Jörgen, I'll give that a try too.

Do you know where is it getting the installer image from (the anaconda 
install.img, or whatever it's called) when booting?  Or how does it know where 
to get it? :)


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] manual import

2012-04-11 Thread Michael Gliwinski
On Saturday 07 Apr 2012 10:43:52 Nick wrote:
> On 06/04/12 16:37, James Cammarata wrote:
> >> What would I need to do to manually replicate what `cobbler import`
> >> does?
...
> > But, for the record, import is basically a wrapper around the following
> > steps:
> > 
> > cobbler distro add
> > cobbler profile add
> > cobbler repo add
...
> I have a script (attached) which I think supplies the missing details, but
> note my case is somewhat different from yours, so it does more than you
> need, and you'll need to modify the rsync invocation to work within your
> restrictions.

Cool, that's very useful, thanks.

> The script's purpose is to reconstruct a cobbler installation given a git
> snapshot of the cobbler config in /etc/cobbler and /var/lib/cobbler/*.

Interesting, that was also on my to do list :)

So, I see your script fetches the distribution files, but also creates the 
distro record, only, isn't it later replaced when it re-links the files in 
/var/lib/cobbler to your puppet files?

> Hope this helps,

Indeed it does, cheers!


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] manual import

2012-04-11 Thread Michael Gliwinski
On Friday 06 Apr 2012 16:37:21 James Cammarata wrote:
> On Fri, Apr 6, 2012 at 5:34 AM, Michael Gliwinski
> > The reason I'm looking for this is `cobbler import` only accepts local
> > paths or rsync and I can't use rsync due to a restrictive proxy.  I
> > don't normally download ISOs as I have no use for them and it seems to
> > me the workflow of downloading ISOs just for import would be more
> > complicated and take longer then fetching data from the mirror directly.
> 
> You're going to need the ISO anyway for an import, so doing it
> manually won't buy you anything. There are a lot of files required
> outside of the packages in the repo.

OK, I thought maybe only a couple of files apart from kernel and initrd are 
needed so I was planning to compile a list, download them into a temp dir and 
then import from that temp dir.

I'm downloading the ISOs to get a better idea on what's needed.  BTW, do you 
know if the netinst ISOs are usually enough (for e.g. CentOS or Debian)?

> But, for the record, import is basically a wrapper around the following
> steps:
> 
> cobbler distro add

Yip, that's what I thought, but is anyone actually using `cobbler distro add` 
directly?  From list of accepted options I see it needs kernel and initrd but 
surely more that that is needed to boot the installer?


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


[cobbler] manual import

2012-04-06 Thread Michael Gliwinski
Hello All,

What would I need to do to manually replicate what `cobbler import` does?

E.g. `cobbler repo add ...` and reposync will fetch the repository, but will 
not fetch the files needed for distribution, etc.

The reason I'm looking for this is `cobbler import` only accepts local paths 
or rsync and I can't use rsync due to a restrictive proxy.  I don't normally 
download ISOs as I have no use for them and it seems to me the workflow of 
downloading ISOs just for import would be more complicated and take longer 
then fetching data from the mirror directly.


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Problems with cobbler reposync

2012-04-06 Thread Michael Gliwinski
On Thursday 05 Apr 2012 15:29:22 Razi Khaja wrote:
> I've seen Jack Peterson's post
> https://fedorahosted.org/pipermail/cobbler/2012-April/007489.html,
> regarding adding and reposync'ing an EPEL repository.  I am also
> having errors with 'cobbler reposync'
...
> [root@cobbler ~]# cobbler reposync
> task started: 2012-04-05_092746_reposync
> task started (id=Reposync, time=Thu Apr  5 09:27:46 2012)
> hello, reposync
> run, reposync, run!
> creating:
> /var/www/cobbler/repo_mirror/Fedora-15-x86_64-Updates/.origin/Fedora-15-x8
> 6_64-Updates.repo running: /usr/bin/reposync -l -m -d
> --config=/var/www/cobbler/repo_mirror/Fedora-15-x86_64-Updates/.origin/Fedo
> ra-15-x86_64-Updates.repo --repoid=Fedora-15-x86_64-Updates
> --download_path=/var/www/cobbler/repo_mirror -a x86_64
> received on stdout:
> received on stderr: Error setting up repositories: Cannot retrieve
> repository metadata (repomd.xml) for repository:
> Fedora-15-x86_64-Updates. Please verify its path and try again
...
> !!! TASK FAILED !!!

Are you by any chance using a proxy?

I had the same problem just yesterday and it turned out `cobbler reposync` 
does pass http_proxy variable defined in environment to the 
`/usr/bin/reposync` command it runs.  I.e. in my case I was able to run the 
`/usr/bin/reposync ...` command with the same args as cobbler directly and it 
worked.

Not sure why that happens yet, but a workaround seems to be to add http_proxy 
variable to repo's environment, e.g.:

  cobbler repo edit --name=foo --environment="http_proxy=http://bar/";


-- 
Michael Gliwinski
Henderson Group Information Services
9-11 Hightown Avenue, Newtownabby, BT36 4RT
Phone: 028 9034 3319

**
The information in this email is confidential and may be legally privileged.  
It is intended solely for the addressee and access to the email by anyone else 
is unauthorised.
If you are not the intended recipient, any disclosure, copying, distribution or 
any action taken or omitted to be taken in reliance on it, is prohibited and 
may be unlawful.
When addressed to our clients, any opinions or advice contained in this e-mail 
are subject to the terms and conditions expressed  in the governing client 
engagement leter or contract.
If you have received this email in error please notify 
supp...@henderson-group.com

John Henderson (Holdings) Ltd
Registered office: 9 Hightown Avenue, Mallusk, County Antrim, Northern Ireland, 
BT36 4RT.
Registered in Northern Ireland
Registration Number NI010588
Vat No.: 814 6399 12
*

___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler sync error

2012-04-04 Thread Michael Hughes
Thanks for the suggestions. I was seeing "Could not reliably determine
the server's fully qualified domain name" in the Apache2 log files.
Adding localhost to httpd.conf may have resolved that.

Also seeing "[error] python_init: Python version mismatch, expected
'2.7.2+', found '2.7.3rc2'." Is it safe to assume this is a minor
complaint? Is it also safe to assume that Apache must be fine if I can
wget my index.html file? Apache's error.log ends with: "resuming
normal operations" if that says anything...


On Wed, Apr 4, 2012 at 4:45 AM, Stuart Sears  wrote:
> On Tue, 3 Apr 2012 17:42:05 -0500, James Cammarata wrote:
>>
>> On Tue, Apr 3, 2012 at 4:51 PM, Michael Hughes  wrote:
>>>
>>> Hi Cobblers :)
>>>
>>> I followed the steps on
>>>
>>>
>>> https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuServerGuide
>>> to install a functional Orchestra system and brought up two servers
>>> (yea!) I am running Precise x86_64.
>>>
>>> I'm trying to understand Cobbler and ran 'cobbler check' which
>>> returned two anomalies. I don't recall the exact problems and they've
>>> long scrolled out of the buffer, but one suggestion was to restart
>>> cobblerd, which I did, and the other suggested running 'cobbler sync'.
>>> I did so and received this error:
>>>
>>> $ sudo cobbler-sync
>>> Traceback (most recent call last):
>>>  File "/usr/bin/cobbler", line 35, in 
>>>    sys.exit(app.main())
>>>  File "/usr/lib/python2.7/dist-packages/cobbler/cli.py", line 543, in
>>> main
>>>    rc = cli.run(sys.argv)
>>>  File "/usr/lib/python2.7/dist-packages/cobbler/cli.py", line 197, in run
>>>    self.token         = self.remote.login("", self.shared_secret)
>>>  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
>>>    return self.__send(self.__name, args)
>>>  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
>>>    verbose=self.__verbose
>>>  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
>>>    return self.single_request(host, handler, request_body, verbose)
>>>  File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
>>>    return self.parse_response(response)
>>>  File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
>>>    return u.close()
>>>  File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
>>>    raise Fault(**self._stack[0])
>>> xmlrpclib.Fault: :'login
>>> failed'">
>>> $
>>>
>>> Now when I attempt to run 'cobbler check' I get a similar error to the
>>> above rather than the sane response I got the first time.
>>>
>>> As a side note, I am unable to log into the new nodes. I tried several
>>> variants of passwords, (root/cobbler, etc.) but am not able to.
>>>
>>> Any hints appreciated!
>>
>>
>> It would seem to be an incorrect authn module, or maybe selinux
>> blocking access to the session directory for apache.
>
>
> If it's on ubuntu, SELinux is unlikely to be the culprit - I'd be looking at
> the authn settings as JC suggests.
>
> look at the apache error logs too, to rule out permissions issues.
>
> Stuart
> --
> Stuart Sears RHCA etc.
> "It's today!" said Piglet.
> "My favourite day," said Pooh.
>
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


[cobbler] cobbler sync error

2012-04-03 Thread Michael Hughes
Hi Cobblers :)

I followed the steps on
https://wiki.ubuntu.com/DocumentationTeam/SystemDocumentation/UbuntuServerGuide
to install a functional Orchestra system and brought up two servers
(yea!) I am running Precise x86_64.

I'm trying to understand Cobbler and ran 'cobbler check' which
returned two anomalies. I don't recall the exact problems and they've
long scrolled out of the buffer, but one suggestion was to restart
cobblerd, which I did, and the other suggested running 'cobbler sync'.
I did so and received this error:

$ sudo cobbler-sync
Traceback (most recent call last):
  File "/usr/bin/cobbler", line 35, in 
sys.exit(app.main())
  File "/usr/lib/python2.7/dist-packages/cobbler/cli.py", line 543, in main
rc = cli.run(sys.argv)
  File "/usr/lib/python2.7/dist-packages/cobbler/cli.py", line 197, in run
self.token = self.remote.login("", self.shared_secret)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1224, in __call__
return self.__send(self.__name, args)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1578, in __request
verbose=self.__verbose
  File "/usr/lib/python2.7/xmlrpclib.py", line 1264, in request
return self.single_request(host, handler, request_body, verbose)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1297, in single_request
return self.parse_response(response)
  File "/usr/lib/python2.7/xmlrpclib.py", line 1473, in parse_response
return u.close()
  File "/usr/lib/python2.7/xmlrpclib.py", line 793, in close
raise Fault(**self._stack[0])
xmlrpclib.Fault: :'login failed'">
$

Now when I attempt to run 'cobbler check' I get a similar error to the
above rather than the sane response I got the first time.

As a side note, I am unable to log into the new nodes. I tried several
variants of passwords, (root/cobbler, etc.) but am not able to.

Any hints appreciated!
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Cobbler in the cloud

2012-03-10 Thread Michael DeHaan
I'll chime in here.

The virt "image" support in cobbler is pretty well tacked on -- it was
originally developed to just track a library of images on NFS (crazy
feature request that I maybe shouldn't have accepted) and I don't
think it's very useful for that.  It mostly likes to deploy things via
kickstart installation, which will typically take maybe an extra 5
minutes per install versus an image.

Cobbler is well suited to deploying the open source hypervisors UNDER
a cloud, though, which is more or less what Ubuntu Orchestra
customized Cobbler to do for I guess Xen or KVM.   It's basically just
a reskinned Cobbler with some kickstarts and helper scripts (to the
point where I think there's no reason why that's a seperate project
with all the UI branding -- it could have just been a few scripts).

If your cloud solution allows you to set a MAC address in advance (I
believe RHEV does this), it's possible to PXE boot cloud nodes with
Cobbler (or maybe it allows pasting in kernel params like ks=).  I
forget, but people have done this.   Not all of the clouds require
images.

For a long time I had considered a rudimentary cloud module in Cobbler
that just kept up with the number of VMs on various nodes and their
free storage and decided where to run a koan command to 'place' the
install.   That's nothing like vcenter/ESX though and would only be
appropriate for small lab cases.  (Hmm, maybe something you could do
with Ansible?)

Anyhow, I hope that helps?

On Sat, Mar 10, 2012 at 2:05 AM, James Cammarata  wrote:
> On Fri, Mar 9, 2012 at 10:12 AM, Ronald J. Yacketta
>  wrote:
>> Hello all!
>>
>> Currently working on a R&D Cloud project evaluating various OpenSource Cloud
>> solutions. While playing around with Eucalyptus and OpenStack I was
>> wondering if their was a way to integrate Cobbler with either solution to
>> create the required guest vm's.
>>
>> Has anyone traveled down this road before? if so, might you provide some
>> insight / url's or other documentation?
>
> Right now, cobbler is mostly useful for building and maintaining the
> images you would deploy into the cloud. Alternatively, if you deploy a
> simple image that just does a netboot, you can deploy a much simpler
> image into your cloud and customize it via cobbler.
>
> Ideally though, I would like to see libcloud support added to koan, so
> that you could deploy images directly without any extra steps (which
> is on my todo list).
> ___
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://fedorahosted.org/mailman/listinfo/cobbler
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler


  1   2   3   4   5   6   7   8   9   10   >