KB4230542 - FIX: Pacemaker promotion of local replica to primary fails when using AlwaysOn AG in SQL Server 2017

Applies To
SQL Server 2017 Enterprise SQL Server 2017 Enterprise Core SQL Server 2017 Developer

Symptoms

Assume that you use AlwaysOn availability groups (AG) in SQL Server 2017 on a Pacemaker cluster. You may notice that Pacemaker fails to promote an AG replica to the master role and the following error message:

Note

INFO: promote: ERROR: DateTime Could not promote local replica to PRIMARY role: RoleName: This operation cannot be performed on the availability group 'GroupName' because it has EXTERNAL cluster type. Use the cluster management tools to perform the operation.

Resolution

A fix for this problem is included in Cumulative Update 7 for SQL Server 2017.

About SQL Server 2017 builds

Each new build for SQL Server 2017 contains all the hotfixes and security fixes that were in the previous build. We recommend that you install the latest build for SQL Server 2017.

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

Learn about the standard terminology Microsoft uses to describe software updates.