[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-26 Thread pe...@novotnak.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Peter Novotnak commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 For reference, the kubernetes plugin repository is here: https://updates.jenkins-ci.org/download/plugins/kubernetes/  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-26 Thread jgang...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jae Gangemi commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 i'm currently running 1.4.1 w/o any issue. if you don't have the option to roll back to that, you can download it directly from the jenkins maven repository and install it, which is what i did.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-26 Thread pe...@novotnak.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Peter Novotnak edited a comment on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 Just wanted to say–I'm still getting this with version 1.6. Let me know if I can provide  you  any additional debugging info. [~deiwin] it does make the plugin unusable, and it was also miscatagorized as a feature request (these are both my bad). I changed both fields to better reflect the state of affairs. [~csanchez] Is there a way to log the entire pod spec being sent to kubernetes? That might help narrow down the issue.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-26 Thread pe...@novotnak.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Peter Novotnak edited a comment on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 Just wanted to say–I'm still getting this with version 1.6. Let me know if I can provide you any additional debugging info.  [~deiwin] it does make the plugin unusable, and it was also miscatagorized as a feature request (these are both my bad). I changed both fields to better reflect the state of affairs.   [~csanchez] Is there a way to log the entire pod spec being sent to kubernetes? That  would  might  help narrow down the issue.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-26 Thread pe...@novotnak.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Peter Novotnak updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Peter Novotnak  
 
 
Priority: 
 Minor Major  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-26 Thread pe...@novotnak.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Peter Novotnak commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 Just wanted to say–I'm still getting this with version 1.6. Let me know if I can provide you any additional debugging info.   Is there a way to log the entire pod spec being sent to kubernetes? That would help narrow down the issue.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-26 Thread pe...@novotnak.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Peter Novotnak updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Peter Novotnak  
 
 
Issue Type: 
 New Feature Bug  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-18 Thread deiwin.sar...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Deiwin Sarjas commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 This is marked with a priority "Minor", which is defined as "Minor loss of function, or other problem where easy workaround is present.". Not being able to provision pods feels pretty major to me and as far as I can see there's no known workaround.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-18 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez assigned an issue to Unassigned  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Assignee: 
 Carlos Sanchez  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-18 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez reopened an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Resolution: 
 Fixed  
 
 
Status: 
 Resolved Reopened  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-17 Thread amen...@onemarketnetwork.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Adrian Menard commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 Tried updating to plugin version 1.5.2 this morning. Still seeing the behavior that slave pods fail to provision. Here is the error from the jenkins master log: Apr 17, 2018 3:42:59 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch WARNING: Error in provisioning; agent=KubernetesSlave name: jnlp-tf989, template=PodTemplate{inheritFrom='', name='jnlp', namespace='jenkins', label='k8s', nodeSelector='', nodeUsageMode=NORMAL, workspaceVolume=org.csanchez.jenkins.plugins.kubernetes.volumes.workspace.EmptyDirWorkspaceVolume@2dc11a61, volumes=[HostPathVolume [mountPath=/usr/bin/docker, hostPath=/usr/bin/docker], HostPathVolume [mountPath=/var/run/docker.sock, hostPath=/var/run/docker.sock], org.csanchez.jenkins.plugins.kubernetes.volumes.EmptyDirVolume@227cf16a], containers=[ContainerTemplate\{name='jnlp', image='gcr.io/ops-production/jenkins-slave:v8', alwaysPullImage=true, workingDir='/home/jenkins', command='', args='$\{computer.jnlpmac} $\{computer.name}', resourceRequestCpu='', resourceRequestMemory='', resourceLimitCpu='', resourceLimitMemory='', livenessProbe=org.csanchez.jenkins.plugins.kubernetes.ContainerLivenessProbe@10dce3c9}, ContainerTemplate\{name='postgres', image='postgres', alwaysPullImage=true, workingDir='', command='', args='', resourceRequestCpu='', resourceRequestMemory='', resourceLimitCpu='', resourceLimitMemory='', livenessProbe=org.csanchez.jenkins.plugins.kubernetes.ContainerLivenessProbe@33f0d515}, ContainerTemplate\{name='protobuf-mocks', image='gcr.io/ops-production/protobuf-mocks:v2', workingDir='', command='', args='$\{computer.jnlpmac} $\{computer.name}', resourceRequestCpu='', resourceRequestMemory='', resourceLimitCpu='', resourceLimitMemory='', livenessProbe=org.csanchez.jenkins.plugins.kubernetes.ContainerLivenessProbe@d8cfaae}]} io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default/api/v1/namespaces/jenkins/pods. Message: Pod "jnlp-tf989" is invalid: [spec.containers[0].volumeMounts[3].mountPath: Required value, spec.containers[2].volumeMounts[3].mountPath: Required value]. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.containers[0].volumeMounts[3].mountPath, message=Required value, reason=FieldValueRequired, additionalProperties={}), StatusCause(field=spec.containers[2].volumeMounts[3].mountPath, message=Required value, reason=FieldValueRequired, additionalProperties={})], group=null, kind=Pod, name=jnlp-tf989, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod "jnlp-tf989" is invalid: [spec.containers[0].volumeMounts[3].mountPath: Required value, spec.containers[2].volumeMounts[3].mountPath: Required value], metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}). at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:472) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:411) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:381) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:344) at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:227) at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:756) at 

