Giter Club home page Giter Club logo

Comments (6)

temujin9 avatar temujin9 commented on August 23, 2024

I think there were unresolved permissions issues which prevented this, the last time it was tried by Chris.

from ironfan.

mrflip avatar mrflip commented on August 23, 2024

Ah, right.

The client that creates the node is the one that then owns it.

It would probably be best if knife force-created the client and the node
on launch -- we would also then be pushing in the client.pem and not the
activation.pem, which is much nicer. But also much more complicated, and
something that feels like it should be in knife core. I shall sail the IRCs
and see what @opscode thinks.

Now I remember why this wasn't simple.

On Tue, Oct 25, 2011 at 2:17 PM, Nathaniel Eliot <
[email protected]>wrote:

I think there were unresolved permissions issues which prevented this, the
last time it was tried by Chris.

Reply to this email directly or view it on GitHub:
https://github.com/infochimps/cluster_chef/issues/62#issuecomment-2521655

from ironfan.

temujin9 avatar temujin9 commented on August 23, 2024

Well, if it were simple, we'd have done it already . . .

I agree that bootstrapping in the pre-made client definition seems more correct than relying on the client to make client and node itself.

from ironfan.

mrflip avatar mrflip commented on August 23, 2024

this might work:

  • ensure the client exists. If it doesn't, make the client on my side, and
    just discard the key.
  • ensure the node exists, and ensure that the eponymous client has the right
    permissions.
  • when the machine spins up, I think it will just blow away the old client
    key and assume its identity, leaving the permissions alone.

If so, Bob's our uncle.

flip

On Tue, Oct 25, 2011 at 2:36 PM, Nathaniel Eliot <
[email protected]>wrote:

Well, if it were easy, we'd have done it already . . .

I agree that bootstrapping in the pre-made client definition seems more
correct than relying on the client to make client and node itself.

Reply to this email directly or view it on GitHub:
https://github.com/infochimps/cluster_chef/issues/62#issuecomment-2521893

infochimps.com - discover data

from ironfan.

mrflip avatar mrflip commented on August 23, 2024

Fixed.

If the client doesn't exist, knife creates it and saves the client key.
If the node exists, life is good.
If the node doesn't exist, and we have the client key (saved or newly-created), knife creates the node using that client -- making it the owner, life is good.

If the node doesn't exist, and you don't have the client key, knife will error out. You have to delete the client, or create the node yourself and then adjust permissions.

from ironfan.

temujin9 avatar temujin9 commented on August 23, 2024

+1

from ironfan.

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.