0 Replies Latest reply on Feb 22, 2009 4:44 AM by Stefano Cislaghi

    RedHatRepositoryManager problems?

      Hi all,

       

      Today I've run a PA against an RH52 host. Scripts works correctly but reporting missing patches fails because some dependencies are not satisfied. Debugging the problem I've found that yum is not able to find in my patch repository package glibc ...

       

      This seems to be strange... For testing porpuses I've created a new directory and run the command:

       

      ./RedHatRepositoryManager.sh -createUpdateRepository rhel-i386-server-5 /blrep/patches/rhel-i386-server-5-test

       

      It works and create a repository. Looking into for glibc packages I've found this is not present. Strange. I run the command again... I've noticed that this times the script download two more package... After 450 pkgs more or less scripts stop and wait... A strace shows:

       

      clock_gettime(CLOCK_REALTIME, {1235299323, 701187000}) = 0

      futex(0x6c8e14c4, FUTEX_WAIT, 651, {1, 998209000}) = -1 ETIMEDOUT (Connection timed out)

      futex(0x805dd70, FUTEX_WAKE, 1) = 0

      gettimeofday({1235299325, 701054}, NULL) = 0

      gettimeofday({1235299325, 701123}, NULL) = 0

      gettimeofday({1235299325, 701182}, NULL) = 0

      gettimeofday({1235299325, 701246}, NULL) = 0

      clock_gettime(CLOCK_REALTIME, {1235299325, 701308000}) = 0

      futex(0x6c8e14c4, FUTEX_WAIT, 653, {1, 999938000}) = -1 ETIMEDOUT (Connection timed out)

      futex(0x805dd70, FUTEX_WAKE, 1) = 0

      gettimeofday({1235299327, 702797}, NULL) = 0

      gettimeofday({1235299327, 702868}, NULL) = 0

      gettimeofday({1235299327, 702925}, NULL) = 0

      gettimeofday({1235299327, 702984}, NULL) = 0

      clock_gettime(CLOCK_REALTIME, {1235299327, 703044000}) = 0

      futex(0x6c8e14c4, FUTEX_WAIT, 655, {1, 999940000}) = -1 ETIMEDOUT (Connection timed out)

      futex(0x805dd70, FUTEX_WAKE, 1) = 0

      gettimeofday({1235299329, 704798}, NULL) = 0

      gettimeofday({1235299329, 704981}, NULL) = 0

      gettimeofday({1235299329, 705146}, NULL) = 0

      gettimeofday({1235299329, 705317}, NULL) = 0

      clock_gettime(CLOCK_REALTIME, {1235299329, 705397000}) = 0

      futex(0x6c8e14c4, FUTEX_WAIT, 657, {1, 998920000}) = -1 ETIMEDOUT (Connection timed out)

       

      After half an hour script go ahead creating errata information. No more packages are retrieved. This is not a good things.... seems that script after a long timeout stop to retrieve packages and go ahead but in this way many packages are missing and this is a real problem as missing packages are dependencies for others...

       

      My script jar version is:

      -rw-rr 1 root root 304039 Nov 18 19:35 RedHatRepositoryManager.jar

       

       

      Any hints about this issue?

       

      Stefano