在Google Cloud Platform上部署Ruby堆栈失败

时间:2014-11-13 06:17:02

标签: ruby-on-rails google-compute-engine

尝试通过开发人员控制台https://console.developers.google.com/安装Ruby Stack。

MyProject>计算>单击“部署”

根据问题Ruby Stack failed to deploy on Google Developers Console上接受的答案中的建议,在高级设置中使用各种组合

部署了区域和实例大小的各种组合,总是以错误结束:

Replica rubystackbox-chnp failed with status PERMANENTLY_FAILING: Replica State changed to PERMANENTLY_FAILING. Replica was unhealthy 2 consecutive times.

以下是串行控制台中的一些输出摘录。

WARNING - Timeout at i8042_flush:68!
All threads complete.
Found 0 serial ports
found virtio-scsi at 0:3
Searching bootorder for: /pci@i0cf8/*@3/*@0/*@0,0
Searching bootorder for: /pci@i0cf8/*@3/*@0/*@1,0
virtio-scsi vendor='Google' product='PersistentDisk' rev='1' type=0 removable=0
virtio-scsi blksize=512 sectors=20971520
Searching bootorder for: /pci@i0cf8/*@3/*@0/*@2,0
Searching bootorder for: /pci@i0cf8/*@3/*@0/*@3,0
Searching bootorder for: /pci@i0cf8/*@3/*@0/*@4,0

然后重复,直到,

Searching bootorder for: /pci@i0cf8/*@3/*@0/*@252,0
Searching bootorder for: /pci@i0cf8/*@3/*@0/*@253,0
Searching bootorder for: /pci@i0cf8/*@3/*@0/*@254,0
Searching bootorder for: /pci@i0cf8/*@3/*@0/*@255,0
Scan for option roms
Searching bootorder for: HALT
drive 0x000fd9d0: PCHS=0/0/0 translation=lba LCHS=1024/255/63 s=20971520
Space available for UMB: 000c0000-000eb800
Returned 118784 bytes of ZoneHigh
e820 map has 7 items:
  0: 0000000000000000 - 000000000009fc00 = 1 RAM
  1: 000000000009fc00 - 00000000000a0000 = 2 RESERVED
  2: 00000000000f0000 - 0000000000100000 = 2 RESERVED
  3: 0000000000100000 - 00000000bfffd000 = 1 RAM
  4: 00000000bfffd000 - 00000000c0000000 = 2 RESERVED
  5: 00000000fffbc000 - 0000000100000000 = 2 RESERVED
  6: 0000000100000000 - 00000007c0000000 = 1 RAM
Unable to lock ram - bridge not found
Changing serial settings was 3/2 now 3/0
enter handle_19:
  NULL
Booting from Hard Disk...

在其他长篇系列之后,我们得到了

Nov 13 05:49:06 rubystackbox-chnp init: Trying to re-exec init

INIT: version 2.88 reloading

gcm-Heartbeat:1415857752000
[   50.982407] device-mapper: uevent: version 1.0.3
[   50.983602] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
Nov 13 05:49:22 rubystackbox-chnp kernel: [   50.982407] device-mapper: uevent: version 1.0.3
Nov 13 05:49:22 rubystackbox-chnp kernel: [   50.983602] device-mapper: ioctl: 4.22.0-ioctl (2011-10-19) initialised: dm-devel@redhat.com
Nov 13 05:49:23 rubystackbox-chnp kernel: imklog 5.8.11, log source = /proc/kmsg started.
gcm-StatusUpdate:TIME=1415857775000;STATUS=COMMAND_FAILED;INVOCATION_ID=1
gcm-Heartbeat:1415857782000
gcm-Heartbeat:1415857812000

关于如何进行的任何想法?

Per @ Marilu的建议,我今天再次尝试,现在它正在工作。

1 个答案:

答案 0 :(得分:1)

作为替代方案,请考虑通过Bitnami启动RubyJRuby堆栈。