You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jclouds.apache.org by Johan Cronjé <jc...@emss.co.za> on 2013/12/06 14:55:04 UTC
Jenkins + jclouds + windows instances
Hi All!
Please excuse if this is the incorrect mailing list.
We have successfully set up Linux compile VMs as follows:
* OpenStack havana running on CentOS 6.4 hosts
* Guest images is openSuSE 11.0 with 3.1 kernel for dynamic attaching of volumes at boot time
* Jenkins 1.540 (regularly updated), with the JClouds plugin v 2.4
Everything is working perfectly with this setup.
We are trying to get a similar system running using Windows:
* Guest image is Windows 7 with Visual Studio 2010 (plus some other tools)
* I have installed all the tools and made all the scripts to attach and mount cinder volumes at boot time
When spinning up an instance using the dashboard, everything is in working order.
However, the next step is where the problem now lies.
>From what I can deduce, the jclouds plugin tries to use ssh to log in to the instance to perform the
initialisation (looking at our linux instances, I see there is a file called /tmp/init... (cannot recall the exact
name at the moment).
So, my questions are:
1. Does the above mean that it is impossible to use Jenkins + jclouds to spin up Windows instances?
2. If not, where does one start? Google is not very helpful (or maybe I don't know what to ask...) I was
thinking of trying to put sshd on the image, but I'm not sure if this will work at all.
3. Googling revealed something called 'overthere'. But lots of dead links etc. lead me to believe that this
is either still in development or 'dead'.
4. Can cloudbase-init help me or at least get me out of the gates?
5. Will I have to resort to a Jenkins job that 'emulates' the work the plugin does? (e.g. nova boot, etc.)
Any help will be appreciated, even if it is just a pointer in the right direction.
Thanks,
Johan
Re: Jenkins + jclouds + windows instances
Posted by Ignasi Barrera <ig...@gmail.com>.
I don't know exactly what the Jenkins plugin executes in the node, but
apart from the SSH connection, there are several scripts that assume a
bash shell in it.
Adding support for jclouds+Windows would require more than installing
an SSH server in the guest. As you found, there was a work started to
add support for Overthere as a driver, to be able to connect to
Windows nodes using WinRM, but that never got completed, and now the
pull request is dead :(
Being able to bypass the issue will depend on what the Jenkins plugin
tries to run in the node.
On 9 December 2013 14:14, Johan Cronjé <jc...@emss.co.za> wrote:
>>> 1. Does the above mean that it is impossible to use Jenkins +
>>> jclouds to spin up Windows instances?
>>
>> Would you be able to try with a Windows box that has an SSH server
>> running to see if you can get any further..?
>
> Hi Andrew,
>
> Thanks for the replies.
> I have logged an issue against the plugin (well, not really an 'issue' but anyway...)
> I have also tried with OpenSSH Windows 3.8.1 to no avail, but since it's so very old I'm not sure if that is where the issue lies...
> Thanks anyway.
>
> Johan
RE: Jenkins + jclouds + windows instances
Posted by Johan Cronjé <jc...@emss.co.za>.
>> 1. Does the above mean that it is impossible to use Jenkins +
>> jclouds to spin up Windows instances?
>
> Would you be able to try with a Windows box that has an SSH server
> running to see if you can get any further..?
Hi Andrew,
Thanks for the replies.
I have logged an issue against the plugin (well, not really an 'issue' but anyway...)
I have also tried with OpenSSH Windows 3.8.1 to no avail, but since it's so very old I'm not sure if that is where the issue lies...
Thanks anyway.
Johan
Re: Jenkins + jclouds + windows instances
Posted by Andrew Phillips <an...@apache.org>.
As a quick follow-up...
> 1. Does the above mean that it is impossible to use Jenkins +
> jclouds to spin up Windows instances?
Would you be able to try with a Windows box that has an SSH server
running to see if you can get any further..?
Regards
ap
Re: Jenkins + jclouds + windows instances
Posted by Andrew Phillips <an...@apache.org>.
Hi Johan
I suspect this is indeed not quite the correct mailing list, since
we're really talking about the Jenkins plugin (which uses jclouds)
here, and that is not part of the jclouds project itself.
Having said that, if you jump on #jclouds on Freenode, you may well
find some of the people involved with the Jenkins plugin there, so
should be able to get an answer to your question(s).
Alternatively, you may want to open an issue against the plugin itself
on its issue tracker [1]?
Regards
ap
[1]
https://issues.jenkins-ci.org/secure/IssueNavigator.jspa?mode=hide&reset=true&jqlQuery=project+%3D+JENKINS+AND+status+in+%28Open%2C+%22In+Progress%22%2C+Reopened%29+AND+component+%3D+%27jclouds%27