Guest User

Untitled

a guest
Mar 31st, 2014
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.43 KB | None | 0 0
  1. [root@crowbar01 barclamps]# /opt/opencrowbar/core/bin/crowbar nodes set crowbar01.okcstorage.local attrib ntp_servers to '{"value": "10.14.183.31"}'
  2. {
  3. "message": "Attrib ntp_servers is read-only",
  4. "backtrace": [
  5. "/opt/opencrowbar/core/rails/app/models/attrib.rb:211:in `__set'",
  6. "/opt/opencrowbar/core/rails/app/models/attrib.rb:153:in `set'",
  7. "/opt/opencrowbar/core/rails/app/controllers/attribs_controller.rb:69:in `update'",
  8. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal/implicit_render.rb:4:in `send_action'",
  9. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/abstract_controller/base.rb:189:in `process_action'",
  10. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal/rendering.rb:10:in `process_action'",
  11. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/abstract_controller/callbacks.rb:18:in `block in process_action'",
  12. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/callbacks.rb:423:in `_run__2532276688636341743__process_action__callbacks'",
  13. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/callbacks.rb:80:in `run_callbacks'",
  14. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/abstract_controller/callbacks.rb:17:in `process_action'",
  15. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal/rescue.rb:29:in `process_action'",
  16. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'",
  17. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/notifications.rb:159:in `block in instrument'",
  18. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/notifications/instrumenter.rb:20:in `instrument'",
  19. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/notifications.rb:159:in `instrument'",
  20. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal/instrumentation.rb:30:in `process_action'",
  21. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'",
  22. "/var/cache/crowbar/gems/ruby/gems/activerecord-4.0.4/lib/active_record/railties/controller_runtime.rb:18:in `process_action'",
  23. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/abstract_controller/base.rb:136:in `process'",
  24. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/abstract_controller/rendering.rb:44:in `process'",
  25. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal.rb:195:in `dispatch'",
  26. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'",
  27. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_controller/metal.rb:231:in `block in action'",
  28. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/routing/route_set.rb:80:in `call'",
  29. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/routing/route_set.rb:80:in `dispatch'",
  30. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/routing/route_set.rb:48:in `call'",
  31. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/journey/router.rb:71:in `block in call'",
  32. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/journey/router.rb:59:in `each'",
  33. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/journey/router.rb:59:in `call'",
  34. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/routing/route_set.rb:674:in `call'",
  35. "/var/cache/crowbar/gems/ruby/gems/warden-1.2.3/lib/warden/manager.rb:35:in `block in call'",
  36. "/var/cache/crowbar/gems/ruby/gems/warden-1.2.3/lib/warden/manager.rb:34:in `catch'",
  37. "/var/cache/crowbar/gems/ruby/gems/warden-1.2.3/lib/warden/manager.rb:34:in `call'",
  38. "/var/cache/crowbar/gems/ruby/gems/rack-1.5.2/lib/rack/etag.rb:23:in `call'",
  39. "/var/cache/crowbar/gems/ruby/gems/rack-1.5.2/lib/rack/conditionalget.rb:35:in `call'",
  40. "/var/cache/crowbar/gems/ruby/gems/rack-1.5.2/lib/rack/head.rb:11:in `call'",
  41. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/params_parser.rb:27:in `call'",
  42. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/flash.rb:241:in `call'",
  43. "/var/cache/crowbar/gems/ruby/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:225:in `context'",
  44. "/var/cache/crowbar/gems/ruby/gems/rack-1.5.2/lib/rack/session/abstract/id.rb:220:in `call'",
  45. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/cookies.rb:486:in `call'",
  46. "/var/cache/crowbar/gems/ruby/gems/activerecord-4.0.4/lib/active_record/query_cache.rb:36:in `call'",
  47. "/var/cache/crowbar/gems/ruby/gems/activerecord-4.0.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'",
  48. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'",
  49. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/callbacks.rb:373:in `_run__4444132969558383302__call__callbacks'",
  50. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/callbacks.rb:80:in `run_callbacks'",
  51. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/callbacks.rb:27:in `call'",
  52. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/remote_ip.rb:76:in `call'",
  53. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'",
  54. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'",
  55. "/var/cache/crowbar/gems/ruby/gems/railties-4.0.4/lib/rails/rack/logger.rb:38:in `call_app'",
  56. "/var/cache/crowbar/gems/ruby/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `block in call'",
  57. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `block in tagged'",
  58. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:26:in `tagged'",
  59. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/tagged_logging.rb:68:in `tagged'",
  60. "/var/cache/crowbar/gems/ruby/gems/railties-4.0.4/lib/rails/rack/logger.rb:20:in `call'",
  61. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/request_id.rb:21:in `call'",
  62. "/var/cache/crowbar/gems/ruby/gems/rack-1.5.2/lib/rack/methodoverride.rb:21:in `call'",
  63. "/var/cache/crowbar/gems/ruby/gems/rack-1.5.2/lib/rack/runtime.rb:17:in `call'",
  64. "/var/cache/crowbar/gems/ruby/gems/activesupport-4.0.4/lib/active_support/cache/strategy/local_cache.rb:83:in `call'",
  65. "/var/cache/crowbar/gems/ruby/gems/actionpack-4.0.4/lib/action_dispatch/middleware/static.rb:64:in `call'",
  66. "/var/cache/crowbar/gems/ruby/gems/rack-1.5.2/lib/rack/sendfile.rb:112:in `call'",
  67. "/var/cache/crowbar/gems/ruby/gems/railties-4.0.4/lib/rails/engine.rb:511:in `call'",
  68. "/var/cache/crowbar/gems/ruby/gems/railties-4.0.4/lib/rails/application.rb:97:in `call'",
  69. "/var/cache/crowbar/gems/ruby/gems/railties-4.0.4/lib/rails/railtie/configurable.rb:30:in `method_missing'",
  70. "/var/cache/crowbar/gems/ruby/gems/puma-2.8.1/lib/puma/configuration.rb:71:in `call'",
  71. "/var/cache/crowbar/gems/ruby/gems/puma-2.8.1/lib/puma/server.rb:490:in `handle_request'",
  72. "/var/cache/crowbar/gems/ruby/gems/puma-2.8.1/lib/puma/server.rb:361:in `process_client'",
  73. "/var/cache/crowbar/gems/ruby/gems/puma-2.8.1/lib/puma/server.rb:254:in `block in run'",
  74. "/var/cache/crowbar/gems/ruby/gems/puma-2.8.1/lib/puma/thread_pool.rb:92:in `call'",
  75. "/var/cache/crowbar/gems/ruby/gems/puma-2.8.1/lib/puma/thread_pool.rb:92:in `block in spawn_thread'"
  76. ],
  77. "status": 500
  78. }
  79. Return code: 500
  80. /opt/opencrowbar/core/bin/crowbar:53:in `maybe_json_die': unhandled exception
  81. from /opt/opencrowbar/core/bin/crowbar:467:in `do_set_attrib_Attrib_to_Json'
  82. from /opt/opencrowbar/core/bin/crowbar:249:in `block in initialize'
  83. from /opt/opencrowbar/core/bin/crowbar:272:in `call'
  84. from /opt/opencrowbar/core/bin/crowbar:272:in `run'
  85. from /opt/opencrowbar/core/bin/crowbar:763:in `run_command'
  86. from /opt/opencrowbar/core/bin/crowbar:769:in `<main>'
  87. [root@crowbar01 barclamps]#
Advertisement
Add Comment
Please, Sign In to add comment