-
Notifications
You must be signed in to change notification settings - Fork 567
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
jenkins_user
experimental password setting is broken
#499
Comments
I finally looked in the jenkins log and it appears that the password in not being set any longer.
Opening the user in the WWW UI and saving it without any change sets the password to empty and the CLI jar starts working again. |
jenkins_user
experimental typejenkins_user
experimental password setting is broken
This problem does not occur if you set the |
@jhoblitt I tried setting as suggested: jenkins_user {'jadmin':
password => 'changeme',
} but still getting [root@jenkins ~]# /bin/java -jar /usr/lib/jenkins/jenkins-cli.jar -s http://localhost:8080 -i /usr/lib/jenkins/admin_private_key groovy /usr/lib/jenkins/puppet_helper.groovy who_am_i
java.io.EOFException
at java.io.DataInputStream.readBoolean(DataInputStream.java:244)
at hudson.cli.Connection.readBoolean(Connection.java:95)
at hudson.cli.CLI.authenticate(CLI.java:573)
at hudson.cli.CLI._main(CLI.java:484)
at hudson.cli.CLI.main(CLI.java:390) What did you do to make this work around work? |
@cdenneen There is no method in |
[vagrant@jenkins ~]$ /bin/java -jar /usr/lib/jenkins/jenkins-cli.jar -s http://localhost:8080 -i /usr/lib/jenkins/admin_private_key who-am-i
java.io.EOFException
at java.io.DataInputStream.readBoolean(DataInputStream.java:244)
at hudson.cli.Connection.readBoolean(Connection.java:95)
at hudson.cli.CLI.authenticate(CLI.java:573)
at hudson.cli.CLI._main(CLI.java:484)
at hudson.cli.CLI.main(CLI.java:390) So this would appear as if it's broken but can't imagine how since UI works just fine. Is there a way to DEBUG why this error is occuring? |
The master log sometimes has different information. I suggest you try to get a working jenkins installation with your desired authentication configuration before trying to puppetize it. |
I'm closing this since I assume it was resolved? |
I have been trying to get the
jenkins_user
experimental type to work withhudson.security.HudsonPrivateSecurityRealm
under 1.641. I haven't yet determined if is an existing bug due to the combination of resources or a recent changes in jenkins. The cli jar returnsjava.io.EOFException
errors as below until the "administrative" user's account is opened and then saved (without modification) in the WWW UI.The text was updated successfully, but these errors were encountered: