[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] Spacewalk 0.5, CentOS 5.3, cobbler+kickstart:"Unable to read metadata"



Title: Re: [Spacewalk-list] Spacewalk 0.5, CentOS 5.3, cobbler+kickstart:"Unable to read metadata"
On 04/22/2009 06:56 PM, Mike McCune wrote:

William Leese wrote:
> - After a client has updated it's packages, it still reports that it
> requires updates.
> I read that this would be solved in a future update to spacewalk-backend
> and spacewalk-java. I have however found no later package than that of
> the 13th of april.

This is still OPEN in bugzilla:

https://bugzilla.redhat.com/show_bug.cgi?id=496655

Ah great, I didn't know a ticket was opened.

> Anyhow, after the installer boots and anaconda starts, I get the
> following error
> "Unable to read metadata. This may be due to a missing repodata
> directory................. can't find repository: anaconda-......."
>
> So I'm missing the repodata directory. That's right, I just downloaded
> the packages. So I createrepo-ed the directory containing the RPMs, but
> to no avail.
>
> Any idea what's going wrong here?
>

Couple questions:

* What does the "Tree Path" field say on the Kickstart -> Distribution
page in your GUI?

* Does that path have underneath it a tree-path/repodata directory?  So
if your Tree Path is:

/var/lib/repo/centos-53/

you would want to see:

/var/lib/repo/centos-53/repodata

The above sounds like you ran createrepo from within the RPMs directory.
  Try running from the same dir as your 'Tree Path'.

My guess I did something wrong here. I honestly think I had a repodata underneath the tree path directory, but I cleaned everything up yesterday and used the copy from cd method instead. Perhaps there could be an extra check or another bullet point on the relevant page (kickstart/add distribution), to avoid this problem in the future.

The reason why this all went wrong, was that I used the following document: http://wiki.centos.org/HowTos/PackageManagement/Spacewalk which merely concerns itself with pulling in the packages with reposync and pushing them into the channel, with no regard to how to setup spacewalk+cobbler.

-- 
Met vriendelijke groet,

William Leese
ICT Infra Linux Beheer

T +31 (0) 70 3342698

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]