4 Replies Latest reply on Apr 22, 2016 7:19 AM by Jay Bhavsar Branched to a new discussion.

    Issue during Patch Analysis Job

    Jay Bhavsar

      Hello All,

       

      When I enabled DEBUG MODE and run the Patch Analysis Job against a set of server.

       

      For few servers it is success and I can see below files generated for successful servers

       

      repo folder

        .gpgkeyschecked.yum

        analysis_err.log

        analysis_log.log

        analysis_res.log

        installed_rpms.log

        repodata.tar.gz

        yum.conf

        yum.err.log

        yum.lst

        yum_analysis.res

       

      under repo folder

           Packages folder

           filelists.xml.gz

           primary.xml.gz

           primary.xml.gz.sqlite

           repomd.xml

       

      and for failed server I can see only these two files generated

       

      repodata.tar.gz

      yum.conf

       

      I am still unable to get the exact issue why the job is failing for few servers. I have checked agentinfo command and it is working fine for all successful and failed servers. Also secure files are there in place. what next I can check? Please suggest.

       

      Thanks in Advance,

      Jay

        • 1. Re: Issue during Patch Analysis Job
          Bill Robinson

          What is in the job run log ?

          • 2. Re: Issue during Patch Analysis Job
            Jay Bhavsar

            on console it shows,

             

            Info04/22/2016 04:53:20Analyzer execution complete on server: <servername> , exitCode: 1
            Info04/22/2016 04:53:20Starting analyzer execution on server: <servername>
            Info04/22/2016 04:53:20Copying analysis script to target: <servername>
            Info04/22/2016 04:53:15Copying repository metadata (repodata.tar.gz) from '//<reposerver>/opt/bbsa_repo/rhel/rhel6_NEW/catalog_2000308/RHES6x86_64/repodata.tar.gz' to '//<servername>//var/tmp/stage/LinuxCatalog_3774_<servername>/repodata.tar.gz'
            • 3. Re: Issue during Patch Analysis Job
              Bill Robinson

              can you manually run blyum on the targets that are failing ?  copy over the yum.conf and repodata and setup the dir structure and such and try running blyum.

              • 4. Re: Issue during Patch Analysis Job
                Jay Bhavsar
                Error04/22/2016 04:54:14The job 'analysis-2000457-DINESH_RHEL_DRY_RUN_TEST2016-04-22 04-51-26-686-0500' has failed
                Info04/22/2016 04:54:12Executing work item Analysis Result saver - Redhat Patch Analysis Job:analysis-2000457-DINESH_RHEL_DRY_RUN_TEST2016-04-22 04-51-26-686-0500;  on application server: jobserver4
                Info04/22/2016 04:54:07Executing work item Redhat Patch Analysis Job:analysis-2000457-DINESH_RHEL_DRY_RUN_TEST2016-04-22 04-51-26-686-0500; Server:<succesfulserver>;  on application server: jobserver4
                Info04/22/2016 04:53:15Executing work item Redhat Patch Analysis Job:analysis-2000457-DINESH_RHEL_DRY_RUN_TEST2016-04-22 04-51-26-686-0500; Server:<failedserver>;  on application server: JobServer1
                Info04/22/2016 04:53:14Executing work item Redhat Patch Analysis Job:analysis-2000457-DINESH_RHEL_DRY_RUN_TEST2016-04-22 04-51-26-686-0500; Server:<succesfulserver>;  on application server: jobserver4
                Info04/22/2016 04:53:04Started running the job 'analysis-2000457-DINESH_RHEL_DRY_RUN_TEST2016-04-22 04-51-26-686-0500' with priority 'NORMAL' on application server 'JobServer1'(6)