[JIRA] (JENKINS-60089) Datastore clusters not supported?

2 views
Skip to first unread message

rbeckwith@nexidia.com (JIRA)

unread,
Nov 7, 2019, 10:46:03 AM11/7/19
to jenkinsc...@googlegroups.com
Randy Beckwith created an issue
 
Jenkins / Bug JENKINS-60089
Datastore clusters not supported?
Issue Type: Bug Bug
Assignee: Unassigned
Components: vsphere-cloud-plugin
Created: 2019-11-07 15:45
Environment: Windows
Priority: Minor Minor
Reporter: Randy Beckwith

I’m attempting to use the vSphere plugin to make a clone of a VM using the “Clone VM from VM or template” build step in a freestyle Jenkins project. It apparently doesn’t like it when I try to use a datastore cluster name the Datastore field of the build step (see console output below). It says it can’t find the datastore. If I put an actual LUN into the field the clone operation will work.

I can use the datastore cluster name from within vSphere itself to create a clone, just not through the vSphere plugin in Jenkins.

Are datastore clusters not supported? Or maybe the cluster isn’t configured correctly to be recognized by the plugin?

Thanks for your help,

Randy Beckwith

 

Started by user Randy BeckwithRunning as SYSTEM[EnvInject] - Loading node environment variables.Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\rpb-vSphere-Test[vSphere] [vSphere] Performing vSphere build step: "Clone VM from VM or template"[vSphere] Attempting to use server configuration: "PK10A"[vSphere] Creating a deep clone of "NIABuildTMP12" to "rpbTest01"[vSphere] Error cloning VM or templateorg.jenkinsci.plugins.vsphere.tools.VSphereNotFoundException: vSphere Error: Datastore "NIABld_FL_Cluster" not found        at org.jenkinsci.plugins.vsphere.tools.VSphere.createRelocateSpec(VSphere.java:336)        at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneOrDeployVm(VSphere.java:235)        at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneVm(VSphere.java:174)        at org.jenkinsci.plugins.vsphere.builders.Clone.cloneFromSource(Clone.java:183)        at org.jenkinsci.plugins.vsphere.builders.Clone.perform(Clone.java:140)        at org.jenkinsci.plugins.vsphere.VSphereBuildStepContainer.perform(VSphereBuildStepContainer.java:101)        at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)        at hudson.model.Build$BuildExecution.build(Build.java:206)        at hudson.model.Build$BuildExecution.doRun(Build.java:163)        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)        at hudson.model.Run.execute(Run.java:1815)        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)        at hudson.model.ResourceController.execute(ResourceController.java:97)        at hudson.model.Executor.run(Executor.java:429) ERROR: vSphere Error: Datastore "NIABld_FL_Cluster" not foundFinished: FAILURE

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.6#713006-sha1:cc4451f)
Atlassian logo

rbeckwith@nexidia.com (JIRA)

unread,
Nov 7, 2019, 10:51:02 AM11/7/19
to jenkinsc...@googlegroups.com
Randy Beckwith updated an issue
Change By: Randy Beckwith
I’m attempting to use the vSphere plugin to make a clone of a VM using the “Clone VM from VM or template” build step in a freestyle Jenkins project. It apparently doesn’t like it when I try to use a datastore cluster name the Datastore field of the build step (see console output below). It says it can’t find the datastore. If I put an actual LUN into the field the clone operation will work.

I can use the datastore cluster name from within vSphere itself to create a clone, just not through the vSphere plugin in Jenkins.

Are datastore clusters not supported? Or maybe the cluster isn’t configured correctly to be recognized by the plugin?

Thanks for your help,

Randy Beckwith

 

Started by user Randy BeckwithRunning Beckwith
Running
as SYSTEM
[EnvInject] - Loading node environment variables.
Building on master in workspace C:\Program Files (x86)\Jenkins\workspace\rpb-vSphere-Test
[vSphere]
[vSphere] Performing vSphere build step: "Clone VM from VM or template"
[vSphere] Attempting to use server configuration: "PK10A"
[vSphere] Creating a deep clone of "NIABuildTMP12" to "rpbTest01"
[vSphere] Error cloning VM or templateorg template
org
.jenkinsci.plugins.vsphere.tools.VSphereNotFoundException: vSphere Error: Datastore "NIABld_FL_Cluster" not found
        at org.jenkinsci.plugins.vsphere.tools.VSphere.createRelocateSpec(VSphere.java:336)
        at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneOrDeployVm(VSphere.java:235)
        at org.jenkinsci.plugins.vsphere.tools.VSphere.cloneVm(VSphere.java:174)
        at org.jenkinsci.plugins.vsphere.builders.Clone.cloneFromSource(Clone.java:183)
        at org.jenkinsci.plugins.vsphere.builders.Clone.perform(Clone.java:140)
        at org.jenkinsci.plugins.vsphere.VSphereBuildStepContainer.perform(VSphereBuildStepContainer.java:101)
        at hudson.tasks.BuildStepCompatibilityLayer.perform(BuildStepCompatibilityLayer.java:79)
        at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:20)
        at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:741)
        at hudson.model.Build$BuildExecution.build(Build.java:206)
        at hudson.model.Build$BuildExecution.doRun(Build.java:163)
        at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:504)
        at hudson.model.Run.execute(Run.java:1815)
        at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
        at hudson.model.ResourceController.execute(ResourceController.java:97)
        at hudson.model.Executor.run(Executor.java:429)
 ERROR: vSphere Error: Datastore "NIABld_FL_Cluster" not foundFinished found
Finished
: FAILURE
Reply all
Reply to author
Forward
0 new messages