EC2 cloud plugin config is removed at restart

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

EC2 cloud plugin config is removed at restart

ken.petti

I’m seeing a problem with the EC2 plugin configuration. I have a stored config.xml file that I deploy to a new Jenkins master, overwriting the default. When I restart the service or reload configuration, that file is modified and the EC2 cloud section is removed. None of the other config (security, other plugins) is modified. I confirm this section is missing in both the UI and in the raw file.

 

Thing I’ve tried:

·         copying over the file & restarting the jenkins service

·         copying it over & reloading the config

·         creating a new cloud template in the UI, then copying over the stored xml into the new xml tags & reloading

 

None of those steps seemed to resolve the issue. I confirmed the following:

·         The XML is valid and no tags are missing

·         By watching the file, I confirm that it is modified at Jenkins restart/reload config

 

I’m running:

·         Jenkins v2.66

·         EC2 v1.36

 

Any help would be great!

 

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6b3e7a03-4bd5-40dc-a51b-24ab0cd69b03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: EC2 cloud plugin config is removed at restart

Aleksandr Panzin
I have the same issue.
Developers seem to ignore it...

On Wednesday, 20 September 2017 19:10:15 UTC-4, [hidden email] wrote:

I’m seeing a problem with the <a href="https://wiki.jenkins.io/display/JENKINS/Amazon+EC2+Plugin" target="_blank" rel="nofollow" onmousedown="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FAmazon%2BEC2%2BPlugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFkEl4JW6svpZjFAPMf3O1a-1VyMg&#39;;return true;" onclick="this.href=&#39;https://www.google.com/url?q\x3dhttps%3A%2F%2Fwiki.jenkins.io%2Fdisplay%2FJENKINS%2FAmazon%2BEC2%2BPlugin\x26sa\x3dD\x26sntz\x3d1\x26usg\x3dAFQjCNFkEl4JW6svpZjFAPMf3O1a-1VyMg&#39;;return true;">EC2 plugin configuration. I have a stored config.xml file that I deploy to a new Jenkins master, overwriting the default. When I restart the service or reload configuration, that file is modified and the EC2 cloud section is removed. None of the other config (security, other plugins) is modified. I confirm this section is missing in both the UI and in the raw file.

 

Thing I’ve tried:

·         copying over the file & restarting the jenkins service

·         copying it over & reloading the config

·         creating a new cloud template in the UI, then copying over the stored xml into the new xml tags & reloading

 

None of those steps seemed to resolve the issue. I confirmed the following:

·         The XML is valid and no tags are missing

·         By watching the file, I confirm that it is modified at Jenkins restart/reload config

 

I’m running:

·         Jenkins v2.66

·         EC2 v1.36

 

Any help would be great!

 

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/6441fab7-e97d-4c61-aaa5-b9ef685566d4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: EC2 cloud plugin config is removed at restart

Victor Martinez
If it's not in jira yet, can you please raise a jira issue with those details? 

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/07dcc6c6-9a59-436d-b991-1a941385276e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: EC2 cloud plugin config is removed at restart

frederick.ferguson
In reply to this post by ken.petti
Was this ever logged in Jira or responded to anywhere else? I'm having the same issue with the Nomad plugin.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/8c2a7e93-e422-444f-b598-2ee5877ce6ee%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|

Re: EC2 cloud plugin config is removed at restart

Wendell Beckwith
Well this looks like the same issue I posted earlier asking for help on, https://groups.google.com/forum/#!topic/jenkinsci-users/q2TZchFehg0

Basically anything added the the <clouds> element is overwritten on restart or reload.  It is not plugin related since at least 3 different cloud plugins, docker, ec2 and nomad are affected.


On Tuesday, December 12, 2017 at 9:13:43 AM UTC-6, [hidden email] wrote:
Was this ever logged in Jira or responded to anywhere else? I'm having the same issue with the Nomad plugin.

Thanks

--
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 [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/1f536f6d-db5c-42a2-93c7-6da4a1959ebd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.