One more (and I am sure, not the last) question around Linux VPC. Take this example:
There is a new vulnerability release for the Firefox web browser for RHEL 5.X. The mandate we have is to patch all of our RHEL systems to the latest firefox RPM - firefox-3.0.15-3.el5_4. Our RHEL systems are all 64-bit. We want to use BL to do this.
I created a Linux Patch analysis job (leveraging the one installed out of the box by VPC) with the Analysis type = rpm:firefox-3.0.15-3.el5_4 and script mode = ap, per the VPC User's guide.
My expectation is that the target system(s) will be analyzed if this RPM is indeed installed on the target system. If it is not, deploy it. But not only deploy it, but also sort out the dependencies and install the dependencies with it.
With this expectation, the following must occur for the install to work:
1) It can find the RPM (and all dependencies) in the REPO
2) It can correctly solve the dependencies and the order
3) It can successfully install the RPM(s) in the appropriate order.
The job runs and analyzes the correct dependencies, and even creates a Batch Job to deploy the missing/necessary RPMs. But the job dies a swift death:
Error Nov 6, 2009 3:11:22 PM APPLY failed for server linuxa. Exit code = -4001
Error Nov 6, 2009 4:12:13 PM Command returned non-zero exit code: 1
Error Nov 6, 2009 4:12:13 PM Apply failed: id = 1
Error Nov 6, 2009 4:12:13 PM Apply failed, no rollback.
Info Nov 6, 2009 3:10:58 PM Started running the deploy step job '20091106Fri150850_linuxa->20091106Fri150850_linuxa' on application server 'emda-nbp-uea21.corp.csa.ic.gov'(1) against target server 'linuxa'
Info Nov 6, 2009 3:11:22 PM The job '20091106Fri150850_linuxa->20091106Fri150850_linuxa' has failed on server linuxa
Which brought to my curiousity if the job is applying the patches in any specific order. Looking at the BLPackage, it seems they are not ordered in the manner they should e.g. the RPM that I am analyzing the system against is listed first, and the dependencies are listed afterwards.
So - is the error above common? Are my expectations correct in regards to BL automagically resolving dependencies AND order?
Thanks for any help.