Giter Site home page Giter Site logo

failed: [localhost] (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false} about linchpin HOT 4 CLOSED

chuanchang avatar chuanchang commented on September 22, 2024
failed: [localhost] (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

from linchpin.

Comments (4)

Dannyb48 avatar Dannyb48 commented on September 22, 2024

@chuanchang you need to set the following in your linchpin.conf

[evars]
auth_debug = True

To see the ouput of the authentication error. There are a couple possible issues:

  • It's quite possible that the $CREDS_PATH is not to the appropriate path to where the clouds.yaml can be found
    or
  • in my experience, if the clouds.yaml file is not vault encrypted. Then you also need to set the following evars in the linchpin.conf:
vault_encryption = False 
vaul_pass = '''

from linchpin.

chuanchang avatar chuanchang commented on September 22, 2024
[evars]
auth_debug = True

I still got the same issue w/ the following configuration in the linchpin.conf

$ grep -B4 debug workspace/linchpin/linchpin.conf
[evars]

# enables the ansible --check option
# _check_mode = False
debug_mode = True
auth_debug = True

To see the ouput of the authentication error. There are a couple possible issues:

* It's quite possible that the `$CREDS_PATH` is not to the appropriate path to where the clouds.yaml can be found
  or

* in my experience, if the `clouds.yaml` file is not vault encrypted. Then you also need to set the following evars in the linchpin.conf:
vault_encryption = False 
vaul_pass = '''

I think it's not a root reason, because I can successfully provision a VM in non-container environment, but I need to run linchpin command inside work directory, otherwise, I can hit the same issue.

from linchpin.

Dannyb48 avatar Dannyb48 commented on September 22, 2024

Right, Which makes me think its something with the linchpin in the container locating the linchpin.conf properly. Which I'm hoping some of the advice Alex provided in #1741 can help here.

from linchpin.

abraverm avatar abraverm commented on September 22, 2024

@chuanchang , can we close this ticket?

from linchpin.

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.