Ask Your Question
2

How to patch bug in live envornment.

asked 2014-04-26 01:07:07 -0500

Deeptanshu gravatar image

Hi,

I am facing one issue while adding the gateway with the API in neutron. I have searched and found that this is a bug with HAVANA version. Now they have provided some patch to resolve it. My question is how to patch the bug in live openstack environment. Please check the below link and suggest the process to resolve it.

https://review.openstack.org/#/c/40716/

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-04-26 07:12:05 -0500

larsks gravatar image

updated 2014-04-26 07:13:23 -0500

If you look at the patch to which you've linked the changes it makes are minimal:

You could simply download the file from the remote repository and replace your local file. Since this is a patch to the client,you shouldn't need to restart any of your services.

It is also possible that new packages will be available shortly from your distribution vendor, if they aren't already.

edit flag offensive delete link more

Comments

1

Hi,

What do you mean by local file?

Please provide the descriptive process to patch.

I am bit confused with the suggested process.

Deeptanshu gravatar imageDeeptanshu ( 2014-04-28 04:21:23 -0500 )edit

But what with bigger changes? Also simple change files?

Maydex gravatar imageMaydex ( 2014-04-28 07:07:21 -0500 )edit

local file means "the file on the host running the service you're trying to patch". I am suggesting replacing the currently installed file with the modified file from the remote repository, which really just boils down to running cp or mv, which ought to be simple.

larsks gravatar imagelarsks ( 2014-04-28 08:47:51 -0500 )edit

Maydex: For more substantive changes, I would normally suggest waiting for updates from your distribution or replacing your distribution package with a source install (rather than playing mix-and-match). Your choices depend a lot on your local environment and how much risk you're willing to accept.

larsks gravatar imagelarsks ( 2014-04-28 08:48:56 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

2 followers

Stats

Asked: 2014-04-26 01:07:07 -0500

Seen: 96 times

Last updated: Apr 28 '14