You need to sign in or sign up before continuing.
chef-client run on lxd container bootstrapped to chef-11
* execute[gitlab-ctl reconfigure] action run
================================================================================
Error executing action `run` on resource 'execute[gitlab-ctl reconfigure]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of gitlab-ctl reconfigure ----
STDOUT: [2015-09-28T06:43:06-04:00] INFO: Starting chef-zero on host localhost, port 8889 with repository at repository at /opt/gitlab/embedded
One version per cookbook
[2015-09-28T06:43:06-04:00] INFO: Forking chef instance to converge...
[2015-09-28T06:43:06-04:00] INFO: *** Chef 11.18.0 ***
[2015-09-28T06:43:06-04:00] INFO: Chef-client pid: 4988
[2015-09-28T06:43:08-04:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/nodes/git
[2015-09-28T06:43:08-04:00] INFO: Setting the run_list to ["recipe[gitlab]"] from CLI options
[2015-09-28T06:43:08-04:00] INFO: Run List is [recipe[gitlab]]
[2015-09-28T06:43:08-04:00] INFO: Run List expands to [gitlab]
[2015-09-28T06:43:08-04:00] INFO: Starting Chef Run for git
[2015-09-28T06:43:08-04:00] INFO: Running start handlers
[2015-09-28T06:43:08-04:00] INFO: Start handlers complete.
[2015-09-28T06:43:08-04:00] INFO: HTTP Request Returned 404 Not Found : Object not found: /reports/nodes/git/runs
[2015-09-28T06:43:08-04:00] INFO: Loading cookbooks [gitlab@0.0.1, runit@0.14.2]
================================================================================
Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb
================================================================================
NoMethodError
-------------
undefined method `[]=' for nil:NilClass
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:32:in `from_file'
Relevant File Content:
----------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:
25: group "root"
26: mode "0775"
27: action :nothing
28: end.run_action(:create)
29:
30: Gitlab[:node] = node
31: if File.exists?("/etc/gitlab/gitlab.rb")
32>> Gitlab.from_file("/etc/gitlab/gitlab.rb")
33: end
34: node.consume_attributes(Gitlab.generate_config(node['fqdn']))
35:
36: if File.exists?("/var/opt/gitlab/bootstrapped")
37: node.set['gitlab']['bootstrap']['enable'] = false
38: end
39:
40: directory "/var/opt/gitlab" do
41: owner "root"
[2015-09-28T06:43:09-04:00] ERROR: Running exception handlers
[2015-09-28T06:43:09-04:00] ERROR: Exception handlers complete
[2015-09-28T06:43:09-04:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
[2015-09-28T06:43:09-04:00] ERROR: undefined method `[]=' for nil:NilClass
[2015-09-28T06:43:09-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
STDERR:
---- End output of gitlab-ctl reconfigure ----
Ran gitlab-ctl reconfigure returned 1
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/omnibus-gitlab/recipes/default.rb
115: execute "gitlab-ctl reconfigure" do
116: action :nothing
117: end
118:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/omnibus-gitlab/recipes/default.rb:115:in `from_file'
execute("gitlab-ctl reconfigure") do
action [:nothing]
retries 0
retry_delay 2
default_guard_interpreter :execute
command "gitlab-ctl reconfigure"
backup 5
returns 0
declared_type :execute
cookbook_name "omnibus-gitlab"
recipe_name "default"
end
Running handlers:
[2015-09-28T06:43:09-04:00] ERROR: Running exception handlers
Running handlers complete
[2015-09-28T06:43:09-04:00] ERROR: Exception handlers complete
Chef Client failed. 2 resources updated in 12.170608637 seconds
[2015-09-28T06:43:09-04:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2015-09-28T06:43:09-04:00] ERROR: execute[gitlab-ctl reconfigure] (omnibus-gitlab::default line 115) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of gitlab-ctl reconfigure ----
STDOUT: [2015-09-28T06:43:06-04:00] INFO: Starting chef-zero on host localhost, port 8889 with repository at repository at /opt/gitlab/embedded
One version per cookbook
[2015-09-28T06:43:06-04:00] INFO: Forking chef instance to converge...
[2015-09-28T06:43:06-04:00] INFO: *** Chef 11.18.0 ***
[2015-09-28T06:43:06-04:00] INFO: Chef-client pid: 4988
[2015-09-28T06:43:08-04:00] INFO: HTTP Request Returned 404 Not Found : Object not found: http://localhost:8889/nodes/git
[2015-09-28T06:43:08-04:00] INFO: Setting the run_list to ["recipe[gitlab]"] from CLI options
[2015-09-28T06:43:08-04:00] INFO: Run List is [recipe[gitlab]]
[2015-09-28T06:43:08-04:00] INFO: Run List expands to [gitlab]
[2015-09-28T06:43:08-04:00] INFO: Starting Chef Run for git
[2015-09-28T06:43:08-04:00] INFO: Running start handlers
[2015-09-28T06:43:08-04:00] INFO: Start handlers complete.
[2015-09-28T06:43:08-04:00] INFO: HTTP Request Returned 404 Not Found : Object not found: /reports/nodes/git/runs
[2015-09-28T06:43:08-04:00] INFO: Loading cookbooks [gitlab@0.0.1, runit@0.14.2]
================================================================================
Recipe Compile Error in /opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb
================================================================================
NoMethodError
-------------
undefined method `[]=' for nil:NilClass
Cookbook Trace:
---------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:32:in `from_file'
Relevant File Content:
----------------------
/opt/gitlab/embedded/cookbooks/cache/cookbooks/gitlab/recipes/default.rb:
25: group "root"
26: mode "0775"
27: action :nothing
28: end.run_action(:create)
29:
30: Gitlab[:node] = node
31: if File.exists?("/etc/gitlab/gitlab.rb")
32>> Gitlab.from_file("/etc/gitlab/gitlab.rb")
33: end
34: node.consume_attributes(Gitlab.generate_config(node['fqdn']))
35:
36: if File.exists?("/var/opt/gitlab/bootstrapped")
37: node.set['gitlab']['bootstrap']['enable'] = false
38: end
39:
40: directory "/var/opt/gitlab" do
41: owner "root"
[2015-09-28T06:43:09-04:00] ERROR: Running exception handlers
[2015-09-28T06:43:09-04:00] ERROR: Exception handlers complete
[2015-09-28T06:43:09-04:00] FATAL: Stacktrace dumped to /opt/gitlab/embedded/cookbooks/cache/chef-stacktrace.out
[2015-09-28T06:43:09-04:00] ERROR: undefined method `[]=' for nil:NilClass
[2015-09-28T06:43:09-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
STDERR:
---- End output of gitlab-ctl reconfigure ----
Ran gitlab-ctl reconfigure returned 1
[2015-09-28T06:43:09-04:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)