Closed Gusymochis closed 11 years ago
I'm unable to reproduce it:
bweaver@SDGL104689e7a in ~/code/simple_deploy ( 09:46:18 || master )
# simple_deploy status -n -e default
Error: option '-n' needs a parameter.
Try --help for help.
What version of SD are you using? Can you post a sanitized (all keys & passwords removed) version of your configuration file?
Simple_deploy => 0.7.5 Fog => 1.10.0 Excon => 0.27.2
Running on OS X (Darwin Kernel Version 12.5.0: Mon Jul 29 16:33:49 PDT 2013; root:xnu-2050.48.11~1/RELEASE_X86_64)
Config (simple_deploy.yml):
----------------starts here-------------------------------
environments:
default:
secret_key:
can you confirm your config file is properly formated yaml? For example
---
environments:
env1:
access_key: 01234567890123456789
secret_key: 0123456789012345678901234567890123456789
region: us-west-1
env2:
access_key: 01234567890123456789
secret_key: 0123456789012345678901234567890123456789
region: us-west-1
Sorry about the formatting this is how it looks including the spaces.
environments:
default:
secret_key: aAaAaAbBbBbBbBcCcCcCcCdDdDdDdDeEeEeEeE
access_key: 012345678901234567890
region: us-west-1
I know the configuration is OK because simple deploy runs the tasks, the only problems is that every function call includes the stack trace where the :host is not found (is not a functional problem, but mostly annoying and hard to see logs).
@Gusymochis got it. We have recently updated SD with a new version of Fog which we are getting ready to release. Not %100 sure if this is related, but it's a good place to start.
@ccloes-intuit are we good to release 0.7.6 out of beta?
Thanks, I will be waiting impatiently for this new version, I will test and update if any problems arise.
@Gusymochis we updated to fog 1.15 and released another beta version 0.7.6.beta.5. Please give that one a try.
It also appears that fog released an update to 1.16 today which appears to have some bugs related to excon which we are pursuing with their maintainers.
@Gusymochis in looking at your error now after my investigation into fog today, I believe it is related to you having the later version of excon. If it is an option to downrev your excon version, then that will likely resolve this issue for you.
I will try this, a quick way to evade this is sending the STDERR into null, by appending 2&>/dev/null at the end of the command.
@ccloes-intuit which version of excon is the one required for simple deploy?
Use excon 0.20. The 1.10 version of fog required excon 0.20.
It worked flawlessly.
@Gusymochis we just released 0.7.6 which binds to a specific excon. This should resolve these types of errors going forward.
simple_deploy status -n -e default throws the following exception: