Created
February 22, 2017 21:53
-
-
Save teknofire/858dc84708a3724bf46cf81c99823102 to your computer and use it in GitHub Desktop.
influxdb converge error with chef-client 12.19.33
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
================================================================================ | |
Error executing action `install` on resource 'influxdb_install[influxdb]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
apt_package[influxdb] (/tmp/kitchen/cache/cookbooks/influxdb/resources/install.rb line 47) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100' | |
---- Begin output of ["apt-get", "-q", "-y", "--force-yes", "-o", "Dpkg::Options::=\"--force-confdef\"", "-o", "Dpkg::Options::=\"--force-confold\"", "install", "influxdb=1.2.0-1"] ---- | |
STDOUT: Reading package lists... | |
Building dependency tree... | |
Reading state information... | |
The following NEW packages will be installed: | |
influxdb | |
0 upgraded, 1 newly installed, 0 to remove and 104 not upgraded. | |
Need to get 17.3 MB of archives. | |
After this operation, 55.1 MB of additional disk space will be used. | |
Get:1 https://repos.influxdata.com/ubuntu xenial/stable amd64 influxdb amd64 1.2.0-1 [17.3 MB] | |
Fetched 17.3 MB in 2s (8179 kB/s) | |
dpkg: error: need an action option | |
Type dpkg --help for help about installing and deinstalling packages [*]; | |
Use 'apt' or 'aptitude' for user-friendly package management; | |
Type dpkg -Dhelp for a list of dpkg debug flag values; | |
Type dpkg --force-help for a list of forcing options; | |
Type dpkg-deb --help for help about manipulating *.deb files; | |
Options marked [*] produce a lot of output - pipe it through 'less' or 'more' ! | |
STDERR: W: --force-yes is deprecated, use one of the options starting with --allow instead. | |
E: Sub-process /usr/bin/dpkg returned an error code (2) | |
---- End output of ["apt-get", "-q", "-y", "--force-yes", "-o", "Dpkg::Options::=\"--force-confdef\"", "-o", "Dpkg::Options::=\"--force-confold\"", "install", "influxdb=1.2.0-1"] ---- | |
Ran ["apt-get", "-q", "-y", "--force-yes", "-o", "Dpkg::Options::=\"--force-confdef\"", "-o", "Dpkg::Options::=\"--force-confold\"", "install", "influxdb=1.2.0-1"] returned 100 | |
Resource Declaration: | |
--------------------- | |
# In /tmp/kitchen/cache/cookbooks/influxdb/recipes/default.rb | |
13: influxdb_install 'influxdb' do | |
14: include_repository node['influxdb']['include_repository'] | |
15: install_version node['influxdb']['version'] | |
16: install_type node['influxdb']['install_type'] | |
17: action [:install] | |
18: end | |
19: | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/kitchen/cache/cookbooks/influxdb/recipes/default.rb:13:in `from_file' | |
influxdb_install("influxdb") do | |
action [:install] | |
updated true | |
updated_by_last_action true | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
declared_type :influxdb_install | |
cookbook_name "influxdb" | |
recipe_name "default" | |
install_type "package" | |
arch_type "amd64" | |
influxdb_key "https://repos.influxdata.com/influxdb.key" | |
end | |
Platform: | |
--------- | |
x86_64-linux |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment