This discussion is archived
1 2 Previous Next 18 Replies Latest reply: May 7, 2013 5:49 PM by alvaromiranda RSS

Oracle Public Yum problems today (23/01/13)

Jeff_J Newbie
Currently Being Moderated
Is anyone else having issue with the Oracle Linux public yum (http://public-yum.oracle.com/) today?

Seems to be extremely flakey over here in the UK.. have tried from various places / connections, getting timeouts & errors such as:

[Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"

Just thought I would post this up if anyone else was experiencing issues today...

Jeff
  • 1. Re: Oracle Public Yum problems today (23/01/13)
    986825 Newbie
    Currently Being Moderated
    I am getting the same errors here (Melbourne Australia).
    Looks like some network or server issues with the public yum service.

    [root yum.repos.d]# date -u
    Thu Jan 24 05:10:07 UTC 2013

    [root yum.repos.d]# date
    Thu Jan 24 16:10:11 EST 2013

    When using yum to list available updates, or list the repos, I get these type of messages :

    http://public-yum.oracle.com/repo/OracleLinux/OL6/2/base/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://public-yum.oracle.com/repo/OracleLinux/OL6/2/base/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
    Trying other mirror.

    http://public-yum.oracle.com/repo/OracleLinux/OL6/2/base/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 56 - "Failure when receiving data from the peer"
    Trying other mirror.


    Mal
  • 2. Re: Oracle Public Yum problems today (23/01/13)
    Avi Miller Guru
    Currently Being Moderated
    Thanks, I'll pass this up to the ULN team to follow-up.
  • 3. Re: Oracle Public Yum problems today (23/01/13)
    Jeff_J Newbie
    Currently Being Moderated
    I re-ran yum last night and everything updated OK.

    I had just deployed a new cluster, and this was the first VM in it which was for testing - hence I spent a while worrying about what perhaps was wrong with the cluster / VM config rather than thinking it was an Oracle yum issue.

    I totally understand that public yum is free, and is not supported. People running production systems, who want reliable updates, they should subscribe to Oracle Linux Network - at least for updates, it's not going to break the bank....

    However - sometimes we are deploying VMs to test things, so it's not always going to feasible to subscribe for Oracle Linux Network every time you create a VM for a test project - like me with my new cluster build yesterday.

    So there really should be a 'status page' where people can do and see what's what with the public yum.

    One thing that I did find worrying - was the apparent lack of geographically dispersed mirrors for the public yum. It doesn't appear there were any!

    When a download failed, it would say 'trying other mirror' which also failed, and then the entire download failed.

    Other distros that have issues with yum, I've often see it try 4 or 5 different mirrors....

    What's the situation with Oracle Linux public yum and mirrors? How many are there? Why did they all fail? Are they all in the same datacenter?

    Jeff
  • 4. Re: Oracle Public Yum problems today (23/01/13)
    Dude! Guru
    Currently Being Moderated
    You can also deploy your own yum repository and make it available through html if necessary.
  • 5. Re: Oracle Public Yum problems today (23/01/13)
    Avi Miller Guru
    Currently Being Moderated
    Jeff_J wrote:
    What's the situation with Oracle Linux public yum and mirrors? How many are there? Why did they all fail? Are they all in the same datacenter?
    There are no mirrors. It is a single server hosted in a single location at the moment, and it was suffering some memory issues, which have now been fixed. We're moving both ULN and public-yum.oracle.com to new hardware soon, and will hopefully be able to consider mirroring it to other sites as well once that's done.
  • 6. Re: Oracle Public Yum problems today (23/01/13)
    Avi Miller Guru
    Currently Being Moderated
    Dude wrote:
    You can also deploy your own yum repository and make that available through html. So the alternative is not just ULN or public yum. I'm actually planning to write it up and provide some howto in the near future, but I can show you the commands involved:
    You mean, like this:

    http://www.oracle.com/technetwork/articles/servers-storage-admin/yum-repo-setup-1659167.html

    Also, you can check this thread:

    Using YUM for Oracle Linux 6

    For instructions on how to modify that script to work with public-yum.oracle.com instead of ULN. :)

    Finally, 3rd-party tools like Spacewalk, Katello (i.e. Pulp) and mrepo work just fine against public-yum.oracle.com as well.
  • 7. Re: Oracle Public Yum problems today (23/01/13)
    Dude! Guru
    Currently Being Moderated
    withdrawn
  • 8. Re: Oracle Public Yum problems today (23/01/13)
    Avi Miller Guru
    Currently Being Moderated
    Dude wrote:
    The commands I've shown are from my own notes for the purpose to set up a private yum server with a custom and independent yum repository. For instance, to provide yum access to software copied from the installation DVD and other software packages as required.
    Except the installation DVD is a yum repo. Just set the baseurl in the .repo file to baseurl=file:///mnt/Server and it'll work. There's no need to install Apache or run createrepo or chcon or any of that stuff if you're using a local DVD mounted on the server.

    Also, don't disable the gpg check. We ship the GPG key with OL. So update your .repo file:
    gpgcheck=1
    gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY
    And it'll work for the Oracle Linux repositories on both OL5 and OL6.

    Edited by: Avi Miller on Jan 25, 2013 12:47 PM

    Edited by: Avi Miller on Jan 25, 2013 12:47 PM
  • 9. Re: Oracle Public Yum problems today (23/01/13)
    Dude! Guru
    Currently Being Moderated
    withdrawn
  • 10. Re: Oracle Public Yum problems today (23/01/13)
    BillyVerreynne Oracle ACE
    Currently Being Moderated
    Dude wrote:

    If your server does not have a DVD, virtual or real, and you need to access the software repository from another server in your private network that has no access to the Internet, then .... Well, I'm not saying this was the only or best solution, but certainly easy to accomplish.
    Is there a connected network with a server or proxy that has Internet/http access within a 2,000km radius? Then no problem. Have ssh. Can travel.

    There are few network connectivity problems that cannot be solved, circumvented or steamrollered through, with a bit of creative ssh tunnelling.
  • 11. Re: Oracle Public Yum problems today (12/03/13)
    Jeff_J Newbie
    Currently Being Moderated
    Just another status update to say that Oracle Linux Public yum has been flakey / un-usable since last night - so bad the entire day.

    I wonder if anyone else has been getting errors today?

    Cheers,

    Jeff
  • 12. Re: Oracle Public Yum problems today (12/03/13)
    rukbat Guru Moderator
    Currently Being Moderated
    Jeff_J wrote:
    Just another status update to say that Oracle Linux Public yum has been flakey / un-usable since last night - so bad the entire day.

    I wonder if anyone else has been getting errors today?

    Cheers,

    Jeff
    See this post that was placed in the Community Feedback forum (at the top of the forum site list):
    problem with oracle yum server?
    You don't seem to be alone.
  • 13. Re: Oracle Public Yum problems today (23/01/13)
    alvaromiranda Explorer
    Currently Being Moderated
    I wrote an script to download and create a local mirror from public-yum

    https://github.com/kikitux/public-yum-downloader

    Alvaro
  • 14. Re: Oracle Public Yum problems today (23/01/13)
    Jeff_J Newbie
    Currently Being Moderated
    There are still major yum issues today (for me at least) as soon as they clear up hopefully I will be able to give this script a run out as I do believe it would be quite handy what with all the problems.

    I know there are well documented guides on how to create yum repositories, but this little script does save a bit of time.

    Couple of questions if you don't mind?!

    I'm guessing if I want to create a repos for both non-uek and euk you would do:

    ./public-yum-downloader.sh -P /var/www/html/ -R 6.latest -a x86_64 --url http://servername/

    And to add UEK updates I would next do:

    ./public-yum-downloader.sh -P /var/www/html/ -R 6.UEK -a x86_64 --url http://servername/

    Meaning that the RPM hierarchy would be:

    http://servername/repo/OracleLinux/OL6/latest
    http://servername/repo/OracleLinux/OL6/UEK/latest/x86_64/

    Is that right?

    Also - how is updating the repo handled - via cron, or do you manually have to re-run the script? When you re-run, does it force a complete download of all rpms?

    Finally - would it be possible to also use / update this script to download the Oracle VM 3.0 repo which lives at

    http://public-yum.oracle.com/repo/OracleVM/OVM3/latest/x86_64/

    Thanks!

    Jeff
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points