[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-10 Thread jgang...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jae Gangemi commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 i have no other values set in the pod template other then the container definition. i am currently using version 0.11 - i had tried newer 1.x versions but had to roll back b/c of that issue where an additional container was spun up which i believe was fixed in 1.3.1.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-10 Thread jgang...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jae Gangemi commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
   
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-10 Thread jgang...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jae Gangemi updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Jae Gangemi  
 
 
Attachment: 
 image-2018-04-10-10-48-36-384.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-10 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 do you have a minimal podTemplate example that shows the issue ?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-10 Thread jgang...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jae Gangemi commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 i tried mounting in a host volume just to see if that populate the field but i still got the same error.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-10 Thread jgang...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jae Gangemi commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 both  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-10 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 Jae Gangemi 1.5.0 or 1.5.1 ?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-09 Thread jgang...@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Jae Gangemi commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 i'm now getting this error after upgrading for a pod template that was working before and has no volumes/mount paths associated with it at all 

 

Error in provisioning; agent=KubernetesSlave name: kubectl-8-debian-lv201, template=PodTemplate{inheritFrom='', name='kubectl-8-debian', namespace='', label='kubectl-8-debian', nodeSelector='', nodeUsageMode=NORMAL, workspaceVolume=org.csanchez.jenkins.plugins.kubernetes.volumes.workspace.EmptyDirWorkspaceVolume@2d52e6f4, containers=[ContainerTemplate{name='jnlp', image='registry.battery-park.conductor.com/jenkins-slave-8-kubectl-debian', alwaysPullImage=true, workingDir='', command='', args='${computer.jnlpmac} ${computer.name}', ttyEnabled=true, resourceRequestCpu='', resourceRequestMemory='', resourceLimitCpu='', resourceLimitMemory='', livenessProbe=org.csanchez.jenkins.plugins.kubernetes.ContainerLivenessProbe@774c827b}]}
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: http://jenkins-kubernetes-master.infra.us-east-1.conductor.sh/api/v1/namespaces/beta/pods. Message: Pod "kubectl-8-debian-lv201" is invalid: spec.containers[0].volumeMounts[0].mountPath: Required value. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.containers[0].volumeMounts[0].mountPath, message=Required value, reason=FieldValueRequired, additionalProperties={})], group=null, kind=Pod, name=kubectl-8-debian-lv201, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod "kubectl-8-debian-lv201" is invalid: spec.containers[0].volumeMounts[0].mountPath: Required value, metadata=ListMeta(resourceVersion=null, selfLink=null, additionalProperties={}), reason=Invalid, status=Failure, additionalProperties={}).
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.requestFailure(OperationSupport.java:472)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.assertResponseCode(OperationSupport.java:411)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:381)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleResponse(OperationSupport.java:344)
	at io.fabric8.kubernetes.client.dsl.base.OperationSupport.handleCreate(OperationSupport.java:227)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.handleCreate(BaseOperation.java:756)
	at io.fabric8.kubernetes.client.dsl.base.BaseOperation.create(BaseOperation.java:334)
	at org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher.launch(KubernetesLauncher.java:105)
	at hudson.slaves.SlaveComputer$1.call(SlaveComputer.java:288)
	at jenkins.util.ContextResettingExecutorService$2.call(ContextResettingExecutorService.java:46)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at java.lang.Thread.run(Thread.java:748)
 

  
 

  
 
 
 

