RPMs do not get uninstalled when bundle is unassociated in ZCC

  • 7000935
  • 16-Jul-2008
  • 30-Apr-2012

Environment

Novell ZENworks 7.2 Linux Management - ZLM7.2

Situation

Removing bundle association - RPMs remain installed


ERROR: "Failed to execute scheduled action"

ERROR: "Bundle removal failed: "Object reference not set to an instance of an object""

Resolution

To obtain access to a hot patch with the fix for this problem, follow the instructions in KB 3469853 "Updates to Novell ZENworks 7.2 Linux Management" which can be found at https://www.novell.com/support

Additional Information

Steps to Replicate:

1. Create a simple RPM Bundle & assign it to an agent.
2. Do "rug ref" on agent side & check with commands "rug bl","rug bl -i", "rpm -q<package name>", to confirm that the Bundle got installed.
3. Then remove the Bundle association for Agent from ZCC
4. Do rug refresh on Agent.

Result:

"rug bl" - will not list the Bundle & indicates that the Bundle was removed.
But "rug bl -i" , still shows the Bundle, also "rpm -q <package name>" shows the presence of related packages.

ZMD log shows
Failed to execute scheduled action (remove (bundles=c870925011649137fac2d8af2e5373e1, dryrun=false)): Bundle transaction failed: Bundle transaction failed: Object reference not set to an instance of an object
Novell.Zenworks.Zmd.Public.ZenException: Bundle transaction failed: Bundle transaction failed: Object reference not set to an instance of an object