Open
Description
Describe the bug
I'm unable to set parameters such as slow_query_log
, long_query_time
and log_queries_not_using_indexes
in DbClusterParameterGroup
objects. I get an unknown parameter
error message:
Name: luis
Namespace: rc
Labels: <none>
API Version: rds.services.k8s.aws/v1alpha1
Kind: DBClusterParameterGroup
Metadata:
Creation Timestamp: 2023-07-13T18:40:54Z
Finalizers:
finalizers.rds.services.k8s.aws/DBClusterParameterGroup
Generation: 7
Resource Version: 593698696
UID: e62bcf3f-cbb9-482f-99d3-adb241686b24
Spec:
Description: luis aurora-mysql8.0 parameter group managed by ACK
Family: aurora-mysql8.0
Name: luis
Parameter Overrides:
character_set_client: utf8mb4
character_set_connection: utf8mb4
character_set_database: utf8mb4
character_set_results: utf8mb4
character_set_server: utf8mb4
collation_connection: utf8mb4_unicode_ci
collation_server: utf8mb4_unicode_ci
slow_query_log: 1
Status:
Conditions:
Message: unknown parameter: slow_query_log
Status: True
Type: ACK.Terminal
Last Transition Time: 2023-07-14T13:02:08Z
Message: Resource not synced
Reason: resource is in terminal condition
Status: False
Type: ACK.ResourceSynced
Events: <none>
I'm able to set parameters such as character_set_*
, but the not the ones I mentioned above. I confirm that such parameters are available and are modifiable on the db cluster parameter group using the aws console.
I also confirm that it does work for the DbInstance
kind. Maybe it's somehow related to #869 (comment)?
Steps to reproduce
Try to create a new DbClusterParameterGroup
or try updating an existing one (with family aurora-mysql8.0) overwriting the slow_query_log
parameter.
Expected outcome
Parameter should be set accordingly.
Environment
- Kubernetes version 1.23
- Using EKS (yes/no), if so version?
- AWS service targeted (S3, RDS, etc.) RDS
- aws-rds-controller version v.1.1.2