[cobbler] cobbler import and available-as option

James Cammarata jimi at sngx.net
Tue Nov 6 17:32:15 UTC 2012


On Mon, Nov 5, 2012 at 12:00 PM, Jason Graham
<jason.michael.graham at gmail.com> wrote:
> Hello,
> We use Artifactory to manage our artifact repository, including syncing our
> distro repos from the vendor. Up until now I have been using the import
> command to import form a mounted vendor DVD on our Cobbler server. What I
> would like to do it is have it always use our Artifactory server as that
> will always be available the systems we build. Per documentation the
> --available-as option should do this for me. Also, from documentation
> examples it shows that it should work over HTTP. The syntax I am using is...
>
> cobbler import
> --path=http://repo.myserver.com:/artifactory/rhel-6.3-base/x86_64/
> --name=rhel6.3
> --avaialble-as=http://repo.myserver.com:/artifactory/rhel-6.3-base/x86_64/
>
> The import task fails. The log shows it tried to use rsync. Does it not work
> over http or am I using the wrong syntax?
>
> Mon Nov  5 09:42:30 2012 - INFO | importing from a network location, running
> rsync to fetch the files first
> Mon Nov  5 09:42:30 2012 - INFO | unsupported protocol

The --path must be local, or it must be an rsync path. HTTP/FTP are
not supported (but work fine in the --available-as part).


More information about the cobbler mailing list