|
||||||||
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
[JIRA] (JENKINS-15727) JClouds Plug-In failing to start slave
nsh...@phoenix-int.com (JIRA) Tue, 06 Nov 2012 09:03:47 -0800
- [JIRA] (JENKINS-15727) JClouds Plug-In faili... nsh...@phoenix-int.com (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... aba...@java.net (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... nsh...@phoenix-int.com (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... aba...@java.net (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... nsh...@phoenix-int.com (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... nsh...@phoenix-int.com (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... aba...@java.net (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... nsh...@phoenix-int.com (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... aba...@java.net (JIRA)
- [JIRA] (JENKINS-15727) JClouds Plug-In ... nsh...@phoenix-int.com (JIRA)
Sure enough! I found some logs in /var/log/auth.log mentioning attempted logins to root. Couldn't figure how how to have the plug-in log in via the 'ubuntu' user but still use the public key authentication. But by setting disable_root to 0 in /etc/cloud/cloud.cfg in my amazon image, I seem to be past that now
I have a simple job running, but still having some problems. When the first job is queued, it starts a new amazon machine to service it. However if I put a second job in the queue, when it tries to start the second amazon machine I get this stack trace:
[#|2012-11-06T11:48:08.801-0500|WARNING|oracle-glassfish3.1.1|hudson.slaves.NodeProvisioner|_ThreadID=26;_ThreadName=Thread-2;|Provisioned slave testaws failed to launch
java.lang.NullPointerException
at java.util.TreeMap.put(TreeMap.java:541)
at java.util.TreeSet.add(TreeSet.java:238)
at hudson.model.Node.getAssignedLabels(Node.java:240)
at hudson.model.Slave.<init>(Slave.java:154)
at hudson.model.Slave.<init>(Slave.java:132)
at jenkins.plugins.jclouds.compute.JCloudsSlave.<init>(JCloudsSlave.java:47)
at jenkins.plugins.jclouds.compute.JCloudsSlave.<init>(JCloudsSlave.java:70)
at jenkins.plugins.jclouds.compute.JCloudsSlaveTemplate.provisionSlave(JCloudsSlaveTemplate.java:163)
at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:216)
at jenkins.plugins.jclouds.compute.JCloudsCloud$2.call(JCloudsCloud.java:213)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:662)