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

Cannot fetch installer when following instructions in the README #19

Open
ghost opened this issue Oct 16, 2013 · 3 comments
Open

Cannot fetch installer when following instructions in the README #19

ghost opened this issue Oct 16, 2013 · 3 comments

Comments

@ghost
Copy link

ghost commented Oct 16, 2013

When trying to follow the instructions in the README, I'm getting the following error when I run "vagrant up":

[:~/tmp] $ vagrant plugin install oscar
Installing the 'oscar' plugin. This can take a few minutes...
Installed the plugin 'oscar (0.3.1)'!
[:~/tmp] $ mkdir oscar
[:~/tmp] $ cd oscar
[:~/tmp/oscar] $ vagrant oscar init
A stub Vagrantfile has been placed in this directory and default configurations
have been placed into the `config` directory. You can now run `vagrant up` to start
your Oscar built environment, courtesy of Vagrant.
[:~/tmp/oscar] $ vagrant oscar init-vms --master master=centos-64-x64-vbox4210-nocm
Your environment has been initialized with the following configuration:
masters:
  - ["master", "centos-64-x64-vbox4210-nocm"]
agents:

pe_version: 3.1.0
[:~/tmp/oscar] $ vagrant up
Bringing machine 'master' up with 'virtualbox' provider...
[master] Importing base box 'centos-64-x64-vbox4210-nocm'...
[master] Matching MAC address for NAT networking...
[master] Setting the name of the VM...
[master] Clearing any previously set forwarded ports...
[master] Fixed port collision for 22 => 2222. Now on port 2202.
[master] Creating shared folders metadata...
[master] Clearing any previously set network interfaces...
[master] Assigning "10.20.1.2" to 'aa89107d-8f2b-4feb-bfe0-13dfd1f9b315'
[master] Preparing network interfaces based on configuration...
[master] Forwarding ports...
[master] -- 22 => 2202 (adapter 1)
[master] Running 'pre-boot' VM customizations...
[master] Booting VM...
[master] Waiting for machine to boot. This may take a few minutes...
[master] Machine booted and ready!
[master] Configuring and enabling network interfaces...
[master] Mounting shared folders...
[master] -- /vagrant
[master] Running provisioner: hosts...
[master] Running provisioner: pe_bootstrap...
Cannot fetch installer puppet-enterprise-3.1.0-el-6-x86_64.tar.gz; no download source available.

Installers available for use:
The Puppet Enterprise installer puppet-enterprise-3.1.0-el-6-x86_64.tar.gz
is not available. Please set the `download_root` config option to a valid
mirror, or add the installer yourself by using the `vagrant pe-build copy`
command. Downloads for Puppet Enterprise are available for download at
https://puppetlabs.com/puppet/puppet-enterprise/
@ghost
Copy link
Author

ghost commented Oct 16, 2013

Also, when I run "vagrant pe-build copy" like it suggests, I get this error:

[:~/tmp/oscar] $ vagrant pe-build copy
/Applications/Vagrant/embedded/lib/ruby/1.9.1/uri/generic.rb:1202:in `rescue in merge': both URI are relative (URI::BadURIError)
    from /Applications/Vagrant/embedded/lib/ruby/1.9.1/uri/generic.rb:1199:in `merge'
    from /Users/mhuffnagle/.vagrant.d/gems/gems/vagrant-pe_build-0.8.0/lib/pe_build/archive.rb:62:in `fetch'
    from /Users/mhuffnagle/.vagrant.d/gems/gems/vagrant-pe_build-0.8.0/lib/pe_build/command/copy.rb:20:in `execute'
    from /Users/mhuffnagle/.vagrant.d/gems/gems/vagrant-pe_build-0.8.0/lib/pe_build/command/base.rb:32:in `execute_subcommand'
    from /Users/mhuffnagle/.vagrant.d/gems/gems/vagrant-pe_build-0.8.0/lib/pe_build/command/base.rb:18:in `execute'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/cli.rb:38:in `execute'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.3/lib/vagrant/environment.rb:478:in `cli'
    from /Applications/Vagrant/embedded/gems/gems/vagrant-1.3.3/bin/vagrant:96:in `<top (required)>'
    from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `load'
    from /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in `<main>'

@mlehner616
Copy link

Just experienced the same chunk of minor disappointment. The hardest part is that the README doesn't have any reference on how to set the download_root or how to add it via the vagrant pe-build copy command. So I'm now left confused and sleep deprived,

@mlehner616
Copy link

Ah! found a clue

https://github.com/adrienthebo/vagrant-pe_build

@razorsedge
Copy link

See issue #16.

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

2 participants