我正在通过Bamboo创buildWindows库存图片。 实例启动较快,但弹性代理挂起,40分钟后closures。 这已经发生了多次 – 在40分钟后它总是closures。 看看日志:
Apr 21, 2015 10:12:11 AM Requested that new elastic instance be created for configuration: Windows stock image / ami-6697dd0e Apr 21, 2015 10:12:11 AM Elastic instance [i-f3118c0e] transitioned from STARTING to IDENTIFIED. Apr 21, 2015 10:12:32 AM Elastic instance [i-f3118c0e] transitioned from IDENTIFIED to RUNNING. Apr 21, 2015 10:52:55 AM Elastic instance [i-f3118c0e] transitioned from RUNNING to SHUTTING_DOWN. Apr 21, 2015 10:53:35 AM Elastic instance [i-f3118c0e] transitioned from SHUTTING_DOWN to TERMINATED. Apr 21, 2015 10:53:35 AM Detected that the elastic instance [i-f3118c0e] has been terminated.
我编辑了Bamboo Elastic Configurationvariables“空闲代理closures延迟”为1000分钟。 这是以前的40.我没有看到任何迹象表明,需要重新启动Bamboo服务器来应用这个。
为什么40分钟后一直关机?
这个问题将在Bamboo 5.9中解决。 参考这个错误 。 您将需要使用适合您所在地区的AMI进行自定义图像configuration。 以下是来自Bug中的评论的固定AMI:
image.ASIA_PACIFIC_SE_1.EBS.x86_64.windows.Windows=ami-1cb0824e image.SOUTH_AMERICA_1.EBS.x86_64.windows.Windows=ami-31ec692c image.US_EAST_1.EBS.x86_64.windows.Windows=ami-04ccf46c image.EU_CENTRAL_1.EBS.x86_64.windows.Windows=ami-22033f3f image.EU_WEST_1.EBS.x86_64.windows.Windows=ami-3f503148 image.US_WEST_2.EBS.x86_64.windows.Windows=ami-e93b11d9 image.ASIA_PACIFIC_NE_1.EBS.x86_64.windows.Windows=ami-28ae5428 image.ASIA_PACIFIC_SE_2.EBS.x86_64.windows.Windows=ami-e3374ad9 image.US_WEST_1.EBS.x86_64.windows.Windows=ami-79c1233d