Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Create ReadReplica for RDS MySql instance on Flexible Engine #81

Open
Maellooou opened this issue Oct 10, 2019 · 1 comment
Open

Create ReadReplica for RDS MySql instance on Flexible Engine #81

Maellooou opened this issue Oct 10, 2019 · 1 comment

Comments

@Maellooou
Copy link

Maellooou commented Oct 10, 2019

Hello,

I use the huaweicloud-service-broker on a kubernetes 1.14 cluster deployed on Flexible Engine.
After I created a RDS Mysql Primary/Standby Cluster, I would like to create a Read Replica link to this instance.

Bellow my configuration and the errors :

apiVersion: servicecatalog.k8s.io/v1beta1
kind: ServiceInstance
metadata:
name: my-service-instance
spec:
clusterServiceClassExternalName: rds-mysql
clusterServicePlanExternalName: 5.7.21
parameters:
name: "myinstancemysql"
database_password: "Password1234!"
speccode: "rds.mysql.s1.medium.rr"

I have the following error :

Warning ProvisionCallFailed 11s (x5 over 32s) service-catalog-controller-manager Error provisioning ServiceInstance of ClusterServiceClass (K8S: "a05f3e0b-86fd-4303-946c-171374d29150" ExternalName: "rds-mysql") at ClusterServiceBroker "cluster-service-broker": Status: 500; ErrorMessage: <nil>; Description: provision rds instance failed. **Error: Invalid request due to incorrect syntax or missing required parameters**.; ResponseError: <nil>

Following the API documentation, it is necessary to create a read replica to precise the parameter "replica_of_id". I don't see anything about this parameter on the broker...

Thank you for your help.

@zhongjun2
Copy link
Collaborator

The huaweicloud-service-broker don't support create a rds instance with a read replica now. We will tring to support it later.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants