Hi all,
I'm trying to import in image into Cobbler (working with this: https://fedorahosted.org/cobbler/wiki/UsingCobblerImport) but keep on getting the following error:
total size is 322467472 speedup is 1.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] Command failed
I mounted an ISO image and started the import as follows:
[root@intranet ~]# mount -o loop /home/data/ISO/openfiler-2.3-x86.iso /mnt/dvd/
[root@intranet ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/nas-root 9.7G 5.5G 3.8G 60% / /dev/mapper/nas-home 434G 312G 100G 76% /home /dev/md0 99M 64M 31M 68% /boot tmpfs 869M 0 869M 0% /dev/shm none 869M 104K 869M 1% /var/lib/xenstored /dev/sdb1 75G 66G 8.7G 89% /mnt/usb-moviez /home/data/ISO/openfiler-2.3-x86.iso 315M 315M 0 100% /mnt/dvd
[root@intranet ~]# cobbler import --path=/mnt/dvd --name="Openfiler 2.3"
The problem is, as soon as I get this error, I can't re-import the exact same image and need to specify a new name as well. How do I clear this up? "cobbler image list" doesn't show the failed-imported images.
I'm trying to import in image into Cobbler (working with this: https://fedorahosted.org/cobbler/wiki/UsingCobblerImport) but keep on getting the following error:
total size is 322467472 speedup is 1.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] Command failed
/snip
[root@intranet ~]# cobbler import --path=/mnt/dvd --name="Openfiler 2.3"
Don't know sfa about cobbler, but exit value 23 is rather vague, it can occur with all sorts of causes like permissions/attrs etc. Proly manifesting in the case of the iso being the source?
Not having cobbler installed, what is the exact rsync command used? Maybe ps while an import is running if you can't find it? It might need a modification... My guess is it's all there, but the non zero return it traps puts the kybosh on the import being accepted.
On Sat, Apr 10, 2010 at 2:07 AM, Joseph L. Casale jcasale@activenetwerx.com wrote:
I'm trying to import in image into Cobbler (working with this: https://fedorahosted.org/cobbler/wiki/UsingCobblerImport) but keep on getting the following error:
total size is 322467472 speedup is 1.00 rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1042) [sender=3.0.7] Command failed
/snip
[root@intranet ~]# cobbler import --path=/mnt/dvd --name="Openfiler 2.3"
Don't know sfa about cobbler, but exit value 23 is rather vague, it can occur with all sorts of causes like permissions/attrs etc. Proly manifesting in the case of the iso being the source?
Not having cobbler installed, what is the exact rsync command used? Maybe ps while an import is running if you can't find it? It might need a modification... My guess is it's all there, but the non zero return it traps puts the kybosh on the import being accepted. _______________________________________________
Yes, that makes it rather difficult to try and find out what's wrong.
google also suggested it could be a permissions problem, but I mounted the ISO as root and imported it as root. The Cobbler tutorials I have found doesn't mention anything about mounting the ISO's in any special way, so I got no idea how doto it differently.
I just ran rsync manually and it worked fine, as follows:
[root@intranet ~]# rsync -avp --progress /mnt/dvd/* /var/www/cobbler/ks_mirror/Openfiler\ 2.3/
-------- SNIP ------------- rPath/changesets/zlib-1.2.3-1-0.1-x86.ccs 46253 100% 115.52kB/s 0:00:00 (xfer#281, to-check=2/318) rPath/changesets/zsh-4.3.5-2.1-1-x86.ccs 2242683 100% 4.02MB/s 0:00:00 (xfer#282, to-check=1/318) rPath/changesets/zumastor-r970-2-1-x86.ccs 32306 100% 59.08kB/s 0:00:00 (xfer#283, to-check=0/318)
sent 298377223 bytes received 5398 bytes 20578111.79 bytes/sec total size is 329438774 speedup is 1.10
But now that image (is this what you call it?) isn't in the list when I run "cobbler list":
[root@intranet ~]# cobbler list image memtest86+ [root@intranet ~]#
In fact, I haven't been able to import anything into Cobbler yet.
On Sat, Apr 10, 2010 at 10:18 AM, Tom Brown tom@ng23.net wrote:
The problem is, as soon as I get this error, I can't re-import the exact same image and need to specify a new name as well. How do I clear this up? "cobbler image list" doesn't show the failed-imported images.
i would suggest
cobbler@lists.fedorahosted.org
Thanx Tom. That's the obvious place to ask for help, but since so many people on this list suggested Cobbler, I thought they would at least know how to actually use it, or help with problems.....