Re: [cobbler] Enable IPv6 in snippets/post_install_network_config

2015-01-30 Thread Alan Evangelista

On 01/29/2015 08:27 AM, Jennifer Patrick wrote:

Just wondering if flicking the line in:
http://fossies.org/linux/cobbler/snippets/post_install_network_config

from:
#set $enableipv6 = False
To :
#set $enableipv6 = True
Will allow me to enable IPv6 doing a cobbler system edit on an interface.  Or 
if there's more that I'm missing out on?  I'm really just trying to spec out 
the IPv6 address when doing manual edits, which are called by another in-house 
program.


You do not need to edit existing snippets, just need to set ipv6 
attributes in the

system's network interface (via web UI or CLI). Am I missing something here?


Regards,
Alan Evangelista

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


Re: [cobbler] cobbler import

2015-01-30 Thread Alan Evangelista

On 01/29/2015 05:02 PM, Magee, Fred wrote:


I am running Cobbler 2.6.3 and I have mounted the source directory on 
/mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler 
import I get:


cobbler import --path=/mnt --name redhat

task started: 2015-01-29_115144_import

task started (id=Media import, time=Thu Jan 29 11:51:44 2015)

No signature matched in /var/www/cobbler/ks_mirror/redhat

!!! TASK FAILED !!!

The relevant section of distro_signatures.json is:

redhat: {

  rhel5: {

signatures:[RedHat,Server,CentOS,Client],

version_file:(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)\\.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.ks,

kernel_options:,

kernel_options_post:,

boot_files:[]

   },

What am I missing for import to recognize the signature for this release?



I'd guess Cobbler is not finding the signature dir (one of the values in 
signatures list) or the version file

in the mounted ISO.

Task log is in /var/log/cobbler/tasks. Could you paste this task log in 
a pastebin and send us its URL?

Then I can help further.


Regards,
Alan Evangelista

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


Re: [cobbler] Enable IPv6 in snippets/post_install_network_config

2015-01-30 Thread Jennifer Patrick
If I'm doing it via the CLI, what's the proper nomenclature for setting up
and IP address /gateway/  subnet?

Thanks!


On Fri, Jan 30, 2015 at 10:27 AM, Alan Evangelista 
ala...@linux.vnet.ibm.com wrote:

 On 01/29/2015 08:27 AM, Jennifer Patrick wrote:

 Just wondering if flicking the line in:
 http://fossies.org/linux/cobbler/snippets/post_install_network_config

 from:
 #set $enableipv6 = False
 To :
 #set $enableipv6 = True
 Will allow me to enable IPv6 doing a cobbler system edit on an
 interface.  Or if there's more that I'm missing out on?  I'm really just
 trying to spec out the IPv6 address when doing manual edits, which are
 called by another in-house program.


 You do not need to edit existing snippets, just need to set ipv6
 attributes in the
 system's network interface (via web UI or CLI). Am I missing something
 here?


 Regards,
 Alan Evangelista

 ___
 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


[cobbler] SELINUX denials cobbler-2.6.7-1

2015-01-30 Thread Harry Hoffman
Hi All,

It seems that the selinux policy for cobbler needs some updates:

#= cobblerd_t ==
allow cobblerd_t cert_t:dir search;
allow cobblerd_t cert_t:file { read getattr open };
allow cobblerd_t cert_t:lnk_file read;
allow cobblerd_t etc_t:file write;
allow cobblerd_t slapd_cert_t:dir { getattr search };
allow cobblerd_t slapd_cert_t:file { read getattr open };
allow cobblerd_t tftpdir_rw_t:dir rmdir;
allow cobblerd_t tftpdir_rw_t:file { getattr unlink };


The cert and slapd is for ldap authentication and is optional but should
probably be part of the policy. The tftpdir stuff I think should've been
included as a default, no?

Here's the audit2why output
[root@cobbler ~]# audit2why -li /var/log/audit/audit.log
type=AVC msg=audit(1422644949.550:25): avc:  denied  { getattr } for
pid=1431 comm=cobblerd path=/etc/openldap/certs dev=dm-0 ino=786670
scontext=system_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:slapd_cert_t:s0 tclass=dir

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422644949.587:26): avc:  denied  { search } for
pid=1431 comm=cobblerd name=pki dev=dm-0 ino=786478
scontext=system_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:cert_t:s0 tclass=dir

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422644949.587:27): avc:  denied  { getattr } for
pid=1431 comm=cobblerd path=/etc/openldap/certs dev=dm-0 ino=786670
scontext=system_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:slapd_cert_t:s0 tclass=dir

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422644949.587:28): avc:  denied  { getattr } for
pid=1431 comm=cobblerd path=/etc/openldap/certs dev=dm-0 ino=786670
scontext=system_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:slapd_cert_t:s0 tclass=dir

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422645107.788:30): avc:  denied  { getattr } for
pid=1492 comm=cobblerd path=/etc/openldap/certs dev=dm-0 ino=786670
scontext=unconfined_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:slapd_cert_t:s0 tclass=dir

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422645107.793:31): avc:  denied  { search } for
pid=1492 comm=cobblerd name=certs dev=dm-0 ino=786670
scontext=unconfined_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:slapd_cert_t:s0 tclass=dir

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422645107.793:31): avc:  denied  { getattr } for
pid=1492 comm=cobblerd path=/etc/openldap/certs/secmod.db dev=dm-0
ino=786673 scontext=unconfined_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:slapd_cert_t:s0 tclass=file

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422645107.794:32): avc:  denied  { read } for
pid=1492 comm=cobblerd name=secmod.db dev=dm-0 ino=786673
scontext=unconfined_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:slapd_cert_t:s0 tclass=file

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422645107.794:32): avc:  denied  { open } for
pid=1492 comm=cobblerd name=secmod.db dev=dm-0 ino=786673
scontext=unconfined_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:slapd_cert_t:s0 tclass=file

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422645107.833:33): avc:  denied  { search } for
pid=1492 comm=cobblerd name=pki dev=dm-0 ino=786478
scontext=unconfined_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:cert_t:s0 tclass=dir

