gnuhub / kiwi_opensuse13.1_vagrant

构建opensuse13.1 vagrant格式的kiwi源码
http://localhost:7070/job/kiwi_opensuse13.1_vagrant/
0 stars 0 forks source link

vagrant 启动 kiwi_opensuse13.1_vagrant_5.box错误 #1

Open gnuhub opened 10 years ago

gnuhub commented 10 years ago
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "-n", "/Users/stallman/.vagrant.d/boxes/kiwi_opensuse13.1_vagrant_5/0/virtualbox/box.ovf"]

Stderr: 0%...
Progress state: VBOX_E_FILE_ERROR
VBoxManage: error: Appliance read failed
VBoxManage: error: Could not read OVF file 'box.ovf' (VERR_FILE_NOT_FOUND)
VBoxManage: error: Details: code VBOX_E_FILE_ERROR (0x80bb0004), component Appliance, interface IAppliance
VBoxManage: error: Context: "int handleImportAppliance(HandlerArg*)" at line 304 of file VBoxManageAppliance.cpp
gnuhub commented 10 years ago
gnuhub commented 10 years ago

https://github.com/openSUSE/kiwi/pull/353/files#diff-1a7ea0fd409ec5b8e08f6e1c518571ddL178

gnuhub commented 10 years ago

问题就出在这里

https://github.com/openSUSE/kiwi/pull/353/files#diff-1a7ea0fd409ec5b8e08f6e1c518571ddR509

gnuhub commented 10 years ago
gnuhub commented 10 years ago

打包

gnuhub commented 10 years ago

vmdk

gnuhub commented 10 years ago
Command: ["import", "-n", "/Users/stallman/.vagrant.d/boxes/kiwi_opensuse13.1_vagrant_8/0/virtualbox/box.ovf"]
gnuhub commented 10 years ago
gnuhub commented 10 years ago
gnuhub commented 10 years ago

总结

1.一方面是kiwi没有生成vagrant 需要的ovf 通过 Fixed creation of vagrant boxes for virtualbox provider解决 2.构建源码没有提供 No machine section for this image type found通过 提供 type specification 解决

gnuhub commented 10 years ago

构建成功 20

gnuhub commented 10 years ago

问题

1.生成的box.ovf文件与box-disk1.vmdk不对应 2.timeout

gnuhub commented 10 years ago

timeout是认证的问题 我自己可以解决 文件不对应 看下配置文件如何生成,是否可以通过配置修改