Hi
On 27 February 2012 15:58, André Gemünd <andre.gemuend(a)scai.fraunhofer.de>wrote:
Hi,
imho, you should get an url line, like
url --url
http://10.173.90.168/cblr/links/rhel5u7-x86_64
I do get a kickstart file and a URL as above. The server builds but the
problems is:
* The import has reports an error or does it? I am not sure and that is the
problem it is not clear enough on there being an error when importing from
the DVD.
* $yum_repo_stanza does not work for my kickstart. It is build into cobbler
but I could not find a clear way of debugging why it would not generate the
entries in my kickstart file to point the newly build server back to the
cobbler server for OS rpms.
* The third problem is that the import of the DVD made symlinks but broken
ones.
/var/www/cobbler/links
lrwxrwxrwx 1 root root 34 Feb 27 13:30 rhel5u7-x86_64 ->
/var/www/cobbler/ks_mirror/rhel5u7
lrwxrwxrwx 1 root root 34 Feb 27 13:30 rhel5u7-xen-x86_64 ->
/var/www/cobbler/ks_mirror/rhel5u7
Do you get a kickstart file at all? What are the problems?
What with the links, where do they point to? There should be one for every
distro, like
rhel5u7-x86_64 -> /var/www/cobbler/ks_mirror/rhel5u7-x86_64
If you do a
"cobbler distro report --name=rhel5u7-x86_64"
What is the entry of the Kickstart Metadata line?
The metadata entry is:
Kickstart Metadata : {'tree': 'http://@@http_server@
@/cblr/links/rhel5u7-x86_64'}
Which would point to the broken links.
Greetings
André
----- Ursprüngliche Mail -----
>
> Hi
> I have just installed a vanilla cobbler server... well re-installed
> to make sure I did not do something stupid.
>
>
> I have only done the most basic of configuration changes to cobbler
> which includes the default password, server and nextserver variable
> settings.
>
>
> I then import a DVD:
> cobbler import --path=/mnt/ --name=rhel5u7 --arch=x86_64
>
>
> and get the following errors at the end of running the import
> command:
>
> received on stderr:
> adding distros
> creating new distro: rhel5u7-xen-x86_64
> creating new profile: rhel5u7-xen-x86_64
> creating new distro: rhel5u7-x86_64
> creating new profile: rhel5u7-x86_64
> associating repos
> traversing distro rhel5u7-xen-x86_64
> descent into /var/www/cobbler/ks_mirror/rhel5u7
> traversing distro rhel5u7-x86_64
> descent into /var/www/cobbler/ks_mirror/rhel5u7
> associating kickstarts
> *** TASK COMPLETE ***
>
>
> Well it is received on stderr so I assume it is errors. It does not
> shout our error to you...
>
>
> I modify the created profile and point it to the sample.ks file.
>
>
> I then add a new machine and view the kickstart.
> I am expecting to see:
> repo --name=source-1 --baseurl=
>
http://10.173.90.168/cobbler/ks_mirror/RHEL-5.5-x86_64/VT
>
>
> but this is not working...
>
>
> Also
> /var/www/cobbler/links contains broken links...
>
>
>
>
> So what am I doing wrong? Or is this a bug?
>
>
> Regards
>
>
> --
> Gerhardus Geldenhuis
>
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://fedorahosted.org/mailman/listinfo/cobbler
>
--
André Gemünd
Fraunhofer-Institute for Algorithms and Scientific Computing
andre.gemuend(a)scai.fraunhofer.de
Tel: +49 2241 14-2193
/C=DE/O=Fraunhofer/OU=SCAI/OU=People/CN=Andre Gemuend
_______________________________________________
cobbler mailing list
cobbler(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/cobbler
--
Gerhardus Geldenhuis