Hello,
I just ran convox rack update --wait
to update to version 20191120232059, and all of my web containers were suddenly killed without any replacements, so I had about ~5 minutes of downtime before ECS started 3 new web containers.
One strange thing is that convox rack releases
had no output before I ran the update:
$ convox rack releases
VERSION UPDATED
After the update:
$ convox rack releases
VERSION UPDATED
20191120232059 32 minutes ago
Here’s the logs from the update:
$ convox rack update --wait
Updating to 20191120232059...
2019-11-23T10:45:27Z system/aws/cfm my-rack UPDATE_IN_PROGRESS my-rack User Initiated
2019-11-23T10:45:32Z system/aws/cfm my-rack CREATE_IN_PROGRESS RecordSetGateway
2019-11-23T10:45:32Z system/aws/cfm my-rack UPDATE_IN_PROGRESS InstancesLifecycleHandler
2019-11-23T10:45:32Z system/aws/cfm my-rack UPDATE_IN_PROGRESS BalancerSecurity
2019-11-23T10:45:33Z system/aws/cfm my-rack UPDATE_IN_PROGRESS CustomTopic
2019-11-23T10:45:33Z system/aws/cfm my-rack UPDATE_COMPLETE InstancesLifecycleHandler
2019-11-23T10:45:33Z system/aws/cfm my-rack CREATE_IN_PROGRESS RecordSetGateway Resource creation Initiated
2019-11-23T10:45:34Z system/aws/cfm my-rack UPDATE_COMPLETE CustomTopic
2019-11-23T10:45:37Z system/aws/cfm my-rack UPDATE_IN_PROGRESS SpotLaunchConfiguration Requested update requires the creation of a new physical resource; hence creating one.
2019-11-23T10:45:37Z system/aws/cfm my-rack UPDATE_IN_PROGRESS LaunchConfiguration Requested update requires the creation of a new physical resource; hence creating one.
2019-11-23T10:45:37Z system/aws/cfm my-rack UPDATE_IN_PROGRESS SpotLaunchConfiguration Resource creation Initiated
2019-11-23T10:45:37Z system/aws/cfm my-rack UPDATE_IN_PROGRESS LaunchConfiguration Resource creation Initiated
2019-11-23T10:45:38Z system/aws/cfm my-rack UPDATE_COMPLETE SpotLaunchConfiguration
2019-11-23T10:45:38Z system/aws/cfm my-rack UPDATE_COMPLETE LaunchConfiguration
2019-11-23T10:45:41Z system/aws/cfm my-rack UPDATE_IN_PROGRESS ApiMonitorTasks Requested update requires the creation of a new physical resource; hence creating one.
2019-11-23T10:45:41Z system/aws/cfm my-rack UPDATE_IN_PROGRESS ApiMonitorTasks Resource creation Initiated
2019-11-23T10:45:42Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances
2019-11-23T10:45:42Z system/aws/cfm my-rack UPDATE_COMPLETE ApiMonitorTasks
2019-11-23T10:45:42Z system/aws/cfm my-rack UPDATE_IN_PROGRESS SpotInstances
2019-11-23T10:45:42Z system/aws/cfm my-rack UPDATE_IN_PROGRESS ApiBuildTasks Requested update requires the creation of a new physical resource; hence creating one.
2019-11-23T10:45:42Z system/aws/cfm my-rack UPDATE_IN_PROGRESS ApiBuildTasks Resource creation Initiated
2019-11-23T10:45:42Z system/aws/cfm my-rack UPDATE_COMPLETE ApiBuildTasks
2019-11-23T10:45:44Z system/aws/cfm my-rack UPDATE_COMPLETE SpotInstances
2019-11-23T10:45:45Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Rolling update initiated. Terminating 3 obsolete instance(s) in batches of 1, while keeping at least 3 instance(s) in service. Waiting on resource signals with a timeout of PT5M when new instances are added to the autoscaling group.
2019-11-23T10:45:46Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Temporarily setting autoscaling group MinSize and DesiredCapacity to 4.
2019-11-23T10:45:48Z system/aws/cfm my-rack UPDATE_COMPLETE BalancerSecurity
2019-11-23T10:46:37Z system/aws/cfm my-rack CREATE_COMPLETE RecordSetGateway
2019-11-23T10:47:03Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances New instance(s) added to autoscaling group - Waiting on 1 resource signal(s) with a timeout of PT5M.
2019-11-23T10:47:04Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Received SUCCESS signal with UniqueId i-0d3dfe5831b1c5b92
2019-11-23T10:47:04Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Terminating instance(s) [i-01e98d240b1f39431]; replacing with 1 new instance(s).
2019-11-23T10:47:57Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Successfully terminated instance(s) [i-01e98d240b1f39431] (Progress 33%).
2019-11-23T10:47:57Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances New instance(s) added to autoscaling group - Waiting on 1 resource signal(s) with a timeout of PT5M.
2019-11-23T10:48:18Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Received SUCCESS signal with UniqueId i-0bb4eee17203e9c1c
2019-11-23T10:48:18Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Terminating instance(s) [i-01343393c303814b5]; replacing with 1 new instance(s).
2019-11-23T10:49:35Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Successfully terminated instance(s) [i-01343393c303814b5] (Progress 67%).
2019-11-23T10:49:35Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances New instance(s) added to autoscaling group - Waiting on 1 resource signal(s) with a timeout of PT5M.
2019-11-23T10:49:36Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Received SUCCESS signal with UniqueId i-098e1034d823d26ee
2019-11-23T10:49:35Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Successfully terminated instance(s) [i-01343393c303814b5] (Progress 67%).
2019-11-23T10:49:35Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances New instance(s) added to autoscaling group - Waiting on 1 resource signal(s) with a timeout of PT5M.
2019-11-23T10:49:36Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Received SUCCESS signal with UniqueId i-098e1034d823d26ee
2019-11-23T10:49:37Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Terminating instance(s) [i-0a80492157ce139d6]; replacing with 0 new instance(s).
2019-11-23T10:49:38Z system/aws/cfm my-rack UPDATE_IN_PROGRESS Instances Successfully terminated instance(s) [i-0a80492157ce139d6] (Progress 100%).
2019-11-23T10:49:40Z system/aws/cfm my-rack UPDATE_COMPLETE Instances
2019-11-23T10:49:43Z system/aws/cfm my-rack UPDATE_IN_PROGRESS ApiMonitorService
2019-11-23T10:49:44Z system/aws/cfm my-rack UPDATE_IN_PROGRESS InstancesAutoscaler
2019-11-23T10:49:45Z system/aws/cfm my-rack UPDATE_COMPLETE InstancesAutoscaler
2019-11-23T10:49:48Z system/aws/cfm my-rack UPDATE_IN_PROGRESS ApiWebTasks Requested update requires the creation of a new physical resource; hence creating one.
2019-11-23T10:49:49Z system/aws/cfm my-rack UPDATE_IN_PROGRESS ApiWebTasks Resource creation Initiated
2019-11-23T10:49:49Z system/aws/cfm my-rack UPDATE_COMPLETE ApiWebTasks
2019-11-23T10:49:53Z system/aws/cfm my-rack UPDATE_IN_PROGRESS ApiWebService
2019-11-23T10:51:44Z system/cloudformation aws/cfm my-rack UPDATE_COMPLETE ApiMonitorService
2019-11-23T10:51:54Z system/cloudformation aws/cfm my-rack UPDATE_COMPLETE ApiWebService
2019-11-23T10:51:57Z system/cloudformation aws/cfm my-rack UPDATE_COMPLETE_CLEANUP_IN_PROGRESS my-rack
2019-11-23T10:51:59Z system/cloudformation aws/cfm my-rack DELETE_IN_PROGRESS LaunchConfiguration
2019-11-23T10:51:59Z system/cloudformation aws/cfm my-rack DELETE_IN_PROGRESS ApiMonitorTasks
2019-11-23T10:51:59Z system/cloudformation aws/cfm my-rack DELETE_IN_PROGRESS ApiBuildTasks
2019-11-23T10:51:59Z system/cloudformation aws/cfm my-rack DELETE_IN_PROGRESS ApiWebTasks
2019-11-23T10:51:59Z system/cloudformation aws/cfm my-rack DELETE_IN_PROGRESS SpotInstancesLifecycleInterrupting
2019-11-23T10:51:59Z system/cloudformation aws/cfm my-rack DELETE_IN_PROGRESS SpotLaunchConfiguration
2019-11-23T10:51:59Z system/cloudformation aws/cfm my-rack DELETE_COMPLETE ApiBuildTasks
2019-11-23T10:52:00Z system/cloudformation aws/cfm my-rack DELETE_COMPLETE ApiWebTasks
2019-11-23T10:52:00Z system/cloudformation aws/cfm my-rack DELETE_COMPLETE ApiMonitorTasks
2019-11-23T10:52:00Z system/cloudformation aws/cfm my-rack DELETE_COMPLETE SpotLaunchConfiguration
2019-11-23T10:52:00Z system/cloudformation aws/cfm my-rack DELETE_COMPLETE LaunchConfiguration
2019-11-23T10:53:00Z system/cloudformation aws/cfm my-rack DELETE_COMPLETE SpotInstancesLifecycleInterrupting
2019-11-23T10:53:00Z system/cloudformation aws/cfm my-rack UPDATE_COMPLETE my-rack
OK
I had previously run convox rack update
on my staging rack, and this finished without any problems, and no downtime.
But now I have one more rack to update (my main production region), and I’m very nervous about updating because I want to avoid any downtime.