Ask Your Question
0

How to chage disk bus "virtio" to "ide" ?

asked 2019-10-03 07:52:55 -0500

Ana_torres gravatar image

Hi,

I'm trying to migrate an old virtual machine (it is more than 8 years old) from Proxmox to OpenStack. In order to do that I created a volume in OpenStack from the old Proxmox machine. After I created the volume, I create a new instance. Nevertheless, as the original machine is so old it uses as disk bus "ide" instead of "virtio" (That is the default for OpenStack), so when I start the instance it is not able to find the disk.

I tried to change the disk bus by changing the metadata properties of the volume and the instance (using the dashboard and using the CLI) but the instance didn't find the disk.

I also tried to change the instance's configuration with virsh editing the instance's xml file, but the instance didn't find the disk and the file goes back to the previous configuration every time that I restart the machine.

As additional information I'm using CEPH as storage for cinder.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2019-10-03 09:59:07 -0500

ppeereb1 gravatar image
edit flag offensive delete link more

Comments

I don't have an image so I can't do exactly this. I tried to set the metadata properties for the volume and the instance in that way but the instance still doesn't find the disk.

Ana_torres gravatar imageAna_torres ( 2019-10-03 10:26:41 -0500 )edit

You could try to specify de disk_bus as block_device_mapping_v2 property when spawning the instance: https://docs.openstack.org/nova/queen...

ppeereb1 gravatar imageppeereb1 ( 2019-10-04 07:12:41 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-10-03 07:52:55 -0500

Seen: 16 times

Last updated: Oct 03