That error looks a bit like it is pointing at a path that doesn't
exist. Not sure but you may want to double check the paths to make
sure the file is getting saved where you are expecting. If that isn't
it, could you include the error message from the top of the stack
trace as well?
Thanks!
wes
I would try lengthening the timeout and see if you have any better
luck as a starting point. What instance sizes are you using? (I
mostly ask because micros can be particularly finicky).
wes
.fog is the fall back/defaults. If there is some value here it will
be read only if you don't specify something in particular later.
Fog.credentials just contains the parsed/in memory representation of .fog
key_name is needed to attach a public_key to a server at boot time on aws
private key is needed at ssh time for you to connect to the aws server
with the matching public key
Hope that helps clear it up. Sorry that it wasn't clear to begin
with, any suggestions (or especially patches) to documentation to make
it clearer for future users would be amazing.
Thanks!
wes
Got it, I'll try to clarify..fog is the fall back/defaults. If there is some value here it will
be read only if you don't specify something in particular later.Fog.credentials just contains the parsed/in memory representation of .fog
key_name is needed to attach a public_key to a server at boot time on aws
private key is needed at ssh time for you to connect to the aws server
with the matching public keyHope that helps clear it up. Sorry that it wasn't clear to begin
with, any suggestions (or especially patches) to documentation to make
it clearer for future users would be amazing.Thanks!
wes
So, in the common situation in which one already has a key_pair defined in AWS with a specific name, is the right thing to do to provide that name in the key_name parameter as well as the private_key_path? Can you confirm that public_key_path is not needed. Can one specify the private_key_path in the ~/.fog file under a section with the key_name? e.g.
:mykey:private_key_path: '~/.ssh/mykey'Fog.credential = :mykeyconnection.servers.bootstrap(key_name: 'mykey', ...) # private_key_path nor public_key_path are argumentsDoes it matter that they key_name value is a string in the bootstrap method while the key_name in the .fog file is a symbol? Will Fog correctly associate the two?I have yet to have the bootstrap method not timeout when it successfully creates an instance.
--
You received this message because you are subscribed to the Google Groups "ruby-fog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-fog+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.