All,
Disclaimer first - I am an iControl n00b. Total hours messing with iControl is ~8.
Status: ran through the pyControl setup doc but did the Mac OSX equivalents to get it up and running.
Tried to use the sample apps, which have run once or twice, but refuse now to run, with no change that I am aware of having taken place between the run that worked, and the run that did not. obviously I have modified the section of the system_quick_audit.py script to make sure my bigip’s IP/username/password combo is set.
Current status:
0 ~/python/pycontrol/samples $ python system_quick_audit.py
Loading WSDL: System.Syst`emInfo.wsdl
Traceback (most recent call last):
File "system_quick_audit.py", line 70, in
wsdl_files = ['System.Syst`emInfo'])
File "/Library/Python/2.5/site-packages/pyControl-1.3.0_beta-py2.5.egg/pycontrol/pyControl.py", line 195, in __init__
self._buildServices()
File "/Library/Python/2.5/site-packages/pyControl-1.3.0_beta-py2.5.egg/pycontrol/pyControl.py", line 223, in _buildServices
setattr(self,attribute_name,Service(name=w, bigip=self, tracefile=self.tracefile))
File "/Library/Python/2.5/site-packages/pyControl-1.3.0_beta-py2.5.egg/pycontrol/pyControl.py", line 87, in __init__
cachedir = self.bigip_cache_dir_stubs,
File "/Library/Python/2.5/site-packages/ZSI-2.1_a1-py2.5.egg/ZSI/ServiceProxy.py", line 60, in __init__
File "/Library/Python/2.5/site-packages/ZSI-2.1_a1-py2.5.egg/ZSI/wstools/WSDLTools.py", line 39, in loadFromURL
File "/Library/Python/2.5/site-packages/ZSI-2.1_a1-py2.5.egg/ZSI/wstools/Utility.py", line 642, in loadFromURL
File "/Library/Python/2.5/site-packages/ZSI-2.1_a1-py2.5.egg/ZSI/wstools/Utility.py", line 153, in urlopen
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib.py", line 82, in urlopen
return opener.open(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib.py", line 190, in open
return getattr(self, name)(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib.py", line 459, in open_file
return self.open_local_file(url)
File "/System/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/urllib.py", line 473, in open_local_file
raise IOError(e.errno, e.strerror, e.filename)
IOError: [Errno 2] No such file or directory: '/Library/Python/2.5/site-packages/pyControl-1.3.0_beta-py2.5.egg/pycontrol/BIGIP_WSDL_CACHE_DIR/wsdl/System.Syst`emInfo.wsdl'