Closed Idun0 closed 6 years ago
Duplicate of #134. You previously had 18.1 installed which breaks the system.
@coderanger Thats the part that is confusing me i guess, cause i set the override and destroyed and recreated my kitchen instance but still get an error, are you seeing in my converge where it is being installed as 18.1? cause if it is i need to stop that from happening
First time so be gentle :D The reason I find myself here is cause im trying to create a airflow build which is dependent upon poise-python since python has been deprecated. At first I was getting an error for setuptools which I have now remedied with
override["poise-python"]["options"]["pip_version"] = "18.0"
But now I am getting several errors:Heres my kitchen converge output: `-----> Starting Kitchen (v1.16.0) -----> Converging...
Preparing files for transfer
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 6.3.1...
Removing non-cookbook files before transfer
Preparing validation.pem
Preparing client.rb
-----> Chef Omnibus installation detected (12.19)
Transferring files to
[2018-10-16T21:47:42+00:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 12.19.36
[2018-10-16T21:47:42+00:00] INFO: Chef 12.19.36
[2018-10-16T21:47:42+00:00] INFO: Platform: x86_64-linux
[2018-10-16T21:47:42+00:00] INFO: Chef-client pid: 11179
[2018-10-16T21:47:43+00:00] INFO: Setting the run_list to ["recipe[airflow::default]"] from CLI options
[2018-10-16T21:47:43+00:00] INFO: Run List is [recipe[airflow::default]]
[2018-10-16T21:47:43+00:00] INFO: Run List expands to [airflow::default]
[2018-10-16T21:47:43+00:00] INFO: Starting Chef Run for airflow-ubuntu-1404
[2018-10-16T21:47:43+00:00] INFO: Running start handlers
[2018-10-16T21:47:43+00:00] INFO: Start handlers complete.
[2018-10-16T21:47:43+00:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: ["airflow::default"]
[2018-10-16T21:47:43+00:00] INFO: Loading cookbooks [airflow@1.2.2, apt@4.0.1, poise-python@1.2.1, compat_resource@12.19.1, poise@2.8.2, poise-languages@1.4.0, poise-archive@1.5.0]
Synchronizing Cookbooks:
python_runtime[2] action install[2018-10-16T21:47:44+00:00] INFO: Processing python_runtime[2] action install (airflow::packages line 15)
(up to date) (up to date)
python_runtime_pip[2] action install[2018-10-16T21:47:44+00:00] INFO: Processing python_runtime_pip[2] action install (/tmp/kitchen/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb line 116)
[2018-10-16T21:47:45+00:00] INFO: Running queued delayed notifications before re-raising exception
[2018-10-16T21:47:45+00:00] INFO: Running queued delayed notifications before re-raising exception
[2018-10-16T21:47:45+00:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers: [2018-10-16T21:47:45+00:00] ERROR: Running exception handlers Running handlers complete [2018-10-16T21:47:45+00:00] ERROR: Exception handlers complete Chef Client failed. 0 resources updated in 03 seconds [2018-10-16T21:47:45+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out [2018-10-16T21:47:45+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2018-10-16T21:47:45+00:00] ERROR: python_runtime[2] (airflow::packages line 15) had an error: Mixlib::ShellOut::ShellCommandFailed: python_runtime_pip[2] (/tmp/kitchen/cache/cookbooks/poise-python/files/halite_gem/poise_python/python_providers/base.rb line 116) had an error: Mixlib::ShellOut::ShellCommandFailed: python_package[pip] (/tmp/kitchen/cache/cookbooks/poise-python/files/halite_gem/poise_python/resources/python_runtime_pip.rb line 145) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of ["/usr/bin/python2.7", "-", "pip==18.0"] ---- STDOUT: STDERR: Traceback (most recent call last): File "", line 4, in
ImportError: No module named commands
---- End output of ["/usr/bin/python2.7", "-", "pip==18.0"] ----
Ran ["/usr/bin/python2.7", "-", "pip==18.0"] returned 1
[2018-10-16T21:47:45+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)`