简体   繁体   English

执行`bundle:install'时橡胶停转

[英]Rubber stalling while executing `bundle:install'

A rubber deployment as per quick start instruction using the latest 3.1.0 version reaches the stage of fetching and installing the gems (the last one loaded is pg), for an m1.small instance. 根据m3.small实例的快速启动说明,使用最新的3.1.0版本进行橡胶部署会达到获取和安装gem(最后加载的是pg)的阶段。 I see no mention of therubyracer in the scroll of gems... 我看不到宝石卷中提到过therubyracer

The process successfully completes deploy:setup, rubber:collectd:bootstrap, deploy:setup, deploy:update_code, but upon deploy:finalize_update the callback being triggered is bundle:install 该过程成功完成了deploy:setup,rubber:collectd:bootstrap,deploy:setup,deploy:update_code,但是在deploy:finalize_update ,触发的回调是bundle:install

Invariably, the process stalls at this point. 在这一点上,过程总是会停顿。 The /etc/hosts/ file does refer to the proper configurations ( 52.25.135.252 production.foo.com ec2-52-25-135-252.us-west-2.compute.amazonaws.com ip-172- [...]). / etc / hosts /文件确实引用了正确的配置( 52.25.135.252 production.foo.com ec2-52-25-135-252.us-west-2.compute.amazonaws.com ip-172- [。 。])。

One oddity is that trying to ssh into the the instance 奇怪的是,尝试通过ssh进入实例

ssh -i aws-eb production.foo.com

or via the ec-2 user 或通过ec-2用户

ssh -i aws-eb ec2-user@ec2-52-25-135-252.us-west-2.compute.amazonaws.com

the access is 访问是

Permission denied (publickey).

for a key that I was using with elastic beanstalk until a few days ago and had inserted into the confg/rubber/rubber.yml file. 直到几天前我一直在使用弹性beantalk的密钥,并且已插入confg/rubber/rubber.yml文件中。

I will attempt with a new key pair, but how can a key be now deemed public and unusable?

update setting up a new keypair does not alter any behaviour. 更新设置新的密钥对不会改变任何行为。 Process stuck at same point, cannot ssh into the instance. 进程卡在同一点,无法ssh进入实例。 The production.foo.com does properly return, what is configured to this point, the nginx on ubuntu welcome page production.foo.com确实会正确返回,这是配置好的,ubuntu欢迎页面上的nginx

As far as I can tell, having iterated about 10 times over this, memory of the instance is the issue. 据我所知,对此进行了大约10次迭代,问题在于内存。

The smallest instance that has not choked at this point is image_type: m3.medium . 此时尚未阻塞的最小实例是image_type: m3.medium AMIs per instance type can be found here 可以在此处找到每种实例类型的AMI

The automatic suggestion of an m1.small in the vulcanization of the application is optimistic in my opinion. 在我看来,在应用程序硫化中自动建议m1.small是乐观的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM