-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Bug report
Describe the issue
I am running into this error: https://github.com/cloudsigma/docker-machine-driver-cloudsigma/blob/master/cloudsigma.go#L321
When only providing --cloudsigma-drive-uuid=3b80db9b-1d57-457c-b72e-ea06029b84ce because as it looks like the drive-name is set by default to "ubuntu" here https://github.com/cloudsigma/docker-machine-driver-cloudsigma/blob/master/cloudsigma.go#L119
System information
- docker-machine-driver-cloudsigma version: v2.0.0
- golang version:
- OS: Ubuntu 22.04
Reproduction instructions
Create a docker machine using only uuid instead of name.
Expected behavior
Docker machine is created by defined drive uuid and not throwing an error.
Notes
Not sure if related to anything but i am using this driver in a gitlab runner instance, by using following configuration:
"cloudsigma-api-location=...",
"cloudsigma-username=....",
"cloudsigma-password=.....",
"cloudsigma-cpu=8000",
"cloudsigma-memory=8192",
"cloudsigma-drive-name=Ubuntu 20.04 LTS",
# "cloudsigma-drive-uuid=3b80db9b-1d57-457c-b72e-ea06029b84ce",
"cloudsigma-drive-size=250"
If i change it to
"cloudsigma-api-location=...",
"cloudsigma-username=....",
"cloudsigma-password=.....",
"cloudsigma-cpu=8000",
"cloudsigma-memory=8192",
# "cloudsigma-drive-name=Ubuntu 20.04 LTS",
"cloudsigma-drive-uuid=3b80db9b-1d57-457c-b72e-ea06029b84ce",
"cloudsigma-drive-size=250"
It is throwing the error mentioned above.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working