Adding RouteMapping for v3 cli
Hey!
I've having this error when I try to deploy my application via blue-green strategy, I am able to reproduce it (different ids):
Error: Oh no. Something's gone wrong. I've tried to roll back but you should check to see if everything is OK.: The app could not be found: e8fa930d-d6c2-40b2-ba65-c2f44701631f
While debugging, I found out that I'm getting this error:
{ "error_code": "UnknownError", "description": "An unknown error occurred.", "code": 10001 }
This happens on RouteMapping function which uses ccv2
func (r RunBinder) MapRoutes(appDeploy AppDeploy) ([]ccv2.RouteMapping, error) {
Which I suspect, the issue caused by the v2 of CF CLI, therefore I suggest we can try and use v3, and mayhap we can solve this
Thanks!!
Switching to the v3 API fully means rewriting most of the provider I'm afraid. The UnknownError should probably be handled more gracefully by the deploy strategy. Are you using blue-green ?
Hey Andy!
Yes, we debugged this together, we did using blue-green strategy
@erezdeveleap please try the v0.50.1 or newer version