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 '<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <html>
<head> <title>Crowbar: 500 Error</title> <link href="/stylesheets/
application.css" media="screen" rel="stylesheet" type="text/css" />
</head> <body> <header> <div class='container'> <h1> <a href='/'>
<span>logo</span> </a> </h1> </div> </header> <div class='container'>
<div id="error_500" class="error box"> <div class="message"> <h2>We're
sorry, but something went wrong.</h2> <p>Please consult your log files
or double check the URL you're trying to reach.</p> <p>If this is an
application error, we encourage you to vist the <a
href="http://www.suse.com/support/";>SUSE support site</a> for more
information.</p> </div> </div> <footer> </footer> </body> </html> '
/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 '<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> <html>
<head> <title>Crowbar: 500 Error</title> <link
href="/stylesheets/application.css" media="screen" rel="stylesheet"
type="text/css" /> </head> <body> <header> <div class='container'>
<h1> <a href='/'> <span>logo</span> </a> </h1> </div> </header> <div
class='container'> <div id="error_500" class="error box"> <div
class="message"> <h2>We're sorry, but something went wrong.</h2>
<p>Please consult your log files or double check the URL you're trying
to reach.</p> <p>If this is an application error, we encourage you to
vist the <a href="http://www.suse.com/support/";>SUSE support site</a>
for more information.</p> </div> </div> <footer> </footer> </body>
</html> ' /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/crowba...ition/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: #<File:tmp/BA-LOCK.lock>, 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:
#<Net::HTTPServerException: 404 "Not Found">
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:
#<File:tmp/BA-LOCK.lock>
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:
#<Net::HTTPServerException: 404 "Not Found">
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
--
Free News Reader
http://put.hk
http://put.hk/reader/forums.novell.c...d-manager.html