-
-
Save trentster/3aa1633c6ed8c1cf1ca3 to your computer and use it in GitHub Desktop.
This file contains 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
[GENERAL] | |
active = fifo_default | |
[fifo_default] | |
apiversion = 0.1.0 | |
host = 10.1.1.180 | |
user = admin | |
pass = XXXXXXXXXX |
This file contains 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
[root@grafana ~]# pkgin in py27-pip | |
calculating dependencies... done. | |
nothing to upgrade. | |
4 packages to be installed (2828K to download, 10M to install): | |
expat-2.1.0 py27-expat-2.7.9 py27-setuptools-8.0.1 py27-pip-1.5.6 | |
[GENERAL] | |
proceed ? [Y/n] y | |
downloading packages... | |
expat-2.1.0.tgz 100% 203KB 203.0KB/s 203.0KB/s 00:00 | |
py27-expat-2.7.9.tgz 100% 27KB 27.2KB/s 27.2KB/s 00:00 | |
py27-setuptools-8.0.1.tgz 100% 508KB 508.2KB/s 508.2KB/s 00:00 | |
py27-pip-1.5.6.tgz 100% 2090KB 2.0MB/s 2.0MB/s 00:00 | |
installing packages... | |
installing expat-2.1.0... | |
installing py27-expat-2.7.9... | |
installing py27-setuptools-8.0.1... | |
installing py27-pip-1.5.6... | |
pkg_install warnings: 0, errors: 0 | |
reading local summary... | |
processing local summary... | |
updating database: 100% | |
marking py27-pip-1.5.6 as non auto-removable | |
[root@grafana ~]# pip install pyfi | |
Downloading/unpacking pyfi | |
Downloading PyFi-0.1.27.tar.gz | |
Running setup.py (path:/tmp/pip_build_root/pyfi/setup.py) egg_info for package pyfi | |
Installing collected packages: pyfi | |
Running setup.py install for pyfi | |
changing mode of build/scripts-2.7/fifo from 644 to 755 | |
changing mode of /opt/local/bin/fifo to 755 | |
fifo-datasets.1 --> /opt/local/share/man/man1 | |
fifo-dtrace.1 --> /opt/local/share/man/man1 | |
fifo-groupings.1 --> /opt/local/share/man/man1 | |
fifo-hypervisors.1 --> /opt/local/share/man/man1 | |
fifo-ipranges.1 --> /opt/local/share/man/man1 | |
fifo-networks.1 --> /opt/local/share/man/man1 | |
fifo-orgs.1 --> /opt/local/share/man/man1 | |
fifo-packages.1 --> /opt/local/share/man/man1 | |
fifo-roles.1 --> /opt/local/share/man/man1 | |
fifo-users.1 --> /opt/local/share/man/man1 | |
fifo-vms.1 --> /opt/local/share/man/man1 | |
fifo.1 --> /opt/local/share/man/man1 | |
fifo-vmconfig.5 --> /opt/local/share/man/man5 | |
Successfully installed pyfi | |
Cleaning up... | |
[root@grafana ~]# fifo | |
fifo client is not configured creating an example config at: /root/.fifo | |
[root@grafana ~]# vi .fifo | |
[root@grafana ~]# fifo vms list | |
Traceback (most recent call last): | |
File "/opt/local/bin/fifo", line 113, in <module> | |
wiggle.init(host, user, pw, token, apiVersion, args.unsafe) | |
File "/opt/local/lib/python2.7/site-packages/fifo/api/wiggle.py", line 25, in init | |
self.connect(user, pw) | |
File "/opt/local/lib/python2.7/site-packages/fifo/api/wiggle.py", line 303, in connect | |
conn.request('POST', self._apiEndpoint + 'sessions', jbody, self.headers) | |
File "/opt/local/lib/python2.7/httplib.py", line 1001, in request | |
self._send_request(method, url, body, headers) | |
File "/opt/local/lib/python2.7/httplib.py", line 1035, in _send_request | |
self.endheaders(body) | |
File "/opt/local/lib/python2.7/httplib.py", line 997, in endheaders | |
self._send_output(message_body) | |
File "/opt/local/lib/python2.7/httplib.py", line 850, in _send_output | |
self.send(msg) | |
File "/opt/local/lib/python2.7/httplib.py", line 812, in send | |
self.connect() | |
File "/opt/local/lib/python2.7/httplib.py", line 1212, in connect | |
server_hostname=server_hostname) | |
File "/opt/local/lib/python2.7/ssl.py", line 350, in wrap_socket | |
_context=self) | |
File "/opt/local/lib/python2.7/ssl.py", line 566, in __init__ | |
self.do_handshake() | |
File "/opt/local/lib/python2.7/ssl.py", line 788, in do_handshake | |
self._sslobj.do_handshake() | |
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment