xuwang / mailman3-vbox

Build Mailman3 development virtual machines with Vagrant and Chef.
4 stars 2 forks source link

Error while downloading the remote file #4

Open anupamkakade opened 7 years ago

anupamkakade commented 7 years ago

Error while downloading the remote file

Bringing machine 'default' up with 'virtualbox' provider...
==> default: Box 'mm3' could not be found. Attempting to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >= 0
==> default: Box file was not detected as metadata. Adding it directly...
==> default: Adding box 'mm3' (v0) for provider: virtualbox
    default: Downloading: https://vagrant-kvm-boxes.s3.amazonaws.com/trusty64_kvm.box
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.

SSL read: error:00000000:lib(0):func(0):reason(0), errno 104

Tried vagrant upagain and this time it gave the error that


Provider expected: virtualbox
Provider of box: kvm
xuwang commented 7 years ago

@anupamkakade The project was really old and I am not sure if it still works, but just for the vagrant part, I upgraded virtual box to 5.1 and vagrant to 2.0. The virtual machine is up and running okay.

cp Vagrantfile.vbox Vagrantfile
MBPSF:vagrant xuwang$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'mm3'...
==> default: Matching MAC address for NAT networking...
==> default: Setting the name of the VM: vagrant_default_1508431245133_57755
==> default: Using hostname "list.talltree.com" as node name for Chef...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
    default: Adapter 2: hostonly
==> default: Forwarding ports...
    default: 80 (guest) => 8080 (host) (adapter 1)
    default: 25 (guest) => 2525 (host) (adapter 1)
    default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default:
    default: Vagrant insecure key detected. Vagrant will automatically replace
    default: this with a newly generated keypair for better security.
    default:
    default: Inserting generated public key within guest...
    default: Removing insecure key from the guest if it's present...
    default: Key inserted! Disconnecting and reconnecting using new SSH key...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
    default: The guest additions on this VM do not match the installed version of
    default: VirtualBox! In most cases this is fine, but in rare cases it can
    default: prevent things such as shared folders from working properly. If you see
    default: shared folder errors, please make sure the guest additions within the
    default: virtual machine match the version of VirtualBox you have installed on
    default: your host and reload your VM.
    default:
    default: Guest Additions Version: 4.2.0
    default: VirtualBox Version: 5.1
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
    default: /vagrant => /private/tmp/mailman3-vbox/vagrant
    default: /tmp/vagrant-chef/c2664a61cc949d510353348b7245f42b/roles => /private/tmp/mailman3-vbox/chef-repo/roles
    default: /tmp/vagrant-chef/c1bbeabf9df24da41a3d67723299bd94/cookbooks => /private/tmp/mailman3-vbox/chef-repo/cookbooks
    default: /tmp/vagrant-chef/2cf5788a742f1219beab1e4bdbe38845/data_bags => /private/tmp/mailman3-vbox/chef-repo/data_bags
==> default: Running provisioner: chef_solo...
    default: Installing Chef (12.3.0)...
==> default: Uploading chef encrypted data bag secret key...
==> default: Generating chef JSON and uploading...
==> default: Running chef-solo...
==> default: [2017-10-19T16:42:44+00:00] INFO: Forking chef instance to converge...
==> default: Starting Chef Client, version 12.3.0
==> default: [2017-10-19T16:42:44+00:00] INFO: *** Chef 12.3.0 ***
==> default: [2017-10-19T16:42:44+00:00] INFO: Chef-client pid: 1862
==> default: [2017-10-19T16:42:52+00:00] INFO: Setting the run_list to ["recipe[chef-solo-search]", "role[base]", "recipe[mailman3]", "recipe[mailman3::test_list]", "recipe[mailman3::web]"] from CLI options
==> default: [2017-10-19T16:42:55+00:00] INFO: Run List is [recipe[chef-solo-search], role[base], recipe[mailman3], recipe[mailman3::test_list], recipe[mailman3::web]]
==> default: [2017-10-19T16:42:55+00:00] INFO: Run List expands to [chef-solo-search, users::sysadmins, sudo, apt, git, build-essential, vim, mailman3, mailman3::test_list, mailman3::web]
==> default: [2017-10-19T16:42:55+00:00] INFO: Starting Chef Run for list.talltree.com
==> default: [2017-10-19T16:42:55+00:00] INFO: Running start handlers
==> default: [2017-10-19T16:42:55+00:00] INFO: Start handlers complete.
==> default: Compiling Cookbooks...

But I haven't kept up with MM3 development, sorry you probably will be on your own.