[OpenStack-Infra] Jenkins Jobs authentication failed

trinath.somanchi at freescale.com trinath.somanchi at freescale.com
Thu Feb 20 06:19:06 UTC 2014


Hi-


while setting up the Jenkins Jobs, I got this error


root at openstack-ci:~# sudo jenkins-jobs --flush-cache update  /etc/jenkins_jobs/config/
INFO:root:Updating jobs in /etc/jenkins_jobs/config/ ([])
Traceback (most recent call last):
  File "/usr/local/bin/jenkins-jobs", line 9, in <module>
    load_entry_point('jenkins-job-builder==0.6.0', 'console_scripts', 'jenkins-jobs')()
  File "/usr/local/lib/python2.7/dist-packages/jenkins_job_builder-0.6.0-py2.7.egg/jenkins_jobs/cmd.py", line 118, in main
    jobs = builder.update_job(options.path, options.names)
  File "/usr/local/lib/python2.7/dist-packages/jenkins_job_builder-0.6.0-py2.7.egg/jenkins_jobs/builder.py", line 530, in update_job
    if (self.jenkins.is_job(job.name)
  File "/usr/local/lib/python2.7/dist-packages/jenkins_job_builder-0.6.0-py2.7.egg/jenkins_jobs/builder.py", line 434, in is_job
    return self.jenkins.job_exists(job_name)
  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 382, in job_exists
    if self.get_job_name(name) == name:
  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 187, in get_job_name
    urllib2.Request(self.server + JOB_NAME % locals()))
  File "/usr/local/lib/python2.7/dist-packages/jenkins/__init__.py", line 218, in jenkins_open
    'Possibly authentication failed [%s]' % (e.code)
jenkins.JenkinsException: Error in request.Possibly authentication failed [401]


Can any one help me resolve the issue.


Thanks in advance,


-

Trinath
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20140220/6e888c35/attachment.html>


More information about the OpenStack-Infra mailing list