Giter Club home page Giter Club logo

Comments (13)

weavenet avatar weavenet commented on July 29, 2024

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?

from simple_deploy.

Gusymochis avatar Gusymochis commented on July 29, 2024

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:
access_key:
region: us-west-1


from simple_deploy.

weavenet avatar weavenet commented on July 29, 2024

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

from simple_deploy.

Gusymochis avatar Gusymochis commented on July 29, 2024

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).

from simple_deploy.

weavenet avatar weavenet commented on July 29, 2024

@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?

from simple_deploy.

Gusymochis avatar Gusymochis commented on July 29, 2024

Thanks, I will be waiting impatiently for this new version, I will test and update if any problems arise.

from simple_deploy.

ccloes-intuit avatar ccloes-intuit commented on July 29, 2024

@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.

from simple_deploy.

ccloes-intuit avatar ccloes-intuit commented on July 29, 2024

@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.

from simple_deploy.

Gusymochis avatar Gusymochis commented on July 29, 2024

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.

from simple_deploy.

Gusymochis avatar Gusymochis commented on July 29, 2024

@ccloes-intuit which version of excon is the one required for simple deploy?

from simple_deploy.

ccloes-intuit avatar ccloes-intuit commented on July 29, 2024

Use excon 0.20. The 1.10 version of fog required excon 0.20.

from simple_deploy.

Gusymochis avatar Gusymochis commented on July 29, 2024

It worked flawlessly.

from simple_deploy.

ccloes-intuit avatar ccloes-intuit commented on July 29, 2024

@Gusymochis we just released 0.7.6 which binds to a specific excon. This should resolve these types of errors going forward.

from simple_deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.