Cannot change type for medium

Bug #1814853 reported by Chengkinhung
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-training-labs
New
Undecided
Roger Luethi

Bug Description

Hi, I am just download latest training-labs version master and try to use with virtualbox 6.0.4 but encounter error:

Cannot change type for medium 'D:\openstack\labs\osbash\img\tmp-disk.vdi':
 the media type 'MultiAttach' can only be used on media registered
 with a machine that was created with VirtualBox 4.0 or later.

Both Linux and Windows version encounter this same error.

For windows version, I have to fix this by adding commands into labs\osbash\wbatch\create_ubuntu_cluster_node.bat just before the "VBoxManage modifyhd" command:

ECHO VBoxManage storageattach controller --storagectl SATA --port 0 --type hdd --medium %IMGDIR%\base-shared_folder-rocky-ubuntu-18.04-amd64.vdi
"%VBM%" storageattach controller --storagectl SATA --port 0 --type hdd --medium %IMGDIR%\base-shared_folder-rocky-ubuntu-18.04-amd64.vdi
ECHO VBoxManage storageattach controller --storagectl SATA --port 0 --medium emptydrive
"%VBM%" storageattach controller --storagectl SATA --port 0 --medium emptydrive

Revision history for this message
Roger Luethi (rl-o) wrote :

Thanks for the report. Have you tried with a 5.x VirtualBox?

I will try to reproduce the problem here.

Changed in labs:
assignee: nobody → Roger Luethi (rl-o)
Revision history for this message
Chengkinhung (chengkinhung) wrote :

Hi, Roger, Thanks for reply. No, I only tested the latest Virtualbox 6.0.4. I also guess this issue due to VirtualBox newly updating, but their document did not mention.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.