During the upgrade of PCF from 1.5.x to 1.6.15 or 1.6.x to 1.6.15, the UAA fails to start up and returns 500 errors for all HTTP requests.
The UAA used to store LDAP Yaml configuration "as is", directly from the uaa.yml into the database without going through JSON transformation through an object.
The property ldapdebug in uaa.yml is inserted into the LDAP provider configuration.
https://github.com/cloudfoundry/uaa-release/blob/49e90d98d6aaffc15365114c63b1c8df558294d8/jobs/uaa/templates/uaa.yml.erb#L206
UAA 2.7.x is reading/writing the Java class LdapIdentityProviderDefinition as JSON to and from the database. This class does not have the property ldapdebug as it is not a functional property. The class does not ignore unknown JSON properties and is not backwards compatible.
Note- Ensure that an old UAA is not restarted, as the bootstrap process for the old UAA will again insert the invalid configuration into the DB.