Description of problem: If user attempts to install an RPM from a repo, NPE results in agent log and nothing is installed -- fails immediately. Version-Release number of selected component (if applicable): How reproducible: Every time Steps to Reproduce: 1. Sync a CP, 2. create a Repo and associate it with CP 3. Associate RHEL box with Repo. 4. Attempt to install RPM Actual results: NPE: 2009-11-05 15:28:35,854 ERROR [ResourceContainer.invoker.nonDaemon-3] (org.rhq.plugins.platform.LinuxPlatformComponent)- Install packages failed java.lang.NullPointerException at org.rhq.plugins.platform.content.yum.YumProxy.execute(YumProxy.java:160) at org.rhq.plugins.platform.content.yum.YumProxy.install(YumProxy.java:95) at org.rhq.plugins.platform.LinuxPlatformComponent.deployPackages(LinuxPlatformComponent.java:263) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:525) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Expected results: User can install package from repo. Additional info:
dev -> pkilambi
This has been fixed with work done during Sprint #3. The issue was related to RHN Hosted plugin not passing in "metadata". RHQ was expecting a gzipped blob of xml package metadata, this metadata is later pulled from the DB and put together to form a primary.xml file for yum. Marking as "MODIFIED" state until we have clear direction on what state this should be.
QA Closing -- essentially untestable.