Comments (6)
I think there were unresolved permissions issues which prevented this, the last time it was tried by Chris.
from ironfan.
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.
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.
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.
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.
+1
from ironfan.
Related Issues (20)
- Wait for ssh broken for jump-hosts
- strange error lindsey hit
- IronFan DSL Documentation
- knife cluster launch "Computers are running" warning returns non-zero exit code HOT 1
- Orchestration concept
- ironfan_homebase
- Bootstrap/Kick issues with realms HOT 3
- Ironfan-Homebase issues HOT 1
- ironfan 4.12.3 || 5.0.0 = cluster_ssh = undefined method `length' for nil:NilClass (NoMethodError) HOT 8
- Ironfan 6.1.5 - `<top (required)>': undefined method `eq' for main:Object (NoMethodError)
- hadoop recipe missing from Berksfile
- berkshelf task in Rakefile doesn't respect org_cookbook paths
- ironfan 6.1.6 doesn't respect AWS region / AZ defined for realm HOT 5
- ubuntu12.04-ironfan.erb template fails when keys.gnupg.net unavailable
- Berkshelf complains about HTTP -> HTTPS redirection HOT 1
- Missing EC::T2.* configuration HOT 1
- Ironfan broken under ruby > 2.0 HOT 1
- walkthrough is placeholder
- installation instructions for credentials are puzzling. Are they wrong?
- knife bootstrap failure
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ironfan.