OpenStack training-labs - VBoxManage.exe: error: Invalid machine group
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-training-labs |
Fix Released
|
Medium
|
Roger Luethi |
Bug Description
I am trying to install OpenStack instance into VirtualBox VMs as on https:/
after `./osbash.sh -w cluster` I get error
> VBoxManage.exe: error: Invalid machine group 'C:/Program Files/Git/labs'
Yes, `C:/Program Files/Git` is location of git-bash.exe that is actual Git-Windows Bash, but **how to make `osbash.sh` proceed with correct machine group name?**
The scripts are stable Mitaka from http://
http://
Paul@aspire MINGW64 /d/Workspaces/
$ ./osbash.sh -b cluster
Base disk: base-ssh-
Distribution name: ubuntu
Virtualization provider: virtualbox
Creating Windows batch scripts: no
Creating cluster on this machine: yes
VM access method: ssh
GUI type: headless
2016年09月20日 18:09:36 osbash starting
Creating basedisk.
2016年09月20日 18:09:36 osbash vm_install starts.
Asked to delete VM "base" (not found)
Creating VM "base"
VBoxManage.exe: error: Invalid machine group 'C:/Program Files/Git/labs'
VBoxManage.exe: error: Details: code E_INVALIDARG (0x80070057), component VirtualBoxWrap, interface IVirtualBox, callee IUnknown
VBoxManage.exe: error: Context: "ComposeMachine
FAILURE: VBoxManage: createvm --name base --register --ostype Ubuntu_64 --groups /labs
The same error when trying the latest master from `git://
The documentation may have mislead you. You don't need a POSIX environment to build the cluster on Windows and (as you found out) using the bash scripts does not work on Windows.
All you need is a VirtualBox installation and the content of the zip file you downloaded. There is no need to add VBoxManage to the Path, the scripts should find the executable anyway.
The zip file you downloaded contains the Windows batch files that build the cluster on Windows in the wbatch directory. Just double-click them: 1) create_hostnet 2) create_base 3) create_ ubuntu_ cluster_ node
That's all. The scripts will set up the VMs, download the Ubuntu ISO image and build the OpenStack cluster.
[Comment above copied from stackoverflow]
Thank you for reporting the bug. I have tried to improve the instructions for building the cluster on Windows. I hope they are less confusing now.