Failed to join a pool with error ‘Updates differ’

The parameter ‘enforce-homogeneity’ is readonly so we can’t use xe command to change, but we can use ‘API SDK’ to modify.

The attachment is a python script to change ‘ enforce-homogeneity’ to ‘false’.

Usage:

./set_enforce_homogeneity.py <PATCH UUID>

Example:

1. Copy this script file to the pool master

2. Give execution permission

chmod
+x set_enforce_homogeneity.py

3. Find the patch uuid

root@xs01 ~]# xe patch-list name-label=XS71ECU2007


uuid ( RO) : 415cc8ee-0000-0000-8938-0aa64e15da5a

name-label ( RO): XS71ECU2007

name-description ( RO): Public Availability: XenTools fixes

size ( RO): 71445518

hosts (SRO): a99f3600-fa77-4c13-8f81-c0ceedbae63b, 31abdf4b-3643-4915-8f86-472b39007bf8

after-apply-guidance (SRO):

3. Run this script to modify

./set_enforce_homogeneity.py 415cc8ee-0000-0000-8938-0aa64e15da5a

Related:

  • No Related Posts

Leave a Reply