Openstack Training Labs Rocky does not work because Virtualbox 6 problem
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-training-labs |
Fix Released
|
Critical
|
Roger Luethi |
Bug Description
Hello,
After created VM controller, Attaching to VM controller (multi): .../labs/
Software components :
* Openstack Training Labs Rocky (August 2018) (Rocky For Linux here : https:/
* Mageia 7 beta 2 linux distro with all the updates ( https:/
* Virtualbox 6.0.4
* ssh : OpenSSH_7.9p1, OpenSSL 1.1.0j
* iso file used by Openstack Training Labs Rocky : ubuntu-
I have the following errors :
In the console output with debug mode enabled :
D15:13:12 21985 INFO Start autostart/
15:13:12 21985 DEBUG vm_ssh: ssh -q -i /home/user/
15:13:12 21985 DEBUG Writing live log for ssh call at /home/user/
DD15:13:15 21985 INFO done
15:13:15 12705 INFO Processing of scripts successful.
15:13:15 12705 DEBUG sshp exit code: 0
15:13:15 12705 INFO Waiting for shutdown of VM base.
15:13:16 12705 DEBUG get_vm_vmstate: poweroff
15:13:16 12705 DEBUG vm_is_shut_down: ;poweroff;
15:13:16 12705 INFO Machine powered off.
15:13:16 12705 INFO Detaching disk from VM base.
15:13:17 12705 INFO Unregistering and deleting VM: base
15:13:17 12705 INFO Compacting /home/user/
15:13:20 12705 INFO Unregistering disk
15:13:20 12705 INFO Base disk created.
15:13:20 12705 INFO Moving base disk to:
15:13:20 12705 INFO Base disk build ends.
15:13:20 12705 INFO Basedisk build took 930 seconds
15:13:20 12705 INFO Creating mgmt network: 10.0.0.0.
15:13:21 12705 INFO Creating host-only interface.
15:13:21 12705 INFO Configuring host-only network mgmt with gw address 10.0.0.1 (vboxnet0).
15:13:22 12705 INFO Creating provider network: 203.0.113.0.
15:13:22 12705 INFO Creating host-only interface.
15:13:22 12705 INFO Configuring host-only network provider with gw address 203.0.113.1 (vboxnet1).
15:13:22 12705 DEBUG Resetting autostart directories.
15:13:22 12705 DEBUG Port forwarding ssh: 2230
15:13:22 12705 DEBUG Port forwarding http: 8888
15:13:22 12705 DEBUG Disks: base
15:13:22 12705 DEBUG <VMconfig: vm_name=
15:13:22 12705 INFO Asked to delete VM controller
15:13:22 12705 INFO not found
15:13:23 12705 INFO Created VM controller.
15:13:24 12705 WARNING VBoxManage call failed.
15:13:24 12705 WARNING VBoxManage modifyhd --type multiattach /home/user/
15:13:24 12705 WARNING call_args: ['VBoxManage', 'modifyhd', '--type', 'multiattach', '/home/
15:13:24 12705 WARNING rc: 1
15:13:24 12705 WARNING output:
VBoxManage: error: Cannot change type for medium '/home/
VBoxManage: error: Details: code VBOX_E_
VBoxManage: error: Context: "COMSETTER(
15:13:24 12705 ERROR Exception
Traceback (most recent call last):
File "/home/
output = subprocess.
File "/usr/lib64/
raise CalledProcessEr
CalledProcessError: Command '['VBoxManage', 'modifyhd', '--type', 'multiattach', '/home/
15:13:24 12705 WARNING -------
Traceback (most recent call last):
File "/home/
output = subprocess.
File "/usr/lib64/
raise CalledProcessEr
CalledProcessError: Command '['VBoxManage', 'modifyhd', '--type', 'multiattach', '/home/
[user@localhost labs]$
Can you fix this problem ?
A problem with the new Virtualbox 6.0.4 ?
With Virtualbox 5.2.22 and Mageia 6, Openstack Training Labs Rocky works well.
Thank you.
Changed in labs: | |
status: | New → In Progress |
importance: | Undecided → Critical |
assignee: | nobody → Roger Luethi (rl-o) |
I have the same issue on RHEL 3.10.0- 957.12. 1.el7.x86_ 64 AND virtualbox 6.0.0 thru 6.0.6 on both Rocky and Queens.
INFO Created VM controller. labs/img/ base-ssh- rocky-ubuntu- 18.04-amd64. vdi tictoc/ labs/img/ base-ssh- rocky-ubuntu- 18.04-amd64. vdi'] tictoc/ labs/img/ base-ssh- rocky-ubuntu- 18.04-amd64. vdi': the media type 'MultiAttach' can only be used on media registered with a machine that was created with VirtualBox 4.0 or later INVALID_ OBJECT_ STATE (0x80bb0007), component MediumWrap, interface IMedium, callee nsISupports Type)(enmMedium Type)" at line 727 of file VBoxManageDisk.cpp
WARNING VBoxManage call failed.
WARNING VBoxManage modifyhd --type multiattach /home/tictoc/
WARNING call_args: ['VBoxManage', 'modifyhd', '--type', 'multiattach', '/home/
WARNING rc: 1
WARNING output:
VBoxManage: error: Cannot change type for medium '/home/
VBoxManage: error: Details: code VBOX_E_
VBoxManage: error: Context: "COMSETTER(
ERROR Exception tictoc/ labs/stacktrain /virtualbox/ vm_create. py", line 73, in vbm check_output( call_args, stderr=errout) python2. 7/subprocess. py", line 575, in check_output ror(retcode, cmd, output=output) tictoc/ labs/img/ base-ssh- rocky-ubuntu- 18.04-amd64. vdi']' returned non-zero exit status 1 ------- ------- ------- ------- ------- ------- - tictoc/ labs/stacktrain /virtualbox/ vm_create. py", line 73, in vbm check_output( call_args, stderr=errout) python2. 7/subprocess. py", line 575, in check_output ror(retcode, cmd, output=output) tictoc/ labs/img/ base-ssh- rocky-ubuntu- 18.04-amd64. vdi']' returned non-zero exit status 1
Traceback (most recent call last):
File "/home/
output = subprocess.
File "/usr/lib64/
raise CalledProcessEr
CalledProcessError: Command '['VBoxManage', 'modifyhd', '--type', 'multiattach', '/home/
WARNING -------
Traceback (most recent call last):
File "/home/
output = subprocess.
File "/usr/lib64/
raise CalledProcessEr
CalledProcessError: Command '['VBoxManage', 'modifyhd', '--type', 'multiattach', '/home/
Works on my MACBook Pro with an older VirtualBox though