vsphere on-demand slave. Job hang as pending?

61 views
Skip to first unread message

k...@capres.com

unread,
Feb 18, 2016, 6:22:55 AM2/18/16
to Jenkins Users
Hi
Just setup vshere plugin. I want to use it to deploy slaves on-demand.

Configured vsphere cloud and test ok against vcenter.

Created one slave template and labeled it "w7x86.v1.2".

Created a "freestyle project".

Selected "restricted where this project can be run", and entered "w7x86.v.1.2", and get "label is serviced by 0 node  and 1 cloud".

create a build step "windows batch" => echo Hello world".

When I try to run the job, it hangs on "pending" and no slkave is created - am I missing something heere ??

BR Kims

k...@capres.com

unread,
Feb 18, 2016, 6:31:25 AM2/18/16
to Jenkins Users
By the way - I have:
vSphere 6.0
Jenkins 1.642
vsphere cloud plugin 2.10

k...@capres.com

unread,
Feb 19, 2016, 1:10:54 AM2/19/16
to Jenkins Users
Found there is two entried with vsphere when creating a new node.


k...@capres.com

unread,
Feb 19, 2016, 6:13:16 AM2/19/16
to Jenkins Users
Updated jenkins to 1.648
Uninstalled vshere plugin, and installed it again (still have two entries in "new node").
Now the VM get cloned and appear in vshpere, but it keep offline state.
What should be done to get it online?? 

John Mellor

unread,
Feb 19, 2016, 8:39:50 AM2/19/16
to jenkins...@googlegroups.com

I have this problem after I independently bring up the VM to modify it outside of Jenkins using the vsphere client.  Jenkins does not recover from this scenario nicely.  I have to launch slave agent manually on the node page after this and then everything works properly.

--
You received this message because you are subscribed to the Google Groups "Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/0bd1b7e3-0d56-40ac-b8eb-d2c6dbc0500c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Kim J. Schmock

unread,
Feb 19, 2016, 2:52:37 PM2/19/16
to jenkins...@googlegroups.com

Have tried to search for info about using the vsphere-cloud plugin, but can't find any ( other than the jenkins plugin page). Wonder if anyone else have this working (against windows/linux)?

Sent from my Cyanogen phone

You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/nLF5DYUB62U/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6a1ec5e77cb545738bcefb63d0f09a1b%40mbx01colo01p.esentire.local.
Reply all
Reply to author
Forward
0 new messages