안녕하세요 저는 ec2와 함께 고무 보석을 시험하고 있지만 빠른 시작 섹션을 통과하는 데 문제가 있습니다. 어떤 이유로 인해 고무 아래 안개가 열쇠 쌍을 찾지 못하고 있습니다. IRB에서고무 2 (안개) 및 키 쌍 오류
(여기에 경로 특성 KEY_FILE 내 rubber.yml에 무엇인가 - GSG-키 쌍은 PEM 확장없이 내 개인 키이며 공개 키 같은 디렉토리에) : 여기에 세부 사항입니다
1.9.3p125 :010 > File.open("#{Dir[(File.expand_path('~') rescue '/root') + '/.ec2/*'].first}")
=> #<File:/home/charlie/.ec2/gsg-keypair>
하지만 매번 내가 실행 캡 고무 : 왜 일어나고
/home/charlie/.rvm/gems/[email protected]/gems/excon-0.15.4/lib/excon/connection.rb:276:in `request_kernel': The key pair 'gsg-keypair' does not exist (Fog::Compute::AWS::NotFound)
from /home/charlie/.rvm/gems/[email protected]/gems/excon-0.15.4/lib/excon/connection.rb:105:in `request'
from /home/charlie/.rvm/gems/[email protected]/gems/fog-1.5.0/lib/fog/core/connection.rb:20:in `request'
from /home/charlie/.rvm/gems/[email protected]/gems/fog-1.5.0/lib/fog/aws/compute.rb:368:in `request'
from /home/charlie/.rvm/gems/[email protected]/gems/fog-1.5.0/lib/fog/aws/requests/compute/run_instances.rb:117:in `run_instances'
from /home/charlie/.rvm/gems/[email protected]/gems/fog-1.5.0/lib/fog/aws/models/compute/server.rb:182:in `save'
from /home/charlie/.rvm/gems/[email protected]/gems/fog-1.5.0/lib/fog/core/collection.rb:50:in `create'
from /home/charlie/.rvm/gems/[email protected]/gems/rubber-2.0.5/lib/rubber/cloud/fog.rb:27:in `create_instance'
from /home/charlie/.rvm/gems/[email protected]/gems/rubber-2.0.5/lib/rubber/thread_safe_proxy.rb:13:in `method_missing'
from /home/charlie/.rvm/gems/[email protected]/gems/rubber-2.0.5/lib/rubber/recipes/rubber/instances.rb:295:in `create_instance'
from /home/charlie/.rvm/gems/[email protected]/gems/rubber-2.0.5/lib/rubber/recipes/rubber/instances.rb:215:in `block (2 levels) in create_instances'
어떤 생각 : 모든 기본값을 그대로 create_staging 나는이 무엇입니까?
감사 찰리
그게 효과가 있습니다. 감사. –