From jorge.valderrama@stackops.com Wed Dec 26 12:22:57 2012 From: Jorge Valderrama To: cloud@lists.opensuse.org Subject: [opensuse-cloud] Fwd: SUSE CLOUD 1.0 - Discovering a node (Controller) - Error Date: Wed, 26 Dec 2012 13:22:12 +0100 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4846828867123576141==" --===============4846828867123576141== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Hi floks... I got the following error at the moment to deploy a node (controller), exactly when the node is in discovering. I 've looking for a while but I can't solve this problem yet. This is the log given under path /install-logs Discovering with: d08-00-27-fc-2d-fb.admin.cloud.example.com Error code: 255 parse_node_data failed: 743: unexpected token at ' Crowbar: 500 Error

We're sorry, but something went wrong.

Please consult your log files or double check the URL you're trying to reach.

If this is an application error, we encourage you to vist the SUSE support site for more information.

' /usr/lib64/ruby/gems/1.8/gems/ json-1.6.1/lib/json/common.rb:148:in `parse' /usr/lib64/ruby/gems/1.8/gems/json-1.6.1/lib/json/common.rb:148:in `parse' /tmp/parse_node_data:77:in `main' /tmp/parse_node_data:94 Local IP addresses: inet addr:192.168.124.21 Bcast:192.168.124.255 Mask:255.255.255.0 __post_state d08-00-27-fc-2d-fb.admin.cloud.example.com discovering failed 1 times. Retrying... Error code: 255 parse_node_data failed: 743: unexpected token at ' Crowbar: 500 Error

We're sorry, but something went wrong.

Please consult your log files or double check the URL you're trying to reach.

If this is an application error, we encourage you to vist the SUSE support site for more information.

' /usr/lib64/ruby/gems/1.8/gems/json-1.6.1/lib/json/common.rb:148:in `parse' /usr/lib64/ruby/gems/1.8/gems/json-1.6.1/lib/json/common.rb:148:in `parse' /tmp/parse_node_data:77:in `main' /tmp/parse_node_data:94 Local IP addresses: inet addr:192.168.124.21 Bcast:192.168.124.255 Mask:255.255.255.0 __post_state d08-00-27-fc-2d-fb.admin.cloud.example.com discovering failed 2 times. Retrying... On the other hand under path /var/log messages gives this one Dec 26 10:16:20 suseadmin crowbar_app[3220]: Processing CrowbarController#transition (for 192.168.124.21 at 2012-12-26 10:16:20) [POST] Dec 26 10:16:20 suseadmin crowbar_app[3220]: Parameters: {"id"=>"default", "state"=>"discovering", "name"=>"d08-00-27-fc-2d-fb.admin.cloud.example.com"} Dec 26 10:16:20 suseadmin crowbar_app[3220]: Filter chain halted as [:digest_authenticate] rendered_or_redirected. Dec 26 10:16:20 suseadmin crowbar_app[3220]: Completed in 6ms (View: 1 | 401 Unauthorized [http://192.168.124.10/crowbar/crowbar/1.0/transition/default] Dec 26 10:16:20 suseadmin crowbar_app[3220]: Processing CrowbarController#transition (for 192.168.124.21 at 2012-12-26 10:16:20) [POST] Dec 26 10:16:20 suseadmin crowbar_app[3220]: Parameters: {"id"=>"default", "state"=>"discovering", "name"=>"d08-00-27-fc-2d-fb.admin.cloud.example.com"} Dec 26 10:16:20 suseadmin crowbar_app[3220]: Crowbar transition enter: d08-00-27-fc-2d-fb.admin.cloud.example.com to discovering Dec 26 10:16:20 suseadmin crowbar_app[3220]: Acquire BA-LOCK lock enter as uid 111 Dec 26 10:16:20 suseadmin crowbar_app[3220]: Acquiring BA-LOCK lock Dec 26 10:16:20 suseadmin crowbar_app[3220]: Attempt BA-LOCK Lock: 1 Dec 26 10:16:20 suseadmin crowbar_app[3220]: Acquire BA-LOCK lock exit: #, 0 Dec 26 10:16:20 suseadmin crowbar_app[3220]: Could not recover Chef Crowbar Node on load d08-00-27-fc-2d-fb.admin.cloud.example.com: # Dec 26 10:16:20 suseadmin crowbar_app[3220]: Crowbar transition: creating new node for d08-00-27-fc-2d-fb.admin.cloud.example.com to discovering Dec 26 10:16:20 suseadmin crowbar_app[3220]: Release lock enter: # Dec 26 10:16:20 suseadmin crowbar_app[3220]: Release lock exit Dec 26 10:16:20 suseadmin crowbar_app[3220]: Crowbar transition leaving: d08-00-27-fc-2d-fb.admin.cloud.example.com to discovering Dec 26 10:16:20 suseadmin crowbar_app[3220]: Could not recover Chef Crowbar Node on load d08-00-27-fc-2d-fb.admin.cloud.example.com: # Dec 26 10:16:20 suseadmin crowbar_app[3220]: NoMethodError (undefined method `to_hash' for nil:NilClass):#012 app/models/crowbar_service.rb:134:in `transition'#012 app/controllers/barclamp_controller.rb:73:in `transition'#012 sass (3.1.2) rails/./lib/sass/plugin/rack.rb:54:in `call'#012 sass (3.1.2) rails/./lib/sass/plugin/rack.rb:54:in `call'#012 rainbows (4.3.1) lib/rainbows/event_machine/client.rb:41:in `app_call'#012 rainbows (4.3.1) lib/rainbows/event_machine/client.rb:40:in `catch'#012 rainbows (4.3.1) lib/rainbows/event_machine/client.rb:40:in `app_call'#012 rainbows (4.3.1) lib/rainbows/ev_core.rb:105:in `on_read'#012 rainbows (4.3.1) lib/rainbows/ev_core.rb:87:in `prepare_request_body'#012 rainbows (4.3.1) lib/rainbows/ev_core.rb:99:in `on_read'#012 rainbows (4.3.1) lib/rainbows/event_machine/client.rb:25:in `receive_data'#012 eventmachine (0.12.10) lib/eventmachine.rb:256:in `run_machine'#012 eventmachine (0.12.10) lib/eventmachine.rb:256:in `run'#012 rainbows (4.3.1) lib/rainbows/event_machine.rb:86:in `worker_loop'#012 rainbows (4.3.1) lib/rainbows/http_server.rb:44:in `worker_loop'#012 unicorn (4.1.0) lib/unicorn/http_server.rb:485:in `spawn_missing_workers'#012 rainbows (4.3.1) lib/rainbows/http_server.rb:60:in `spawn_missing_workers'#012 unicorn (4.1.0) lib/unicorn/http_server.rb:135:in `start'#012 rainbows (4.3.1) bin/rainbows:122#012 /usr/bin/rainbows:19:in `load'#012 /usr/bin/rainbows:19 Dec 26 10:16:20 suseadmin crowbar_app[3220]: Rendering /opt/dell/crowbar_framework/public/500.html (500 Internal Server Error) Dec 26 10:16:23 d08-00-27-fc-2d-fb kernel: [ 14.080210] eth0: no IPv6 routers present I appreciate your help. Thank -- Jorge Valderrama Romero Backend Developer www.stackops.com | jorge.valderrama(a)stackops.com | +34 91 309 48 77 | skype:jorge.valderrama.stackops -- To unsubscribe, e-mail: opensuse-cloud+unsubscribe(a)opensuse.org To contact the owner, e-mail: opensuse-cloud+owner(a)opensuse.org --===============4846828867123576141==--