2014-12-26 2 views
2

내 mac osx 노트북 V 10.9.4에서 bosh-lite를 사용하여 로컬 클라우드 파운드리 인스턴스를 설정하려고합니다.bosh-lite 업그레이드가 오류없이 실패합니다.

sh-3.2# vagrant -v 
Vagrant 1.7.1 
sh-3.2# 

나는 이

내가 오류 부분은

Bringing machine 'default' up with 'virtualbox' provider... 

==> default: Box 'cloudfoundry/bosh-lite' could not be found. Attempting to find and install... 
    default: Box Provider: virtualbox 
    default: Box Version: 2776 
The box 'cloudfoundry/bosh-lite' could not be found or 
could not be accessed in the remote catalog. If this is a private 
box on HashiCorp's Atlas, please verify you're logged in via 
`vagrant login`. Also, please double-check the name. The expanded 
URL and error message are shown below: 

URL: ["https://atlas.hashicorp.com/cloudfoundry/bosh-lite"] 
Error: 
sh-3.2# 

가지고

sh-3.2#vagrant up --provider=virtualbox 

오류 메시지 아래 참조 다음과 같은 명령을 실행 보쉬 라이트 마스터의 내용을 압축 해제 비어 있고 나는 이것이 처음으로 작업 할 때 완전히 단서가 적다. /opt/vagrant/embedded/gems/gems/vagrant-1.7.1/lib/vagrant/에서이 블록을 주석

Vagrant.configure('2') do |config| 
    config.vm.box = 'cloudfoundry/bosh-lite' 
    config.vm.box_version = '2776' 

    config.vm.provider :virtualbox do |v, override| 
    # To use a different IP address for the bosh-lite director, uncomment this line: 
    # override.vm.network :private_network, ip: '192.168.59.4', id: :local 
    end 

    [:vmware_fusion, :vmware_desktop, :vmware_workstation].each do |provider| 
    config.vm.provider provider do |v, override| 
     # To use a different IP address for the bosh-lite director, uncomment this line: 
     # override.vm.network :private_network, ip: '192.168.54.4', id: :local 

     override.vm.box_version = '388' 
    end 
    end 

    config.vm.provider :aws do |v, override| 
    # To turn off public IP echoing, uncomment this line: 
    # override.vm.provision :shell, id: "public_ip", run: "always", inline: "/bin/true" 

    # To turn off CF port forwarding, uncomment this line: 
    # override.vm.provision :shell, id: "port_forwarding", run: "always", inline: "/bin/true" 
    end 
end 
+0

'상자를 찾을 수 없습니다.'라는 이전 오류를 해결해야 할 수도 있습니다. – icktoofay

+0

https://atlas.hashicorp.com/cloudfoundry/boxes/bosh-lite 링크는 cloudfoundry/bosh-lite라고하는 "상자"가 있음을 보여줍니다. – codemugal

+0

위변조 로그인이 위에서 언급 한 사이트 부랑자 로그인과 함께 성공적으로 사용되었지만 여전히 위변조를 실행하지 못했습니다. 동일한 오류가 발생합니다. – codemugal

답변

2

https://github.com/mitchellh/vagrant/issues/3589

읽어주십시오 방랑 파일의 방랑

내용 util/subprocess.rb는 매력처럼 작동했습니다.

if @command[0].downcase.include?(installer_dir) 
@logger.info("Command in the installer. Specifying DYLD_LIBRARY_PATH...") 
process.environment["DYLD_LIBRARY_PATH"] = 
"#{installer_dir}/lib:#{ENV["DYLD_LIBRARY_PATH"]}" 
@logger.info("process.environment") 
@logger.info(process.environment["DYLD_LIBRARY_PATH"]) 
@logger.info("end process.environment") 
else 
@logger.debug("Command not in installer, not touching env vars.") 
end 
관련 문제