Hello Darryl, good afternoon

You can try the steps bellow:

1. create a temp channel
2. create a link with actual repo
3. check the logs of a new channel/repo with "tailf
/var/log/rhn/reposync/<file>.log"

After sync, try to use the new channel. The problem in your env can be in
different's points, doing the step above you will agree that your repo are
ok, if works, you can delete your old channel, create again, do a link and
sync again. Probably your metadata will be updated and will works fine.

Do a test and tell us.

Take Care

______________
Atenciosamente
Waldirio
msn: [email protected]
Skype: waldirio
Site: www.waldirio.com.br
Blog: blog.waldirio.com.br
LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
PGP: www.waldirio.com.br/public.html

On Fri, Mar 13, 2015 at 11:58 AM, Darryl Baker <[email protected]
> wrote:

>  Waldrinio,
>
>                 Thank you for your help with this. I first ran into this a
> month ago and put it aside for other issues. I remember seeing the logs
> before but only after your reminder. Even though the repository is empty
> spacewalk-repo-sync does not think there are any files to sync. That is my
> issue why isn’t populating the repo initially?
>
>
>
> Excerpt from the log file:
>
>
>
> Sync started: Fri Mar 13 09:11:42 2015
>
> ['/usr/bin/spacewalk-repo-sync', '--channel', 'pgdg93_rhel6_x86_64',
> '--type', 'yum']
>
> Repo URL: http://yum.postgresql.org/srpms/9.3/redhat/rhel-6Server-x86_64/
>
> Packages in repo:               130
>
> No new packages to sync.
>
> Repo http://yum.postgresql.org/srpms/9.3/redhat/rhel-6Server-x86_64/ has
> 0 errata.
>
> Sync completed.
>
> Total time: 0:00:00
>
>
>
>
>
> Regards,
>
>
>
> Darryl
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Waldirio Manhães
> Pinheiro
> *Sent:* Friday, March 13, 2015 9:29 AM
>
> *To:* [email protected]
> *Subject:* Re: [Spacewalk-list] Mirroring the PostgreSQL yum repos
>
>
>
> Hello Darryl
>
>
>
> Ok, in fact the command that will sync your repo is not satellite-sync,
> will be spacewalk-repo-sync and if you configure internally (repo and
> channel, defining often), this task will be automatically.
>
>
>
> You can check in /var/log/rhn/reposync/*, here will be created log files
> to all channels using repo (internal or external).
>
>
>
> Take Care
>
>
>   ______________
> Atenciosamente
> Waldirio
> msn: [email protected]
> Skype: waldirio
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
>
>
>
> On Fri, Mar 13, 2015 at 11:15 AM, Darryl Baker <
> [email protected]> wrote:
>
> I’m sorry if my first message wasn’t clear I have machines without
> Internet connectivity that can reach my Satellite server. By creating the
> local copy of the repo those machines can be updated simply by using yum.
>
>
>
> I have done steps 1-5 as you have listed but the when I do the sync it
> never copies in any packages.
>
>
>
> Regards,
>
>
>
> Darryl
>
>
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *Waldirio Manhães
> Pinheiro
> *Sent:* Thursday, March 12, 2015 10:43 PM
> *To:* [email protected]
> *Subject:* Re: [Spacewalk-list] Mirroring the PostgreSQL yum repos
>
>
>
> Hello Darryl,
>
>
>
> Let me do a question, do you would like to configure repository in your
> RHN Satellite ?!, if yes, you have to do like bellow:
>
>
>
> 1. Create a repo
>
> 2. Create a channel
>
> 3. Create a relationship between channel and repository
>
> 4. Define the sync time (here will be defined the often)
>
> 5. Download the GPG key and turn available in your environment to your
> clients (personally I put in /var/www/html/pub/GPG and use a script to
> collect all keys and install automatically)
>
>
>
>
>
> So, at the end of the day, your machines will be connected only in your
> Satellite and retrieving data from them.
>
>
>
> Really sorry, I read your message but doesn't make sense, you don't need
> configure your local repo.
>
>
>
> Let me know if the steps above help you.
>
>
>
> Take Care
>
>
>   ______________
> Atenciosamente
> Waldirio
> msn: [email protected]
> Skype: waldirio
> Site: www.waldirio.com.br
> Blog: blog.waldirio.com.br
>
> LinkedIn: http://br.linkedin.com/pub/waldirio-pinheiro/22/b21/646
> PGP: www.waldirio.com.br/public.html
>
>
>
> On Thu, Mar 12, 2015 at 7:08 PM, Darryl Baker <
> [email protected]> wrote:
>
> I hope questions about Red Hat Satellite Server are ok on this list. I am
> running RHSS 5.6 current patch level.
>
>
>
> I am trying to mirror the PostgreSQL yum repositories for our machine
> disconnected from the Internet. I configured the channel and repository
> based on the info in the PostgreSQL supplied yum.repo.d file. My problem is
> satellite-sync never retrieves any files. I suspect that I am doing the
> translation from the yum repo definition to the channel and repo
> definition. Needless to say the I replaced the variables to match my
> environment, 6Server and x86_64.
>
>
>
> The yum.repo.d file looks like:
>
> [pgdg93]
>
> name=PostgreSQL 9.3 $releasever - $basearch
>
> baseurl=http://yum.postgresql.org/9.3/redhat/rhel-$releasever-$basearch
>
> enabled=1
>
> gpgcheck=1
>
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93
>
>
>
> [pgdg93-source]
>
> name=PostgreSQL 9.3 $releasever - $basearch - Source
>
> failovermethod=priority
>
> baseurl=
> http://yum.postgresql.org/srpms/9.3/redhat/rhel-$releasever-$basearch
>
> enabled=0
>
> gpgcheck=1
>
> gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-93
>
>
>
>
>
> Regards,
>
>
>
> *Darryl Baker*
>
> Textura Corporation
>
> Linux Engineer Application Support
>
> 1405 Lake Cook Road
>
> Deerfield, Illinois 60015
>
> Office Phone - 847-235-8467
>
> Email – [email protected]
>
> [image: cid:05DC2306-1083-4864-A07C-DE5DA45A6302]
>
>
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
>
>
> _______________________________________________
> Spacewalk-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
_______________________________________________
Spacewalk-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to