Ask Your Question

Apply patch to nova

asked 2014-12-29 12:03:49 -0500

Fanis gravatar image

Hello everyone, i have an openstack environment based on IceHouse that uses Ceph as a storage backend for glance,cinder,swift and ephemeral (nova) storage. All these work fine but one thing, the instance creation time is too slow. I have raised a question to some people who pointed me to a patch that i can apply to Nova and it will resolve my issue. The patch is (

Moreover they told me i must install the latest requirements for icehouse from here (

My issue is that i do not really know how to do the installation properly. I believe i should first run the requirements python /path/to/requirements and then do python /path/to/nova

Is that right or i am missing something??? (when i tried to do it told me that it cannot be found) Still i am a bit confused. Anyone who could help it would be greatly appreciated.

Thanks a lot in advance

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-04 08:46:14 -0500

Fanis gravatar image

Thanks a lot smaffulli. I ended up patching my installation and what i did was download both "patches" from github and cd into requirements and do "python /path/to/nova" and then into nova i did "python install --install-scripts /usr/bin"

That patched my nova and it worked. Anyway the circumstances required anoter clean installation of the environment and i took a version that fixed my bug as you suggested so all good now. Thanks again.

edit flag offensive delete link more

answered 2015-01-02 14:23:00 -0500

smaffulli gravatar image

The problem you're facing is not that simple. Depending on how you installed OpenStack, you may need to build new packages incorporating that patch and upgrade your systems. I don't know what that patch does though, so I don't know how dangerous that will be.

In any case, before going in that direction, I'd evaluate whether that patch is available in the official OpenStack tree first and already shipped either in the stable release (Juno) or in the current one (Kilo). The commit ID on the github link contains a Change-Id, so I searched it on OpenStack Gerrit:

That patch is available in Icehouse and Juno, too, so you should be able to upgrade your system without applying a random patch. If you still don't know how to proceed edit your question and specify how you installed OpenStack originally.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-12-29 12:03:49 -0500

Seen: 1,291 times

Last updated: Jan 04 '15