2017-04-10 14 views
1

모든 상자 ...방랑 W7에 그래서 개인 저장소에 상자를 얻을하려고 할 때 나는 방랑</strong><strong>에 문제가 있었다 I에 유래에 새로운 오전이 내 첫 번째 질문입니다

을 찾을 수 없습니다 Atlas에서 'hashicorp/precise64'를 얻으려고했지만 같은 문제가 있습니다 : 방랑자가 상자을 찾을 수 없습니다.

나는 (확장 팩) 버추얼 5.1.18에 윈도우 7방랑 1.9.3을 사용하고 있습니다. 설치시 문제가 없습니다.

$ vagrant version 
Installed Version: 1.9.3 
Latest Version: 1.9.3 

You're running an up-to-date version of Vagrant! 

모든 초기화에 잘 될 것 같다, Vagrantfile가 생성됩니다

$ vagrant init hashicorp/precise64 
A `Vagrantfile` has been placed in this directory. You are now 
ready to `vagrant up` your first virtual environment! Please read 
the comments in the Vagrantfile as well as documentation on 
`vagrantup.com` for more information on using Vagrant. 

Vagrantfile을 : 여기

# -*- mode: ruby -*- 
# vi: set ft=ruby : 

# All Vagrant configuration is done below. The "2" in Vagrant.configure 
# configures the configuration version (we support older styles for 
# backwards compatibility). Please don't change it unless you know what 
# you're doing. 
Vagrant.configure("2") do |config| 
    # The most common configuration options are documented and commented below. 
    # For a complete reference, please see the online documentation at 
    # https://docs.vagrantup.com. 

    # Every Vagrant development environment requires a box. You can search for 
    # boxes at https://atlas.hashicorp.com/search. 
    config.vm.box = "hashicorp/precise64" 

    # Disable automatic box update checking. If you disable this, then 
    # boxes will only be checked for updates when the user runs 
    # `vagrant box outdated`. This is not recommended. 
    # config.vm.box_check_update = false 

    # Create a forwarded port mapping which allows access to a specific port 
    # within the machine from a port on the host machine. In the example below, 
    # accessing "localhost:8080" will access port 80 on the guest machine. 
    # config.vm.network "forwarded_port", guest: 80, host: 8080 

    # Create a private network, which allows host-only access to the machine 
    # using a specific IP. 
    # config.vm.network "private_network", ip: "192.168.33.10" 

    # Create a public network, which generally matched to bridged network. 
    # Bridged networks make the machine appear as another physical device on 
    # your network. 
    # config.vm.network "public_network" 

    # Share an additional folder to the guest VM. The first argument is 
    # the path on the host to the actual folder. The second argument is 
    # the path on the guest to mount the folder. And the optional third 
    # argument is a set of non-required options. 
    # config.vm.synced_folder "../data", "/vagrant_data" 

    # Provider-specific configuration so you can fine-tune various 
    # backing providers for Vagrant. These expose provider-specific options. 
    # Example for VirtualBox: 
    # 
    # config.vm.provider "virtualbox" do |vb| 
    # # Display the VirtualBox GUI when booting the machine 
    # vb.gui = true 
    # 
    # # Customize the amount of memory on the VM: 
    # vb.memory = "1024" 
    # end 
    # 
    # View the documentation for the provider you are using for more 
    # information on available options. 

    # Define a Vagrant Push strategy for pushing to Atlas. Other push strategies 
    # such as FTP and Heroku are also available. See the documentation at 
    # https://docs.vagrantup.com/v2/push/atlas.html for more information. 
    # config.push.define "atlas" do |push| 
    # push.app = "YOUR_ATLAS_USERNAME/YOUR_APPLICATION_NAME" 
    # end 

    # Enable provisioning with a shell script. Additional provisioners such as 
    # Puppet, Chef, Ansible, Salt, and Docker are also available. Please see the 
    # documentation for more information about their specific syntax and use. 
    # config.vm.provision "shell", inline: <<-SHELL 
    # apt-get update 
    # apt-get install -y apache2 
    # SHELL 
end 

은 '방랑까지'명령을 사용할 때 내가 오류는 다음과 같습니다

$ vagrant up 
Bringing machine 'default' up with 'virtualbox' provider... 
==> default: Box 'hashicorp/precise64' could not be found. Attempting to find and install... 
    default: Box Provider: virtualbox 
    default: Box Version: >= 0 
==> default: Loading metadata for box 'hashicorp/precise64' 
    default: URL: https://atlas.hashicorp.com/hashicorp/precise64 
The box 'hashicorp/precise64' 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/hashicorp/precise64 
Error: Failed writing body (0 != 1063) 

나는 가지고있다. 다른 공개 상자를 다운로드하려고 할 때도 같은 문제가 발생합니다.

관리자 권한의 유무에 관계없이 약간의 Vagrant 버전 (v1.9.0, v1.9.1, v1.9.2, v1.9.3)을 사용해 보았습니다.

프록시가없고 인터넷 연결 문제가 없습니다. 방화벽을 비활성화하려고했습니다.

나는이 문제에 대해 약간의 연구를했는데, 특히 Vagrant 호환성 문제에 관한 연구는 많이했지만 문제는 많이 남아 있습니다.

누구나 아이디어가 있습니까?

+0

질문에 나의 vagrantfile의 내용을 추가했습니다. –

+0

프록시를 통해 인터넷에 액세스합니까? '$ curl https : // vagrantcloud.com/우분투/상자/정확한 64/버전/20170331.0.0/providers/virtualbox.box' 명령을 실행할 수 있습니까? (나는 우분투/정확한 64를 가리 킵니다. 이 OS) –

+0

아니요, 프록시를 통해 액세스하지 않습니다. 명령을 실행했습니다 : '$ curl https://vagrantcloud.com/ubuntu/boxes/precise64/versions/201 70331.0.0/providers/virtualbox.box %받은 총 % Xferd 평균 속도 시간 시간 시간 현재 Dload 업로드 총 사용 된 왼쪽 속도 100 40 100 40 0 ​​0 44 0 - : - : - - : - : - : - : - - 48 { "errors": [ "Not 찾음 ","성공 ": false}' –

답변

0

난 그냥 내 문제의 근원을 발견 : 나는 도움 프레데릭 헨리 (https://stackoverflow.com/users/4296747/fr%c3%a9d%c3%a9ric-henri)에 ... 방랑 임시 폴더 경로에 인코딩 문제를 가져 내 Windows 사용자 이름에

큰 덕분에 특수 문자를했다 나 제 문제의 기원을 찾았습니다.