All,
Has something changed in the latest Cobbler release? Previously I was able to run the following from the command line WITHOUT cobbler sucking down the entire repo:
cobbler import --path=/mnt/iso/SL-62-x86_64 --name=SL-62-x86_64 --available-as=http://_URL_/scientific6-64
Just ran that command this morning and cobbler sucked down the entire repo into /var/www/cobbler/ks_mirror/SL-62-x86_64, I thought --available-as prevented such nonsense.
from the man page: Note that all of the import commands will mirror install tree content into /var/www/cobbler unless a network accessible location is given with --available-as.
The URL provided is valid, I can use lynx and wget on it from the cobbler server.
Thoughts?
Cobbler: Installed Packages Name : cobbler Arch : noarch Version : 2.3.1 Release : 1.el6 Size : 2.2 M
OS: CentOS release 6.2 (Final)
-Ron
downgraded to 2.0.11 and imports work as expected
[root@srvr conf.d]# cobbler import --path=/mnt/iso/SL-62-x86_64 --name=SL-62-x86_64 --available-as=http://_URL_/scientific6-64 task started: 2012-03-05_115812_import task started (id=Media import, time=Mon Mar 5 11:58:12 2012) adding distros scanning /mnt/iso/SL-62-x86_64/images/pxeboot for distro signature scanning /mnt/iso/SL-62-x86_64/images for distro signature scanning /mnt/iso/SL-62-x86_64 for distro signature found content (breed=redhat) at /m creating new distro: SL-62-x86_64 creating new profile: SL-62-x86_64 associating kickstarts scanning /mnt/iso/SL-62-x86_64/images/pxeboot for distro signature scanning /mnt/iso/SL-62-x86_64/images for distro signature scanning /mnt/iso/SL-62-x86_64 for distro signature found content (breed=redhat) at /m *** TASK COMPLETE ***
On 3/5/2012 11:35 AM, Ronald J. Yacketta wrote:
All,
Has something changed in the latest Cobbler release? Previously I was able to run the following from the command line WITHOUT cobbler sucking down the entire repo:
cobbler import --path=/mnt/iso/SL-62-x86_64 --name=SL-62-x86_64 --available-as=http://_URL_/scientific6-64
Just ran that command this morning and cobbler sucked down the entire repo into /var/www/cobbler/ks_mirror/SL-62-x86_64, I thought --available-as prevented such nonsense.
from the man page: Note that all of the import commands will mirror install tree content into /var/www/cobbler unless a network accessible location is given with --available-as.
The URL provided is valid, I can use lynx and wget on it from the cobbler server.
Thoughts?
Cobbler: Installed Packages Name : cobbler Arch : noarch Version : 2.3.1 Release : 1.el6 Size : 2.2 M
OS: CentOS release 6.2 (Final)
-Ron
On 3/5/2012 11:35 AM, Ronald J. Yacketta wrote:
All,
Has something changed in the latest Cobbler release? Previously I was able to run the following from the command line WITHOUT cobbler sucking down the entire repo:
cobbler import --path=/mnt/iso/SL-62-x86_64 --name=SL-62-x86_64 --available-as=http://_URL_/scientific6-64
Just ran that command this morning and cobbler sucked down the entire repo into /var/www/cobbler/ks_mirror/SL-62-x86_64, I thought --available-as prevented such nonsense.
from the man page: Note that all of the import commands will mirror install tree content into /var/www/cobbler unless a network accessible location is given with --available-as.
The URL provided is valid, I can use lynx and wget on it from the cobbler server.
Thoughts?
Cobbler: Installed Packages Name : cobbler Arch : noarch Version : 2.3.1 Release : 1.el6 Size : 2.2 M
OS: CentOS release 6.2 (Final)
-Ron
Yes, this was changed because of the way the import modules work. It's a chicken and egg problem, because the rsync now has to happen before the scan can be executed to figure out what the breed is. One of the things I plan to tweak is to provide a list of files for rsync to grab instead of the entire tree, so that it only grabs stuff like the kernel/initrd/etc.
cobbler@lists.fedorahosted.org