Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ================================================================================
- Recipe Compile Error in /var/chef/cache/cookbooks/openstack-identity/recipes/server-apache.rb
- ================================================================================
- NoMethodError
- -------------
- undefined method `-' for nil:NilClass
- Cookbook Trace:
- ---------------
- /var/chef/cache/cookbooks/openstack-identity/recipes/server-apache.rb:282:in `from_file'
- Relevant File Content:
- ----------------------
- /var/chef/cache/cookbooks/openstack-identity/recipes/server-apache.rb:
- 275: user node['openstack']['identity']['user']
- 276: command "keystone-manage token_flush > #{log_file} 2>&1; "\
- 277: "echo keystone-manage token_flush ran at $(/bin/date) with exit code $? >> #{log_file}"
- 278: end
- 279:
- 280: #### Start of Apache specific work
- 281:
- 282>> listen_addresses = node['apache']['listen_addresses'] - ['*'] + [bind_address, admin_bind_address]
- 283: listen_ports = node['apache']['listen_ports'] - ['80'] + [identity_endpoint.port, identity_admin_endpoint.port]
- 284: node.set['apache']['listen_addresses'] = listen_addresses.uniq
- 285: node.set['apache']['listen_ports'] = listen_ports.uniq
- 286:
- 287: include_recipe 'apache2'
- 288: include_recipe 'apache2::mod_wsgi'
- 289: include_recipe 'apache2::mod_ssl' if node['openstack']['identity']['ssl']['enabled']
- 290:
- 291: keystone_apache_dir = "#{node['apache']['docroot_dir']}/keystone"
- [2016-03-17T13:12:10+05:30] DEBUG: Re-raising exception: NoMethodError - undefined method `-' for nil:NilClass
- /var/chef/cache/cookbooks/openstack-identity/recipes/server-apache.rb:282:in `from_file'
Add Comment
Please, Sign In to add comment