EC2 cloud plugin config is removed at restart

37 views
Skip to first unread message

ken....@cloudlock.com

unread,
Sep 20, 2017, 7:10:15 PM9/20/17
to Jenkins Users

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

Aleksandr Panzin

unread,
Nov 13, 2017, 4:33:36 PM11/13/17
to Jenkins Users
I have the same issue.
Developers seem to ignore it...

Victor Martinez

unread,
Nov 14, 2017, 10:16:55 AM11/14/17
to Jenkins Users
If it's not in jira yet, can you please raise a jira issue with those details? 

Thanks

frederick...@made.com

unread,
Dec 12, 2017, 10:13:43 AM12/12/17
to Jenkins Users
Was this ever logged in Jira or responded to anywhere else? I'm having the same issue with the Nomad plugin.

Thanks

Wendell Beckwith

unread,
Dec 12, 2017, 6:32:25 PM12/12/17
to Jenkins Users
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.
Reply all
Reply to author
Forward
0 new messages