Created
July 11, 2014 22:20
-
-
Save bodepd/2162435b38fa937671d6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| jenkins-jobs update --delete-old /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 10, in <module> | |
| sys.exit(main()) | |
| File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cmd.py", line 104, in main | |
| execute(options, config) | |
| File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/cmd.py", line 189, in execute | |
| jobs = builder.update_job(options.path, options.names) | |
| File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 606, in update_job | |
| self.load_files(input_fn) | |
| File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 557, in load_files | |
| self.parser = YamlParser(self.global_config) | |
| File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 128, in __init__ | |
| self.registry = ModuleRegistry(self.config) | |
| File "/usr/local/lib/python2.7/dist-packages/jenkins_jobs/builder.py", line 360, in __init__ | |
| Mod = entrypoint.load() | |
| File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 1988, in load | |
| if require: self.require(env, installer) | |
| File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2001, in require | |
| working_set.resolve(self.dist.requires(self.extras),env,installer)) | |
| File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 584, in resolve | |
| raise DistributionNotFound(req) | |
| pkg_resources.DistributionNotFound: pbr>=0.8.2,<1.0 | |
| root@jenkins-server:~# pip list | |
| APScheduler (2.1.2) | |
| argparse (1.2.1) | |
| async (0.6.1) | |
| Babel (1.3) | |
| boto (2.2.2) | |
| Cheetah (2.4.4) | |
| cloud-init (0.6.3) | |
| command-not-found (0.2.44) | |
| configobj (4.7.2) | |
| Warning: cannot find svn location for distribute==0.6.24dev-r0 | |
| distribute (0.6.24dev-r0) | |
| ecdsa (0.11) | |
| euca2ools (2.0.0) | |
| extras (0.0.3) | |
| FormEncode (1.2.4) | |
| gear (0.5.5) | |
| gitdb (0.5.4) | |
| GitPython (0.3.2.RC1) | |
| GnuPGInterface (0.3.2) | |
| iso8601 (0.1.10) | |
| jenkins-job-builder (0.8.1.33.g0af8f2f) | |
| language-selector (0.1) | |
| lockfile (0.8) | |
| M2Crypto (0.21.1) | |
| netaddr (0.7.12) | |
| oauth (1.0.1) | |
| oslo.config (1.3.0) | |
| paramiko (1.14.0) | |
| Paste (1.7.5.1) | |
| pbr (0.9.0) | |
| pip (1.5.6) | |
| prettytable (0.7.2) | |
| pycrypto (2.4.1) | |
| pycurl (7.19.0) | |
| pyOpenSSL (0.12) | |
| python-apt (0.8.3ubuntu7.2) | |
| python-daemon (1.5.5) | |
| python-jenkins (0.3.1) | |
| python-keystoneclient (0.9.0) | |
| python-openid (2.2.5) | |
| python-swiftclient (2.1.0) | |
| pytz (2014.4) | |
| PyYAML (3.10) | |
| requests (2.3.0) | |
| scgi (1.13) | |
| setuptools (0.6c11) | |
| simplejson (3.5.3) | |
| six (1.7.3) | |
| smmap (0.8.2) | |
| statsd (2.1.2) | |
| ufw (0.31.1-1) | |
| unattended-upgrades (0.1) | |
| voluptuous (0.8.5) | |
| WebOb (1.2.3) | |
| wsgiref (0.1.2) | |
| yappi (0.92) | |
| zuul (2.0.0.213.gd27a96d) | |
| root@jenkins-server:~# python -c "import sys; print(sys.path)" | |
| ['', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages'] | |
| root@jenkins-server:~# |
upgrading setuptools resolved the issue for me.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Were you able to resolve this issue? I am running into the same thing.
Thanks!