[Spacewalk-list] Cannot retrieve repository metadata

Robert Paschedag robert.paschedag at web.de
Thu Aug 3 07:57:17 UTC 2017


Am 3. August 2017 07:50:15 MESZ schrieb sureshskja skja <sureshskja at gmail.com>:
>Thanks for your response Paul Robert.
>
>I am trying find the path that you mentioned for deleting since it is
>not
>working after restarting taskomatic and what should be directory or
>filename under /var ?
>
>Is this the path ?
>
>[root at drp-mgt-spw-e1a sat]# pwd
>/var/log/rhn/tasko/sat
>[root at drp-mgt-spw-e1a sat]#
>auto-errata-bunch       clear-taskologs-bunch  daily-status-bunch
>kickstart-cleanup-bunch   reboot-action-cleanup-bunch 
>uuid-cleanup-bunch
>channel-repodata-bunch  cobbler-sync-bunch     errata-cache-bunch
>kickstartfile-sync-bunch  sandbox-cleanup-bunch
>cleanup-data-bunch      compare-configs-bunch  errata-queue-bunch
>package-cleanup-bunch     session-cleanup-bunch
>
>
>Thanks
>suresh s
>
>
>On Wed, Aug 2, 2017 at 9:50 PM, Paul Robert Marino
><prmarino1 at gmail.com>
>wrote:
>
>> By the way it will take a little time for taskomatic to reindex the
>> channels so give it about 30 minutes.
>> If that doesn't work there should be a directory under /var that
>named
>> after the channel that contains the repo data delete that directory
>and let
>> taskomatic recreate it.
>>
>> Sent from my BlackBerry - the most secure mobile device
>> *From:* prmarino1 at gmail.com
>> *Sent:* August 2, 2017 11:21 AM
>> *To:* spacewalk-list at redhat.com
>> *Subject:* Re: [Spacewalk-list] Cannot retrieve repository metadata
>>
>> First things first try restarting taskomatic
>> There are more steps after that but they are very intrusive and 7
>times
>> out of 10 that will fix it
>>
>> Sent from my BlackBerry - the most secure mobile device
>> *From:* sureshskja at gmail.com
>> *Sent:* August 1, 2017 8:27 AM
>> *To:* spacewalk-list at redhat.com
>> *Reply-to:* spacewalk-list at redhat.com
>> *Subject:* [Spacewalk-list] Cannot retrieve repository metadata
>>
>> I need some quick help from some one immediately as I am facing
>problem
>> when registering RedHat 6 client with Spacewalk Server and below is
>the
>> error. Kindly help on this.
>>
>> Below is the error details.
>>
>> REGISTRATION
>> ------------
>> * registering
>> /usr/sbin/rhnreg_ks --force --activationkey
>1-East_Non_Prod_Enterprise
>>
>> *** this system should now be registered, please verify ***
>>
>>
>> OTHER ACTIONS
>> ------------------------------------------------------
>> Installing Spacewalk certficate
>> yum -y upgrade yum yum-rhn-plugin; rhn-profile-sync
>> but any post configuration action can be added here.
>> ------------------------------------------------------
>> * ensuring yum itself is updated
>> Loaded plugins: amazon-id, rhnplugin, rhui-lb, search-disabled-repos,
>> security
>> This system is receiving updates from RHN Classic or Red Hat
>Satellite.
>> Setting up Upgrade Process
>> Error: Cannot retrieve repository metadata (repomd.xml) for
>repository:
>> channel_oracle_linux6_x86_64. Please verify its path and try again
>> Updating package profile...
>> Updating hardware profile...
>> -bootstrap complete-
>>   % Total    % Received % Xferd  Average Speed   Time    Time    
>Time
>> Current
>>                                  Dload  Upload   Total   Spent   
>Left
>> Speed
>>   0    19    0    19    0     0  12500      0 --:--:-- --:--:--
>--:--:--
>> 19000
>> null[root at stg-mgt-spwtest_e1a tmp]# yum update
>> Loaded plugins: amazon-id, rhnplugin, rhui-lb, search-disabled-repos,
>> security
>> This system is receiving updates from RHN Classic or Red Hat
>Satellite.
>> Setting up Update Process
>> Error: Cannot retrieve repository metadata (repomd.xml) for
>repository:
>> channel_oracle_linux6_x86_64. Please verify its path and try again
>> [root at stg-mgt-spwtest_e1a tmp]#
>>
>> Thanks
>> Suresh S
>>
>> _______________________________________________
>> Spacewalk-list mailing list
>> Spacewalk-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/spacewalk-list
>>

The path should be /var/cache/rhn/repodata/...

But you need to force the channel to "sync" again. I don't think that removing the file on disk will result in recreating this file automatically.

Robert




More information about the Spacewalk-list mailing list