Comment 2 for bug 2039599

Revision history for this message
Felipe Reyes (freyes) wrote : Re: [Bug 2039599] Re: [SRU] Fixed interval looping call 'magnum.service.periodic.ClusterUpdateJob.update_status' failed: magnum.common.exception.AuthorizationFailure

I've been reading the patch and I find something different between the expectations of failure in
the patch and the stacktrace posted in the description.

Specifically the patch contains this line:

+ except exception.AuthorizationFailure as e:
+ trust_ex = ("Could not find trust: %s" % self.cluster.trust_id)
[...]
+ if trust_ex in str(e):
[...]

While the error in the stacktrace is not about "could not find trust", it's simply a "you are not
authorized to perform the requested action".

magnum.common.exception.AuthorizationFailure: unexpected keystone client error occurred: You are not
authorized to perform the requested action. (HTTP 403)

I will try to get copies of the keystone logs for 2023-09-08 to know why keystone didn't allow the
access.