Created
August 15, 2014 15:42
-
-
Save jruels/a17454d2415ca862dcd4 to your computer and use it in GitHub Desktop.
Chef-fail
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
controller1 [2014-08-15T15:26:24+00:00] WARN: Cloning resource attributes for directory[/var/cache/local/preseeding] from prior resource (CHEF-3694) | |
controller1 [2014-08-15T15:26:24+00:00] WARN: Previous directory[/var/cache/local/preseeding]: /var/chef/cache/cookbooks/apt/recipes/default.rb:76:in `block in from_file' | |
controller1 [2014-08-15T15:26:24+00:00] WARN: Current directory[/var/cache/local/preseeding]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:4:in `from_file' | |
controller1 [2014-08-15T15:26:24+00:00] WARN: Cloning resource attributes for directory[/var/lib/mysql] from prior resource (CHEF-3694) | |
controller1 [2014-08-15T15:26:24+00:00] WARN: Previous directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:34:in `block in from_file' | |
controller1 [2014-08-15T15:26:24+00:00] WARN: Current directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:70:in `from_file' | |
controller1 [2014-08-15T15:26:24+00:00] WARN: Cloning resource attributes for mysql_database_user[repl] from prior resource (CHEF-3694) | |
controller1 [2014-08-15T15:26:24+00:00] WARN: Previous mysql_database_user[repl]: /var/chef/cache/cookbooks/mysql-openstack/recipes/server.rb:79:in `from_file' | |
controller1 [2014-08-15T15:26:24+00:00] WARN: Current mysql_database_user[repl]: /var/chef/cache/cookbooks/mysql-openstack/recipes/server.rb:85:in `from_file' | |
controller1 | |
controller1 ================================================================================ | |
controller1 Recipe Compile Error in /var/chef/cache/cookbooks/keystone/recipes/setup.rb | |
controller1 ================================================================================ | |
controller1 | |
controller1 | |
controller1 NoMethodError | |
controller1 ------------- | |
controller1 undefined method `each' for nil:NilClass | |
controller1 | |
controller1 | |
controller1 Cookbook Trace: | |
controller1 --------------- | |
controller1 /var/chef/cache/cookbooks/keystone/recipes/setup.rb:162:in `block in from_file' | |
controller1 /var/chef/cache/cookbooks/keystone/recipes/setup.rb:148:in `each' | |
controller1 /var/chef/cache/cookbooks/keystone/recipes/setup.rb:148:in `from_file' | |
controller1 | |
controller1 | |
controller1 Relevant File Content: | |
controller1 ---------------------- | |
controller1 /var/chef/cache/cookbooks/keystone/recipes/setup.rb: | |
controller1 | |
controller1 155: user_name username | |
controller1 156: user_pass user_info["password"] | |
controller1 157: tenant_name user_info["default_tenant"] | |
controller1 158: user_enabled true # Not required as this is the default | |
controller1 159: action :create | |
controller1 160: end | |
controller1 161: | |
controller1 162>> user_info["roles"].each do |rolename, tenant_list| | |
controller1 163: tenant_list.each do |tenantname| | |
controller1 164: keystone_role "Grant '#{rolename}' Role to '#{username}' User in '#{tenantname}' Tenant" do | |
controller1 165: auth_host ks_admin_endpoint["host"] | |
controller1 166: auth_port ks_admin_endpoint["port"] | |
controller1 167: auth_protocol ks_admin_endpoint["scheme"] | |
controller1 168: api_ver ks_admin_endpoint["path"] | |
controller1 169: auth_token node["keystone"]["admin_token"] | |
controller1 170: user_name username | |
controller1 171: role_name rolename | |
controller1 | |
controller1 | |
controller1 | |
controller1 | |
controller1 Running handlers: | |
controller1 [2014-08-15T15:26:25+00:00] ERROR: Running exception handlers | |
controller1 Running handlers complete | |
controller1 | |
controller1 [2014-08-15T15:26:25+00:00] ERROR: Exception handlers complete | |
controller1 [2014-08-15T15:26:25+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
controller1 Chef Client failed. 9 resources updated in 197.948736034 seconds | |
controller1 [2014-08-15T15:26:26+00:00] ERROR: undefined method `each' for nil:NilClass | |
controller1 [2014-08-15T15:26:26+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
+ '[' 1 -ne 0 -a 1 -lt 5 ']' | |
+ RETRY=2 | |
+ ssh -o StrictHostKeyChecking=no [email protected] | |
Pseudo-terminal will not be allocated because stdin is not a terminal. | |
Error reading response length from authentication socket. | |
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-65-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
+ '[' 0 -ne 0 -a 2 -lt 5 ']' | |
+ '[' 2 -eq 5 ']' | |
+ set -e | |
+ echo 'Bootstrapping the compute, cinder, neutron node' | |
Bootstrapping the compute, cinder, neutron node | |
+ retry_process ssh -o StrictHostKeyChecking=no [email protected] | |
+ set +e | |
+ MAX_RETRIES=5 | |
+ RETRY=0 | |
+ false | |
+ '[' 1 -ne 0 -a 0 -lt 5 ']' | |
+ RETRY=1 | |
+ ssh -o StrictHostKeyChecking=no [email protected] | |
Pseudo-terminal will not be allocated because stdin is not a terminal. | |
Error reading response length from authentication socket. | |
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-65-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
No entry for terminal type "unknown"; | |
using dumb terminal settings. | |
Bootstrapping Chef on 10.0.3.1 | |
10.0.3.1 Starting Chef Client, version 11.10.4 | |
10.0.3.1 | |
10.0.3.1 ================================================================================ | |
10.0.3.1 Chef encountered an error attempting to load the node data for "js-chef-allinone" | |
10.0.3.1 ================================================================================ | |
10.0.3.1 | |
10.0.3.1 | |
10.0.3.1 Authentication Error: | |
10.0.3.1 --------------------- | |
10.0.3.1 Failed to authenticate to the chef server (http 401). | |
10.0.3.1 | |
10.0.3.1 | |
10.0.3.1 | |
10.0.3.1 Server Response: | |
10.0.3.1 ---------------- | |
10.0.3.1 Failed to authenticate as 'js-chef-allinone'. Ensure that your node_name and client key are correct. | |
10.0.3.1 | |
10.0.3.1 | |
10.0.3.1 Relevant Config Settings: | |
10.0.3.1 ------------------------- | |
10.0.3.1 chef_server_url "https://10.0.3.100:4000" | |
10.0.3.1 node_name "js-chef-allinone" | |
10.0.3.1 client_key "/etc/chef/client.pem" | |
10.0.3.1 | |
10.0.3.1 If these settings are correct, your client_key may be invalid, or | |
10.0.3.1 you may have a chef user with the same client name as this node. | |
10.0.3.1 | |
10.0.3.1 | |
10.0.3.1 | |
10.0.3.1 [2014-08-15T15:26:29+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
10.0.3.1 Chef Client failed. 0 resources updated in 0.537001687 seconds | |
10.0.3.1 [2014-08-15T15:26:29+00:00] ERROR: 401 "Unauthorized" | |
10.0.3.1 [2014-08-15T15:26:29+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
+ '[' 1 -ne 0 -a 1 -lt 5 ']' | |
+ RETRY=2 | |
+ ssh -o StrictHostKeyChecking=no [email protected] | |
Pseudo-terminal will not be allocated because stdin is not a terminal. | |
Error reading response length from authentication socket. | |
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-65-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
+ '[' 0 -ne 0 -a 2 -lt 5 ']' | |
+ '[' 2 -eq 5 ']' | |
+ set -e | |
+ echo 'finallizing the chef run' | |
finallizing the chef run | |
+ retry_process ssh -o StrictHostKeyChecking=no [email protected] | |
+ set +e | |
+ MAX_RETRIES=5 | |
+ RETRY=0 | |
+ false | |
+ '[' 1 -ne 0 -a 0 -lt 5 ']' | |
+ RETRY=1 | |
+ ssh -o StrictHostKeyChecking=no [email protected] | |
Pseudo-terminal will not be allocated because stdin is not a terminal. | |
Error reading response length from authentication socket. | |
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-65-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
[2014-08-15T15:26:30+00:00] INFO: Forking chef instance to converge... | |
[2014-08-15T15:26:30+00:00] INFO: *** Chef 11.10.4 *** | |
[2014-08-15T15:26:30+00:00] INFO: Chef-client pid: 14680 | |
[2014-08-15T15:26:32+00:00] INFO: Run List is [role[ha-controller1], role[heat-all]] | |
[2014-08-15T15:26:32+00:00] INFO: Run List expands to [osops-utils::packages, osops-utils::nf_conntrack_max, osops-utils::vhost_net, openssh, ntp, rsyslog::default, hardware, osops-utils::version, osops-utils::keepalived-timeouts, rsyslog::server, mysql-openstack::server, openstack-monitoring::mysql-server, erlang::default, rabbitmq-openstack::server, openstack-monitoring::rabbitmq-server, memcached-openstack::default, keystone::setup, keystone::keystone-api, openstack-monitoring::keystone, glance::setup, glance::registry, openstack-monitoring::glance-registry, glance::api, openstack-monitoring::glance-api, glance::replicator, nova::nova-setup, nova-network::nova-controller, openstack-monitoring::nova-network, nova::scheduler, openstack-monitoring::nova-scheduler, osops-utils::centos-amqplib-keepalive-patch, nova::nova-conductor, openstack-monitoring::nova-conductor, nova::api-ec2, openstack-monitoring::nova-api-ec2, nova::api-metadata, openstack-monitoring::nova-api-metadata, nova::api-os-compute, openstack-monitoring::nova-api-os-compute, cinder::cinder-setup, cinder::cinder-api, openstack-monitoring::cinder-api, cinder::cinder-scheduler, openstack-monitoring::cinder-scheduler, ceilometer::ceilometer-setup, ceilometer::ceilometer-api, openstack-monitoring::ceilometer-api, ceilometer::ceilometer-collector, openstack-monitoring::ceilometer-collector, ceilometer::ceilometer-central-agent, openstack-monitoring::ceilometer-central-agent-service, nova::nova-cert, openstack-monitoring::nova-cert, nova::vncproxy, openstack-monitoring::nova-vncproxy, mysql::client, mysql::ruby, horizon::server, openstack-ha::default, openstack-logging::default, heat::heat-setup, heat::heat-engine, openstack-monitoring::heat-engine, heat::heat-api, openstack-monitoring::heat-api, heat::heat-api-cfn, openstack-monitoring::heat-api-cfn, heat::heat-api-cloudwatch, openstack-monitoring::heat-api-cloudwatch] | |
[2014-08-15T15:26:32+00:00] INFO: Starting Chef Run for controller1 | |
[2014-08-15T15:26:32+00:00] INFO: Running start handlers | |
[2014-08-15T15:26:32+00:00] INFO: Start handlers complete. | |
[2014-08-15T15:26:32+00:00] INFO: HTTP Request Returned 404 Object Not Found: | |
[2014-08-15T15:26:32+00:00] INFO: Loading cookbooks [apache2, apt, aws, build-essential, ceilometer, cinder, collectd, collectd-plugins, database, dsh, erlang, glance, haproxy, hardware, heat, horizon, iptables, keepalived, keystone, memcached, memcached-openstack, monit, monitoring, mysql, mysql-openstack, nova, nova-network, ntp, openssh, openssl, openstack-ha, openstack-logging, openstack-monitoring, osops-utils, postgresql, rabbitmq, rabbitmq-openstack, rsyslog, runit, sysctl, xfs, yum] | |
[2014-08-15T15:26:34+00:00] INFO: Processing execute[apt-get-update-build-essentials] action run (build-essential::debian line 22) | |
[2014-08-15T15:26:38+00:00] INFO: execute[apt-get-update-build-essentials] ran successfully | |
[2014-08-15T15:26:38+00:00] INFO: Processing package[autoconf] action install (build-essential::debian line 40) | |
[2014-08-15T15:26:38+00:00] INFO: Processing package[binutils-doc] action install (build-essential::debian line 40) | |
[2014-08-15T15:26:38+00:00] INFO: Processing package[bison] action install (build-essential::debian line 40) | |
[2014-08-15T15:26:38+00:00] INFO: Processing package[build-essential] action install (build-essential::debian line 40) | |
[2014-08-15T15:26:38+00:00] INFO: Processing package[flex] action install (build-essential::debian line 40) | |
[2014-08-15T15:26:38+00:00] INFO: Processing package[mysql-client] action install (mysql::client line 47) | |
[2014-08-15T15:26:38+00:00] INFO: Processing package[libmysqlclient-dev] action install (mysql::client line 47) | |
[2014-08-15T15:26:38+00:00] INFO: Processing chef_gem[mysql] action install (mysql::ruby line 47) | |
[2014-08-15T15:26:38+00:00] INFO: *** I AM FIRST MYSQL MASTER - SETTING PASSWORDS *** | |
[2014-08-15T15:26:39+00:00] WARN: Cloning resource attributes for directory[/var/cache/local/preseeding] from prior resource (CHEF-3694) | |
[2014-08-15T15:26:39+00:00] WARN: Previous directory[/var/cache/local/preseeding]: /var/chef/cache/cookbooks/apt/recipes/default.rb:76:in `block in from_file' | |
[2014-08-15T15:26:39+00:00] WARN: Current directory[/var/cache/local/preseeding]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:4:in `from_file' | |
[2014-08-15T15:26:39+00:00] WARN: Cloning resource attributes for directory[/var/lib/mysql] from prior resource (CHEF-3694) | |
[2014-08-15T15:26:39+00:00] WARN: Previous directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:34:in `block in from_file' | |
[2014-08-15T15:26:39+00:00] WARN: Current directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:70:in `from_file' | |
[2014-08-15T15:26:39+00:00] WARN: Cloning resource attributes for mysql_database_user[repl] from prior resource (CHEF-3694) | |
[2014-08-15T15:26:39+00:00] WARN: Previous mysql_database_user[repl]: /var/chef/cache/cookbooks/mysql-openstack/recipes/server.rb:79:in `from_file' | |
[2014-08-15T15:26:39+00:00] WARN: Current mysql_database_user[repl]: /var/chef/cache/cookbooks/mysql-openstack/recipes/server.rb:85:in `from_file' | |
[2014-08-15T15:26:39+00:00] INFO: I am currently the only mysql master | |
================================================================================ | |
Recipe Compile Error in /var/chef/cache/cookbooks/keystone/recipes/setup.rb | |
================================================================================ | |
NoMethodError | |
------------- | |
undefined method `each' for nil:NilClass | |
Cookbook Trace: | |
--------------- | |
/var/chef/cache/cookbooks/keystone/recipes/setup.rb:162:in `block in from_file' | |
/var/chef/cache/cookbooks/keystone/recipes/setup.rb:148:in `each' | |
/var/chef/cache/cookbooks/keystone/recipes/setup.rb:148:in `from_file' | |
Relevant File Content: | |
---------------------- | |
/var/chef/cache/cookbooks/keystone/recipes/setup.rb: | |
155: user_name username | |
156: user_pass user_info["password"] | |
157: tenant_name user_info["default_tenant"] | |
158: user_enabled true # Not required as this is the default | |
159: action :create | |
160: end | |
161: | |
162>> user_info["roles"].each do |rolename, tenant_list| | |
163: tenant_list.each do |tenantname| | |
164: keystone_role "Grant '#{rolename}' Role to '#{username}' User in '#{tenantname}' Tenant" do | |
165: auth_host ks_admin_endpoint["host"] | |
166: auth_port ks_admin_endpoint["port"] | |
167: auth_protocol ks_admin_endpoint["scheme"] | |
168: api_ver ks_admin_endpoint["path"] | |
169: auth_token node["keystone"]["admin_token"] | |
170: user_name username | |
171: role_name rolename | |
[2014-08-15T15:26:40+00:00] ERROR: Running exception handlers | |
[2014-08-15T15:26:40+00:00] ERROR: Exception handlers complete | |
[2014-08-15T15:26:40+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out | |
[2014-08-15T15:26:40+00:00] ERROR: undefined method `each' for nil:NilClass | |
[2014-08-15T15:26:40+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1) | |
+ '[' 1 -ne 0 -a 1 -lt 5 ']' | |
+ RETRY=2 | |
+ ssh -o StrictHostKeyChecking=no [email protected] | |
Pseudo-terminal will not be allocated because stdin is not a terminal. | |
Error reading response length from authentication socket. | |
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.2.0-65-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
+ '[' 0 -ne 0 -a 2 -lt 5 ']' | |
+ '[' 2 -eq 5 ']' | |
+ set -e | |
+ source /root/openrc | |
build-ova.sh: line 399: /root/openrc: No such file or directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
controller1 [2014-08-15T16:54:24+00:00] WARN: Cloning resource attributes for directory[/var/cache/local/preseeding] from prior resource (CHEF-3694)
controller1 [2014-08-15T16:54:24+00:00] WARN: Previous directory[/var/cache/local/preseeding]: /var/chef/cache/cookbooks/apt/recipes/default.rb:76:in
block in from_file' controller1 [2014-08-15T16:54:24+00:00] WARN: Current directory[/var/cache/local/preseeding]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:4:in
from_file'controller1 [2014-08-15T16:54:24+00:00] WARN: Cloning resource attributes for directory[/var/lib/mysql] from prior resource (CHEF-3694)
controller1 [2014-08-15T16:54:24+00:00] WARN: Previous directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:34:in
block in from_file' controller1 [2014-08-15T16:54:24+00:00] WARN: Current directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:70:in
from_file'controller1 [2014-08-15T16:54:24+00:00] WARN: Cloning resource attributes for mysql_database_user[repl] from prior resource (CHEF-3694)
controller1 [2014-08-15T16:54:24+00:00] WARN: Previous mysql_database_user[repl]: /var/chef/cache/cookbooks/mysql-openstack/recipes/server.rb:79:in
from_file' controller1 [2014-08-15T16:54:24+00:00] WARN: Current mysql_database_user[repl]: /var/chef/cache/cookbooks/mysql-openstack/recipes/server.rb:85:in
from_file'controller1
controller1 ================================================================================
controller1 Recipe Compile Error in /var/chef/cache/cookbooks/keystone/recipes/setup.rb
controller1 ================================================================================
controller1
controller1
controller1 NoMethodError
controller1 -------------
controller1 undefined method
each' for nil:NilClass controller1 controller1 controller1 Cookbook Trace: controller1 --------------- controller1 /var/chef/cache/cookbooks/keystone/recipes/setup.rb:162:in
block in from_file'controller1 /var/chef/cache/cookbooks/keystone/recipes/setup.rb:148:in
each' controller1 /var/chef/cache/cookbooks/keystone/recipes/setup.rb:148:in
from_file'controller1
controller1
controller1 Relevant File Content:
controller1 ----------------------
controller1 /var/chef/cache/cookbooks/keystone/recipes/setup.rb:
controller1
controller1 155: user_name username
controller1 156: user_pass user_info["password"]
controller1 157: tenant_name user_info["default_tenant"]
controller1 158: user_enabled true # Not required as this is the default
controller1 159: action :create
controller1 160: end
controller1 161:
controller1 162>> user_info["roles"].each do |rolename, tenant_list|
controller1 163: tenant_list.each do |tenantname|
controller1 164: keystone_role "Grant '#{rolename}' Role to '#{username}' User in '#{tenantname}' Tenant" do
controller1 165: auth_host ks_admin_endpoint["host"]
controller1 166: auth_port ks_admin_endpoint["port"]
controller1 167: auth_protocol ks_admin_endpoint["scheme"]
controller1 168: api_ver ks_admin_endpoint["path"]
controller1 169: auth_token node["keystone"]["admin_token"]
controller1 170: user_name username
controller1 171: role_name rolename
controller1
controller1
controller1
controller1
controller1 Running handlers:
controller1 [2014-08-15T16:54:25+00:00] ERROR: Running exception handlers
controller1 Running handlers complete
controller1
controller1 [2014-08-15T16:54:25+00:00] ERROR: Exception handlers complete
controller1 [2014-08-15T16:54:25+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
controller1 Chef Client failed. 9 resources updated in 54.347102835 seconds
controller1 [2014-08-15T16:54:25+00:00] ERROR: undefined method `each' for nil:NilClass
controller1 [2014-08-15T16:54:25+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Pseudo-terminal will not be allocated because stdin is not a terminal.
Error reading response length from authentication socket.
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.8.0-44-generic x86_64)
Bootstrapping the compute, cinder, neutron node
Pseudo-terminal will not be allocated because stdin is not a terminal.
Error reading response length from authentication socket.
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.8.0-44-generic x86_64)
No entry for terminal type "unknown";
using dumb terminal settings.
Bootstrapping Chef on 10.0.3.1
10.0.3.1 Starting Chef Client, version 11.10.4
10.0.3.1
10.0.3.1 ================================================================================
10.0.3.1 Chef encountered an error attempting to load the node data for "js-chef-allinone"
10.0.3.1 ================================================================================
10.0.3.1
10.0.3.1
10.0.3.1 Authentication Error:
10.0.3.1 ---------------------
10.0.3.1 Failed to authenticate to the chef server (http 401).
10.0.3.1
10.0.3.1
10.0.3.1
10.0.3.1 Server Response:
10.0.3.1 ----------------
10.0.3.1 Failed to authenticate as 'js-chef-allinone'. Ensure that your node_name and client key are correct.
10.0.3.1
10.0.3.1
10.0.3.1 Relevant Config Settings:
10.0.3.1 -------------------------
10.0.3.1 chef_server_url "https://10.0.3.100:4000"
10.0.3.1 node_name "js-chef-allinone"
10.0.3.1 client_key "/etc/chef/client.pem"
10.0.3.1
10.0.3.1 If these settings are correct, your client_key may be invalid, or
10.0.3.1 you may have a chef user with the same client name as this node.
10.0.3.1
10.0.3.1
10.0.3.1
10.0.3.1 [2014-08-15T16:54:28+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
10.0.3.1 Chef Client failed. 0 resources updated in 0.55316516 seconds
10.0.3.1 [2014-08-15T16:54:28+00:00] ERROR: 401 "Unauthorized"
10.0.3.1 [2014-08-15T16:54:28+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Pseudo-terminal will not be allocated because stdin is not a terminal.
Error reading response length from authentication socket.
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.8.0-44-generic x86_64)
finallizing the chef run
Pseudo-terminal will not be allocated because stdin is not a terminal.
Error reading response length from authentication socket.
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.8.0-44-generic x86_64)
[2014-08-15T16:54:30+00:00] INFO: Forking chef instance to converge...
[2014-08-15T16:54:30+00:00] INFO: *** Chef 11.10.4 ***
[2014-08-15T16:54:30+00:00] INFO: Chef-client pid: 14614
[2014-08-15T16:54:31+00:00] INFO: Run List is [role[ha-controller1], role[heat-all]]
[2014-08-15T16:54:31+00:00] INFO: Run List expands to [osops-utils::packages, osops-utils::nf_conntrack_max, osops-utils::vhost_net, openssh, ntp, rsyslog::default, hardware, osops-utils::version, osops-utils::keepalived-timeouts, rsyslog::server, mysql-openstack::server, openstack-monitoring::mysql-server, erlang::default, rabbitmq-openstack::server, openstack-monitoring::rabbitmq-server, memcached-openstack::default, keystone::setup, keystone::keystone-api, openstack-monitoring::keystone, glance::setup, glance::registry, openstack-monitoring::glance-registry, glance::api, openstack-monitoring::glance-api, glance::replicator, nova::nova-setup, nova-network::nova-controller, openstack-monitoring::nova-network, nova::scheduler, openstack-monitoring::nova-scheduler, osops-utils::centos-amqplib-keepalive-patch, nova::nova-conductor, openstack-monitoring::nova-conductor, nova::api-ec2, openstack-monitoring::nova-api-ec2, nova::api-metadata, openstack-monitoring::nova-api-metadata, nova::api-os-compute, openstack-monitoring::nova-api-os-compute, cinder::cinder-setup, cinder::cinder-api, openstack-monitoring::cinder-api, cinder::cinder-scheduler, openstack-monitoring::cinder-scheduler, ceilometer::ceilometer-setup, ceilometer::ceilometer-api, openstack-monitoring::ceilometer-api, ceilometer::ceilometer-collector, openstack-monitoring::ceilometer-collector, ceilometer::ceilometer-central-agent, openstack-monitoring::ceilometer-central-agent-service, nova::nova-cert, openstack-monitoring::nova-cert, nova::vncproxy, openstack-monitoring::nova-vncproxy, mysql::client, mysql::ruby, horizon::server, openstack-ha::default, openstack-logging::default, heat::heat-setup, heat::heat-engine, openstack-monitoring::heat-engine, heat::heat-api, openstack-monitoring::heat-api, heat::heat-api-cfn, openstack-monitoring::heat-api-cfn, heat::heat-api-cloudwatch, openstack-monitoring::heat-api-cloudwatch]
[2014-08-15T16:54:31+00:00] INFO: Starting Chef Run for controller1
[2014-08-15T16:54:31+00:00] INFO: Running start handlers
[2014-08-15T16:54:31+00:00] INFO: Start handlers complete.
[2014-08-15T16:54:32+00:00] INFO: HTTP Request Returned 404 Object Not Found:
[2014-08-15T16:54:32+00:00] INFO: Loading cookbooks [apache2, apt, aws, build-essential, ceilometer, cinder, collectd, collectd-plugins, database, dsh, erlang, glance, haproxy, hardware, heat, horizon, iptables, keepalived, keystone, memcached, memcached-openstack, monit, monitoring, mysql, mysql-openstack, nova, nova-network, ntp, openssh, openssl, openstack-ha, openstack-logging, openstack-monitoring, osops-utils, postgresql, rabbitmq, rabbitmq-openstack, rsyslog, runit, sysctl, xfs, yum]
[2014-08-15T16:54:34+00:00] INFO: Processing execute[apt-get-update-build-essentials] action run (build-essential::debian line 22)
[2014-08-15T16:54:37+00:00] INFO: execute[apt-get-update-build-essentials] ran successfully
[2014-08-15T16:54:37+00:00] INFO: Processing package[autoconf] action install (build-essential::debian line 40)
[2014-08-15T16:54:37+00:00] INFO: Processing package[binutils-doc] action install (build-essential::debian line 40)
[2014-08-15T16:54:37+00:00] INFO: Processing package[bison] action install (build-essential::debian line 40)
[2014-08-15T16:54:37+00:00] INFO: Processing package[build-essential] action install (build-essential::debian line 40)
[2014-08-15T16:54:37+00:00] INFO: Processing package[flex] action install (build-essential::debian line 40)
[2014-08-15T16:54:37+00:00] INFO: Processing package[mysql-client] action install (mysql::client line 47)
[2014-08-15T16:54:38+00:00] INFO: Processing package[libmysqlclient-dev] action install (mysql::client line 47)
[2014-08-15T16:54:38+00:00] INFO: Processing chef_gem[mysql] action install (mysql::ruby line 47)
[2014-08-15T16:54:38+00:00] INFO: *** I AM FIRST MYSQL MASTER - SETTING PASSWORDS ***
[2014-08-15T16:54:38+00:00] WARN: Cloning resource attributes for directory[/var/cache/local/preseeding] from prior resource (CHEF-3694)
[2014-08-15T16:54:38+00:00] WARN: Previous directory[/var/cache/local/preseeding]: /var/chef/cache/cookbooks/apt/recipes/default.rb:76:in
block in from_file' [2014-08-15T16:54:38+00:00] WARN: Current directory[/var/cache/local/preseeding]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:4:in
from_file'[2014-08-15T16:54:38+00:00] WARN: Cloning resource attributes for directory[/var/lib/mysql] from prior resource (CHEF-3694)
[2014-08-15T16:54:38+00:00] WARN: Previous directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:34:in
block in from_file' [2014-08-15T16:54:38+00:00] WARN: Current directory[/var/lib/mysql]: /var/chef/cache/cookbooks/mysql/recipes/_server_debian.rb:70:in
from_file'[2014-08-15T16:54:38+00:00] WARN: Cloning resource attributes for mysql_database_user[repl] from prior resource (CHEF-3694)
[2014-08-15T16:54:38+00:00] WARN: Previous mysql_database_user[repl]: /var/chef/cache/cookbooks/mysql-openstack/recipes/server.rb:79:in
from_file' [2014-08-15T16:54:38+00:00] WARN: Current mysql_database_user[repl]: /var/chef/cache/cookbooks/mysql-openstack/recipes/server.rb:85:in
from_file'[2014-08-15T16:54:38+00:00] INFO: I am currently the only mysql master
Recipe Compile Error in /var/chef/cache/cookbooks/keystone/recipes/setup.rb
NoMethodError
undefined method `each' for nil:NilClass
Cookbook Trace:
/var/chef/cache/cookbooks/keystone/recipes/setup.rb:162:in
block in from_file' /var/chef/cache/cookbooks/keystone/recipes/setup.rb:148:in
each'/var/chef/cache/cookbooks/keystone/recipes/setup.rb:148:in `from_file'
Relevant File Content:
/var/chef/cache/cookbooks/keystone/recipes/setup.rb:
155: user_name username
156: user_pass user_info["password"]
157: tenant_name user_info["default_tenant"]
158: user_enabled true # Not required as this is the default
159: action :create
160: end
161:
162>> user_info["roles"].each do |rolename, tenant_list|
163: tenant_list.each do |tenantname|
164: keystone_role "Grant '#{rolename}' Role to '#{username}' User in '#{tenantname}' Tenant" do
165: auth_host ks_admin_endpoint["host"]
166: auth_port ks_admin_endpoint["port"]
167: auth_protocol ks_admin_endpoint["scheme"]
168: api_ver ks_admin_endpoint["path"]
169: auth_token node["keystone"]["admin_token"]
170: user_name username
171: role_name rolename
[2014-08-15T16:54:39+00:00] ERROR: Running exception handlers
[2014-08-15T16:54:39+00:00] ERROR: Exception handlers complete
[2014-08-15T16:54:39+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2014-08-15T16:54:39+00:00] ERROR: undefined method `each' for nil:NilClass
[2014-08-15T16:54:39+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)
Pseudo-terminal will not be allocated because stdin is not a terminal.
Error reading response length from authentication socket.
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 3.8.0-44-generic x86_64)
build-ova.sh: line 399: /root/openrc: No such file or directory