Pivotal Knowledge Base

Follow

Spring Cloud Services - Branch label missing after upgrading from 1.3.x to 1.4.x

Environment 

Spring Cloud® Services for Pivotal Cloud Foundry® 1.3.x, 1.4.x

Issue

The config server configuration loses label information after upgrading from Spring Cloud Services version 1.3.x to 1.4.x.

Symptom

Consider a config-server instance configured with a Github repository uri and a branch label with older version of Spring Cloud Services for PCF 1.3.x. After an upgrade is performed, the label is missing from the config-server while it still stays online.

This is a very critical scenario as the label could be a branch of a repository defined in config-server. If the label is missing and config-server is still online, it will pick up the default master branch for the repository.

For example,

Before Upgrade on SCS 1.3.2

{
"count": 1,
"git": {
"label": "branch1",
"uri": "https://github.com/ansergit/testrepo"
}
}

After Upgrade on SCS 1.4.3

{
"count": 1,
"git": {
"uri": "https://github.com/ansergit/testrepo"
}
}

Resolution

Engineering Team has been notified for this and a bug is raised.

The current workaround is to recreate the label for every config-server in Spring Cloud Services if an upgrade is performed from version 1.3.x to 1.4.x.

Additional Information

Note that, this issue is NOT observed when upgrading from 1.3.x to 1.3.x or 1.4.x to 1.4.x.

Comments

Powered by Zendesk