Hi James,

On Fri, Oct 14, 2011 at 11:53 AM, Danishka Navin <[email protected]> wrote:

>
>
> On Fri, Oct 14, 2011 at 11:45 AM, James Cammarata <[email protected]> wrote:
>
>> On Thu, Oct 13, 2011 at 10:48 PM, Danishka Navin <[email protected]>
>> wrote:
>> > Hi,
>> >
>> > Next week I weill attend a workshop and I have to install more than 80
>> > systems in a training college.
>> > I have Live image of F14 based remix.
>> >
>> > I was trying to configure cobbler on my F14 box but i wasn't worked.
>> > I followed following link but it gave
>> >
>> > httpd does not appear to be running and proxying cobbler
>> >
>> > but both httpd and cobblerd are running
>> >
>> > and then I disabled SElinux on my system but same result appears.
>> >
>> > [root@localhost danishka]# cobbler check
>> > httpd does not appear to be running and proxying cobbler
>> > [root@localhost danishka]# getenforce
>> > Disabled
>>
>> Sorry I wandered away in IRC. Can you make sure you've got all the
>> correct http modules installed and they are enabled? That would be
>> proxy and I believe mod_wsgi for newer installs.
>>
>
> mod_wsgi is already installed
>
>
>
>
>
Thanks for you help via IRC


I found following error when importing
I was using a Fedora 14 remix and the both issue and redhat-release files
have changed



[root@localhost danishka]# cobbler import --name=H14 --path=/h14/
task started: 2011-10-14_140045_import
task started (id=Media import, time=Fri Oct 14 14:00:45 2011)
running: rsync -a  '/h14/' /var/www/cobbler/ks_mirror/H14
--exclude-from=/etc/cobbler/rsync.exclude --progress
received on stdout: sending incremental file list
./
GPL
       18363 100%    0.00kB/s    0:00:00 (xfer#1, to-check=26/28)
EFI/
EFI/boot/
EFI/boot/bootx64.conf
         417 100%  407.23kB/s    0:00:00 (xfer#2, to-check=21/28)
EFI/boot/bootx64.efi
      236018 100%   75.03MB/s    0:00:00 (xfer#3, to-check=20/28)
EFI/boot/grub.conf
         417 100%  135.74kB/s    0:00:00 (xfer#4, to-check=19/28)
EFI/boot/initrd0.img
     7918573 100%   57.65MB/s    0:00:00 (xfer#5, to-check=18/28)
EFI/boot/isolinux.bin
       24576 100%  183.21kB/s    0:00:00 (xfer#6, to-check=17/28)
EFI/boot/isolinux.cfg
        1282 100%    9.48kB/s    0:00:00 (xfer#7, to-check=16/28)
EFI/boot/memtest
      164504 100%    1.16MB/s    0:00:00 (xfer#8, to-check=15/28)
EFI/boot/splash.jpg
      174438 100%    1.21MB/s    0:00:00 (xfer#9, to-check=14/28)
EFI/boot/splash.xpm.gz
       68392 100%  480.50kB/s    0:00:00 (xfer#10, to-check=13/28)
EFI/boot/vesamenu.c32
      162860 100%    1.10MB/s    0:00:00 (xfer#11, to-check=12/28)
EFI/boot/vmlinuz0
     3702848 100%   17.40MB/s    0:00:00 (xfer#12, to-check=11/28)
LiveOS/
LiveOS/livecd-iso-to-disk
       28574 100%  136.79kB/s    0:00:00 (xfer#13, to-check=10/28)
LiveOS/osmin.img
       24576 100%  117.65kB/s    0:00:00 (xfer#14, to-check=9/28)
LiveOS/squashfs.img
  3978080256 100%   25.98MB/s    0:02:26 (xfer#15, to-check=8/28)
isolinux/
isolinux/boot.cat
        2048 100%    1.98kB/s    0:00:01 (xfer#16, to-check=7/28)
isolinux/initrd0.img
     7918573 100%    6.07MB/s    0:00:01 (xfer#17, to-check=6/28)
isolinux/isolinux.bin
       24576 100%  141.18kB/s    0:00:00 (xfer#18, to-check=5/28)
isolinux/isolinux.cfg
        1282 100%    7.32kB/s    0:00:00 (xfer#19, to-check=4/28)
isolinux/memtest
      164504 100%  117.01kB/s    0:00:01 (xfer#20, to-check=3/28)
isolinux/splash.jpg
      174438 100%    6.93MB/s    0:00:00 (xfer#21, to-check=2/28)
isolinux/vesamenu.c32
      162860 100%    5.97MB/s    0:00:00 (xfer#22, to-check=1/28)
isolinux/vmlinuz0
     3702848 100%   39.68MB/s    0:00:00 (xfer#23, to-check=0/28)

sent 4003247326 bytes  received 468 bytes  26957897.60 bytes/sec
total size is 4002757223  speedup is 1.00

received on stderr:
adding distros
scanning /var/www/cobbler/ks_mirror/H14/EFI/boot for distro signature
scanning /var/www/cobbler/ks_mirror/H14/EFI for distro signature
scanning /var/www/cobbler/ks_mirror/H14 for distro signature
Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'No distro signature for kernel at
/var/www/cobbler/ks_mirror'
Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 123, in die
    raise CX(msg)

Exception occured: <class 'cobbler.cexceptions.CX'>
Exception value: 'No distro signature for kernel at
/var/www/cobbler/ks_mirror'
Exception Info:
  File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 95, in run
    rc = self._run(self)
   File "/usr/lib/python2.7/site-packages/cobbler/remote.py", line 225, in
runner
    self.logger
   File "/usr/lib/python2.7/site-packages/cobbler/api.py", line 659, in
import_tree
    return importer.run()
   File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line
215, in run
    os.path.walk(self.path, self.distro_adder, distros_added)
   File "/usr/lib64/python2.7/posixpath.py", line 233, in walk
    walk(name, func, arg)
   File "/usr/lib64/python2.7/posixpath.py", line 233, in walk
    walk(name, func, arg)
   File "/usr/lib64/python2.7/posixpath.py", line 225, in walk
    func(arg, top, names)
   File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line
554, in distro_adder
    adtls.append(self.add_entry(dirname,kernel,initrd))
   File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line
580, in add_entry
    importer = import_factory(dirname,self.path,self.breed,self.logger)
   File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line
848, in import_factory
    breed , rootdir, pkgdir = guess_breed(kerneldir,path,cli_breed,logger)
   File "/usr/lib/python2.7/site-packages/cobbler/action_import.py", line
824, in guess_breed
    utils.die(logger, "No distro signature for kernel at %s" % kerneldir )
   File "/usr/lib/python2.7/site-packages/cobbler/utils.py", line 131, in
die
    raise CX(msg)

!!! TASK FAILED !!!
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to