[JIRA] [vmware-vrealize-orchestrator-plugin] (JENKINS-34175) It does not seem possible to execute an orchestrator workflow that requires no user input.

33 views
Skip to first unread message

bob.kraemer@agfa.com (JIRA)

unread,
Apr 12, 2016, 10:44:01 AM4/12/16
to jenkinsc...@googlegroups.com
Bob Kraemer created an issue
 
Jenkins / Bug JENKINS-34175
It does not seem possible to execute an orchestrator workflow that requires no user input.
Issue Type: Bug Bug
Assignee: Agila Govindaraju
Components: vmware-vrealize-orchestrator-plugin
Created: 2016/Apr/12 2:43 PM
Environment: Jenkins Master (CentOS) 1.609.1 LTS
vmware-realize-orchestrator-plugin version 2.0
Java version: JDK1.8
Orchestrator vApp version 7.0.1
Priority: Minor Minor
Reporter: Bob Kraemer

It does not seem possible to execute an orchestrator workflow that requires no user input. (Example = all orchestrator workflow inputs are set as attributes). When the plugin has nothing to pass, the jenkins console reports there has been a "HTTP/1.1 400 Bad Request"

Jenkins Console Output:
07:35:15 Started by user anonymous
07:35:15 [EnvInject] - Loading node environment variables.
07:35:15 Building remotely on anonymous in workspace F:\jenkins\workspace\anonymous_orchestrator_jenkins_send_notification_null
07:35:16 Starting Orchestrator workflow execution : a18ceeea-e29e-4d04-8f73-4733e63f76d4
07:35:19 FATAL: Server responded with status code HTTP/1.1 400 Bad Request
07:35:19 java.io.IOException: Server responded with status code HTTP/1.1 400 Bad Request
07:35:19 at com.vmware.vro.jenkins.plugin.OrchestratorCallable.call(OrchestratorCallable.java:66)
07:35:19 at com.vmware.vro.jenkins.plugin.OrchestratorCallable.call(OrchestratorCallable.java:17)
07:35:19 at hudson.remoting.UserRequest.perform(UserRequest.java:121)
07:35:19 at hudson.remoting.UserRequest.perform(UserRequest.java:49)
07:35:19 at hudson.remoting.Request$2.run(Request.java:325)
07:35:19 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
07:35:19 at java.util.concurrent.FutureTask.run(Unknown Source)
07:35:19 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
07:35:19 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
07:35:19 at hudson.remoting.Engine$1$1.run(Engine.java:69)
07:35:19 at java.lang.Thread.run(Unknown Source)
07:35:19 at ......remote call to anonymous(Native Method)
07:35:19 at hudson.remoting.Channel.attachCallSiteStackTrace(Channel.java:1360)
07:35:19 at hudson.remoting.UserResponse.retrieve(UserRequest.java:221)
07:35:19 at hudson.remoting.Channel.call(Channel.java:753)
07:35:19 at com.vmware.vro.jenkins.plugin.OrchestratorBuilder.perform(OrchestratorBuilder.java:113)
07:35:19 at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
07:35:19 at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:761)
07:35:19 at hudson.model.Build$BuildExecution.build(Build.java:203)
07:35:19 at hudson.model.Build$BuildExecution.doRun(Build.java:160)
07:35:19 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:536)
07:35:19 at hudson.model.Run.execute(Run.java:1741)
07:35:19 at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
07:35:19 at hudson.model.ResourceController.execute(ResourceController.java:98)
07:35:19 at hudson.model.Executor.run(Executor.java:374)
07:35:19 Caused by: java.io.IOException: Server responded with status code HTTP/1.1 400 Bad Request
07:35:19 at com.vmware.vro.jenkins.plugin.util.RestClient.httpPostForLocationHeader(RestClient.java:105)
07:35:19 at com.vmware.vro.jenkins.plugin.OrchestratorClient.executeWorkflow(OrchestratorClient.java:135)
07:35:19 at com.vmware.vro.jenkins.plugin.OrchestratorCallable.call(OrchestratorCallable.java:31)
07:35:19 at com.vmware.vro.jenkins.plugin.OrchestratorCallable.call(OrchestratorCallable.java:17)
07:35:19 at hudson.remoting.UserRequest.perform(UserRequest.java:121)
07:35:19 at hudson.remoting.UserRequest.perform(UserRequest.java:49)
07:35:19 at hudson.remoting.Request$2.run(Request.java:325)
07:35:19 at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
07:35:19 at java.util.concurrent.FutureTask.run(Unknown Source)
07:35:19 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
07:35:19 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
07:35:19 at hudson.remoting.Engine$1$1.run(Engine.java:69)
07:35:19 at java.lang.Thread.run(Unknown Source)
07:35:19 [BFA] Scanning build for known causes...
07:35:19 [BFA] No failure causes found
07:35:19 [BFA] Done. 0s
07:35:19 Started calculate disk usage of build
07:35:19 Finished Calculation of disk usage of build in 0 seconds
07:35:19 Started calculate disk usage of workspace
07:35:19 Finished Calculation of disk usage of workspace in 0 seconds
07:35:19 Finished: FAILURE

If the orchestrator workflow is run manually in workflow designer, the workflow runs successfully.

Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265)
Atlassian logo

agi.raj@gmail.com (JIRA)

unread,
Apr 17, 2016, 12:34:03 PM4/17/16
to jenkinsc...@googlegroups.com

agi.raj@gmail.com (JIRA)

unread,
Apr 18, 2016, 5:54:01 AM4/18/16
to jenkinsc...@googlegroups.com

scm_issue_link@java.net (JIRA)

unread,
Apr 18, 2016, 11:43:01 AM4/18/16
to jenkinsc...@googlegroups.com

Code changed in jenkins
User: Agila Govindaraju
Path:
src/main/java/com/vmware/vro/jenkins/plugin/OrchestratorClient.java
http://jenkins-ci.org/commit/vmware-vrealize-orchestrator-plugin/0b067fb4a4410c800d6bfb4a961c41efa21c7fef
Log:
Fixed Issue JENKINS-34175

vRO needs empty payload for no input workflow. Added that now.

agi.raj@gmail.com (JIRA)

unread,
Apr 18, 2016, 11:52:01 AM4/18/16
to jenkinsc...@googlegroups.com
Agila Govindaraju closed an issue as Fixed
 

Released version 3.0 has this fix.

Change By: Agila Govindaraju
Status: Open Closed
Resolution: Fixed
Reply all
Reply to author
Forward
0 new messages