Skip to content

CA-427727: Failed to join host to pool due to ldaps sync failed#7089

Open
liulinC wants to merge 1 commit into
xapi-project:feature/ldapsfrom
liulinC:private/linl/ldaps
Open

CA-427727: Failed to join host to pool due to ldaps sync failed#7089
liulinC wants to merge 1 commit into
xapi-project:feature/ldapsfrom
liulinC:private/linl/ldaps

Conversation

@liulinC
Copy link
Copy Markdown
Collaborator

@liulinC liulinC commented May 21, 2026

ldaps sync failed is ignored by ignore_error by intention, however, @@ is right-associative low-precedence application and the fun () -> body greedily absorbs every following statement until the enclosing delimiter, the second ignore_error is part of the first lambda's body, thus, the exception in first ignore_error(sync ldaps) skiped the second ignore_error function body, e.g: update_non_vm_metadata and later got no change to execute.

The issue is fixed by removing @@ and providing function body enclosed

ldaps sync failed is ignored by ignore_error by intention,
however, `@@` is right-associative low-precedence application and
the fun () -> body greedily absorbs every following statement until
the enclosing delimiter, the second ignore_error is part of the first
lambda's body, thus, the exception in first ignore_error(sync ldaps)
skiped the second ignore_error function body, e.g: update_non_vm_metadata
and later got no change to execute.

The issue is fixed by removing `@@` and providing function body enclosed

Signed-off-by: Lin Liu <lin.liu01@citrix.com>
@liulinC
Copy link
Copy Markdown
Collaborator Author

liulinC commented May 21, 2026

xenrt job 4653177 looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants