OpenShift rhc app create(Errno :: EMSGSIZE)

时间:2015-06-24 00:35:48

标签: openshift openshift-client-tools

我想使用本教程创建WebSocket java应用程序:https://blog.openshift.com/deploy-websocket-web-applications-with-jboss-wildfly/。我创建了帐户,安装了ruby,git,rhc,登录成功,创建了密钥,域名。我应该创建应用程序。 rhc app create wildfly diy命令导致错误和此控制台输出:

Using diy-0.1 (Do-It-Yourself 0.1) for 'diy'
Application Options
-------------------
Domain:     weedteam
Cartridges: diy-0.1
Gear Size:  default
Scaling:    no

Creating application 'wildfly' ... done

  Disclaimer: This is an experimental cartridge that provides a way to try unsupported languages, frameworks, and middleware on OpenShift.

    Waiting for your DNS name to be available ... D:/Ruby22/lib/ruby/2.2.0/resolv.rb
:759:in `recvfrom': Komunikat wys│any na gniazdo datagramu by│ wiŕkszy ni┐ wewnŕ
trzny bufor lub przekracza│ inny sieciowy limit albo bufor u┐ywany do odbierania
 datagramˇw by│ mniejszy ni┐ sam datagram. - recvfrom(2) (Errno::EMSGSIZE)
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:759:in `recv_reply'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:690:in `request'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:528:in `block in fetch_resource'

        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1096:in `block (3 levels) in res
olv'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1094:in `each'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1094:in `block (2 levels) in res
olv'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1093:in `each'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1093:in `block in resolv'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1091:in `each'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:1091:in `resolv'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:519:in `fetch_resource'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:509:in `each_resource'
        from D:/Ruby22/lib/ruby/2.2.0/resolv.rb:500:in `getresources'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/helpers.rb:43
4:in `host_exists?'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:675:in `block in dns_propagated?'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:674:in `upto'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:674:in `dns_propagated?'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:201:in `block in create'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/highline_exte
nsions.rb:190:in `call'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/highline_exte
nsions.rb:190:in `section'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/highline_exte
nsions.rb:204:in `paragraph'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/helpers.rb:33
7:in `block (2 levels) in <module:Helpers>'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands/app.
rb:199:in `create'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands.rb:2
94:in `execute'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/commands.rb:2
85:in `block (3 levels) in to_commander'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/co
mmand.rb:180:in `call'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/co
mmand.rb:180:in `call'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/co
mmand.rb:155:in `run'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/ru
nner.rb:419:in `run_active_command'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/command_runne
r.rb:72:in `run!'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/commander-4.2.1/lib/commander/de
legates.rb:8:in `run!'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/lib/rhc/cli.rb:37:in
`start'
        from D:/Ruby22/lib/ruby/gems/2.2.0/gems/rhc-1.35.4/bin/rhc:20:in `<top (
required)>'
        from D:/Ruby22/bin/rhc:23:in `load'
        from D:/Ruby22/bin/rhc:23:in `<main>'

当我在网站上查看时,应用程序已创建并正在运行,但我无法继续本教程的下一步

$ cd wildfly
$ rhc app stop --app wildfly
$ git rm diy/index.html
$ git rm diy/testrubyserver.rb 

cd wildfly无效,rhc app stop --app wildfly停止应用(应该如此),另外2个命令无法找到回购。我认为这是因为create app命令应该做更多的事情,但它被这个错误打断了。我错了吗?我该怎么做才能阻止这种错误发生?

0 个答案:

没有答案