packages from:
http://download.opensuse.org/repositories/home:/libertas-ict:/cobbler26/RedHat_RHEL-6/


On Wed, Jul 16, 2014 at 3:14 PM, Jörgen Maas <[email protected]> wrote:

> [root@cobbler-rhel6 cobbler]# cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 6.5 (Santiago)
>
> [root@cobbler-rhel6 cobbler]# rpm -q cobbler
> cobbler-2.6.2-19.1.noarch
>
> [root@cobbler-rhel6 cobbler]# cobbler check
>
> The following are potential configuration items that you may want to fix:
>
> 1 : SELinux is enabled. Please review the following wiki page for details
> on ensuring cobbler works correctly in your SELinux environment:
>     https://github.com/cobbler/cobbler/wiki/Selinux
> 2 : some network boot-loaders are missing from /var/lib/cobbler/loaders,
> you may run 'cobbler get-loaders' to download them, or, if you only want to
> handle x86/x86_64 netbooting, you may ensure that you have installed a
> *recent* version of the syslinux package installed and can ignore this
> message entirely.  Files in this directory, should you want to support all
> architectures, should include pxelinux.0, menu.c32, elilo.efi, and yaboot.
> The 'cobbler get-loaders' command is the easiest way to resolve these
> requirements.
> 3 : change 'disable' to 'no' in /etc/xinetd.d/rsync
>
> 4 : debmirror package is not installed, it will be required to manage
> debian deployments and repositories
> 5 : ksvalidator was not found, install pykickstart
> 6 : The default password used by the sample templates for newly installed
> machines (default_password_crypted in /etc/cobbler/settings) is still set
> to 'cobbler' and should be changed, try: "openssl passwd -1 -salt
> 'random-phrase-here' 'your-password-here'" to generate new one
>
> 7 : fencing tools were not found, and are required to use the (optional)
> power management features. install cman or fence-agents to use them
>
> Restart cobblerd and then run 'cobbler sync' to apply changes.
>
>
>
>
> On Wed, Jul 16, 2014 at 2:19 PM, Jörgen Maas <[email protected]>
> wrote:
>
>> This might work (now downloading rhel6.5 so i can test):
>>
>> diff --git a/cobbler/action_check.py b/cobbler/action_check.py
>> index 5ab10b4..5feadc5 100644
>> --- a/cobbler/action_check.py
>> +++ b/cobbler/action_check.py
>> @@ -28,6 +28,7 @@ import utils
>>  import glob
>>  from utils import _
>>  import clogger
>> +import re
>>
>>  class BootCheck:
>>
>> @@ -54,7 +55,7 @@ class BootCheck:
>>         self.check_selinux(status)
>>         if self.settings.manage_dhcp:
>>             mode = self.config.api.get_sync().dhcp.what()
>> -           if mode == "isc":
>> +           if mode == "isc":
>>                 self.check_dhcpd_bin(status)
>>                 self.check_dhcpd_conf(status)
>>                 self.check_service(status,"dhcpd")
>> @@ -72,7 +73,7 @@ class BootCheck:
>>                 self.check_service(status,"dnsmasq")
>>
>>         mode = self.config.api.get_sync().tftpd.what()
>> -       if mode == "in_tftpd":
>> +       if mode == "in_tftpd":
>>             self.check_tftpd_bin(status)
>>             self.check_tftpd_dir(status)
>>             self.check_tftpd_conf(status)
>> @@ -82,7 +83,7 @@ class BootCheck:
>>             self.check_ctftpd_conf(status)
>>
>>         self.check_service(status, "cobblerd")
>> -
>> +
>>         self.check_bootloaders(status)
>>         self.check_for_wget_curl(status)
>>         self.check_rsync_conf(status)
>> @@ -117,7 +118,7 @@ class BootCheck:
>>         if notes != "":
>>             notes = " (NOTE: %s)" % notes
>>         rc = 0
>> -       if self.checked_dist in ("redhat","fedora","centos","scientific
>> linux","suse"):
>> +       if re.match("red ?hat|fedora|centos|scientific linux",
>> self.checked_dist):
>>             if os.path.exists("/etc/rc.d/init.d/%s" % which):
>>                 rc = utils.subprocess_call(self.logger,"/sbin/service %s
>> status > /dev/null 2>/dev/null" % which, shell=True)
>>             if rc != 0:
>>
>>
>>
>>
>> On Wed, Jul 16, 2014 at 2:11 PM, Jörgen Maas <[email protected]>
>> wrote:
>>
>>> Can you send output for:
>>>
>>> [jorgen@mainframe ~]$ python
>>> Python 2.7.5 (default, Jun 25 2014, 10:19:55)
>>> [GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import platform
>>> >>> platform.linux_distribution()[0].lower().strip()
>>>
>>>
>>> AND
>>>
>>> [jorgen@mainframe ~]$ python
>>> Python 2.7.5 (default, Jun 25 2014, 10:19:55)
>>> [GCC 4.8.2 20131212 (Red Hat 4.8.2-7)] on linux2
>>> Type "help", "copyright", "credits" or "license" for more information.
>>> >>> import platform
>>> >>> platform.dist()[0].lower().strip()
>>>
>>>
>>> I dont have a rhel 6.5 box around atm...
>>>
>>>
>>> On Wed, Jul 16, 2014 at 1:05 PM, Newman, Stuart J.
>>> (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC] <
>>> [email protected]> wrote:
>>>
>>>>  Cobbler 2.6.1 RHEL 6.5
>>>>
>>>>
>>>>
>>>> When running cobbler check, I get
>>>>
>>>>
>>>>
>>>> [root@fiat ~]# cobbler check
>>>>
>>>> The following are potential configuration items that you may want to
>>>> fix:
>>>>
>>>>
>>>>
>>>> 1 : SELinux is enabled. Please review the following wiki page for
>>>> details on ensuring cobbler works correctly in your SELinux environment:
>>>>
>>>>     https://github.com/cobbler/cobbler/wiki/Selinux
>>>>
>>>> 2 : Unknown distribution type, cannot check for running service dhcpd
>>>>
>>>> 3 : Unknown distribution type, cannot check for running service cobblerd
>>>>
>>>> 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
>>>>
>>>> 6 : fencing tools were not found, and are required to use the
>>>> (optional) power management features. install cman or fence-agents to use
>>>> them
>>>>
>>>>
>>>>
>>>> Restart cobblerd and then run 'cobbler sync' to apply changes.
>>>>
>>>>
>>>>
>>>> I do not understand messages 2 and 3.
>>>>
>>>>
>>>>
>>>> See attached files for more info.
>>>>
>>>>
>>>>
>>>>
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>
>>>>
>>>> *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
>>>>
>>>> Mobile: (443) 878-0280
>>>>
>>>> E-Mail: [email protected]
>>>>
>>>>
>>>>
>>>>
>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>> 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
>>>> [email protected]
>>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>>
>>>>
>>>
>>>
>>> --
>>> Grtz,
>>> Jörgen Maas
>>>
>>
>>
>>
>> --
>> Grtz,
>> Jörgen Maas
>>
>
>
>
> --
> Grtz,
> Jörgen Maas
>



-- 
Grtz,
Jörgen Maas
_______________________________________________
cobbler mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/cobbler
  • Re: [co... Harry Hoffman
    • Re... Michael Tiernan
    • Re... Jörgen Maas
      • ... Jörgen Maas
        • ... Jörgen Maas
          • ... Jörgen Maas
      • ... Newman, Stuart J. (GSFC-444.0)[HONEYWELL TECHNOLOGY SOLUTIONS INC]
    • Re... Dan White

Reply via email to