ceph / ceph-cookbook

Chef cookbooks for Ceph
Apache License 2.0
100 stars 108 forks source link

test vdis fail to mount #222

Open howdoicomputer opened 8 years ago

howdoicomputer commented 8 years ago

I've been trying to test this cookbook and kitchen test fails to create any of the vms.

default: SSH auth method: private key
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...
default: Warning: Connection timeout. Retrying...

I enabled the VirtualBox GUI and the box reported 'Could not read from the boot medium! System halted.'

I personally think this has to do with this section of the vagrantfile used for testing.

Sometimes I get this error:

#<Vagrant::Errors::VBoxManageError: There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["createhd", "--filename", "disk-0", "--size", "1000"]

Stderr: 0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Failed to create medium
VBoxManage: error: Could not create the medium storage unit '/Users/doctordoom/workspace/work/ceph-cookbook/.kitchen/kitchen-vagrant/kitchen-ceph-cookbook-osd-ubuntu-1204/disk-0.vdi'.
VBoxManage: error: VDI: cannot create image '/Users/doctordoom/workspace/work/ceph-cookbook/.kitchen/kitchen-vagrant/kitchen-ceph-cookbook-osd-ubuntu-1204/disk-0.vdi' (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component MediumWrap, interface IMedium
VBoxManage: error: Context: "RTEXITCODE handleCreateMedium(HandlerArg*)" at line 448 of file VBoxManageDisk.cpp
>

Please fix this customization and try again.

I am running VirtualBox 5.0.0.

wallnerryan commented 8 years ago

seeing the same

wallnerryan commented 8 years ago

running VB 5.0.16, for some reason I need to do sudo vagrant up on a mac to get it to work.