Satellite 6 - Cannot sync RedHat repo
Similar to another discussion which was resolved by refreshing the manifest, I'm seeing "Forbidden" errors which cause sync failure for the repo. I've reuploaded the manifest and refreshed, yet the issue persists. I'd be willing to blast away the repo and start over, but I'm not sure what I need to do to make that happen.
Looks like this is the relevant section from the cascading exceptions in Apache's error_log:
{
"yum_importer":{
"content":{
"size_total":0,
"items_left":0,
"items_total":0,
"state":"NOT_STARTED",
"size_left":0,
"details":{
"rpm_total":0,
"rpm_done":0,
"drpm_total":0,
"drpm_done":0
},
"error_details":[]
},
"comps":{
"state":"NOT_STARTED"
},
"distribution":{
"items_total":0,
"state":"NOT_STARTED",
"error_details":[],
"items_left":0
},
"errata":{
"state":"NOT_STARTED"
},
"metadata":{
"state":"FAILED",
"error":"Forbidden"
}
}
}
Responses
I would sugget that you run foreman-debug, and use that zip output as part of a ticket request into GSS. My guess is that they will ask if there is a proxy sitting between the satellite and the internet. If so, was the username and password for the proxy provided during the install.
Tony, are you syncing a Red Hat channel, and it is failing to create the repo? I had an issue with this (that I posted in the discussion area here, and found that the latest edition of spacewalk-java and it's associated rpms (3 or 4 total) were not being updated in my iso channels I download manually. So my rhel 6.current Satellite version 5.5 and 5.6 servers would not create repos properly. When I upgraded (manually by downloading the rpms) the spacewalk-java rpms, the problem went away. Also see this Red Hat article
Not sure if this is the situation for your case. All of my satellite servers (eight of them) are disconnected, and we manually sync our base and incremental channels as they are released.
Hi, you should be able to go the tasks page and filter out the paused ones: /foreman_tasks/tasks?search=state+=+paused . In the details, there is a button for resuming the task so that it should finish the task and let you operate on it after that
What's the error you're seeing in the tasks details?
Could you please file a bug for this behavriour and possibly attach the foreman-debug tarball, as well as the screenshot of the error you're seeing on the tasks page. That would help us investigate more on this particular problem. Thanks.
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Satellite%206
I'm having this same problem. I installed "pulp-admin-client" and adjusted its configuration enough to get it to run, but now I get this:
+----------------------------------------------------------------------+
Tasks
+----------------------------------------------------------------------+The web server reported an error trying to access the Pulp application. The
likely cause is that the pulp-manage-db script has not been run prior to
starting the server. More information can be found in Apache's error log file on
the server itself.
I'm not liking this version of Satellite at all. It has way too many unfamiliar components. I have no clue how to resolve the above issue, to even attempt to resolve the original issue (can't access the yum repositories from a client machine).
[Wed Jan 21 13:23:07.562648 2015] [:error] [pid 1638] [client 172.25.1.13:41006] Request denied to destination [/pulp/repos/NES/Library/RHEL_7/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml]Client certificate failed extension check for destination: /pulp/repos/NES/Library/RHEL_7/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml
[Wed Jan 21 13:23:07.562703 2015] [:error] [pid 1638] [client 172.25.1.13:41006] mod_wsgi (pid=1638): Client denied by server configuration: '/var/www/pub/yum/https/repos/NES/Library/RHEL_7/content/dist/rhel/server/7/7Server/x86_64/optional/os/repodata/repomd.xml'.
Those are the only two lines logged in foreman-ssl_error_ssl.log when I do a yum install katello-agent on a subscribed system.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
