Skip to content

Instantly share code, notes, and snippets.

@trentster trentster/.fifo Secret
Created Oct 9, 2015

What would you like to do?
active = fifo_default
apiversion = 0.1.0
host =
user = admin
[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
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 (path:/tmp/pip_build_root/pyfi/ egg_info for package pyfi
Installing collected packages: pyfi
Running 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/", line 25, in init
self.connect(user, pw)
File "/opt/local/lib/python2.7/site-packages/fifo/api/", line 303, in connect
conn.request('POST', self._apiEndpoint + 'sessions', jbody, self.headers)
File "/opt/local/lib/python2.7/", line 1001, in request
self._send_request(method, url, body, headers)
File "/opt/local/lib/python2.7/", line 1035, in _send_request
File "/opt/local/lib/python2.7/", line 997, in endheaders
File "/opt/local/lib/python2.7/", line 850, in _send_output
File "/opt/local/lib/python2.7/", line 812, in send
File "/opt/local/lib/python2.7/", line 1212, in connect
File "/opt/local/lib/python2.7/", line 350, in wrap_socket
File "/opt/local/lib/python2.7/", line 566, in __init__
File "/opt/local/lib/python2.7/", line 788, in 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
You can’t perform that action at this time.