Ask Your Question
2

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 https://github.com/angdraug/nova/tree/rbd-ephemeral-clone-stable-icehouse (https://github.com/angdraug/nova/tree...)

Moreover they told me i must install the latest requirements for icehouse from here https://github.com/openstack/requirements/tree/stable/icehouse (https://github.com/openstack/requirem...)

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

Is that right or i am missing something??? (when i tried to do setup.py 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
0

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 update.py /path/to/nova" and then into nova i did "python setup.py 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
1

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:

https://review.openstack.org/#/q/Idc8...

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

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: 2014-12-29 12:03:49 -0500

Seen: 1,187 times

Last updated: Jan 04 '15