[JIRA] [credentials-plugin] (JENKINS-35442) Jenkins2 credentials lost during plugin install

2016-06-09 Thread stephenconno...@java.net (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 stephenconnolly resolved as Cannot Reproduce 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
So I have tried to reproduce but it seems I cannot. 
What I suggest you do is open a second terminal on the Jenkins master and run a command similar to the following 

 

cd $JENKINS_HOME
watch cat credentials.xml nodes/*/config.xml
 

 
Then with that window open: 
 

make your changes to the credentials... notice that the credentials.xml content gets saved when you hit the save button.
 

make your changes to the build agent configuration... notice that the  field gets updated when you hit the save button.
 

restart Jenkins after installing a plugin... notice that the credentials.xml and build agent config.xml files are unchanged.
 
 
Unsure where to go from here, but perhaps you can narrow it down some more... from what I can see, though, this does not look to be an issue with the credentials api plugin 
 
 
 
 
 
 
 
 
 
 Jenkins /  JENKINS-35442 
 
 
 
  Jenkins2 credentials lost during plugin install  
 
 
 
 
 
 
 
 
 

Change By:
 
 stephenconnolly 
 
 
 

Status:
 
 Open Resolved 
 
 
 

Resolution:
 
 Cannot Reproduce 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
  

[JIRA] [credentials-plugin] (JENKINS-35442) Jenkins2 credentials lost during plugin install

2016-06-07 Thread ry.frizz...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ryan Frizzell commented on  JENKINS-35442 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: Jenkins2 credentials lost during plugin install  
 
 
 
 
 
 
 
 
 
 
I forgot to add upon using the plugin updater or installing a new pluging, you need to check the box "Restart Jenkins when installation is complete and no jobs are running" in order to reproduce the issue.  
presently we workd around the issue by installing/updating plugins, then executing systemct restart jenkins 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
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] [credentials-plugin] (JENKINS-35442) Jenkins2 credentials lost during plugin install

2016-06-07 Thread ry.frizz...@gmail.com (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Ryan Frizzell created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-35442 
 
 
 
  Jenkins2 credentials lost during plugin install  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 stephenconnolly 
 
 
 

Components:
 

 credentials-plugin 
 
 
 

Created:
 

 2016/Jun/07 7:43 PM 
 
 
 

Labels:
 

 jenkins2.0 credentials 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Ryan Frizzell 
 
 
 
 
 
 
 
 
 
 
We've got Jenkins2 running with 4 build slaves (via ssh).  
We're running Jenkins 2.6 presently.  
When going into the plugin manager and selecting "download now and install after restart", upon restart, the credentials used to contact the slaves are gone. In order to get things back up, we have to re-create the credential then re-connect the slaves.  
What's interesting is that we can update and install plugins, then restart jenkins via systemd, then things seem to work fine...no lost credentials, not need to re-create credentials or re-connect slaves.  
OS details:  
LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch Distributor ID: CentOS Description: CentOS Linux release 7.2.1511 (Core) Release: 7.2.1511 Codename: Core