Ask Your Question
0

Disk prefix in libvirt template

asked 2011-10-31 11:56:47 -0500

aloga gravatar image

Hi there.

I've noticed that the "disk_prefix" variable has been removed from the "nova/virt/libvirt.xml.template" file in commit 2c1b9ac ( https://github.com/openstack/nova/commit/2c1b9ac98673c0ef1ae931c6b9d84e4b0741eed9 (https://github.com/openstack/nova/com...) ) and now it is hardcoded on the "nova/virt/libvirt/connection.py".

In our case we are using Xen as the hypervisor, and this is making some of our cloud servers fail since they're are looking for "/dev/xvdX" instead of the coded "/dev/sdX" (this is happening for example with the SUSEStudio appliances) .

Shouldn't this value be configurable in the template again?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-10-31 14:20:39 -0500

vishvananda gravatar image

Yes, it looks like this should be templated.

On Oct 31, 2011, at 5:01 AM, Alvaro wrote:

New question #176978 on OpenStack Compute (nova): https://answers.launchpad.net/nova/+q...

Hi there.

I've noticed that the "disk_prefix" variable has been removed from the "nova/virt/libvirt.xml.template" file in commit 2c1b9ac ( https://github.com/openstack/nova/com... ) and now it is hardcoded on the "nova/virt/libvirt/connection.py".

In our case we are using Xen as the hypervisor, and this is making some of our cloud servers fail since they're are looking for "/dev/xvdX" instead of the coded "/dev/sdX" (this is happening for example with the SUSEStudio appliances) .

Shouldn't this value be configurable in the template again?


You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

edit flag offensive delete link more

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: 2011-10-31 11:56:47 -0500

Seen: 48 times

Last updated: Oct 31 '11