Closed retreved closed 11 years ago
@retreved: what OS is this on?
Ubuntu 12.04, in customer DC. Standard installation, apt-get update was run before installing opencenter.
@retreved can you supply a node list for the environment and a description around the tasks that each node will perform?
Can you paste the log from tasks 1 and 2 as well?
I'm seeing the same problem, but I'm able to install the chef server. Unfortunately it rolls back because it fails to download the cookbooks. Additionally the transaction log for the download is blank so there is nothing there.
This is also on Ubuntu 12.04 / 64 Bit OS/
*( I omitted the private key to cutdown the length of the message )
Here are the task Task: {'completed': None, 'expires': 1365158212, 'submitted': 1365157402, 'payload': {u'nodes': [5], u'globals': {}, u'adventure_dsl': [{u'primitive': u'install_chef_server', u'ns': {}, u'timeout': 600}, {u'primitive': u'node.add_backend', u'ns': {u'backend': u'chef-server'}, u'timeout': 30}, {u'primitive': u'node.set_parent', u'ns': {u'parent': 3}, u'timeout': 30}, {u'primitive': u'node.set_attr', u'ns': {u'value': True, u'key': u'locked'}, u'timeout': 30}, {u'primitive': u'download_cookbooks', u'ns': {u'CHEF_SERVER_COOKBOOK_CHANNELS': u'current'}, u'timeout': 120}]}, 'parent_id': None, 'state': u'running', 'node_id': 4, 'result': {}, 'action': u'adventurate', 'id': 135} Task: {'completed': None, 'expires': 1365157433, 'submitted': 1365157403, 'payload': {u'globals': {u'parent_task_id': 135}, u'timeout': 600}, 'parent_id': 135, 'state': u'running', 'node_id': 5, 'result': {}, 'action': u'install_chef_server', 'id': 136}
Task: {'completed': 1365157567, 'expires': 1365157433, 'submitted': 1365157403, 'payload': {u'globals': {u'parent_task_id': 135}, u'timeout': 600}, 'parent_id': 135, 'state': u'done', 'node_id': 5, 'result': {u'response': {}, u'result_data': {u'consequences': [u"facts.chef_server_client_name := 'admin'", u"facts.chef_server_client_pem := '-----BEGIN RSA PRIVATE KEY----- ...... -----END RSA PRIVATE KEY-----'", u"facts.chef_server_uri := 'https://192.168.100.104:443'", u"facts.chef_server_pem := '-----BEGIN RSA PRIVATE KEY----- ... -----END RSA PRIVATE KEY-----'", u"facts.chef_server_cookbook_channels := 'current'"], u'script': u'/usr/share/opencenter-agent/plugins/lib/bash/chef/install-chef-server.sh'}, u'result_code': 0, u'result_str': u'Success'}, 'action': u'install_chef_server', 'id': 136} Task: {'completed': None, 'expires': 1365157601, 'submitted': 1365157571, 'payload': {u'CHEF_SERVER_COOKBOOK_CHANNELS': u'current', u'globals': {u'parent_task_id': 135}, u'timeout': 120}, 'parent_id': 135, 'state': u'running', 'node_id': 5, 'result': {}, 'action': u'download_cookbooks', 'id': 137} Task: {'completed': 1365157632, 'expires': 1365157601, 'submitted': 1365157571, 'payload': {u'CHEF_SERVER_COOKBOOK_CHANNELS': u'current', u'globals': {u'parent_task_id': 135}, u'timeout': 120}, 'parent_id': 135, 'state': u'done', 'node_id': 5, 'result': {u'result_str': u'Channel "current" not available', u'result_code': 100, u'result_data': {}}, 'action': u'download_cookbooks', 'id': 137} Task: {'completed': None, 'expires': 1365157663, 'submitted': 1365157633, 'payload': {u'globals': {u'parent_task_id': 135}, u'timeout': 30}, 'parent_id': 135, 'state': u'running', 'node_id': 5, 'result': {}, 'action': u'rollback_install_chef_server', 'id': 138}
Task: {'completed': 1365157657, 'expires': 1365157663, 'submitted': 1365157633, 'payload': {u'globals': {u'parent_task_id': 135}, u'timeout': 30}, 'parent_id': 135, 'state': u'done', 'node_id': 5, 'result': {u'response': {}, u'result_data': {u'consequences': [u"facts.backends := remove(facts.backends, 'chef-server')", u'facts.chef_server_client_name := none', u'facts.chef_server_client_pem := none', u'facts.chef_server_uri := none', u'facts.chef_server_pem := none', u'facts.chef_server_cookbook_channels := none'], u'script': u'/usr/share/opencenter-agent/plugins/lib/bash/chef/uninstall-chef-server.sh'}, u'result_code': 0, u'result_str': u'Success'}, 'action': u'rollback_install_chef_server', 'id': 138}
Task: {'completed': 1365157660, 'expires': 1365158212, 'submitted': 1365157402, 'payload': {u'nodes': [5], u'globals': {}, u'adventure_dsl': [{u'primitive': u'install_chef_server', u'ns': {}, u'timeout': 600}, {u'primitive': u'node.add_backend', u'ns': {u'backend': u'chef-server'}, u'timeout': 30}, {u'primitive': u'node.set_parent', u'ns': {u'parent': 3}, u'timeout': 30}, {u'primitive': u'node.set_attr', u'ns': {u'value': True, u'key': u'locked'}, u'timeout': 30}, {u'primitive': u'download_cookbooks', u'ns': {u'CHEF_SERVER_COOKBOOK_CHANNELS': u'current'}, u'timeout': 120}]}, 'parent_id': None, 'state': u'done', 'node_id': 4, 'result': {u'result_str': u'adventure failed', u'result_code': 1, u'result_data': {u'rollbacks': {u'5': [{u'primitive': u'node.del_attr', u'ns': {u'globals': {u'parent_task_id': 135}, u'key': u'locked'}}, {u'primitive': u'node.set_parent', u'ns': {u'globals': {u'parent_task_id': 135}, u'parent': 2}}, {u'primitive': u'node.set_fact', u'ns': {u'globals': {u'parent_task_id': 135}, u'key': u'backends', u'value': [u'node', u'agent']}}, {u'primitive': u'rollback_install_chef_server', u'ns': {u'globals': {u'parent_task_id': 135}, u'timeout': 30}}]}, u'history': [{u'result_str': u'ran primitive agent.run_task: 0/1 completed successfully', u'result_code': 1, u'result_data': {u'5': {u'result_str': u'Task failed', u'result_code': 1, u'result_data': {}}}}, {u'result_str': u'ran primitive node.set_attr: 1/1 completed successfully', u'result_code': 0, u'result_data': {u'5': {u'result_str': u'Action succeeded', u'result_code': 0, u'result_data': {u'rollback': {u'primitive': u'node.del_attr', u'ns': {u'globals': {u'parent_task_id': 135}, u'key': u'locked'}}}}}}, {u'result_str': u'ran primitive node.set_parent: 1/1 completed successfully', u'result_code': 0, u'result_data': {u'5': {u'result_str': u'Action succeeded', u'result_code': 0, u'result_data': {u'rollback': {u'primitive': u'node.set_parent', u'ns': {u'globals': {u'parent_task_id': 135}, u'parent': 2}}}}}}, {u'result_str': u'ran primitive node.add_backend: 1/1 completed successfully', u'result_code': 0, u'result_data': {u'5': {u'result_str': u'Action succeeded', u'result_code': 0, u'result_data': {u'rollback': {u'primitive': u'node.set_fact', u'ns': {u'globals': {u'parent_task_id': 135}, u'key': u'backends', u'value': [u'node', u'agent']}}}}}}, {u'result_str': u'ran primitive agent.run_task: 1/1 completed successfully', u'result_code': 0, u'result_data': {u'5': {u'result_str': u'Action succeeded', u'result_code': 0, u'result_data': {u'rollback': {u'primitive': u'rollback_install_chef_server', u'ns': {u'globals': {u'parent_task_id': 135}, u'timeout': 30}}}}}}]}}, 'action': u'adventurate', 'id': 135}
@devx, @retreved Can you supply the actual task logs for these failures?
@retreved, from the trace, it appears that the cookbook download succeeded, but it failed to connect to the chef server during knife upload (chef server being facts.chef_server_uri := 'https://10.5.2.40:443'). Do you also happen to have the OpenCenter Server running on 10.5.2.40? I believe you can not run the OpenCenter Server and the Chef Server on the same machine due to service port collisions.
@devx, from your trace, it appears you're having a slightly different issue. "Channel "current" not available" seems to imply the upstream manifest couldn't be downloaded, let alone the cookbooks tarball. IIRC, you had another ticket for issue behind a proxy. Is the above stack trace on machines behind a proxy? If so, I assume it is indeed proxy related issues which should be fixed in the commits below.
@devx, @retreved
There are a few fixes in the sprint branches that address various proxy issues, as well as chef node_name, hostname -f, and hostname -s usage in the install scripts / knife/client.rb.
https://github.com/rcbops/opencenter/commit/826a6d67e81ea350acfd77ad133a67db88436f09 https://github.com/rcbops/opencenter-agent/commit/07672ac988bf83fac1f64a782ff41eb609b29760 https://github.com/rcbops/opencenter-agent/commit/0604dec445906f94212ae1e04ad357ccca56f75b
Closing this ticket since no one replied.
We tried multiple times with fresh install to deploy chef-server on bare metal from opencenter and it kept rolling back. Logs below.
Added the following to /etc/environment: export OPENCENTER_ENDPOINT="https://username:password@localhost:8443" Logged out and back in. The statement is working. Executed the following to install chef on my chef server: opencentercli adventure execute 5 (chef server) 2 (install chef)
id
Task: {'completed': None, 'expires': 1364396081, 'submitted': 1364395271, 'payload': {u'nodes': [u'5'], u'globals': {}, u'adventure_dsl': [{u'primitive': u'install_chef_server', u'ns': {}, u'timeout': 600}, {u'primitive': u'node.add_backend', u'ns': {u'backend': u'chef-server'}, u'timeout': 30}, {u'primitive': u'node.set_parent', u'ns': {u'parent': 3}, u'timeout': 30}, {u'primitive': u'node.set_attr', u'ns': {u'value': True, u'key': u'locked'}, u'timeout': 30}, {u'primitive': u'download_cookbooks', u'ns': {u'CHEF_SERVER_COOKBOOK_CHANNELS': u'current'}, u'timeout': 120}]}, 'parent_id': None, 'state': u'running', 'node_id': 8, 'result': {}, 'action': u'adventurate', 'id': 1} notifying event task-for-5 notifying task-for-5 Task: {'completed': None, 'expires': 1364395301, 'submitted': 1364395271, 'payload': {u'globals': {u'parent_task_id': 1}, u'timeout': 600}, 'parent_id': 1, 'state': u'running', 'node_id': 5, 'result': {}, 'action': u'install_chef_server', 'id': 2} notifying event task-for-5 notifying task-for-5 no waiters on nodes-id-5... skipping waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 Task: {'completed': 1364395386, 'expires': 1364395301, 'submitted': 1364395271, 'payload': {u'globals': {u'parent_task_id': 1}, u'timeout': 600}, 'parent_id': 1, 'state': u'done', 'node_id': 5, 'result': {u'response': {}, u'result_data': {u'consequences': [u"facts.chef_server_client_name := 'admin'", u"facts.chef_server_client_pem := '-----BEGIN RSA PRIVATE KEY-----\nMIIEpQIBAAKCAQEAwXiEC3SMVG6Ug164UoaT2cAHnqT8k0uJBwFYWt9a4A6UeQgj\nZHW41QjPTeCcM77qIp2upeG68PSrZ6BHT1k2+AxSuFfNvHGBEAEx9IrxUgSVvMo1\nu7YBxmcDErqkIFrtmcD37f34IlRbbBUJjmC5UZyfkMCvF62sMkkNnyo97w9lLooy\nNT8BrpLQ+GPpHbTG/8xpsvc0vK38w9offwrCme9PP1YxCxjkjtNp/mwcl38Z3CIT\nhcw+NNhE7eF9mKC8IOIkG7/jHUvOBG/YoaALHw5fcQ9Vxf5g7PVrLcydJRBpUdUp\npCwHz2xUQLDJFY8rJe0ojz1i/8mX0IqE7qZXbQIDAQABAoIBAQCxJI2Sh4YtkIo+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LGJy4d/y+CMu2JTUk3hGI4Hj2ssn65AS2YaMQaYzJS\nLzKwuhGBdD54eoKQow2hvMIHbnC8NzjG7mAfKvRgv8IgHMtvz/QPekkCgYEA4HmH\nnIr2EvH9HNAucmdrhB5ARYoBN2D7zG+8gQ3WZMwkK8zmtJdd8Gl1+iRVraRyvIL6\nm1PQ9UvjWGEI4gVCDVV4rXUwJ4cdn4Akyk18BFx+SdC+ZhI2tbPH548F+VVLA9g8\naSMDD7XQNskBhoeLu6dTk3vZZs0Mvc1EdbuhDOMCgYBa09JZ6XAszA9Wteb22Opk\nT5PI8ew75o3Ti9D7xRrJP+GCYCq0pRJxhlz1sBPH+VDdxyl4BB4igfH0X2bTJz0y\nMFzsyPu5vsVfeIp/xqL9b7/TGcsLXZofDoHFbBnKDDgZA4lxifz1hEom3Hle4xhp\nrwC3m9Y2mChM2zcWsxK+EQKBgHh9g2dpx9A/iGew712FWdbfDgzFmQWKz13bFEoJ\njW0pjrjcEXIaVdg4I5WTb1H3lYbOn4pEoUMp6uyDmWsI+32AxXgGEUUGZ8Y32Iem\ns8z7gOZKYAkV+bvqtoD66m/9cnir1zFwE7KZGxxtJJ57n2uo01m0/usJYa93wSmY\n/0eVAoGAXExh5cB4FwFQoYm9csRdMLqEH62e8R5Ve9K44Shg1qRLdzL8AJzFwXYU\n1wpbzS9CDsMu1JM8pWgFMgZZdn2JZ8uky/uQC82LvtXgCQ/9Fupiz5F3u0i9bVmV\nx3MUWqNAer3+qqQ2QblrZvjsU+ag/3Y8rWLV5sQlJv58gT6+qho=\n-----END RSA PRIVATE KEY-----'", u"facts.chef_server_cookbook_channels := 'current'"], u'script': u'/usr/share/opencenter-agent/plugins/lib/bash/chef/install-chef-server.sh'}, u'result_code': 0, u'result_str': u'Success'}, 'action': u'install_chef_server', 'id': 2} notifying event task-for-5 notifying task-for-5 waiting on task-for-5 waiting on task-for-5 no waiters on nodes-id-5... skipping notifying event task-for-5 notifying task-for-5 Task: {'completed': None, 'expires': 1364395418, 'submitted': 1364395388, 'payload': {u'CHEF_SERVER_COOKBOOK_CHANNELS': u'current', u'globals': {u'parent_task_id': 1}, u'timeout': 120}, 'parent_id': 1, 'state': u'running', 'node_id': 5, 'result': {}, 'action': u'download_cookbooks', 'id': 3} notifying event task-for-5 notifying task-for-5 no waiters on nodes-id-5... skipping waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 Task: {'completed': 1364395407, 'expires': 1364395418, 'submitted': 1364395388, 'payload': {u'CHEF_SERVER_COOKBOOK_CHANNELS': u'current', u'globals': {u'parent_task_id': 1}, u'timeout': 120}, 'parent_id': 1, 'state': u'done', 'node_id': 5, 'result': {u'response': {}, u'result_data': {u'consequences': [], u'script': u'/usr/share/opencenter-agent/plugins/lib/bash/chef/cookbook-download.sh'}, u'result_code': 1, u'result_str': u'Failure'}, 'action': u'download_cookbooks', 'id': 3} notifying event task-for-5 notifying task-for-5 waiting on task-for-5 waiting on task-for-5 no waiters on nodes-id-5... skipping notifying event task-for-5 notifying task-for-5 Task: {'completed': None, 'expires': 1364395438, 'submitted': 1364395408, 'payload': {u'globals': {u'parent_task_id': 1}, u'timeout': 30}, 'parent_id': 1, 'state': u'running', 'node_id': 5, 'result': {}, 'action': u'rollback_install_chef_server', 'id': 4} notifying event task-for-5 notifying task-for-5 no waiters on nodes-id-5... skipping waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 waiting on task-for-5 Task: {'completed': 1364395425, 'expires': 1364395438, 'submitted': 1364395408, 'payload': {u'globals': {u'parent_task_id': 1}, u'timeout': 30}, 'parent_id': 1, 'state': u'done', 'node_id': 5, 'result': {u'response': {}, u'result_data': {u'consequences': [u"facts.backends := remove(facts.backends, 'chef-server')", u'facts.chef_server_client_name := none', u'facts.chef_server_client_pem := none', u'facts.chef_server_uri := none', u'facts.chef_server_pem := none', u'facts.chef_server_cookbook_channels := none'], u'script': u'/usr/share/opencenter-agent/plugins/lib/bash/chef/uninstall-chef-server.sh'}, u'result_code': 0, u'result_str': u'Success'}, 'action': u'rollback_install_chef_server', 'id': 4} notifying event task-for-5 notifying task-for-5 waiting on task-for-5 waiting on task-for-5 no waiters on nodes-id-5... skipping Task: {'completed': 1364395429, 'expires': 1364396081, 'submitted': 1364395271, 'payload': {u'nodes': [u'5'], u'globals': {}, u'adventure_dsl': [{u'primitive': u'install_chef_server', u'ns': {}, u'timeout': 600}, {u'primitive': u'node.add_backend', u'ns': {u'backend': u'chef-server'}, u'timeout': 30}, {u'primitive': u'node.set_parent', u'ns': {u'parent': 3}, u'timeout': 30}, {u'primitive': u'node.set_attr', u'ns': {u'value': True, u'key': u'locked'}, u'timeout': 30}, {u'primitive': u'download_cookbooks', u'ns': {u'CHEF_SERVER_COOKBOOK_CHANNELS': u'current'}, u'timeout': 120}]}, 'parent_id': None, 'state': u'done', 'node_id': 8, 'result': {u'result_str': u'adventure failed', u'result_code': 1, u'result_data': {u'rollbacks': {u'5': [{u'primitive': u'node.del_attr', u'ns': {u'globals': {u'parent_task_id': 1}, u'key': u'locked'}}, {u'primitive': u'node.set_parent', u'ns': {u'globals': {u'parent_task_id': 1}, u'parent': 2}}, {u'primitive': u'node.set_fact', u'ns': {u'globals': {u'parent_task_id': 1}, u'key': u'backends', u'value': [u'node', u'agent']}}, {u'primitive': u'rollback_install_chef_server', u'ns': {u'globals': {u'parent_task_id': 1}, u'timeout': 30}}]}, u'history': [{u'result_str': u'ran primitive agent.run_task: 0/1 completed successfully', u'result_code': 1, u'result_data': {u'5': {u'result_str': u'Task failed', u'result_code': 1, u'result_data': {}}}}, {u'result_str': u'ran primitive node.set_attr: 1/1 completed successfully', u'result_code': 0, u'result_data': {u'5': {u'result_str': u'Action succeeded', u'result_code': 0, u'result_data': {u'rollback': {u'primitive': u'node.del_attr', u'ns': {u'globals': {u'parent_task_id': 1}, u'key': u'locked'}}}}}}, {u'result_str': u'ran primitive node.set_parent: 1/1 completed successfully', u'result_code': 0, u'result_data': {u'5': {u'result_str': u'Action succeeded', u'result_code': 0, u'result_data': {u'rollback': {u'primitive': u'node.set_parent', u'ns': {u'globals': {u'parent_task_id': 1}, u'parent': 2}}}}}}, {u'result_str': u'ran primitive node.add_backend: 1/1 completed successfully', u'result_code': 0, u'result_data': {u'5': {u'result_str': u'Action succeeded', u'result_code': 0, u'result_data': {u'rollback': {u'primitive': u'node.set_fact', u'ns': {u'globals': {u'parent_task_id': 1}, u'key': u'backends', u'value': [u'node', u'agent']}}}}}}, {u'result_str': u'ran primitive agent.run_task: 1/1 completed successfully', u'result_code': 0, u'result_data': {u'5': {u'result_str': u'Action succeeded', u'result_code': 0, u'result_data': {u'rollback': {u'primitive': u'rollback_install_chef_server', u'ns': {u'globals': {u'parent_task_id': 1}, u'timeout': 30}}}}}}]}}, 'action': u'adventurate', 'id': 1} waiting on task-for-5
ERROR: Errno::EHOSTUNREACH: No route to host - connect(2) /opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:762:in
initialize': No route to host - connect(2) (Errno::EHOSTUNREACH) from /opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:762:in
open' from /opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:762:inblock in connect' from /opt/chef-server/embedded/lib/ruby/1.9.1/timeout.rb:68:in
timeout' from /opt/chef-server/embedded/lib/ruby/1.9.1/timeout.rb:99:intimeout' from /opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:762:in
connect' from /opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:755:indo_start' from /opt/chef-server/embedded/lib/ruby/1.9.1/net/http.rb:744:in
start' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:172:intransmit' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:64:in
execute' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/request.rb:33:inexecute' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/rest-client-1.6.7/lib/restclient/resource.rb:76:in
put' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/cookbook_uploader.rb:142:inblock in uploader_function_for' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/cookbook_uploader.rb:25:in
call' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/cookbook_uploader.rb:25:inblock (3 levels) in setup_worker_threads' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/cookbook_uploader.rb:24:in
loop' from /opt/chef-server/embedded/lib/ruby/gems/1.9.1/gems/chef-11.0.0/lib/chef/cookbook_uploader.rb:24:in `block (2 levels) in setup_worker_threads'