You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the cf routes command fails (e.g. when the pivotal API is having problems) then blue/green deployments always go to the blue host. This is bad when the blue host is the current live host...
If the
cf routescommand fails (e.g. when the pivotal API is having problems) then blue/green deployments always go to the blue host. This is bad when the blue host is the current live host...Reproducing/how to fix:
live_colormethod may returnnil(see https://github.com/madetech/cf-deploy/blob/master/lib/cf/deploy/commands.rb#L42), e.g. whencf routesfails...live_colorisnil, then theidle_coloris always"blue"(see https://github.com/madetech/cf-deploy/blob/master/lib/cf/deploy/blue_green.rb#L80-L86)idle_colorto more thoroughly check the return value oflive_color