-
Notifications
You must be signed in to change notification settings - Fork 53
Error reconciling customizedMetricSpecification HostingAutoscalingPolicy #185
Comments
@jgagnon1 Thanks for reporting the issue and also opening the PR to fix it. Are you seeing this error for every HAP resource you create ? I have not seen that block of code prevent an HAP from being applied thus I will need to verify this from my side before I approve the PR. We are looking into it. |
@mbaijal as described in the initial issue, this only happens for HAP with custom metrics using |
Hi @jgagnon1, In order to debug the problem, I used the spec file provided by you to apply HAP but was unable to reproduce it as is. The HAP was successfully applied. Thus one of the following seems to be happening -
In any of these cases, I would like to work with you to root cause and fix the problem so please do let me know once you can confirm that the spec is correct and neither of the first two cases apply to you. Thanks! |
Hi @mbaijal First of all, thanks for your assistance and sorry about the confusion for this one, see details; I went ahead and done some validation and reviewed all my manifests, and it actually seems like the issue was not about this TODO block as you indicated bu the policy name I've used from the sample. The fix is included in the PR #188. As for point number 2, I tested two ways;
As expected, both mechanism works, however in case 2; I am seeing the original error message which threw me off in the first place. I would propose we could improve the messaging a bit to make it clearer, what do you think ? In any way, I think #188 should be good to merge and then feel free to close this issue, or keep it to improve logging message if you intend to. Thanks ! |
Thanks for investigating this further. The issue automatically got closed as I merged PR#188. Let me open a new one to track the log change. |
What happened: Operator fails to reconcile HAP while using PolicyName other than the "default" - IE; customizedMetricSpecification
What you expected to happen: Operator reconcile the HAP by creating it without error in Sagemaker Endpoint.
How to reproduce it (as minimally and precisely as possible):
Environment:
kubectl version
): 1.20The text was updated successfully, but these errors were encountered: