AliyunContainerService / docker-machine-driver-aliyunecs

Aliyun (Alibaba Cloud) ECS Driver of Docker Machine
Apache License 2.0
203 stars 49 forks source link

randomPassword generate invalid Password #27

Closed dongqs closed 6 years ago

dongqs commented 6 years ago

https://github.com/AliyunContainerService/docker-machine-driver-aliyunecs/blob/3b8ab86f9375684aba64cc750037a28a5e52e77a/aliyunecs/utils.go#L35

randdomPasswrod generates weak password to cause errror like:

Error creating machine: Error in driver during machine creation: pass0 | Failed to create instance: Aliyun API Error: RequestId: xxxx Status Code: 400 Code: InvalidPassword.Malformed Message: The specified parameter "Password" is not valid.

denverdino commented 6 years ago

It is fixed in #28