-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chef never successfully completed #317
Comments
Have a look at #304 |
Thanks for the reply. I wish there was a video for this. It would be easier. I am a computer dummy. I wish there was a more detailed instructions like "go there" "press this" "do that". The only thing that I successfully did so far is getting the source code. |
May I point you to this: https://github.com/rreben/learn-how-to-code repo? It should be pretty easy to install (you can see how everything should be working) and come back here then. Actually there is a link to a how to tutorial on youtube on the books web site. |
Here is the video link. It is on the landing page of this repo. you have to scroll down quite a bit to see it: https://github.com/ptwobrussell/Mining-the-Social-Web-2nd-Edition |
Thanks again for the reply, I did check out the links you shared and I promise I will invest more time learning about whats there but for now is there a video for these steps: "let us assume that /project is the folder where the vagrant file lives. I am super sorry if this looks too simple Thanks in advance and sorry if I am way too big of a computer dummy |
No need to feel sorry ... To my knowledge there is not a video / screencast on this. You would only need to work with the key file and change file permissions, if your project lives on a usb stick or something similar (like a flash drive). So 1st I need to see what is your problem exactly. Please copy your log output and post it here. also use Also use the |
Last login: Thu Dec 8 18:22:57 on ttys000 default running (virtualbox) The VM is running. To stop this VM, you can run |
==> default: "checksum": "9f91c7416c2ef3974058543a0bc4769c", ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Loading recipe python via include_recipe ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found recipe default in cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Loading recipe python::package via include_recipe ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found recipe package in cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Loading recipe python::pip via include_recipe ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found recipe pip in cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic remote_file resource enabled on node include: [Chef::Resource::RemoteFile] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for remote_file is Chef::Resource::RemoteFile ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic remote_file resource enabled on node include: [Chef::Resource::RemoteFile] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for remote_file is Chef::Resource::RemoteFile ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for execute is Chef::Resource::Execute ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for execute is Chef::Resource::Execute ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Loading recipe python::virtualenv via include_recipe ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found recipe virtualenv in cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Loading recipe python::pip via include_recipe ==> default: [2016-12-08T15:23:09+00:00] DEBUG: I am not loading python::pip, because I have already seen it. ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic python_pip resource enabled on node include: [Custom resource python_pip from cookbook python] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for python_pip is Custom resource python_pip from cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic apt_repository resource enabled on node include: [Chef::Resource::AptRepository, Custom resource apt_repository from cookbook apt] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for apt_repository is Chef::Resource::AptRepository ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic package resource enabled on node include: [Chef::Resource::AptPackage, Chef::Resource::Package] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for package is Chef::Resource::AptPackage ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic service resource enabled on node include: [Chef::Resource::Service] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for service is Chef::Resource::Service ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for execute is Chef::Resource::Execute ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic python_pip resource enabled on node include: [Custom resource python_pip from cookbook python] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for python_pip is Custom resource python_pip from cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic python_pip resource enabled on node include: [Custom resource python_pip from cookbook python] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for python_pip is Custom resource python_pip from cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic python_pip resource enabled on node include: [Custom resource python_pip from cookbook python] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for python_pip is Custom resource python_pip from cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic python_pip resource enabled on node include: [Custom resource python_pip from cookbook python] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for python_pip is Custom resource python_pip from cookbook python ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for execute is Chef::Resource::Execute ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resources for generic runit_service resource enabled on node include: [Chef::Resource::RunitService] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Resource for runit_service is Chef::Resource::RunitService ==> default: Converging 37 resources ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Converging node vagrant-06d1c7d5 ==> default: Recipe: apt::default ==> default: * execute[apt-get-update] action run ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing execute[apt-get-update] action run (apt::default line 22) ==> default: (skipped due to not_if) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping execute[apt-get-update] due to not_if ruby block ==> default: ==> default: * execute[apt-get update] action nothing ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing execute[apt-get update] action nothing (apt::default line 29) ==> default: (skipped due to action :nothing) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping execute[apt-get update] due to action :nothing ==> default: ==> default: * execute[apt-get autoremove] action nothing ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing execute[apt-get autoremove] action nothing (apt::default line 36) ==> default: (skipped due to action :nothing) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping execute[apt-get autoremove] due to action :nothing ==> default: ==> default: * execute[apt-get autoclean] action nothing ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing execute[apt-get autoclean] action nothing (apt::default line 42) ==> default: (skipped due to action :nothing) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping execute[apt-get autoclean] due to action :nothing ==> default: ==> default: * apt_package[update-notifier-common] action install ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing apt_package[update-notifier-common] action install (apt::default line 48) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Provider for action install on resource apt_package[update-notifier-common] is Chef::Provider::Package::Apt ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[update-notifier-common] installed version for update-notifier-common is 0.119ubuntu8.7 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[update-notifier-common] candidate version for update-notifier-common is 0.119ubuntu8.7 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[update-notifier-common] update-notifier-common 0.119ubuntu8.7 already installed ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[update-notifier-common] is already installed - nothing to do ==> default: (up to date) ==> default: * execute[apt-get-update-periodic] action run[2016-12-08T15:23:09+00:00] INFO: Processing execute[apt-get-update-periodic] action run (apt::default line 52) ==> default: (skipped due to only_if) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping execute[apt-get-update-periodic] due to only_if ruby block ==> default: * directory[/var/cache/local] action create ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing directory[/var/cache/local] action create (apt::default line 62) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Providers for generic directory resource enabled on node include: [Chef::Provider::Directory] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Provider for action create on resource directory[/var/cache/local] is Chef::Provider::Directory ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found target_mode == current_mode, not updating mode ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found target_uid == current_uid, not updating owner ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found target_gid == current_gid, not updating group ==> default: (up to date) ==> default: * directory[/var/cache/local/preseeding] action create ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing directory[/var/cache/local/preseeding] action create (apt::default line 62) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Providers for generic directory resource enabled on node include: [Chef::Provider::Directory] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Provider for action create on resource directory[/var/cache/local/preseeding] is Chef::Provider::Directory ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found target_mode == current_mode, not updating mode ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found target_uid == current_uid, not updating owner ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Found target_gid == current_gid, not updating group ==> default: (up to date) ==> default: Recipe: runit::default ==> default: * service[runit] action nothing ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing service[runit] action nothing (runit::default line 20) ==> default: (skipped due to action :nothing) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping service[runit] due to action :nothing ==> default: * execute[start-runsvdir] action nothing ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing execute[start-runsvdir] action nothing (runit::default line 24) ==> default: (skipped due to action :nothing) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping execute[start-runsvdir] due to action :nothing ==> default: * execute[runit-hup-init] action nothing ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing execute[runit-hup-init] action nothing (runit::default line 33) ==> default: (skipped due to action :nothing) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping execute[runit-hup-init] due to action :nothing ==> default: * apt_package[runit] action install ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing apt_package[runit] action install (runit::default line 80) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Provider for action install on resource apt_package[runit] is Chef::Provider::Package::Apt ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[runit] installed version for runit is 2.1.1-6.2ubuntu2.1 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[runit] candidate version for runit is 2.1.1-6.2ubuntu2.1 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[runit] runit 2.1.1-6.2ubuntu2.1 already installed ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[runit] is already installed - nothing to do ==> default: (up to date) ==> default: Recipe: python::package ==> default: ==> default: * apt_package[python] action install ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing apt_package[python] action install (python::package line 40) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Provider for action install on resource apt_package[python] is Chef::Provider::Package::Apt ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[python] installed version for python is 2.7.3-0ubuntu2.2 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[python] candidate version for python is 2.7.3-0ubuntu2.2 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[python] python 2.7.3-0ubuntu2.2 already installed ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[python] is already installed - nothing to do ==> default: (up to date) ==> default: ==> default: * apt_package[python-dev] action install ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing apt_package[python-dev] action install (python::package line 40) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Providers for generic apt_package resource enabled on node include: [Chef::Provider::Package::Apt] ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Provider for action install on resource apt_package[python-dev] is Chef::Provider::Package::Apt ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[python-dev] installed version for python-dev is 2.7.3-0ubuntu2.2 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[python-dev] candidate version for python-dev is 2.7.3-0ubuntu2.2 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[python-dev] python-dev 2.7.3-0ubuntu2.2 already installed ==> default: [2016-12-08T15:23:09+00:00] DEBUG: apt_package[python-dev] is already installed - nothing to do ==> default: (up to date) ==> default: Recipe: python::pip ==> default: * remote_file[/var/chef/cache/ez_setup.py] action create[2016-12-08T15:23:09+00:00] INFO: Processing remote_file[/var/chef/cache/ez_setup.py] action create (python::pip line 36) ==> default: (skipped due to not_if) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Skipping remote_file[/var/chef/cache/ez_setup.py] due to not_if command /usr/bin/python -c 'import setuptools' ==> default: ==> default: * remote_file[/var/chef/cache/get-pip.py] action create ==> default: [2016-12-08T15:23:09+00:00] INFO: Processing remote_file[/var/chef/cache/get-pip.py] action create (python::pip line 42) ==> default: [2016-12-08T15:23:09+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] checksumming file at /var/chef/cache/get-pip.py. ==> default: [2016-12-08T15:23:09+00:00] DEBUG: remote_file[/var/chef/cache/get-pip.py] checking for changes ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Cache control headers: {"if-modified-since"=>"Thu, 08 Dec 2016 15:25:32 GMT", "if-none-match"=>""9e48c87e8cce31fa8488e9f269e1534986a5afb5""} ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_request ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_request ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_request ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Initiating GET to https://raw.github.com/pypa/pip/master/contrib/get-pip.py ==> default: [2016-12-08T15:23:09+00:00] DEBUG: ---- HTTP Request Header Data: ---- ==> default: [2016-12-08T15:23:09+00:00] DEBUG: if-modified-since: Thu, 08 Dec 2016 15:25:32 GMT ==> default: [2016-12-08T15:23:09+00:00] DEBUG: if-none-match: "9e48c87e8cce31fa8488e9f269e1534986a5afb5" ==> default: [2016-12-08T15:23:09+00:00] DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 ==> default: [2016-12-08T15:23:09+00:00] DEBUG: ---- End HTTP Request Header Data ---- ==> default: [2016-12-08T15:23:12+00:00] DEBUG: ---- HTTP Status and Header Data: ---- ==> default: [2016-12-08T15:23:12+00:00] DEBUG: HTTP 1.1 301 Moved Permanently ==> default: [2016-12-08T15:23:12+00:00] DEBUG: location: https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py ==> default: [2016-12-08T15:23:12+00:00] DEBUG: content-length: 0 ==> default: [2016-12-08T15:23:12+00:00] DEBUG: accept-ranges: bytes ==> default: [2016-12-08T15:23:12+00:00] DEBUG: date: Thu, 08 Dec 2016 15:33:24 GMT ==> default: [2016-12-08T15:23:12+00:00] DEBUG: via: 1.1 varnish ==> default: [2016-12-08T15:23:12+00:00] DEBUG: age: 0 ==> default: [2016-12-08T15:23:12+00:00] DEBUG: connection: close ==> default: [2016-12-08T15:23:12+00:00] DEBUG: x-served-by: cache-lhr6338-LHR ==> default: [2016-12-08T15:23:12+00:00] DEBUG: x-cache: MISS ==> default: [2016-12-08T15:23:12+00:00] DEBUG: x-cache-hits: 0 ==> default: [2016-12-08T15:23:12+00:00] DEBUG: vary: Accept-Encoding ==> default: [2016-12-08T15:23:12+00:00] DEBUG: x-fastly-request-id: 1ab6dc4fbb91d24044f7f54f24e4ac4996e701f3 ==> default: [2016-12-08T15:23:12+00:00] DEBUG: ---- End HTTP Status/Header Data ---- ==> default: [2016-12-08T15:23:12+00:00] DEBUG: ---- HTTP Response Body ---- ==> default: [2016-12-08T15:23:12+00:00] DEBUG: ==> default: [2016-12-08T15:23:12+00:00] DEBUG: ---- End HTTP Response Body ----- ==> default: [2016-12-08T15:23:12+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete ==> default: [2016-12-08T15:23:12+00:00] DEBUG: No content-length information collected for the streamed download, cannot identify streamed download. ==> default: [2016-12-08T15:23:12+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete ==> default: [2016-12-08T15:23:12+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete ==> default: [2016-12-08T15:23:12+00:00] DEBUG: Following redirect 1/10 ==> default: [2016-12-08T15:23:12+00:00] DEBUG: Initiating GET to https://raw.githubusercontent.com/pypa/pip/master/contrib/get-pip.py ==> default: [2016-12-08T15:23:12+00:00] DEBUG: ---- HTTP Request Header Data: ---- ==> default: [2016-12-08T15:23:12+00:00] DEBUG: if-modified-since: Thu, 08 Dec 2016 15:25:32 GMT ==> default: [2016-12-08T15:23:12+00:00] DEBUG: if-none-match: "9e48c87e8cce31fa8488e9f269e1534986a5afb5" ==> default: [2016-12-08T15:23:12+00:00] DEBUG: Accept-Encoding: gzip;q=1.0,deflate;q=0.6,identity;q=0.3 ==> default: [2016-12-08T15:23:12+00:00] DEBUG: ---- End HTTP Request Header Data ---- ==> default: [2016-12-08T15:23:15+00:00] DEBUG: ---- HTTP Status and Header Data: ---- ==> default: [2016-12-08T15:23:15+00:00] DEBUG: HTTP 1.1 200 OK ==> default: [2016-12-08T15:23:15+00:00] DEBUG: content-security-policy: default-src 'none'; style-src 'unsafe-inline' ==> default: [2016-12-08T15:23:15+00:00] DEBUG: strict-transport-security: max-age=31536000 ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-content-type-options: nosniff ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-frame-options: deny ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-xss-protection: 1; mode=block ==> default: [2016-12-08T15:23:15+00:00] DEBUG: etag: "9e48c87e8cce31fa8488e9f269e1534986a5afb5" ==> default: [2016-12-08T15:23:15+00:00] DEBUG: content-type: text/plain; charset=utf-8 ==> default: [2016-12-08T15:23:15+00:00] DEBUG: cache-control: max-age=300 ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-geo-block-list: ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-github-request-id: B91F1329:14D4:13982CED:58497D1C ==> default: [2016-12-08T15:23:15+00:00] DEBUG: content-encoding: gzip ==> default: [2016-12-08T15:23:15+00:00] DEBUG: content-length: 197 ==> default: [2016-12-08T15:23:15+00:00] DEBUG: accept-ranges: bytes ==> default: [2016-12-08T15:23:15+00:00] DEBUG: date: Thu, 08 Dec 2016 15:33:27 GMT ==> default: [2016-12-08T15:23:15+00:00] DEBUG: via: 1.1 varnish ==> default: [2016-12-08T15:23:15+00:00] DEBUG: connection: close ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-served-by: cache-lhr6350-LHR ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-cache: HIT ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-cache-hits: 1 ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-timer: S1481211207.585660,VS0,VE0 ==> default: [2016-12-08T15:23:15+00:00] DEBUG: vary: Authorization,Accept-Encoding ==> default: [2016-12-08T15:23:15+00:00] DEBUG: access-control-allow-origin: * ==> default: [2016-12-08T15:23:15+00:00] DEBUG: x-fastly-request-id: a82a449bbdad42f0217e79e822bea04e1035911e ==> default: [2016-12-08T15:23:15+00:00] DEBUG: expires: Thu, 08 Dec 2016 15:38:27 GMT ==> default: [2016-12-08T15:23:15+00:00] DEBUG: source-age: 43 ==> default: [2016-12-08T15:23:15+00:00] DEBUG: ---- End HTTP Status/Header Data ---- ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Streaming download from https://raw.github.com/pypa/pip/master/contrib/get-pip.py to tempfile /tmp/chef-rest20161208-3879-1hcidla ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Initializing gzip stream deflator ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::ValidateContentLength::ContentLengthCounter#handle_chunk ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Chef::HTTP::StreamHandler calling Chef::HTTP::Decompressor::GzipInflater#handle_chunk ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::ValidateContentLength#handle_stream_complete ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Content-Length validated correctly. ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::CookieManager#handle_stream_complete ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Chef::HTTP calling Chef::HTTP::Decompressor#handle_stream_complete ==> default: [2016-12-08T15:23:15+00:00] DEBUG: calculating checksum of /tmp/chef-rest20161208-3879-1hcidla to compare with 2718a1efcf4daff923a98c2058a1241da1e752f572f58eea92f082a3fa3dea96 ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Found target_mode == current_mode, not updating mode ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Found target_uid == nil, so no owner was specified on resource, not managing owner ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Found target_gid == nil, so no group was specified on resource, not managing group ==> default: (up to date) ==> default: * execute[install-setuptools] action run ==> default: [2016-12-08T15:23:15+00:00] INFO: Processing execute[install-setuptools] action run (python::pip line 48) ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Resources for generic execute resource enabled on node include: [Chef::Resource::Execute] ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Resource for execute is Chef::Resource::Execute ==> default: [2016-12-08T15:23:15+00:00] INFO: Processing execute[Guard resource] action run (dynamically defined) ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute] ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Provider for action run on resource execute[Guard resource] is Chef::Provider::Execute ==> default: [2016-12-08T15:23:15+00:00] INFO: execute[Guard resource] ran successfully ==> default: (skipped due to not_if) ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Skipping execute[install-setuptools] due to not_if command /usr/bin/python -c 'import setuptools' ==> default: ==> default: * execute[install-pip] action run ==> default: [2016-12-08T15:23:15+00:00] INFO: Processing execute[install-pip] action run (python::pip line 56) ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Providers for generic execute resource enabled on node include: [Chef::Provider::Execute] ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Provider for action run on resource execute[install-pip] is Chef::Provider::Execute ==> default: ==> default: [execute] You're using an outdated location for the get-pip.py script, please use the one available from https://bootstrap.pypa.io/get-pip.py ==> default: ==> default: ==> default: ==> default: ================================================================================ ==> default: ==> default: Error executing action run on resource 'execute[install-pip]'==> default: ==> default: ================================================================================ ==> default: ==> default: ==> default: ==> default: ==> default: Mixlib::ShellOut::ShellCommandFailed ==> default: ==> default: ------------------------------------ ==> default: ==> default: Expected process to exit with [0], but received '1' ==> default: ==> default: ==> default: ---- Begin output of /usr/bin/python get-pip.py ==> default: ==> default: ==> default: ---- ==> default: ==> default: ==> default: STDOUT: ==> default: ==> default: ==> default: STDERR: You're using an outdated location for the get-pip.py script, please use the one available from https://bootstrap.pypa.io/get-pip.py ==> default: ==> default: ==> default: ---- End output of /usr/bin/python get-pip.py ==> default: ==> default: ==> default: ---- ==> default: ==> default: ==> default: Ran /usr/bin/python get-pip.py ==> default: ==> default: ==> default: returned 1 ==> default: ==> default: ==> default: ==> default: ==> default: Resource Declaration: ==> default: ==> default: --------------------- ==> default: # In /var/chef/cache/cookbooks/python/recipes/pip.rb ==> default: ==> default: 56: execute "install-pip" do ==> default: 57: cwd Chef::Config[:file_cache_path] ==> default: 58: command <<-EOF ==> default: 59: #{node['python']['binary']} get-pip.py ==> default: 60: EOF ==> default: 61: not_if { ::File.exists?(pip_binary) } ==> default: 62: end ==> default: ==> default: Compiled Resource: ==> default: ------------------ ==> default: # Declared in /var/chef/cache/cookbooks/python/recipes/pip.rb:56:in from_file' ==> default: ==> default: execute("install-pip") do ==> default: action [:run] ==> default: retries 0 ==> default: retry_delay 2 ==> default: default_guard_interpreter :execute ==> default: command " /usr/bin/python get-pip.py\n" ==> default: backup 5 ==> default: cwd "/var/chef/cache" ==> default: returns 0 ==> default: declared_type :execute ==> default: cookbook_name "python" ==> default: recipe_name "pip" ==> default: not_if { #code block } ==> default: end ==> default: ==> default: Platform: ==> default: --------- ==> default: x86_64-linux ==> default: ==> default: [2016-12-08T15:23:15+00:00] INFO: Running queued delayed notifications before re-raising exception ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Re-raising exception: Mixlib::ShellOut::ShellCommandFailed - execute[install-pip] (python::pip line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ==> default: ---- Begin output of /usr/bin/python get-pip.py ==> default: ---- ==> default: STDOUT: ==> default: STDERR: You're using an outdated location for the get-pip.py script, please use the one available from https://bootstrap.pypa.io/get-pip.py ==> default: ---- End output of /usr/bin/python get-pip.py ==> default: ---- ==> default: Ran /usr/bin/python get-pip.py ==> default: returned 1 ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in invalid!'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in error!' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/mixin/shell_out.rb:45:in shell_out!'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider/execute.rb:62:in block in action_run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/mixin/why_run.rb:52:in add_action'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider.rb:176:in converge_by' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider/execute.rb:60:in action_run'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider.rb:145:in run_action' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource.rb:622:in run_action'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:69:in run_action' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in block (2 levels) in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in each' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in block in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/resource_list.rb:94:in block in execute_each_resource' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:114:in call_iterator_block'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:85:in step' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:103:in iterate'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/resource_list.rb:92:in execute_each_resource'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:96:in converge' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:669:in block in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:664:in catch' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:664:in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:703:in converge_and_save' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:283:in run'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:294:in block in fork_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:282:in fork'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:282:in fork_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:247:in block in run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/local_mode.rb:44:in with_server_connectivity' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:235:in run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:464:in sleep_then_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:451:in block in interval_run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:450:in loop' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:450:in interval_run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:434:in run_application' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:59:in run'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/solo.rb:226:in run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/bin/chef-solo:25:in <top (required)>'==> default: /usr/bin/chef-solo:54:in load' ==> default: /usr/bin/chef-solo:54:in '==> default: ==> default: Running handlers: ==> default: [2016-12-08T15:23:15+00:00] ERROR: Running exception handlers ==> default: Running handlers complete ==> default: [2016-12-08T15:23:15+00:00] ERROR: Exception handlers complete ==> default: Chef Client failed. 0 resources updated in 28 seconds ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Server doesn't support resource history, skipping resource report. ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Audit Reports are disabled. Skipping sending reports. ==> default: [2016-12-08T15:23:15+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out ==> default: [2016-12-08T15:23:15+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report ==> default: [2016-12-08T15:23:15+00:00] DEBUG: Mixlib::ShellOut::ShellCommandFailed: execute[install-pip] (python::pip line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ==> default: ---- Begin output of /usr/bin/python get-pip.py ==> default: ---- ==> default: STDOUT: ==> default: STDERR: You're using an outdated location for the get-pip.py script, please use the one available from https://bootstrap.pypa.io/get-pip.py ==> default: ---- End output of /usr/bin/python get-pip.py ==> default: ---- ==> default: Ran /usr/bin/python get-pip.py ==> default: returned 1 ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in invalid!' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in error!'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/mixin/shell_out.rb:45:in shell_out!' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider/execute.rb:62:in block in action_run'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/mixin/why_run.rb:52:in add_action' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider.rb:176:in converge_by'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider/execute.rb:60:in action_run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider.rb:145:in run_action'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource.rb:622:in run_action' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:69:in run_action'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in block (2 levels) in converge' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in each'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in block in converge' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/resource_list.rb:94:in block in execute_each_resource'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:114:in call_iterator_block' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:85:in step'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:103:in iterate' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/resource_list.rb:92:in execute_each_resource' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:96:in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:669:in block in converge' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:664:in catch'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:664:in converge' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:703:in converge_and_save'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:283:in run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:294:in block in fork_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:282:in fork' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:282:in fork_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:247:in block in run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/local_mode.rb:44:in with_server_connectivity'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:235:in run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:464:in sleep_then_run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:451:in block in interval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:450:in loop'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:450:in interval_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:434:in run_application'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:59:in run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/solo.rb:226:in run'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/bin/chef-solo:25:in <top (required)>' ==> default: /usr/bin/chef-solo:54:in load'==> default: /usr/bin/chef-solo:54:in <main>' ==> default: ==> default: >>>> Caused by Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ==> default: ---- Begin output of /usr/bin/python get-pip.py ==> default: ---- ==> default: STDOUT: ==> default: STDERR: You're using an outdated location for the get-pip.py script, please use the one available from https://bootstrap.pypa.io/get-pip.py ==> default: ---- End output of /usr/bin/python get-pip.py ==> default: ---- ==> default: Ran /usr/bin/python get-pip.py ==> default: returned 1 ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:289:in invalid!'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/mixlib-shellout-2.2.7/lib/mixlib/shellout.rb:276:in error!' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/mixin/shell_out.rb:45:in shell_out!'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider/execute.rb:62:in block in action_run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/mixin/why_run.rb:52:in add_action'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider.rb:176:in converge_by' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider/execute.rb:60:in action_run'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/provider.rb:145:in run_action' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource.rb:622:in run_action'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:69:in run_action' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in block (2 levels) in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in each' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:97:in block in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/resource_list.rb:94:in block in execute_each_resource' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:114:in call_iterator_block'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:85:in step' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:103:in iterate'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/stepable_iterator.rb:55:in each_with_index' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/resource_collection/resource_list.rb:92:in execute_each_resource'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/runner.rb:96:in converge' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:669:in block in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:664:in catch' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:664:in converge'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:703:in converge_and_save' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/client.rb:283:in run'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:294:in block in fork_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:282:in fork'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:282:in fork_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:247:in block in run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/local_mode.rb:44:in with_server_connectivity' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:235:in run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:464:in sleep_then_run_chef_client' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:451:in block in interval_run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:450:in loop' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:450:in interval_run_chef_client'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/client.rb:434:in run_application' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application.rb:59:in run'==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/lib/chef/application/solo.rb:226:in run' ==> default: /opt/chef/embedded/lib/ruby/gems/2.3.0/gems/chef-12.16.42/bin/chef-solo:25:in <top (required)>'==> default: /usr/bin/chef-solo:54:in load' ==> default: /usr/bin/chef-solo:54:in '==> default: [2016-12-08T15:23:15+00:00] ERROR: execute[install-pip] (python::pip line 56) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ==> default: ---- Begin output of /usr/bin/python get-pip.py ==> default: ---- ==> default: STDOUT: ==> default: STDERR: You're using an outdated location for the get-pip.py script, please use the one available from https://bootstrap.pypa.io/get-pip.py ==> default: ---- End output of /usr/bin/python get-pip.py ==> default: ---- ==> default: Ran /usr/bin/python get-pip.py ==> default: returned 1 ==> default: [2016-12-08T15:23:15+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) Chef never successfully completed! Any errors should be visible in the output above. Please fix your recipes so that they properly complete. Mohsins-MacBook-Pro:Mining-the-Social-Web-2nd-Edition mohsinalmoshawer$ vagrant -v Vagrant 1.9.0 Mohsins-MacBook-Pro:Mining-the-Social-Web-2nd-Edition mohsinalmoshawer$ |
virtual box VirtualBox 5.1.10 Sorry this is massive I know |
First the good news: your vagrant / virtualbox is working correctly. Vagrant is initiating a virtualbox, and it is up and running. So there is no need to change key files or access rights. The problem is in the provisioning / installing of the python environment. Now, this original repository is quite old and vagrant and virtualbox changed so much, that the provisioning is not working any longer because the chef recipes try to install software in versions, that are no longer available. Now it seems like even the pip package system is not working with your version of vagrant and virtualbox. @jclaranjo has the same problem and filed it under #318 Unfortunately @ptwobrussell (Matthew Russel the owner of this repo) seems not to be active with this repo any longer. And quite some pull requests are waiting to be included to this original repo. So I made a fork of this repo. You find it under https://github.com/rreben/Mining-the-Social-Web-2nd-Edition Please do a vagrant destroy before you start with my fork. It worked a couple of weeks ago, if you have problems please post them here, I might then change the recipes on the fork to get you started. Right now I only have the twitter chapter started with my fork, which notebooks do you intend to use? I am quite finished with a completely new setup. It is not based on pip but on anaconda and it uses modern linux installations for the virtual box ... |
Thanks a lot for the help and the replies Its nice that there are some good news at least I am hoping I will learn everything inside the book "mining the social web" 2nd edition from twitter to Facebook to Github to google + and Linkedin. of course I have not started yet cuz I'm still installing this stuff but I will probably start with the twitter chapter since it happens to be the first one. Now given that other people have the same problem and its likely that new ppl who purchased the book recently and got the newest versions of both vagrant and virtual box will probably encounter the same problem, I kindly suggest that you make a short video/screencast on how exactly we can use your fork or any new set up u suggest. I am a little confused, given that I don't need to change key files nor access rights, do I only need to add this line to the vagrant file I did read the fork but it would be nicer to see a short screen cast of it just to make sure I am doing things the way they should be done. I am a baby in this world. sorry. I was following the screen casts made by Matthew russel in here for every step I did so far which I admit not many steps really. |
Hi @almo0033 I will help you through the installation. The attribute ´config.ssh.private_key_path´ just changes a default setting. It changes the directory for the access keys to your vagrant machine. This is only necessary if you use a directory on a flash device. But from the log I can see, that vagrant can access the vagrant machine. So everything is ok. the To access my fork:
You are doing well, you got virtualbox and vagrant installed and started. The issues that you have are difficult, so I will help you. I do not have the time / software / know how for screen casts. So maybe you can prepare a screencast once you are through this hassle, to help others with this (open source = giving and taking). |
Hi |
Mohsins-MacBook-Pro:Mining-the-Social-Web-2nd-Edition mohsinalmoshawer$ vagrant destroy |
ok. Thx. I will look into this. (Now I can do some repairwork in my repo). Yes a fork is just a modified copy ... I will come back with a solution / suggestion |
Thanks a lot |
Ok, I did not have much time today. But I have a 80% solution, with some workaround it should work:
|
Ok. Here is how it works.
1. vagrant fires up virtual box
2. a linux virtual system (guest) is installed inside your computer (host)
3. linux is installed on the guest system
4. chef is installed on the guest system
5. chef runs and installs all the python / anaconda stuff
6. Once this is done a web server is started on your guest machine. It listens to port 8888
7. When you open a browser on your local machine (host) and type in localhost:8888 the http requests are sent to the webserver on your guest machine
8. these requests are then answered using the jupyter system, which opens up the python notebook functionality in your browser.
Thus localhost:8888 can only work when chef has finished successfully.
… Am 13.12.2016 um 13:23 schrieb almo0033 ***@***.***>:
thanks for the reply
I will do all of these now and see
but first thing that I noticed is that my safari fails to open localhost:8888
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#317 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AD1vE6LyPlrLKvHyu2I4_dBHLPpyNLwjks5rHo5DgaJpZM4LEizv>.
|
Ok. Here is how it works.
Thus localhost:8888 can only work when chef has finished successfully. Am 13.12.2016 um 13:23 schrieb almo0033 [email protected]: thanks for the reply |
Thanks a lot Everything up to the sixth step is going fine Now, sorry but I don't get the 7th step I did run sudo pip install twitter at the terminal after command prompt changed but it didn't run. it said the command doesn't exist. do u mind explaining that step further sorry if I continue to ask u really simple things |
Hmm, this is odd. If so, then the most complex part is done successfully! You might have to reset the machine images on vagrant, but let us first do some diagnostics:
Please post this information. |
Hmm, this is odd.
So do I get you right? The vagrant ssh is working? And you see a jupyter notebook in you browser when you go to localhost:8888 in your browser?
If so, then the most complex part is done successfully!
You might have to reset the machine images on vagrant, but let us first do some diagnostics:
login to your guest machine. use vagrant ssh (step 6, prompt should change)
type in sudo -V (so we can see that sudo is working)
type in pip -V (so we can see that pip is there)
Please post this information.
… Am 14.12.2016 um 07:08 schrieb almo0033 ***@***.***>:
Thanks a lot
Everything up to the sixth step is going fine
Now, sorry but I don't get the 7th step
I did run sudo pip install twitter at the terminal after command prompt changed but it didn't run. it said the command doesn't exist.
do u mind explaining that step further sorry if I continue to ask u really simple things
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#317 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AD1vE10ILabyn6qyt4azWiru3HHZpjhQks5rH4ftgaJpZM4LEizv>.
|
ok. Maybe I know what happened. Pls send me a screenshot from your browser, what is displayed when you type in localhost:8888 pls type in |
Without |
I've just followed through these same steps - running into the same problem. I think it's due to the $PATH variable? (Thats going from here anyway) - However I'm out of my depth trying to work out how to fix that via SSH! sudo -V output:
pip -V output:
localhost:8888 is working fine otherwise. Thanks for your help with this - it feels very much almost there :) |
Last login: Fri Dec 16 16:34:45 on console default not created (virtualbox) The environment has not yet been created. Run
System information as of Fri Dec 16 14:24:30 UTC 2016 System load: 0.0 Processes: 78 Graph this data and manage this system at: Get cloud support with Ubuntu Advantage Cloud Guest: New release '16.04.1 LTS' available. WARNING! Your environment specifies an invalid locale. sudo apt-get install language-pack-UTF-8 To see all available language packs, run: vagrant@vagrant-ubuntu-trusty-64: |
Thanks again for ur help thanks so much man |
again up to the 6th step everything seems fine I think |
As @benwhale just showed Can you @almo0033 please verify this? So sudo and pip are installed and are also in the path (otherwise So I guess it @benwhale is correct and it is something with sudo in correspondence to pip (has been installed by chef out of conda). So here is the solution: we have to use So Type in You might be asked to update pip via Next steps then are copy the notebooks from the mining-the-social-web repo as described above. Please post when things are working (and help spread the word by giving a star rating to basket4py) |
Thanks @rreben that's fixed it for me! Thanks for all your help (I'll happily star the repo) It might be worth editing that earlier response to add in the -i to save people scrolling through the logs. |
Thx. for the star. I think I will base my "mining-the-social-web" fork on basket4py. When you move on, you might discover that there are a couple of frameworks needed to get every notebook up and running. These are (from the corresponding chef recipe): python_pip "BeautifulSoup" do
version "3.2.1"
end
python_pip "Flask" do
version "0.9"
end
python_pip "Jinja2" do
version "2.8"
end
python_pip "PyGithub" do
version "1.17.0"
end
python_pip "PyYAML" do
version "3.10"
end
python_pip "Werkzeug" do
version "0.8.3"
end
python_pip "beautifulsoup4" do
version "4.1.3"
end
python_pip "chardet" do
version "2.1.1"
end
python_pip "cluster" do
version "1.1.2"
end
python_pip "envoy" do
version "0.0.2"
end
python_pip "facebook-sdk" do
version "0.4.0"
end
python_pip "geopy" do
version "0.95.1"
end
python_pip "feedparser" do
version "5.1.3"
end
python_pip "google-api-python-client" do
version "1.1"
end
python_pip "httplib2" do
version "0.8"
end
python_pip "nltk" do
version "2.0.4"
end
python_pip "networkx" do
version "1.7"
end
python_pip "oauthlib" do
version "0.4.1"
end
python_pip "prettytable" do
version "0.7.1"
end
python_pip "python-dateutil" do
version "2.1"
end
python_pip "python-gflags" do
version "2.0"
end
python_pip "pymongo" do
version "2.5.1"
end
python_pip "pyzmq" do
version "13.0.0"
end
python_pip "python-linkedin"
python_pip "requests" do
version "1.2.3"
end
python_pip "requests-oauthlib" do
version "0.3.2"
end
python_pip "tornado" do
version "2.4.1"
end
python_pip "readline" do
version "6.2.4.1"
end
python_pip "twitter" do
version "1.12.1"
end
python_pip "wsgiref" do
version "0.1.2"
end
python_pip "twitter-text-py" do
version "2.0.0"
end
python_pip "oauth2" do
version "1.5.211"
end
python_pip "JPype1" do
version "0.5.4.4"
end
python_pip "charade" do
version "1.0.3"
end
python_pip "boilerpipe" do
version "1.2.0.0"
end
python_pip "ipython" do
version "1.1.0"
end A lot of these frameworks might already be there (of course, you do not have to include them). If you find a framework missing, you will stumble upon an import error. In this case then first try to use the I will try to get basket4py to do all this automatically. If you want to help, you might send me code snippets to test for a framework in the basket4py.ipynb notebook. So that we can do regression tests. Do not hesitate to contact me (via issue on basket4py). |
Thanks a lot I will now start doing the work in the book Thanks again for all the help I did give it a star rating as well |
@rreben Thanks so much for your basket4py solution. I have been able to make it work by using the sudo -i command described above and am now working on the examples from the book. I'm giving you a star as well. When you have time it would be great if you cleaned everything up so extra SSH commands aren't necessary. |
@rreben The basket4py solution worked for me as well. But I also had to use the sudo with the '-i' argument to get twitter installed on the VM. Thanks so much for sharing!!! Will star the repo. |
@rreben the basket4py way works for me. Thank you very for your patient. Star the repo. Based on your discussion, the procedure I did as following.
|
Thx @zyx954 . I will post your discription of the "how to" on the basket4py page. I hope that is ok for you. |
Done so (in the readme, section in "Installation") |
I am on a Mac OS X Yosemite
version 10.10.5
and I get this problem
Chef never successfully completed! Any errors should be visible in the
output above. Please fix your recipes so that they properly complete
I downloaded vagrant and virtual box sometime during the last week or two so its the most recent version I think
what should I do ?
Thanks in advance
The text was updated successfully, but these errors were encountered: