Created
December 17, 2014 13:42
-
-
Save elliott-davis/2cb9f5aea4eaaaa8394b to your computer and use it in GitHub Desktop.
Why common.rb should die
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
Recipe: openstack-network::common | |
* service[neutron-server] action restart[2014-12-17T13:41:14+00:00] ERROR: service[neutron-server] (openstack-network::common line 143) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' | |
---- Begin output of /sbin/start neutron-server ---- | |
STDOUT: | |
STDERR: start: Unknown job: neutron-server | |
---- End output of /sbin/start neutron-server ---- | |
Ran /sbin/start neutron-server returned 1; ignore_failure is set, continuing | |
================================================================================ | |
Error executing action `restart` on resource 'service[neutron-server]' | |
================================================================================ | |
Mixlib::ShellOut::ShellCommandFailed | |
------------------------------------ | |
Expected process to exit with [0], but received '1' | |
---- Begin output of /sbin/start neutron-server ---- | |
STDOUT: | |
STDERR: start: Unknown job: neutron-server | |
---- End output of /sbin/start neutron-server ---- | |
Ran /sbin/start neutron-server returned 1 | |
Resource Declaration: | |
--------------------- | |
# In /var/chef/cache/cookbooks/openstack-network/recipes/common.rb | |
143: service 'neutron-server' do | |
144: service_name platform_options['neutron_server_service'] | |
145: supports status: true, restart: true | |
146: ignore_failure true | |
147: | |
148: action :nothing | |
149: end | |
150: | |
Compiled Resource: | |
------------------ | |
# Declared in /var/chef/cache/cookbooks/openstack-network/recipes/common.rb:143:in `from_file' | |
service("neutron-server") do | |
action [:nothing] | |
supports {:status=>true, :restart=>true} | |
ignore_failure true | |
retries 0 | |
retry_delay 2 | |
default_guard_interpreter :default | |
service_name "neutron-server" | |
pattern "neutron-server" | |
declared_type :service | |
cookbook_name "openstack-network" | |
recipe_name "common" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment