A frequent cause of this error is that the RPMs for the deploy job are marked as Irrelevant Patches in the catalog but are not actually irrrelevant. They have been reassigned during a failed catalog update job but not moved back. This can also happen when a filter on the catalog gets removed then added back.
Since the RPMs are still in the repository location, the fastest fix is:
- Create a new Red Hat Linux patch catalog that points to the same repo location and has the desired filter (errata level, etc);
- Update the new catalog;
- Point the existing patch analysis job to it (look in the first tab of the job);
- Run the analysis and remediation again.
irrelevant patches for redhat should not be an issue past 8.5.01.003 or 4 - bsa is now keeping all of the rpms available from redhat for a channel.
for this issue though it could be that this rpm was added as a dependency - but i'd expect it to show up in the job results. can you run the analysis job w/ the DEBUG_MODE_ENABLED and then grab the files generated in NSH/tmp/debug on the appserver that ran the wit for the target ?
Another customer reported this issue from BSA 8.7 release today:
On both RHEL6 and RHEL7 systems we cannot deploy patch remediation, getting these messages in the commit phase:
<patch name>: Caching enabled but no local cache of /var/tmp/stage/<hash value>/blrepos/repo/packages/<patch name> -
Trying to do this with BLAdmins:BLAdmin user - no errors in any rscd log - attaching job log and appserver log during an attempt -
Catalogs are up to date and can download fine -
Is there enough disk space in /var/tmp ? Is this happening with all servers or specific ones only ?
There is enough space and this happens random on few servers only.
is this in the include list ? can you attach the entire bldeploy log ?
I have same issue during patching (commit stage)
In logs it shows:
Error Downloading Packages:
file-5.04-30.el6.x86_64: Caching enabled but no local cache of //tmp/4fead847ee11301b867ff6db43474004/blrepos/repo/packages/file-5.04-30.el6.x86_64.rpm from repo
file-libs-5.04-30.el6.x86_64: Caching enabled but no local cache of //tmp/4fead847ee11301b867ff6db43474004/blrepos/repo/packages/file-libs-5.04-30.el6.x86_64.rpm from repo
Can anyone suggest how to resolve this.
1 of 1 people found this helpful
so what's happening is that blyum is looking for some rpms to install out of the cache we create during the deploy and it's not finding them. there's a couple reasons for this:
- there are rpms that are in the metadata but not in the catalog. this could be due to them being flagged as irrelevant due to changing filters on the catalog, or not having all the filter options checked in the catalog filter (bugfix, enhancement, high, low, etc)
- rpms are in the include list and not added to the blpackage because of the above.
what version, including the build, of bsa is this ?
I have created new catalog and then run the analysis job which worked for me. I am using 8.5 version
Is this an online or offline catalog?
What exact version of bsa – 8.5.0?.???
What filters are in your catalog ?
What options are set on the filters ?
Is this an online or offline catalog? Ans: Offline
What exact version of bsa – 8.5.0?.??? Ans: 8.5.01
What filters are in your catalog ? Ans: Red Hat Enterprise Linux Server (v.6 for 64-bit x86_64)
What options are set on the filters ? Screenshot attached.
Also I found that "file-5.04-30.el6.x86_64" and "file-libs-5.04-30.el6.x86_64" are there in REPO(repository server) but it is not in catalog. I tried updating catalog but still I dont find these files even after catalog.