Open T0FFF opened 4 years ago
The database_port type is string: https://github.com/huaweicloud/huaweicloud-service-broker/blob/master/pkg/services/rds/types.go#L53
If the database_port is set to int, the service broker won't get this parameter. It will be ignored.
Cloud you put your full logs in this, such as: {"timestamp":"1576743068.447635651","source":"ServiceBroker","message":"ServiceBroker.provision rds instance opts: {\"name\":\"RDSMysql\",\"datastore\":{\"type\":\"MySQL\",\"version\":\"5.7.17\"},\"flavorRef\":\"....",\"volume\":{\"type\":\"COMMON\",\"size\":100},\"region\":\"..\",\"availabilityZone\":\"...\",\"vpc\":\"....\",\"nics\":{\"subnetId\":\".....\"},\"securityGroup\":{\"id\":\"...\"},\"dbPort\":\"3456\",\"backupStrategy\":{\"startTime\":\"00:00:00\"},\"dbRtPd\":\"Password1234!\",\"ha\":{\"enable\":false,\"replicationMode\":\"\"}}","log_level":0,"data":{}}
Hello, I try to change the default port of my RDS deployment but even if I force the value with database_port, I always have the default port.
If I use a string for this paramater: => Service broker error: provision rds instance failed. Error: Invalid request due to incorrect syntax or missing required parameters. FAILED If I use this syntax : "database_port": 25432, I don't have errors but the port is the default port.