Ask Your Question
0

Expose root disk bus as a setting in nova boot

asked 2012-06-06 22:09:52 -0500

Hi folks,

Nova seems to be hamstrung when it comes to older versions of Linux or Windows. For example, if I alter:

https://github.com/openstack/nova/blob/master/nova/virt/libvirt/connection.py#L1516 (https://github.com/openstack/nova/blo...)

to use "ide" instead, I can now start Windows 2000/XP & older linux kernel instances. Unfortunately I lose the advantages of virtio block devices in newer OS'.

I was wondering if it would make sense to expose this as a setting somewhere. If so, what shape would that take? I was thinking a parameter to nova boot would be perfect, but I don't have the perspective to tell if that makes sense. Would love to hear opinions.

Thanks.

edit retag flag offensive close merge delete

5 answers

Sort by » oldest newest most voted
0

answered 2012-06-06 22:22:19 -0500

vishvananda gravatar image

We discussed using image_metadata for this. As in if the image metadata says that the instance supports virtio, use it, otherwise fall back to ide or iscsi.

edit flag offensive delete link more
0

answered 2012-06-06 22:28:47 -0500

Thanks Vish,

Can you give any details on the implementation? Mainly when you expect it to be worked on? Is there an open bug id? I wouldn't mind lending a hand.

edit flag offensive delete link more
0

answered 2012-06-06 23:06:54 -0500

vishvananda gravatar image

There was a brief comment about something similar for networks here. I can't find an open bug about volumes:

https://bugs.launchpad.net/nova/+bug/...

I think we had a blueprint about it but it probably got removed in the last big blueprint cleanup. I don't think anyone is actively working on it, so if you would like to tackle it that would be awesome.

edit flag offensive delete link more
0

answered 2012-12-06 16:55:59 -0500

Hi,

I am having a problem related to this! I can boot my instance using virt-manager and setting Disk bus to IDE, but on OpenStack it fails to deploy since it set ths Disk bus to Virto.

Are there any developments on this matter?

Best Regards, João

edit flag offensive delete link more
0

answered 2012-12-06 22:16:35 -0500

Hi Joao,

Vish got back to me via email regarding their ideas for implementation:

We discussed using image_metadata for this. As in if the image metadata says that the instance supports virtio, use it, otherwise fall back to ide or iscsi.

I fully intended to follow up but I've been distracted since. I can't commit to it any time soon either I'm afraid. I'm hoping to get back to my openstack project in the new year. I'll try to get to this then, but no promises.

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: 2012-06-06 22:09:52 -0500

Seen: 140 times

Last updated: Dec 06 '12