[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-06 Thread si...@wydooghe.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Simon Wydooghe commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 Cool, cheers!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-06 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez updated  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Merged https://github.com/jenkinsci/kubernetes-plugin/pull/303  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Status: 
 In Review Resolved  
 
 
Resolution: 
 Fixed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit 

[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-04 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez updated  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Status: 
 In  Progress  Review  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-04 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez started work on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 
 
Status: 
 Open In Progress  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-03 Thread si...@wydooghe.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Simon Wydooghe commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 

 

WARNING: Error in provisioning; agent=KubernetesSlave name: jenkins-agent-github-drupal8-site-cms-nieuws-master-59-5b-cdvjx, template=PodTemplate{, name='jenkins-agent-github-drupal8-site-cms-nieuws-master-59-5bjkm', namespace='ops-prod', label='8a6f6637-d8e3-48e6-9c18-8a1f7082675d', serviceAccount='jenkins', nodeSelector='cloud.google.com/gke-preemptible=true,cloud.google.com/gke-local-ssd=true', nodeUsageMode=EXCLUSIVE, volumes=[org.csanchez.jenkins.plugins.kubernetes.volumes.HostPathVolume@63b25977], containers=[ContainerTemplate{name='jnlp', image='medialaan/jenkins-jnlp-slave:3.16-1', alwaysPullImage=true, workingDir='/home/jenkins', args='${computer.jnlpmac} ${computer.name}'}, ContainerTemplate{name='composer', image='medialaan/composer:1.0.0', alwaysPullImage=true, workingDir='/home/jenkins', command='cat', ttyEnabled=true}, ContainerTemplate{name='bazel', image='eu.gcr.io/medialaan-production/bazel:0.1.0', alwaysPullImage=true, workingDir='/home/jenkins', command='cat', ttyEnabled=true}, ContainerTemplate{name='gcp', image='eu.gcr.io/medialaan-production/gcp:0.1.0', alwaysPullImage=true, workingDir='/home/jenkins', command='cat', ttyEnabled=true, envVars=[KeyValueEnvVar [getValue()=$PWD/.kube/config, getKey()=KUBECONFIG], KeyValueEnvVar [getValue()=$PWD/.config, getKey()=CLOUDSDK_CONFIG], KeyValueEnvVar [getValue()=$PWD/.helm, getKey()=HELM_HOME]]}]}
io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default/api/v1/namespaces/ops-prod/pods. Message: Pod "jenkins-agent-github-drupal8-site-cms-nieuws-master-59-5b-cdvjx" is invalid: [spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/home/jenkins": must be unique, spec.containers[1].volumeMounts[1].mountPath: Invalid value: "/home/jenkins": must be unique, spec.containers[2].volumeMounts[1].mountPath: Invalid value: "/home/jenkins": must be unique, spec.containers[3].volumeMounts[1].mountPath: Invalid value: "/home/jenkins": must be unique]. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.containers[0].volumeMounts[1].mountPath, message=Invalid value: "/home/jenkins": must be unique, reason=FieldValueInvalid, additionalProperties={}), StatusCause(field=spec.containers[1].volumeMounts[1].mountPath, message=Invalid value: "/home/jenkins": must be unique, reason=FieldValueInvalid, additionalProperties={}), StatusCause(field=spec.containers[2].volumeMounts[1].mountPath, message=Invalid value: "/home/jenkins": must be unique, reason=FieldValueInvalid, additionalProperties={}), StatusCause(field=spec.containers[3].volumeMounts[1].mountPath, message=Invalid value: "/home/jenkins": must be unique, reason=FieldValueInvalid, additionalProperties={})], group=null, kind=Pod, name=jenkins-agent-github-drupal8-site-cms-nieuws-master-59-5b-cdvjx, retryAfterSeconds=null, uid=null, additionalProperties={}), kind=Status, message=Pod "jenkins-agent-github-drupal8-site-cms-nieuws-master-59-5b-cdvjx" is invalid: [spec.containers[0].volumeMounts[1].mountPath: Invalid value: "/home/jenkins": must be unique, spec.containers[1].volumeMounts[1].mountPath: Invalid value: "/home/jenkins": must be unique, spec.containers[2].volumeMounts[1].mountPath: Invalid value: "/home/jenkins": must be unique, spec.containers[3].volumeMounts[1].mountPath: Invalid value: "/home/jenkins": 

[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-03 Thread amen...@onemarketnetwork.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Adrian Menard edited a comment on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 We also had this issue. Updated to 1.15 and started getting `Error in provisioning; agent=KubernetesSlave` in the jenkins logs. Very similar error messages reported above. Had to rollback to 1.14.  We are on jenkins version 2.114  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-03 Thread amen...@onemarketnetwork.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Adrian Menard commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 We also had this issue. Updated to 1.15 and started getting `Error in provisioning; agent=KubernetesSlave` in the jenkins logs. Very similar error messages reported above. Had to rollback to 1.14.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-03 Thread si...@wydooghe.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Simon Wydooghe commented on  JENKINS-50525  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
 I also had to roll back to 1.14 because of issues spinning up pods. The error was also related to the volumes being mounted (a local hostPath volume). It was complaining about the value not being unique or something. I will upgrade it again when Jenkins is not in use to try to reproduce it to provide logs and podTemplate.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-03 Thread jenkins...@carlossanchez.eu (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Carlos Sanchez updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Carlos Sanchez  
 

  
 
 
 
 

 
 I have a Jenkins instance deployed via Helm on Friday that was spinning up pods just fine, and came back Monday to a system that couldn't start any. Configuration below:!Screen Shot 2018-04-02 at 3.57.16 PM.png!The logs look like lots of this:  {code} {{Apr 02, 2018 10:52:26 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave _terminate}}{{INFO: Terminating Kubernetes instance for agent standard-1-r0fd4}}{{Apr 02, 2018 10:52:26 PM okhttp3.internal.platform.Platform log}}{{INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path?}}{{Apr 02, 2018 10:52:26 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch}}{{WARNING: Error in provisioning; agent=KubernetesSlave name: standard-1-rxq2t, template=PodTemplate\{inheritFrom='', name='standard-1', namespace='', instanceCap=20, idleMinutes=30, label='standard-1 worker', nodeSelector='', nodeUsageMode=NORMAL, customWorkspaceVolumeEnabled=true, workspaceVolume=org.csanchez.jenkins.plugins.kubernetes.volumes.workspace.EmptyDirWorkspaceVolume@565b8276, volumes=[org.csanchez.jenkins.plugins.kubernetes.volumes.SecretVolume@20a0b5ee, org.csanchez.jenkins.plugins.kubernetes.volumes.SecretVolume@4bc6165a, org.csanchez.jenkins.plugins.kubernetes.volumes.SecretVolume@41046566, org.csanchez.jenkins.plugins.kubernetes.volumes.EmptyDirVolume@372e4c46, org.csanchez.jenkins.plugins.kubernetes.volumes.EmptyDirVolume@12049088, org.csanchez.jenkins.plugins.kubernetes.volumes.EmptyDirVolume@690b3054], containers=[ContainerTemplate\{name='jnlp', image='gcr.io/myproj/cyrusbio-jnlp-minion:master', alwaysPullImage=true, workingDir='/home/jenkins', command='', args='', ttyEnabled=true, resourceRequestCpu='', resourceRequestMemory='', resourceLimitCpu='', resourceLimitMemory='', envVars=[KeyValueEnvVar [getValue()=tcp://127.0.0.1:2375, getKey()=DOCKER_HOST], KeyValueEnvVar [getValue()=/gcloud/credentials.json, getKey()=GOOGLE_APPLICATION_CREDENTIALS], KeyValueEnvVar [getValue()=/gcloud/credentials.json, getKey()=CLOUDSDK_AUTH_CREDENTIAL_FILE_OVERRIDE]], livenessProbe=org.csanchez.jenkins.plugins.kubernetes.ContainerLivenessProbe@3c38cba6}, ContainerTemplate\{name='docker-engine', image='docker:dind', privileged=true, workingDir='', command='', args='', ttyEnabled=true, resourceRequestCpu='1', resourceRequestMemory='2Gi', resourceLimitCpu='2100m', resourceLimitMemory='3Gi', livenessProbe=org.csanchez.jenkins.plugins.kubernetes.ContainerLivenessProbe@b54246a}]}}}{{io.fabric8.kubernetes.client.KubernetesClientException: Failure executing: POST at: https://kubernetes.default/api/v1/namespaces/default/pods. Message: Pod "standard-1-rxq2t" is invalid: spec.containers[0].volumeMounts[6].mountPath: Required value. Received status: Status(apiVersion=v1, code=422, details=StatusDetails(causes=[StatusCause(field=spec.containers[0].volumeMounts[6].mountPath, message=Required 

[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-02 Thread pe...@novotnak.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Peter Novotnak updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Change By: 
 Peter Novotnak  
 
 
Attachment: 
 Screen Shot 2018-04-02 at 3.57.16 PM.png  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.3.0#73011-sha1:3c73d0e)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-50525) Error When Provisioning Slave: mountPath: Required value

2018-04-02 Thread pe...@novotnak.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Peter Novotnak created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-50525  
 
 
  Error When Provisioning Slave: mountPath: Required value   
 

  
 
 
 
 

 
Issue Type: 
  New Feature  
 
 
Assignee: 
 Carlos Sanchez  
 
 
Attachments: 
 Screen Shot 2018-04-02 at 3.57.16 PM.png, Screen Shot 2018-04-02 at 3.57.16 PM.png  
 
 
Components: 
 kubernetes-plugin  
 
 
Created: 
 2018-04-02 23:10  
 
 
Environment: 
 Jenkins version: 2.107.1  Plugin version: 1.5  Kubernetes version: Server Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.6-gke.0", GitCommit:"cb151369f60073317da686a6ce7de36abe2bda8d", GitTreeState:"clean", BuildDate:"2018-03-21T19:01:20Z", GoVersion:"go1.9.3b4", Compiler:"gc", Platform:"linux/amd64"}   
 
 
Priority: 
  Minor  
 
 
Reporter: 
 Peter Novotnak  
 

  
 
 
 
 

 
 I have a Jenkins instance deployed via Helm on Friday that was spinning up pods just fine, and came back Monday to a system that couldn't start any. Configuration below:  The logs look like lots of this:   Apr 02, 2018 10:52:26 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesSlave _terminate INFO: Terminating Kubernetes instance for agent standard-1-r0fd4 Apr 02, 2018 10:52:26 PM okhttp3.internal.platform.Platform log INFO: ALPN callback dropped: HTTP/2 is disabled. Is alpn-boot on the boot class path? Apr 02, 2018 10:52:26 PM org.csanchez.jenkins.plugins.kubernetes.KubernetesLauncher launch WARNING: Error in provisioning; agent=KubernetesSlave name: standard-1-rxq2t, template=PodTemplate{inheritFrom='', name='standard-1', namespace='', instanceCap=20, idleMinutes=30, label='standard-1 worker', nodeSelector='', nodeUsageMode=NORMAL,