Was caused by:
Missing type enforcement (TE) allow rule.

You can use audit2allow to generate a loadable module to allow 
this
access.

type=AVC msg=audit(1422645107.833:33): avc:  denied  { read } for
pid=1492 comm=cobblerd name=cert.pem dev=dm-0 ino=786546
scontext=unconfined_u:system_r:cobblerd_t:s0
tcontext=system_u:object_r:cert_t:s0 

Re: [cobbler] cobbler import

2015-01-30 Thread Matt Luettgen
160bytes?  Paste it inline
On Jan 30, 2015 9:49 AM, Magee, Fred fma...@cabq.gov wrote:

  I don't know how to paste into a pastebin. The file is less than 160
 bytes. Can I attach it to an email? If not, how do I do the pastebin
 procedure?

 Thanks.

 Fred Magee, DTM
 Systems Programmer
 (505)768-2978
 (505)768-4615 (Fax)
 (505)205-5753 (Cell)
 fma...@cabq.gov


 -Original Message-
 From: cobbler-boun...@lists.fedorahosted.org [mailto:
 cobbler-boun...@lists.fedorahosted.org] On Behalf Of Alan Evangelista
 Sent: Friday, January 30, 2015 8:44 AM
 To: cobbler@lists.fedorahosted.org
 Subject: Re: [cobbler] cobbler import

 On 01/29/2015 05:02 PM, Magee, Fred wrote:
 
  I am running Cobbler 2.6.3 and I have mounted the source directory on
  /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
  import I get:
 
  cobbler import --path=/mnt --name redhat
 
  task started: 2015-01-29_115144_import
 
  task started (id=Media import, time=Thu Jan 29 11:51:44 2015)
 
  No signature matched in /var/www/cobbler/ks_mirror/redhat
 
  !!! TASK FAILED !!!
 
  The relevant section of distro_signatures.json is:
 
  redhat: {
 
rhel5: {
 
  signatures:[RedHat,Server,CentOS,Client],
 
  version_file:(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
  \\.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.ks,
 
  kernel_options:,
 
  kernel_options_post:,
 
  boot_files:[]
 
 },
 
  What am I missing for import to recognize the signature for this release?
 

 I'd guess Cobbler is not finding the signature dir (one of the values in
 signatures list) or the version file in the mounted ISO.

 Task log is in /var/log/cobbler/tasks. Could you paste this task log in a
 pastebin and send us its URL?
 Then I can help further.


 Regards,
 Alan Evangelista

 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org

 https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwIGaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=bwV4hreIziObxzhJoPO1XrDKlwjl7tNT-CEwU5MAA-gs=XDvXGVByjGafVRAEbB_HUP0DOw8sJbQrxD9nCqVLtSUe=
 ___
 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 import

2015-01-30 Thread Matt Luettgen
cobbler signature update; cobbler signature report
On Jan 30, 2015 11:45 AM, Magee, Fred fma...@cabq.gov wrote:

  Here it is:



 Fri Jan 30 10:44:25 2015 - ERROR | No signature matched in
 /var/www/cobbler/ks_mirror/rhel-server-5.11

 Fri Jan 30 10:44:25 2015 - ERROR | ### TASK FAILED ###



 Fred Magee, DTM

 Systems Programmer

 (505)768-2978

 (505)768-4615 (Fax)

 (505)205-5753 (Cell)

 fma...@cabq.gov



 *From:* cobbler-boun...@lists.fedorahosted.org [mailto:
 cobbler-boun...@lists.fedorahosted.org] *On Behalf Of *Matt Luettgen
 *Sent:* Friday, January 30, 2015 10:41 AM
 *To:* cobbler mailing list
 *Subject:* Re: [cobbler] cobbler import



 160bytes?  Paste it inline

 On Jan 30, 2015 9:49 AM, Magee, Fred fma...@cabq.gov wrote:

  I don't know how to paste into a pastebin. The file is less than 160
 bytes. Can I attach it to an email? If not, how do I do the pastebin
 procedure?

 Thanks.

 Fred Magee, DTM
 Systems Programmer
 (505)768-2978
 (505)768-4615 (Fax)
 (505)205-5753 (Cell)
 fma...@cabq.gov


 -Original Message-
 From: cobbler-boun...@lists.fedorahosted.org [mailto:
 cobbler-boun...@lists.fedorahosted.org] On Behalf Of Alan Evangelista
 Sent: Friday, January 30, 2015 8:44 AM
 To: cobbler@lists.fedorahosted.org
 Subject: Re: [cobbler] cobbler import

 On 01/29/2015 05:02 PM, Magee, Fred wrote:
 
  I am running Cobbler 2.6.3 and I have mounted the source directory on
  /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
  import I get:
 
  cobbler import --path=/mnt --name redhat
 
  task started: 2015-01-29_115144_import
 
  task started (id=Media import, time=Thu Jan 29 11:51:44 2015)
 
  No signature matched in /var/www/cobbler/ks_mirror/redhat
 
  !!! TASK FAILED !!!
 
  The relevant section of distro_signatures.json is:
 
  redhat: {
 
rhel5: {
 
  signatures:[RedHat,Server,CentOS,Client],
 
  version_file:(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
  \\.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.ks,
 
  kernel_options:,
 
  kernel_options_post:,
 
  boot_files:[]
 
 },
 
  What am I missing for import to recognize the signature for this release?
 

 I'd guess Cobbler is not finding the signature dir (one of the values in
 signatures list) or the version file in the mounted ISO.

 Task log is in /var/log/cobbler/tasks. Could you paste this task log in a
 pastebin and send us its URL?
 Then I can help further.


 Regards,
 Alan Evangelista

 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org

 https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwIGaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=bwV4hreIziObxzhJoPO1XrDKlwjl7tNT-CEwU5MAA-gs=XDvXGVByjGafVRAEbB_HUP0DOw8sJbQrxD9nCqVLtSUe=
 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org
 https://lists.fedorahosted.org/mailman/listinfo/cobbler
 https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwMFaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=8UqvYu5a0alhVNoEvp2HirN9P-PRBHKjfXlX_zJ8SNMs=3_N24Nmra6l4ByTYkBy4X2kRC-qJrRQQ2ZMyTNtC6UUe=

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

2015-01-30 Thread Matt Luettgen
There is a redhat-release-foo.rpm file contained in the iso.
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import

2015-01-30 Thread Magee, Fred
The redhat section of the report is:

redhat:
cloudlinux6
fedora16
fedora17
fedora18
fedora19
fedora20
fedora21
rhel4
rhel5
rhel6
rhel7

Fred Magee, DTM
Systems Programmer
(505)768-2978
(505)768-4615 (Fax)
(505)205-5753 (Cell)
fma...@cabq.gov

From: cobbler-boun...@lists.fedorahosted.org 
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 10:56 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import


cobbler signature update; cobbler signature report
On Jan 30, 2015 11:45 AM, Magee, Fred 
fma...@cabq.govmailto:fma...@cabq.gov wrote:
Here it is:

Fri Jan 30 10:44:25 2015 - ERROR | No signature matched in 
/var/www/cobbler/ks_mirror/rhel-server-5.11
Fri Jan 30 10:44:25 2015 - ERROR | ### TASK FAILED ###

Fred Magee, DTM
Systems Programmer
(505)768-2978tel:%28505%29768-2978
(505)768-4615tel:%28505%29768-4615 (Fax)
(505)205-5753tel:%28505%29205-5753 (Cell)
fma...@cabq.govmailto:fma...@cabq.gov

From: 
cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org
 
[mailto:cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org]
 On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 10:41 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import


160bytes?  Paste it inline
On Jan 30, 2015 9:49 AM, Magee, Fred 
fma...@cabq.govmailto:fma...@cabq.gov wrote:
 I don't know how to paste into a pastebin. The file is less than 160 bytes. 
Can I attach it to an email? If not, how do I do the pastebin procedure?

Thanks.

Fred Magee, DTM
Systems Programmer
(505)768-2978tel:%28505%29768-2978
(505)768-4615tel:%28505%29768-4615 (Fax)
(505)205-5753tel:%28505%29205-5753 (Cell)
fma...@cabq.govmailto:fma...@cabq.gov


-Original Message-
From: 
cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org
 
[mailto:cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org]
 On Behalf Of Alan Evangelista
Sent: Friday, January 30, 2015 8:44 AM
To: cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org
Subject: Re: [cobbler] cobbler import

On 01/29/2015 05:02 PM, Magee, Fred wrote:

 I am running Cobbler 2.6.3 and I have mounted the source directory on
 /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
 import I get:

 cobbler import --path=/mnt --name redhat

 task started: 2015-01-29_115144_import

 task started (id=Media import, time=Thu Jan 29 11:51:44 2015)

 No signature matched in /var/www/cobbler/ks_mirror/redhat

 !!! TASK FAILED !!!

 The relevant section of distro_signatures.json is:

 redhat: {

   rhel5: {

 signatures:[RedHat,Server,CentOS,Client],

 version_file:(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
 \\.rpmfile:///\\.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(.*)\\.imgfile:///\\.img,

 isolinux_ok:false,

 default_kickstart:/var/lib/cobbler/kickstarts/sample.ks,

 kernel_options:,

 kernel_options_post:,

 boot_files:[]

},

 What am I missing for import to recognize the signature for this release?


I'd guess Cobbler is not finding the signature dir (one of the values in 
signatures list) or the version file in the mounted ISO.

Task log is in /var/log/cobbler/tasks. Could you paste this task log in a 
pastebin and send us its URL?
Then I can help further.


Regards,
Alan Evangelista

___
cobbler mailing list
cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwIGaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=bwV4hreIziObxzhJoPO1XrDKlwjl7tNT-CEwU5MAA-gs=XDvXGVByjGafVRAEbB_HUP0DOw8sJbQrxD9nCqVLtSUe=
___
cobbler mailing list
cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobblerhttps://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwMFaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=8UqvYu5a0alhVNoEvp2HirN9P-PRBHKjfXlX_zJ8SNMs=3_N24Nmra6l4ByTYkBy4X2kRC-qJrRQQ2ZMyTNtC6UUe=

___
cobbler mailing list
cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org

Re: [cobbler] cobbler import

2015-01-30 Thread Matt Luettgen
Sorry, should have reread your post before replying.  I am curious if your
redhat-release file lines up with the regex for version_file.
On Jan 30, 2015 11:59 AM, Magee, Fred fma...@cabq.gov wrote:

  The redhat section of the report is:



 redhat:

 cloudlinux6

 fedora16

 fedora17

 fedora18

 fedora19

 fedora20

 fedora21

 rhel4

 rhel5

 rhel6

 rhel7



 Fred Magee, DTM

 Systems Programmer

 (505)768-2978

 (505)768-4615 (Fax)

 (505)205-5753 (Cell)

 fma...@cabq.gov



 *From:* cobbler-boun...@lists.fedorahosted.org [mailto:
 cobbler-boun...@lists.fedorahosted.org] *On Behalf Of *Matt Luettgen
 *Sent:* Friday, January 30, 2015 10:56 AM
 *To:* cobbler mailing list
 *Subject:* Re: [cobbler] cobbler import



 cobbler signature update; cobbler signature report

 On Jan 30, 2015 11:45 AM, Magee, Fred fma...@cabq.gov wrote:

 Here it is:



 Fri Jan 30 10:44:25 2015 - ERROR | No signature matched in
 /var/www/cobbler/ks_mirror/rhel-server-5.11

 Fri Jan 30 10:44:25 2015 - ERROR | ### TASK FAILED ###



 Fred Magee, DTM

 Systems Programmer

 (505)768-2978

 (505)768-4615 (Fax)

 (505)205-5753 (Cell)

 fma...@cabq.gov



 *From:* cobbler-boun...@lists.fedorahosted.org [mailto:
 cobbler-boun...@lists.fedorahosted.org] *On Behalf Of *Matt Luettgen
 *Sent:* Friday, January 30, 2015 10:41 AM
 *To:* cobbler mailing list
 *Subject:* Re: [cobbler] cobbler import



 160bytes?  Paste it inline

 On Jan 30, 2015 9:49 AM, Magee, Fred fma...@cabq.gov wrote:

  I don't know how to paste into a pastebin. The file is less than 160
 bytes. Can I attach it to an email? If not, how do I do the pastebin
 procedure?

 Thanks.

 Fred Magee, DTM
 Systems Programmer
 (505)768-2978
 (505)768-4615 (Fax)
 (505)205-5753 (Cell)
 fma...@cabq.gov


 -Original Message-
 From: cobbler-boun...@lists.fedorahosted.org [mailto:
 cobbler-boun...@lists.fedorahosted.org] On Behalf Of Alan Evangelista
 Sent: Friday, January 30, 2015 8:44 AM
 To: cobbler@lists.fedorahosted.org
 Subject: Re: [cobbler] cobbler import

 On 01/29/2015 05:02 PM, Magee, Fred wrote:
 
  I am running Cobbler 2.6.3 and I have mounted the source directory on
  /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
  import I get:
 
  cobbler import --path=/mnt --name redhat
 
  task started: 2015-01-29_115144_import
 
  task started (id=Media import, time=Thu Jan 29 11:51:44 2015)
 
  No signature matched in /var/www/cobbler/ks_mirror/redhat
 
  !!! TASK FAILED !!!
 
  The relevant section of distro_signatures.json is:
 
  redhat: {
 
rhel5: {
 
  signatures:[RedHat,Server,CentOS,Client],
 
  version_file:(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
  \\.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.ks,
 
  kernel_options:,
 
  kernel_options_post:,
 
  boot_files:[]
 
 },
 
  What am I missing for import to recognize the signature for this release?
 

 I'd guess Cobbler is not finding the signature dir (one of the values in
 signatures list) or the version file in the mounted ISO.

 Task log is in /var/log/cobbler/tasks. Could you paste this task log in a
 pastebin and send us its URL?
 Then I can help further.


 Regards,
 Alan Evangelista

 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org

 https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwIGaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=bwV4hreIziObxzhJoPO1XrDKlwjl7tNT-CEwU5MAA-gs=XDvXGVByjGafVRAEbB_HUP0DOw8sJbQrxD9nCqVLtSUe=
 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org
 https://lists.fedorahosted.org/mailman/listinfo/cobbler
 https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwMFaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=8UqvYu5a0alhVNoEvp2HirN9P-PRBHKjfXlX_zJ8SNMs=3_N24Nmra6l4ByTYkBy4X2kRC-qJrRQQ2ZMyTNtC6UUe=


 ___
 cobbler mailing list
 cobbler@lists.fedorahosted.org
 https://lists.fedorahosted.org/mailman/listinfo/cobbler
 https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwMFaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=fDkW2ZED2caFdwmVHKYljj78DocDSWZ72aZwZHxsIf8s=gXTSxewanM6WljSof1Vthh_jBy5vJHJQns8gFzyiFm4e=

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



Re: [cobbler] cobbler import

2015-01-30 Thread Magee, Fred
Here it is:

Fri Jan 30 10:44:25 2015 - ERROR | No signature matched in 
/var/www/cobbler/ks_mirror/rhel-server-5.11
Fri Jan 30 10:44:25 2015 - ERROR | ### TASK FAILED ###

Fred Magee, DTM
Systems Programmer
(505)768-2978
(505)768-4615 (Fax)
(505)205-5753 (Cell)
fma...@cabq.gov

From: cobbler-boun...@lists.fedorahosted.org 
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 10:41 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import


160bytes?  Paste it inline
On Jan 30, 2015 9:49 AM, Magee, Fred 
fma...@cabq.govmailto:fma...@cabq.gov wrote:
 I don't know how to paste into a pastebin. The file is less than 160 bytes. 
Can I attach it to an email? If not, how do I do the pastebin procedure?

Thanks.

Fred Magee, DTM
Systems Programmer
(505)768-2978tel:%28505%29768-2978
(505)768-4615tel:%28505%29768-4615 (Fax)
(505)205-5753tel:%28505%29205-5753 (Cell)
fma...@cabq.govmailto:fma...@cabq.gov


-Original Message-
From: 
cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org
 
[mailto:cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org]
 On Behalf Of Alan Evangelista
Sent: Friday, January 30, 2015 8:44 AM
To: cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org
Subject: Re: [cobbler] cobbler import

On 01/29/2015 05:02 PM, Magee, Fred wrote:

 I am running Cobbler 2.6.3 and I have mounted the source directory on
 /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
 import I get:

 cobbler import --path=/mnt --name redhat

 task started: 2015-01-29_115144_import

 task started (id=Media import, time=Thu Jan 29 11:51:44 2015)

 No signature matched in /var/www/cobbler/ks_mirror/redhat

 !!! TASK FAILED !!!

 The relevant section of distro_signatures.json is:

 redhat: {

   rhel5: {

 signatures:[RedHat,Server,CentOS,Client],

 version_file:(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
 \\.rpmfile:///\\.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(.*)\\.imgfile:///\\.img,

 isolinux_ok:false,

 default_kickstart:/var/lib/cobbler/kickstarts/sample.ks,

 kernel_options:,

 kernel_options_post:,

 boot_files:[]

},

 What am I missing for import to recognize the signature for this release?


I'd guess Cobbler is not finding the signature dir (one of the values in 
signatures list) or the version file in the mounted ISO.

Task log is in /var/log/cobbler/tasks. Could you paste this task log in a 
pastebin and send us its URL?
Then I can help further.


Regards,
Alan Evangelista

___
cobbler mailing list
cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org
https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwIGaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=bwV4hreIziObxzhJoPO1XrDKlwjl7tNT-CEwU5MAA-gs=XDvXGVByjGafVRAEbB_HUP0DOw8sJbQrxD9nCqVLtSUe=
___
cobbler mailing list
cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobblerhttps://urldefense.proofpoint.com/v2/url?u=https-3A__lists.fedorahosted.org_mailman_listinfo_cobblerd=AwMFaQc=nQp_iw8Uzq1sgzSGIdF1j6KNEFgmuezNMJJZgU0t45gr=SDPgqkdwVVgWMz7UgYvYcwm=8UqvYu5a0alhVNoEvp2HirN9P-PRBHKjfXlX_zJ8SNMs=3_N24Nmra6l4ByTYkBy4X2kRC-qJrRQQ2ZMyTNtC6UUe=
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] cobbler import

2015-01-30 Thread Magee, Fred
I’ve been trying to puzzle out the regex in the version file but our iso is 
rhel-server-5.11-i386-dvd.iso. This doesn’t look much like the regex in the 
file and my attempts to modify it have all failed.

Fred Magee, DTM
Systems Programmer
(505)768-2978
(505)768-4615 (Fax)
(505)205-5753 (Cell)
fma...@cabq.gov

From: cobbler-boun...@lists.fedorahosted.org 
[mailto:cobbler-boun...@lists.fedorahosted.org] On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 11:13 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import


Sorry, should have reread your post before replying.  I am curious if your 
redhat-release file lines up with the regex for version_file.
On Jan 30, 2015 11:59 AM, Magee, Fred 
fma...@cabq.govmailto:fma...@cabq.gov wrote:
The redhat section of the report is:

redhat:
cloudlinux6
fedora16
fedora17
fedora18
fedora19
fedora20
fedora21
rhel4
rhel5
rhel6
rhel7

Fred Magee, DTM
Systems Programmer
(505)768-2978tel:%28505%29768-2978
(505)768-4615tel:%28505%29768-4615 (Fax)
(505)205-5753tel:%28505%29205-5753 (Cell)
fma...@cabq.govmailto:fma...@cabq.gov

From: 
cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org
 
[mailto:cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org]
 On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 10:56 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import


cobbler signature update; cobbler signature report
On Jan 30, 2015 11:45 AM, Magee, Fred 
fma...@cabq.govmailto:fma...@cabq.gov wrote:
Here it is:

Fri Jan 30 10:44:25 2015 - ERROR | No signature matched in 
/var/www/cobbler/ks_mirror/rhel-server-5.11
Fri Jan 30 10:44:25 2015 - ERROR | ### TASK FAILED ###

Fred Magee, DTM
Systems Programmer
(505)768-2978tel:%28505%29768-2978
(505)768-4615tel:%28505%29768-4615 (Fax)
(505)205-5753tel:%28505%29205-5753 (Cell)
fma...@cabq.govmailto:fma...@cabq.gov

From: 
cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org
 
[mailto:cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org]
 On Behalf Of Matt Luettgen
Sent: Friday, January 30, 2015 10:41 AM
To: cobbler mailing list
Subject: Re: [cobbler] cobbler import


160bytes?  Paste it inline
On Jan 30, 2015 9:49 AM, Magee, Fred 
fma...@cabq.govmailto:fma...@cabq.gov wrote:
 I don't know how to paste into a pastebin. The file is less than 160 bytes. 
Can I attach it to an email? If not, how do I do the pastebin procedure?

Thanks.

Fred Magee, DTM
Systems Programmer
(505)768-2978tel:%28505%29768-2978
(505)768-4615tel:%28505%29768-4615 (Fax)
(505)205-5753tel:%28505%29205-5753 (Cell)
fma...@cabq.govmailto:fma...@cabq.gov


-Original Message-
From: 
cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org
 
[mailto:cobbler-boun...@lists.fedorahosted.orgmailto:cobbler-boun...@lists.fedorahosted.org]
 On Behalf Of Alan Evangelista
Sent: Friday, January 30, 2015 8:44 AM
To: cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org
Subject: Re: [cobbler] cobbler import

On 01/29/2015 05:02 PM, Magee, Fred wrote:

 I am running Cobbler 2.6.3 and I have mounted the source directory on
 /mnt. My ISO is rhel-server-5.11-i386-dvd.iso. When I run cobbler
 import I get:

 cobbler import --path=/mnt --name redhat

 task started: 2015-01-29_115144_import

 task started (id=Media import, time=Thu Jan 29 11:51:44 2015)

 No signature matched in /var/www/cobbler/ks_mirror/redhat

 !!! TASK FAILED !!!

 The relevant section of distro_signatures.json is:

 redhat: {

   rhel5: {

 signatures:[RedHat,Server,CentOS,Client],

 version_file:(redhat|sl|centos)-release-5([^\\.][\\w]*)?[\\.-]+(.*)
 \\.rpmfile:///\\.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(.*)\\.imgfile:///\\.img,

 isolinux_ok:false,

 default_kickstart:/var/lib/cobbler/kickstarts/sample.ks,

 kernel_options:,

 kernel_options_post:,

 boot_files:[]

},

 What am I missing for import to recognize the signature for this release?


I'd guess Cobbler is not finding the signature dir (one of the values in 
signatures list) or the version file in the mounted ISO.

Task log is in /var/log/cobbler/tasks. Could you paste this task log in a 
pastebin and send us its URL?
Then I can help further.


Regards,
Alan Evangelista

___
cobbler mailing list
cobbler@lists.fedorahosted.orgmailto:cobbler@lists.fedorahosted.org

Re: [cobbler] SELINUX denials cobbler-2.6.7-1

2015-01-30 Thread Orion Poplawski

On 01/30/2015 03:15 PM, Harry Hoffman wrote:

Hi All,

It seems that the selinux policy for cobbler needs some updates:


You don't indicate what OS, but for Fedora/RHEL policy is in the 
selinux-policy component so you'll want to file a bug against that. 
There are already some open ones:


https://bugzilla.redhat.com/buglist.cgi?quicksearch=%3Aselinux-policy%20cobblerlist_id=3199475



--
Orion Poplawski
Technical Manager 303-415-9701 x222
NWRA/CoRA DivisionFAX: 303-415-9702
3380 Mitchell Lane  or...@cora.nwra.com
Boulder, CO 80301  http://www.cora.nwra.com
___
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler


Re: [cobbler] Mirroring SLES 12 repositories

2015-01-30 Thread Alan Evangelista

On 01/19/2015 04:05 PM, Joshua J. Kugler wrote:

So, with the release of SLES 12, Novell/SUSE has created a new way to access
their update repositories.

Instead of the easy-to-use

https://user:p...@nu.novell.com/repo/$RCE/SLE11-SDK-SP3-Updates/sle-11-x86_64

You now have to access updates.suse.com, and pass in a token obtained by
hitting their API (in other words, a token that expires).

This, of course, makes it impossible to mirror the repos in Bobbler (at least
to my knowledge).  Has anyone created a work-around yet to enable mirroring of
SLES 12 repos in cobbler?


I do not setup package repositories via Cobbler, so I have not noticed 
this. There is no

direct URL which can be used? What is setup in zypper conf file?

Do you have a URL with documentation about this new method used to 
access SLES update

repositories?


Regards,
Alan Evangelista

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


Re: [cobbler] Cobbler build email not working

2015-01-30 Thread Alan Evangelista

On 01/24/2015 01:47 AM, Jagga Soorma wrote:

I am trying to get cobbler to report via email once a system has been
provisioned and can't seem to get that working.  Here is what I have
changed in my settings file:

build_reporting_enabled: 1
build_reporting_sender: ja...@xxx.com
build_reporting_email: [ 'ja...@xxx.com' ]
build_reporting_smtp_server: smtp.xxx.com
build_reporting_subject: Cobbler01 - Build
build_reporting_ignorelist: [  ]

After making the above changes, per the documentation I did a cobbler
sync and restarted the cobblerd service.  However, I still can't get
it to send a email upon completion of a server build.  I do have
$SNIPPET('kickstart_done') at the end of my kickstart file and
cobbler status reports the finished state once the server has
completed the build process but I still don't see any emails.  I have
postfix setup on this cobbler server and can manually send out emails
just fine using mailx.  Do I need to do anything else to enable email
reporting?  Am I missing something here?


I do not use this Cobbler feature, so I do not know if it is working.

build_reporting_smtp_server is pointing to localhost? If so, could you 
pls run the code used by

Cobbler in a Python command line in your Cobbler server:

server_handle = smtplib.SMTP(smtp_server)
server_handle.sendmail(from_addr, to_addr_list, test)


Regards,
Alan Evangelista

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


Re: [cobbler] sub profiles in 2.6.7-1

2015-01-30 Thread Alan Evangelista

On 01/27/2015 08:46 PM, Harry Hoffman wrote:

I'm trying to find out if sub profiles have been fixed in 2.6.7-1


No. Reference: 
http://www.cobblerd.org/manuals/2.6.0/1/1_-_Release_Notes.html


What exactly is the problem? Is there an issue in Cobbler issue tracker 
about it?



Regards,
Alan Evangelista

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


Re: [cobbler] Cobbler on CentOS 7

2015-01-30 Thread Alan Evangelista

On 01/23/2015 09:00 PM, Sam Tresler wrote:
We are running it and it is working, but I just tried that command and 
you are correct. I can reproduce those results.


-Sam

On Fri, Jan 23, 2015 at 5:52 PM, Harry Hoffman 
hhoff...@ip-solutions.net mailto:hhoff...@ip-solutions.net wrote:


Hi All,

Wondering if anyone is running cobblerd on CentOS 7? It seems that the
debmirror package isn't available and running cobbler check
doesn't seem
to know what distribution it's running on, can't check httpd (even
though it's in the path

2 : Unknown distribution type, cannot check for running service
cobblerd
3 : file /etc/xinetd.d/rsync does not exist
4 : Apache (httpd) is not installed and/or in path
5 : debmirror package is not installed, it will be required to manage
debian deployments and repositories



5 seems valid to me. It does not matter if debmirror package is not 
available
in CentOS7 repositories, you will not be able to manage Debian distros 
without it.

4 seems a bug. Opened an issue at Cobbler issue tracker:

https://github.com/cobbler/cobbler/issues/1396

You probably can ignore those warnings for now.


Regards,
Alan Evangelista

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


Re: [cobbler] sub profiles in 2.6.7-1

2015-01-30 Thread Harry Hoffman
Hi Alan,

Sorry about that. This was a long standing issue where subprofiles
didn't properly inherit values from their parent profile.

I've been out of cobbler for a little bit and didn't see a bugfix listed
when I checked. I'll setup a few subprofiles and test. If there's a
problem I'll report back.

Cheers,
Harry



On 1/30/15 9:35 AM, Alan Evangelista wrote:
 On 01/27/2015 08:46 PM, Harry Hoffman wrote:
 I'm trying to find out if sub profiles have been fixed in 2.6.7-1
 
 No. Reference:
 http://www.cobblerd.org/manuals/2.6.0/1/1_-_Release_Notes.html
 
 What exactly is the problem? Is there an issue in Cobbler issue tracker
 about it?
 
 
 Regards,
 Alan Evangelista
 
 ___
 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] Add repo not mirrored locally

2015-01-30 Thread Alan Evangelista

On 01/28/2015 07:57 AM, Personal Técnico wrote:
I have configured a new repo rdo-release, for OpenStack, but this 
new repo is not mirrored locally, so I suppose machines will receive 
the repo file in /etc/yum.conf.d but connections for downloading RPMs 
from that repo will be outgoing connections to the remote host (RDO). 


Regarding mirror locally, you are correct. It specifies if remote 
package repository is mirrored in the Cobbler server;
if it is not mirrored, target system will download RPMs from remote 
package repository.


Regarding the outcome of assigning a repository to a system in Cobbler 
(via profile)...
First, I suppose you meant /etc/yum.repos.d  instead of 
/etc/yum.conf.d above. For each
associated repository, Cobbler creates a --repo directive in the 
kickstart file.

I have never used this directive and Anaconda documentation
 (http://fedoraproject.org/wiki/Anaconda/Kickstart#repo) is not 
completely clear if
this directive (1) adds the repos to /etc/yum.repos.d in installed 
system or (2) adds the repos
to installation system and installs all packages in all defined repos. 
iirc it does

the latter, which explains your problem with free space.

Also, I see a ServerFault question about this:
http://serverfault.com/questions/315313/installing-yum-repositories-that-are-specified-in-kickstart-file


Regards,
Alan Evangelista

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


Re: [cobbler] Supporting multiple OS versions

2015-01-30 Thread Alan Evangelista
On 01/08/2015 01:10 PM, Newman, Stuart J. (GSFC-428.0)[HONEYWELL 
TECHNOLOGY SOLUTIONS INC] wrote:


Can cobbler create and maintain mirrors for both RHEL5 and RHEL 6 on 
the same server?




In Cobbler, you can mirror distribution installation trees and 
distribution repositories. Which one you
are talking about? Installation trees are mirrored creating distro 
objects manually or using distro import

feature.  Repositories are mirrored creating repo objects.

You had any specific issue when trying to mirror installation 
trees/repositories for RHEL 5 and 6?



Regards,
Alan Evangelista

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


Re: [cobbler] booting VM host to network

2015-01-30 Thread Alan Evangelista

On 01/09/2015 11:17 PM, johny casanova wrote:
I set up all the configuration and trying to use the auto install of 
OS to a few VMs. I tried first on virtualbox and I get an error. 
nothing to boot: no such file or directory http://ipxe.org/2d03e13b


Then I tried on vmware player and get this screenshot attached.


In Cobbler server, check if the pxelinux.cfg/01-00-29-4b-13-cf is 
available in your
TFTP server's root directory,  if TFTP server is enabled in 
/etc/xinetd.d/tftp and if

xinetd service is up.


Regards,
Alan Evangelista

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


Re: [cobbler] Configuring IPv6 on Bonded Nics in Cobbler?

2015-01-30 Thread Alan Evangelista

On 01/06/2015 07:06 PM, Jennifer Patrick wrote:
Just wondering from the command line, what would be the proper 
nomenclature for configuring IPv6 to sit on a bonded interface?  
Currently we do a IPv4 setup like so:



	cobbler system edit --name=001234567890 --profile=UBUNTU14 
--status=production --hostname=HOST1-SITE '--comment=THIS IS A TEST' 
--netboot-enabled=true


	cobbler system edit --name=001234567890 --interface=bond0 --static=1 
--dns-name=HOST1-SITE.EXAMPLE.COM http://HOST1-SITE.EXAMPLE.COM


	cobbler system edit --name=001234567890 --interface=bond0-100 
--ip-address=192.168.1.3 --static=1 --netmask=255.255.255.224 
--if-gateway=192.168.1.1 '--name-servers=192.168.1.4. 192.168.1.5'


	cobbler system edit --name=001234567890 --interface=bond0-200 
--ip-address=10.1.2.3 --static=1 --netmask=255.255.255.0 
--static-routes=10.0.0.0/8:10.1.2.1 http://10.0.0.0/8:10.1.2.1


cobbler system reboot --name=001234567890




1) Looking at the network interfaces names above , it seems to me you'd 
want to have bond0-100 and bond0-200
bonded to bond0, but I dont see any bonding setup in your current ipv4 
setup. This is done using the --interface-type=bond
for master network interface and --interface-type=bond_slave for slave 
network interfaces.


2) I'm not very familiar with bonding, so someone correct me if I am 
wrong. afaik you cant bond network interfaces
using different IP protocol versions (ipv4 and ipv6). You'd need to 
assign ipv6 addresses to the existing network interfaces.


3) To setup a network interface with ipv6, use the --ipv6_* options in 
CLI or corresponding options in web UI


Bonding documentation: 
http://www.cobblerd.org/manuals/2.6.0/4/1/1_-_Bonding.html



Regards,
Alan Evangelista

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


Re: [cobbler] repositories for multiple RedHat OS versions

2015-01-30 Thread Alan Evangelista

On 01/13/2015 02:35 PM, Dan White wrote:
From trial  error, I found out that you can only mirror repositories 
that you can subscribe to.
I was trying to mirror both 32 bit and 64 bit repos on one server, but 
could only do one.


You should be able to mirror 32 and 64 bit repositories. This could be a 
bug.

Can you provide the associated error message and stack traceback
(in /var/log/cobbler/cobbler.log)?


Regards,
Alan Evangelista

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