Bug 970648

Summary: Bundle deployment fails for platform resource
Product: [Other] RHQ Project Reporter: Libor Zoubek <lzoubek>
Component: ProvisioningAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.8CC: hrupp, theute
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-06-04 14:59:52 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
example bundle none

Description Libor Zoubek 2013-06-04 13:50:57 UTC
Created attachment 756820 [details]
example bundle

Description of problem: after cassandra branch merge, our tests which deploy a dummy bundle to platform resource started to fail


Version-Release number of selected component (if applicable):
RHQ 4.8-master

How reproducible:always


Steps to Reproduce:
1. upload attached bundle to RHQ server and try to deploy (create a group of platforms)


Actual results:
java.lang.Exception: Failed to properly rescan the current deployment: {ks-script-Jt1cEo=?UNKNOWN_FILE_HASHCODE?, yum.log=?UNKNOWN_FILE_HASHCODE?, .s.PGSQL.5432=?UNKNOWN_FILE_HASHCODE?, .s.PGSQL.5432.lock=?UNKNOWN_FILE_HASHCODE?}
	at org.rhq.core.util.updater.Deployer.performUpdateDeployment(Deployer.java:369)
	at org.rhq.core.util.updater.Deployer.deploy(Deployer.java:184)
	at org.rhq.bundle.ant.type.DeploymentUnitType.install(DeploymentUnitType.java:202)
	at org.rhq.bundle.ant.type.DeploymentUnitType.upgrade(DeploymentUnitType.java:378)
	at org.rhq.bundle.ant.task.BundleTask.execute(BundleTask.java:157)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
	at org.apache.tools.ant.Task.perform(Task.java:348)
	at org.apache.tools.ant.Target.execute(Target.java:390)
	at org.apache.tools.ant.helper.ProjectHelper2.parse(ProjectHelper2.java:179)
	at org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:80)
	at org.rhq.bundle.ant.AntLauncher.executeBundleDeployFile(AntLauncher.java:111)
	at org.rhq.plugins.ant.AntBundlePluginComponent.executeDeploymentPhase(AntBundlePluginComponent.java:306)
	at org.rhq.plugins.ant.AntBundlePluginComponent.deployBundle(AntBundlePluginComponent.java:139)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.rhq.core.pc.inventory.ResourceContainer$ComponentInvocationThread.call(ResourceContainer.java:634)
	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
	at java.util.concurrent.FutureTask.run(FutureTask.java:166)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
	at java.lang.Thread.run(Thread.java:679)


Expected results: bundle is deployed


Additional info:

Comment 1 Libor Zoubek 2013-06-04 14:59:52 UTC
I can no longer reproduce