Problem with Blue/Green Deployment: Invalid Configuration error

1

I am upgrading my MySQL RDS instance from version 5.7.44 to version 8 using Blue/Green Deployment. The Blue/Green Deployment throws "Invalid Configuration" as shown in the snapshot below and both configuration in the Blue/Green deployment are the same Blue-Green-Error

I checked the status of the Blue/Green Deployment and it says the DB Engine version upgrade failed. What's the reason for this failure and how can it be fixed? Blue-Green-Error-2

asked a year ago838 views
2 Answers
1

Hello,

As the DB engine version upgrade failed, Blue-green deployment is in "invalid_configuration state". Most common cause of upgrade failure is the failure of Prechecks for patching, (do check the recent events of green instance to see the cause of upgrade failure), If it is due to failure of pre-checks then in the logs of green instance and go through the "PrePatchCompatibility.log" file.

[+]https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_UpgradeDBInstance.MySQL.html#USER_UpgradeDBInstance.MySQL.57to80Prechecks

[+]https://repost.aws/knowledge-center/rds-mysql-preupgrade-failure

You have to delete the current Blue/green deployment, Resolve the errors reported in the log file and then deploy a new blue/green deployment.

AWS
answered a year ago
0

This was mainly due to custom option group associated with my source DB instance. Apparently, you can not be able to pick a major version upgrade for the Green instance when the Blue instance has a custom parameter group. You would rather have to set a minor version for the green instance and after the deployment is complete, you upgrade the green instance to a major version and then you can switchover to the green instance if all test cases pass

https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/blue-green-deployments-overview.html#blue-green-deployments-limitations-changes

Enter image description here

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions