Created
July 24, 2020 20:31
-
-
Save Savasci/7f7de61a1ff684c16d19dadaaa980abb to your computer and use it in GitHub Desktop.
mtlynch-tinypilot-issue_1
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
/tmp/tmp.LonOcuNpwB ~ | |
Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
python3-venv is already the newest version (3.7.3-1). | |
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. | |
Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple | |
Collecting ansible==2.9.10 | |
Using cached https://files.pythonhosted.org/packages/03/4f/cccab1ec2e0ecb05120184088e00404b38854809cf35aa76889406fbcbad/ansible-2.9.10.tar.gz | |
Collecting PyYAML (from ansible==2.9.10) | |
Using cached https://www.piwheels.org/simple/pyyaml/PyYAML-5.3.1-cp37-cp37m-linux_armv7l.whl | |
Collecting cryptography (from ansible==2.9.10) | |
Using cached https://www.piwheels.org/simple/cryptography/cryptography-3.0-cp37-cp37m-linux_armv7l.whl | |
Collecting jinja2 (from ansible==2.9.10) | |
Using cached https://files.pythonhosted.org/packages/30/9e/f663a2aa66a09d838042ae1a2c5659828bb9b41ea3a6efa20a20fd92b121/Jinja2-2.11.2-py2.py3-none-any.whl | |
Collecting six>=1.4.1 (from cryptography->ansible==2.9.10) | |
Using cached https://files.pythonhosted.org/packages/ee/ff/48bde5c0f013094d729fe4b0316ba2a24774b3ff1c52d924a8a4cb04078a/six-1.15.0-py2.py3-none-any.whl | |
Collecting cffi!=1.11.3,>=1.8 (from cryptography->ansible==2.9.10) | |
Using cached https://www.piwheels.org/simple/cffi/cffi-1.14.0-cp37-cp37m-linux_armv7l.whl | |
Collecting MarkupSafe>=0.23 (from jinja2->ansible==2.9.10) | |
Using cached https://www.piwheels.org/simple/markupsafe/MarkupSafe-1.1.1-cp37-cp37m-linux_armv7l.whl | |
Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->ansible==2.9.10) | |
Using cached https://files.pythonhosted.org/packages/ae/e7/d9c3a176ca4b02024debf82342dab36efadfc5776f9c8db077e8f6e71821/pycparser-2.20-py2.py3-none-any.whl | |
Building wheels for collected packages: ansible | |
Running setup.py bdist_wheel for ansible: started | |
Running setup.py bdist_wheel for ansible: finished with status 'error' | |
Complete output from command /tmp/tmp.LonOcuNpwB/venv/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-j_zv93we/ansible/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.rea | |
d().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/pip-wheel-g7e_jon8 --python-tag cp37: | |
usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] | |
or: -c --help [cmd1 cmd2 ...] | |
or: -c --help-commands | |
or: -c cmd --help | |
error: invalid command 'bdist_wheel' | |
---------------------------------------- | |
Running setup.py clean for ansible | |
Failed to build ansible | |
Installing collected packages: PyYAML, six, pycparser, cffi, cryptography, MarkupSafe, jinja2, ansible | |
Running setup.py install for ansible: started | |
Running setup.py install for ansible: finished with status 'done' | |
Successfully installed MarkupSafe-1.1.1 PyYAML-5.3.1 ansible-2.9.10 cffi-1.14.0 cryptography-3.0 jinja2-2.11.2 pycparser-2.20 six-1.15.0 | |
- downloading role 'tinypilot', owned by mtlynch | |
- downloading role from https://github.com/mtlynch/ansible-role-tinypilot/archive/master.tar.gz | |
- extracting mtlynch.tinypilot to /tmp/tmp.LonOcuNpwB/mtlynch.tinypilot | |
- mtlynch.tinypilot (master) was installed successfully | |
- adding dependency: mtlynch.ustreamer | |
- adding dependency: geerlingguy.nginx | |
- downloading role 'ustreamer', owned by mtlynch | |
- downloading role from https://github.com/mtlynch/ansible-role-ustreamer/archive/master.tar.gz | |
- extracting mtlynch.ustreamer to /tmp/tmp.LonOcuNpwB/mtlynch.ustreamer | |
- mtlynch.ustreamer (master) was installed successfully | |
- downloading role 'nginx', owned by geerlingguy | |
- downloading role from https://github.com/geerlingguy/ansible-role-nginx/archive/2.8.0.tar.gz | |
- extracting geerlingguy.nginx to /tmp/tmp.LonOcuNpwB/geerlingguy.nginx | |
- geerlingguy.nginx (2.8.0) was installed successfully | |
PLAY [localhost] *************************************************************** | |
TASK [Gathering Facts] ********************************************************* | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : collect universal required apt packages] ************* | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : collect Raspberry Pi OS specific required apt packages] *** | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : collect Debian-specific required apt packages] ******* | |
skipping: [localhost] | |
TASK [mtlynch.ustreamer : collect Ubuntu-specific required apt packages] ******* | |
skipping: [localhost] | |
TASK [mtlynch.ustreamer : install uStreamer pre-requisite packages] ************ | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : create ustreamer group] ****************************** | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : create ustreamer user] ******************************* | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : create uStreamer folder] ***************************** | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : get uStreamer repo] ********************************** | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : clean repository if needed] ************************** | |
skipping: [localhost] | |
TASK [mtlynch.ustreamer : enable OpenMax IL acceleration on Pi OS] ************* | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : build uStreamer] ************************************* | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : fix uStreamer folder permissions] ******************** | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : install uStreamer as a service] ********************** | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : fix uStreamer folder permissions] ******************** | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : install uStreamer as a service] ********************** | |
ok: [localhost] | |
TASK [mtlynch.ustreamer : enable systemd uStreamer service file] *************** | |
ok: [localhost] | |
TASK [geerlingguy.nginx : Include OS-specific variables.] ********************** | |
ok: [localhost] | |
TASK [geerlingguy.nginx : Define nginx_user.] ********************************** | |
ok: [localhost] | |
TASK [geerlingguy.nginx : include_tasks] *************************************** | |
skipping: [localhost] | |
TASK [geerlingguy.nginx : include_tasks] *************************************** | |
skipping: [localhost] | |
TASK [geerlingguy.nginx : include_tasks] *************************************** | |
included: /tmp/tmp.LonOcuNpwB/geerlingguy.nginx/tasks/setup-Debian.yml for localhost | |
TASK [geerlingguy.nginx : Update apt cache.] *********************************** | |
ok: [localhost] | |
TASK [geerlingguy.nginx : Ensure nginx is installed.] ************************** | |
ok: [localhost] | |
TASK [geerlingguy.nginx : include_tasks] *************************************** | |
skipping: [localhost] | |
TASK [geerlingguy.nginx : include_tasks] *************************************** | |
skipping: [localhost] | |
TASK [geerlingguy.nginx : include_tasks] *************************************** | |
skipping: [localhost] | |
TASK [geerlingguy.nginx : Remove default nginx vhost config file (if configured).] *** | |
ok: [localhost] | |
TASK [geerlingguy.nginx : Ensure nginx_vhost_path exists.] ********************* | |
ok: [localhost] | |
TASK [geerlingguy.nginx : Add managed vhost config files.] ********************* | |
ok: [localhost] => (item={'listen': '80 default_server', 'server_name': 'tinypilot', 'root': '/opt/tinypilot', 'index': 'index.html', 'extra_parameters': 'proxy_set_header Host $host;\nproxy_set_header X-Forwarded-For $remote_addr;\nproxy_http_version 1.1;\n\nlocation /socket.io {\n proxy_pass http://localhost:8000;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection "Upgrade";\n}\nlocation /state {\n proxy_pass http://localhost:8001;\n}\nlocation /stream {\n proxy_pass http://localhost:8001;\n}\nlocation / {\n proxy_pass http://localhost:8000;\n}\nlocation ~* ^/.+\\.(html|js|js.map|css|jpeg|png|ico)$ {\n root "/opt/tinypilot/app/static";\n}\n'}) | |
TASK [geerlingguy.nginx : Remove managed vhost config files.] ****************** | |
skipping: [localhost] => (item={'listen': '80 default_server', 'server_name': 'tinypilot', 'root': '/opt/tinypilot', 'index': 'index.html', 'extra_parameters': 'proxy_set_header Host $host;\nproxy_set_header X-Forwarded-For $remote_addr;\nproxy_http_version 1.1;\n\nlocation /socket.io {\n proxy_pass http://localhost:8000;\n proxy_set_header Upgrade $http_upgrade;\n proxy_set_header Connection "Upgrade";\n}\nlocation /state {\n proxy_pass http://localhost:8001;\n}\nlocation /stream {\n proxy_pass http://localhost:8001;\n}\nlocation / {\n proxy_pass http://localhost:8000;\n}\nlocation ~* ^/.+\\.(html|js|js.map|css|jpeg|png|ico)$ {\n root "/opt/tinypilot/app/static";\n}\n'}) | |
TASK [geerlingguy.nginx : Remove legacy vhosts.conf file.] ********************* | |
ok: [localhost] | |
TASK [geerlingguy.nginx : Copy nginx configuration in place.] ****************** | |
ok: [localhost] | |
TASK [geerlingguy.nginx : Ensure nginx service is running as configured.] ****** | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : enable dwc2 driver in boot config] ******************* | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : enable dwc2 driver in modules] *********************** | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : copy HID initializer script] ************************* | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : install HID initializer as a service] **************** | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : enable systemd HID initializer service file] ********* | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : install TinyPilot pre-requisite packages] ************ | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : create tinypilot group] ****************************** | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : create tinypilot user] ******************************* | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : enable passwordless sudo for shutdown command] ******* | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : create TinyPilot folder] ***************************** | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : get TinyPilot repo] ********************************** | |
ok: [localhost] | |
TASK [mtlynch.tinypilot : create TinyPilot virtualenv] ************************* | |
fatal: [localhost]: FAILED! => {"changed": false, "cmd": "/opt/tinypilot/venv/bin/pip list --format=freeze", "msg": "[Errno 2] No such file or directory", "rc": 2} | |
PLAY RECAP ********************************************************************* | |
localhost : ok=35 changed=0 unreachable=0 failed=1 skipped=9 rescued=0 ignored=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment