Forum Discussion
ives_39316
Jan 18, 2013Nimbostratus
python and iControl to verify load balancer configurations
Title...
Using python and iControl API to automatically verify F5 LTM LB VIP configurations....
tags: python iControl pyControl suds verify verifying validating configuration setting...
Gregg_Lowrimore
Nimbostratus
OK, Retr0h... I have the code installed and when I launch the load_balancer.py file, I get what seems to be a prevailing stack trace, around setup.py:
"Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository."
stemming from line 118 of load_balancer.py. Googling this error, I get all kinds of patch discussions, but no details on how to fix this issue. Any ideas?
Gregg_Lowrimore
Aug 29, 2013Nimbostratus
glowrimore@hostname:~/Downloads/bigpyp-master$ pip install -r requirements.txt
Requirement already satisfied (use --upgrade to upgrade): d2to1>=0.2.10,<0.3 in /usr/local/lib/python2.7/dist-packages/d2to1-0.2.10-py2.7.egg (from -r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): pbr>=0.5,<0.6 in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): pycontrol in /usr/local/lib/python2.7/dist-packages/pycontrol-2.0.1a-py2.7.egg (from -r requirements.txt (line 3))
Requirement already satisfied (use --upgrade to upgrade): termcolor in /usr/local/lib/python2.7/dist-packages (from -r requirements.txt (line 4))
Requirement already satisfied (use --upgrade to upgrade): docopt in /usr/local/lib/python2.7/dist-packages/docopt-0.6.1-py2.7.egg (from -r requirements.txt (line 5))
Requirement already satisfied (use --upgrade to upgrade): setuptools in /usr/local/lib/python2.7/dist-packages/setuptools-1.0-py2.7.egg (from d2to1>=0.2.10,<0.3->-r requirements.txt (line 1))
Requirement already satisfied (use --upgrade to upgrade): pip>=1.0 in /usr/lib/python2.7/dist-packages (from pbr>=0.5,<0.6->-r requirements.txt (line 2))
Requirement already satisfied (use --upgrade to upgrade): suds>=0.3.9 in /usr/local/lib/python2.7/dist-packages/suds-0.3.9-py2.7.egg (from pycontrol->-r requirements.txt (line 3))
Cleaning up...
glowrimore@hostname:~/Downloads/bigpyp-master$ cd bigpyp/
glowrimore@hostname:~/Downloads/bigpyp-master/bigpyp$ python load_balancer.py
Traceback (most recent call last):
File "load_balancer.py", line 119, in
version = 'Load Balancer {0}'.format(version.VersionInfo('bigpyp'))
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 38, in __str__
return self.version_string()
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 72, in version_string
for part in self.release_string().split('.'):
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 64, in release_string
self.release = self._get_version_from_pkg_resources()
File "/usr/local/lib/python2.7/dist-packages/pbr/version.py", line 57, in _get_version_from_pkg_resources
return packaging.get_version(self.package)
File "/usr/local/lib/python2.7/dist-packages/pbr/packaging.py", line 819, in get_version
raise Exception("Versioning for this project requires either an sdist"
Exception: Versioning for this project requires either an sdist tarball, or access to an upstream git repository.
Same resulting error...
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects