Guest User

Untitled

a guest
Mar 17th, 2016
44
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.65 KB | None | 0 0
  1. ================================================================================
  2. Recipe Compile Error in /var/chef/cache/cookbooks/openstack-identity/recipes/server-apache.rb
  3. ================================================================================
  4.  
  5. NoMethodError
  6. -------------
  7. undefined method `-' for nil:NilClass
  8.  
  9. Cookbook Trace:
  10. ---------------
  11. /var/chef/cache/cookbooks/openstack-identity/recipes/server-apache.rb:282:in `from_file'
  12.  
  13. Relevant File Content:
  14. ----------------------
  15. /var/chef/cache/cookbooks/openstack-identity/recipes/server-apache.rb:
  16.  
  17. 275: user node['openstack']['identity']['user']
  18. 276: command "keystone-manage token_flush > #{log_file} 2>&1; "\
  19. 277: "echo keystone-manage token_flush ran at $(/bin/date) with exit code $? >> #{log_file}"
  20. 278: end
  21. 279:
  22. 280: #### Start of Apache specific work
  23. 281:
  24. 282>> listen_addresses = node['apache']['listen_addresses'] - ['*'] + [bind_address, admin_bind_address]
  25. 283: listen_ports = node['apache']['listen_ports'] - ['80'] + [identity_endpoint.port, identity_admin_endpoint.port]
  26. 284: node.set['apache']['listen_addresses'] = listen_addresses.uniq
  27. 285: node.set['apache']['listen_ports'] = listen_ports.uniq
  28. 286:
  29. 287: include_recipe 'apache2'
  30. 288: include_recipe 'apache2::mod_wsgi'
  31. 289: include_recipe 'apache2::mod_ssl' if node['openstack']['identity']['ssl']['enabled']
  32. 290:
  33. 291: keystone_apache_dir = "#{node['apache']['docroot_dir']}/keystone"
  34.  
  35. [2016-03-17T13:12:10+05:30] DEBUG: Re-raising exception: NoMethodError - undefined method `-' for nil:NilClass
  36. /var/chef/cache/cookbooks/openstack-identity/recipes/server-apache.rb:282:in `from_file'
Add Comment
Please, Sign In to add comment