Rainer Duffner | 24 May 2013 16:24
Picon

cobbler 2.4 and ubuntu12

Hi,

I've installed a brand-new cobbler 2.4b5 server on centos6-amd64.
I need to install a couple of Ubuntu12 servers with it.
I've never installed Ubuntu before, much less via cobbler - so I'd be
grateful for some advice.

The idea is to:
 - install via eth1
 - leave eth0 alone, or better, already give it the "final"
   configuration, via cobbler

This works on my CentOS and RedHat installs on my "old" cobbler 2.2.3
server.
Obviously, it's not so simple with Ubuntu.

I've taken the sample.preseed file and adapted it minimally.

One problem I have is:
 - if I try to enter the default gateway in the cobbler-webgui
   (Networking (Global)), I get problem that all leases are abandoned
   because somehow the interface is "up" before it gets an IP via DHCP
 - so, I try to set the default-gateway via a kickstart meta-parameter
 - the install then continues, but after the reboot, eth0 is not
   configured (neither is /etc/resolv.conf)
 - is one then supposed to run some sort of post-install script that
   "fixes" the network-configuration?

I use
$SNIPPET('network_noncore_deb')
(Continue reading)

Ronald J. Yacketta | 17 May 2013 14:37

cobbler repo sync

Has anyone noticed that repo sync seems to die if the task log is rotated from underneath it? Been fighting to
sync ~20 repo's locally and every morning I come in the past week reposync has died between 3:10 - 3:330, an
strace of the process shows its just polling away waiting for something. Just disabled logrotate for
/var/log/cobbler/task/* to see if that resolves the sync issue.

-Ron
_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
Amnon Cohen | 15 May 2013 14:43
Picon

Cobbler 2.4 and 1.2.5 interoperability

Can a 2.4 cobbler server replicate from a version 1.2.5 cobbler master?

What about the other way round?

Thanks,
    Amnon
_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
James Cammarata | 14 May 2013 20:11
Favicon
Gravatar

Re: help with import

On Tue, May 14, 2013 at 1:01 PM, David Birdsong <david.birdsong <at> gmail.com> wrote:

On Tue, May 14, 2013 at 10:46 AM, James Cammarata <jimi <at> sngx.net> wrote:
On Tue, May 14, 2013 at 12:42 PM, Harry Hoffman <hhoffman <at> ip-solutions.net> wrote:
Can you post the command and args you used to do the import?

Also, can you verify that you're using the full DVD ISO and not the minimal or netboot version? 

I'm just importing all of our yum repos. Did I misunderstand that cobbler could and should manage arbitrary yum repos?

To provide more backstory, I've setup all the default yum repositories for centos 6.3, added the epel repo, and then added our custom rpm's repo.

I've got DHCPD/TFTPD/PXE + kickstart working for automating installs, but I'm learning about cobbler and hoping to move all of that into cobbler.

Importing our yum repos was one of my first steps in learning cobbler.


Yes, import is for distributions only. For repos you'll want to use "cobbler repo add" with the details for each repo.

_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
David Birdsong | 14 May 2013 20:03
Picon
Gravatar

Re: help with import

here's the log output from cobbler.log


On Tue, May 14, 2013 at 11:01 AM, David Birdsong <david.birdsong <at> gmail.com> wrote:



On Tue, May 14, 2013 at 10:46 AM, James Cammarata <jimi <at> sngx.net> wrote:
On Tue, May 14, 2013 at 12:42 PM, Harry Hoffman <hhoffman <at> ip-solutions.net> wrote:
Can you post the command and args you used to do the import?

Also, can you verify that you're using the full DVD ISO and not the minimal or netboot version? 

I'm just importing all of our yum repos. Did I misunderstand that cobbler could and should manage arbitrary yum repos?

To provide more backstory, I've setup all the default yum repositories for centos 6.3, added the epel repo, and then added our custom rpm's repo.

I've got DHCPD/TFTPD/PXE + kickstart working for automating installs, but I'm learning about cobbler and hoping to move all of that into cobbler.

Importing our yum repos was one of my first steps in learning cobbler.
 

_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler



_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
Alex Davies | 14 May 2013 12:50
Favicon

getVar - REMOTE_ADDR

Hi,

Is there a way to get the client IP retrieving the kickstart file (as opposed to the IP configured for a given system) in getVar in a snippet? Something like getVar(REMOTE_ADDR, None)

Thanks,

Alex
_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
David Birdsong | 11 May 2013 03:55
Picon
Gravatar

help with import

IRC was quiet,  re-posting...


I could use some help on importing my yum repo. i'm doing an rsync style, debug log shows rsync completes, but the command line returns 'TASK FAILED'.

cobbler.log shows: "INFO | No import managers found a valid signature at the location specified" among other non-interesting log lines.

My packages are signed, the local rpm db has the public keys imported. Is there a way to import the keys to cobbler separately?
_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
Ronald J. Yacketta | 8 May 2013 20:00

Cobbler not sending e-mails

Trying to figure out why I am not getting e-mails from profile / system installs. Found a patch and applied it
then compared my KS file to the default one left behind during a fresh install.

After a profile / system is installed the install.log just shows a state of 'stop' and never gets a 'finish'
which I think is why e-mails are not being sent, am able to send e-mails from the cobbler server and not
seeing any Exceptions in cobbler.log.

==KS %post==

%post
(
$SNIPPET('log_ks_post')
echo "Post-Install section begins.."
sleep 15
$yum_config_stanza
$SNIPPET('post_install_network_config')
$SNIPPET('post_install_kernel_options')
$SNIPPET('cobbler_register')
$SNIPPET('post_anamon')
$SNIPPET('kickstart_done')
) 2>&1 | tee  /root/post-install.log
%end

==install.log==
profile SL-6.3-x86_64   10.137.24.163   start   1367956120.14
profile SL-6.3-x86_64   10.137.24.163   stop    1367956688.33

==http access.log==
10.137.24.163 - - [07/May/2013:15:58:08 -0400] "GET
/cblr/svc/op/trig/mode/post/profile/SL-6.3-x86_64 HTTP/1.0" 200 4 "-" "Wget/1.12 (linux
-gnu)"

==cobbler.log==
Tue May  7 15:58:08 2013 - INFO | REMOTE run_install_triggers; user(?)
Tue May  7 15:58:08 2013 - DEBUG | running python triggers from /var/lib/cobbler/triggers/install/post/*
Tue May  7 15:58:08 2013 - DEBUG | running python trigger cobbler.modules.install_post_puppet
Tue May  7 15:58:08 2013 - DEBUG | running python trigger cobbler.modules.install_post_report
Tue May  7 15:58:08 2013 - DEBUG | running python trigger cobbler.modules.install_post_power
Tue May  7 15:58:08 2013 - DEBUG | running python trigger cobbler.modules.install_post_log

_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
Saleh, Sami | 8 May 2013 19:48
Picon
Favicon

DJANGO_SETTINGS_MODULE

I'm trying to setup cobbler on a CentOS 6.3 instance.  I'm at a point where I am trying to access Cobbler via the web interface.  I login and I get the following error:

ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined.

How to fix that?  Thanks in advance.
“This message (including any attachments) is intended only for the use of the individual or entity to which it is addressed, and may contain information that is non-public, proprietary, privileged, confidential and exempt from disclosure under applicable law or may be constituted as attorney work product. If you are not the intended recipient, you are hereby notified that any use, dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this message in error, notify sender immediately and delete this message immediately.”
_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
David Lee | 3 May 2013 10:44
Favicon

cobbler repo add --mirror=url: multiple URLs?

(cobbler 2.0.11; old; we could upgrade...)  RedHat systems.

We have a local repo of additional RPMs, so we linked cobbler to this via:
    cobbler repo add --mirror=url ...

That works fine.

But it would also be useful if that URL specification could refer to a set of URLs.  We maintain additional
copies of this repo for resilience on multiple machines, and set up our clients' yum to use "mirrorlist". 
But is there a way for cobbler, when installing a client, also to have such a list available to it, rather
than just the one "--mirror=url"?

-- David Lee
_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler
Picon
Favicon

Cobbler 2.4

I have several questions concerning Cobbler 2.4
 
  1. Approximately when will thwe production version of Cobbler 2.4 be released?
  2. How does one get the rpm's for 2.4 beta 3?
  3. What precautions need to be taken when upgrading from 2.2.3 to 2.4?
  4. Should 2.4 be able to do an automated install of ESXi 5.1?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Stuart J. Newman
Engineer 4; Systems

Solar Dynamics Observatory (SDO)

 

Honeywell Technology Solutions Inc

NASA/Goddard Space Flight Center

Building 14, Room E222

Mail Stop 428.2

Greenbelt, MD 20771

 

Office: (301) 286-5145

EMail: Stuart.J.Newman <at> nasa.gov

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NOTICE: This communication, including any attachment, contains information that may be confidential or privileged, and is intended solely for the entity or individual to whom it is addressed.  If you are not the intended recipient, please notify the sender at once, and you should delete this message and are hereby notified that any disclosure, copying, or distribution of this message is strictly prohibited.  Nothing in this email, including any attachment, is intended to be a legally binding signature.

 

_______________________________________________
cobbler mailing list
cobbler <at> lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler

Gmane