Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Absence of .fog file will cause abrupt exit of mccloud vm list when first ec2 instance is encountered. #14

Open
jbirch-atlassian opened this issue May 8, 2012 · 0 comments

Comments

@jbirch-atlassian
Copy link

When more than one provider is configured, listing VMs will abruptly halt on the first ec2 provided VM if a ~/.fog file is not found, regardless of whether or not there are additional non-ec2 VMs to be listed.

For example, we currently see:

alias                         |provider            |ip-address
--------------------------------------------------------------------------------
alias1                        |provider            |          
Missing Credentials
Create the file /home/username/.fog with the following content:                                                                                                                                                        
=====================  snippet begin =====================                                                                                                                                                           
---                                                                                                                                                                                                                  
:xxxxxxxxx:                                                                                                                                                                                                          
  :aws_access_key_id: <your aws_access_key_id>                                                                                                                                                                       
  :aws_secret_access_key: <your aws_secret_access_key>                                                                                                                                                               

=====================  snippet end   =====================

Note the absence of "alias3". With a ~/.fog file, we might expect to see:

alias                         |provider            |ip-address
--------------------------------------------------------------------------------
alias1                        |providerA           |          
alias2                        |aws-us-east         |
alias3                        |providerA           |          
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant