After executing the [B]“crowbarctl database create” [/B]it’s error with the following message.
crowbarctl database create --debug
RestClient.head “http://127.0.0.1/api/database/new”, “Accept”=>“/”,
“Accept-Encoding”=>“gzip, deflate”, “User-Agent”=>“rest-client/2.0.0
(linux-gnu x86_64) ruby/2.1.2p95”
=> 404 NotFound | text/html 0 bytes
RestClient.post “http://127.0.0.1/api/database/new”,
“username&password”, “Accept”=>“application/vnd.crowbar.v2.0+json”,
“Accept-Encoding”=>“gzip, deflate”, “Content-Length”=>“17”,
“Content-Type”=>“application/x-www-form-urlencoded”,
“User-Agent”=>“rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.2p95”
/usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:790:in rescue in transmit': Timed out reading data from server (RestClient::Exceptions::ReadTimeout) from /usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:704:in transmit’
from
/usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:221:in execute' from /usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:52:in execute’
from
/usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/resource.rb:67:in post' from /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/lib/crowbar/client/request/base.rb:69:in process’
from
/usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/lib/crowbar/client/command/database/create.rb:43:in execute' from /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/lib/crowbar/client/app/database.rb:63:in create’
from
/usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command’
from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch' from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in invoke’
from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:235:in block in subcommand' from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run’
from
/usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in invoke_command' from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in dispatch’
from
/usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/lib/crowbar/client/util/runner.rb:50:in execute!’
from
/usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/bin/crowbarctl:34:in <top (required)>' from /usr/bin/crowbarctl:23:in load’
from /usr/bin/crowbarctl:23:in `’
After executing the *“crowbarctl database create”it’s error with[/color]
the following message.[color=green]
crowbarctl database create --debug
RestClient.head “http://127.0.0.1/api/database/new”, “Accept”=>"/*",
“Accept-Encoding”=>“gzip, deflate”, “User-Agent”=>“rest-client/2.0.0
(linux-gnu x86_64) ruby/2.1.2p95”
=> 404 NotFound | text/html 0 bytes
RestClient.post “http://127.0.0.1/api/database/new”,
“username&password”, “Accept”=>“application/vnd.crowbar.v2.0+json”,
“Accept-Encoding”=>“gzip, deflate”, “Content-Length”=>“17”,
“Content-Type”=>“application/x-www-form-urlencoded”,
“User-Agent”=>“rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.2p95”
[/color]
/usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:790:in[color=green] rescue in transmit': Timed out reading data from server (RestClient::Exceptions::ReadTimeout) from [/color] /usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:704:in[color=green] transmit’
from
[/color]
/usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:221:in[color=green] execute' from [/color] /usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/request.rb:52:in[color=green] execute’
from
[/color]
/usr/lib64/ruby/gems/2.1.0/gems/rest-client-2.0.0/lib/restclient/resource.rb:67:in[color=green] post' from [/color] /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/lib/crowbar/client/request/base.rb:69:in[color=green] process’
from
[/color]
/usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/lib/crowbar/client/command/database/create.rb:43:in[color=green] execute' from [/color] /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/lib/crowbar/client/app/database.rb:63:in[color=green] create’
from
/usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run' from [/color] /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in[color=green] invoke_command’
from[/color]
/usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in[color=green] dispatch' from [/color] /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:115:in[color=green] invoke’
from[/color]
/usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:235:in[color=green] block in subcommand' from /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/command.rb:27:in run’
from
[/color]
/usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/invocation.rb:126:in[color=green] invoke_command' from[/color] /usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor.rb:359:in[color=green] dispatch’
from
/usr/lib64/ruby/gems/2.1.0/gems/thor-0.19.1/lib/thor/base.rb:440:in start' from [/color] /usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/lib/crowbar/client/util/runner.rb:50:in[color=green] execute!’
from
[/color]
/usr/lib64/ruby/gems/2.1.0/gems/crowbar-client-3.2.1/bin/crowbarctl:34:in[color=green] <top (required)>'[/color] from /usr/bin/crowbarctl:23:in load’
from /usr/bin/crowbarctl:23:in `’
Any help to fix this issue would be appreciated.[/color]
How is the networking configured on your Administration Server? How have
you set up your Software Repositories?
Admin server is having one nic card and it’s configured with static ipaddress “192.168.124.10”( using default crowbar networks only) . coming to Software Repositories, I have configured SMT server locally and mirrored all the repositories from " www.updates.suse.com" by running the command " smt-mirror -L /var/log/smt/smt-mirrror.log".
There’s another thing we have experienced while setting up the cloud: DNS. Make sure your admin server is resolvable, add its fqdn to /etc/hosts. If possible, add it to your DNS server, too, in one of our installations the entry in /etc/hosts was not enough.
"hostname -f " is giving the expected output, anyhow I have started fresh installation and this time “crowbarctl database create” executed successfully without any error.