While attempting to circumvent the related issue #33 where the Canadian OVH API endpoint ovh-ca is to be used for creating our machines, we are receiving the below error about OVH API connection failures and missing application secret even though the necessary credentials have been configured correctly in an /etc/ovh.conf file;
root@c2922575bf9a:/etc# cat ovh.conf
; ovh.conf
[default]
endpoint=ovh-ca
[ovh-ca]
application_key=XXX
application_secret=XXX
consumer_key=XXX
root@c2922575bf9a:/etc# docker-machine -D create --ovh-region "GRA1" --ovh-flavor "s1-2" --ovh-image "Ubuntu 16.04" --ovh-ssh-user "ubuntu" --ovh-project "Rancher" --ovh-ssh-key "ubuntu-rancher01" --driver ovh host-test11
Docker Machine Version: 0.8.2, build b98be6e
Found binary path at /usr/local/bin/docker-machine-driver-ovh
Launching plugin server for driver ovh
Plugin server listening at address 127.0.0.1:35593
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine-driver-ovh
Launching plugin server for driver ovh
Plugin server listening at address 127.0.0.1:34058
() Calling .GetVersion
Using API Version 1
() Calling .SetConfigRaw
() Calling .GetMachineName
(host-test11) Calling .GetMachineName
(host-test11) Calling .DriverName
(host-test11) Calling .GetCreateFlags
(host-test11) Calling .SetConfigFromFlags
Running pre-create checks...
(host-test11) Calling .PreCreateCheck
Error with pre-create check: "Could not create a connection to OVH API. You may want to visit: https://github.com/yadutaf/docker-machine-driver-ovh#example-usage. The original error was: Missing application secret. Please check your configuration or consult the documentation to create one."
The default lines below are for a sh/bash shell, you can specify the shell you're using, with the --shell flag.
notifying bugsnag: [Error with pre-create check: "Could not create a connection to OVH API. You may want to visit: https://github.com/yadutaf/docker-machine-driver-ovh#example-usage. The original error was: Missing application secret. Please check your configuration or consult the documentation to create one."]
Any help with this will be deeply appreciated.
Also, is there a verbose option so as to see and confirm the full details of all the set parameters, including what endpoint URL is being used by the calling command?
While attempting to circumvent the related issue #33 where the Canadian OVH API endpoint
ovh-ca
is to be used for creating our machines, we are receiving the below error about OVH API connection failures and missing application secret even though the necessary credentials have been configured correctly in an/etc/ovh.conf
file;Any help with this will be deeply appreciated.
Also, is there a verbose option so as to see and confirm the full details of all the set parameters, including what
endpoint
URL is being used by the calling command?Cheers, Dela.