Posted by: terryhowe | January 16, 2015

OpenStack Client and Neutron Client Patches

I keep running around to different machines and need to patch OpenStack Client and Neutron Client. OSC has a bug where it does not pass the region to the compute client. I submitted a fix that has been merged to main, but not released. Neutron client has a bug where it doesn’t properly handle some keystone v3 authentication domain information. I also submitted a patch for this and it too has been merged, but not released. The patches are:

patch ~/.venv/lib/python2.7/site-packages/openstackclient/compute/ <<!
diff --git a/openstackclient/compute/ b/openstackclient/compute/
index 3725350..166747d 100644
--- a/openstackclient/compute/
+++ b/openstackclient/compute/
@@ -50,6 +50,7 @@ def make_client(instance):
+ region_name=instance._region_name,

return client

patch ~/.venv/lib/python2.7/site-packages/neutronclient/ <<!
diff --git a/neutronclient/ b/neutronclient/
index 0329d52..9d703b5 100644
--- a/neutronclient/
+++ b/neutronclient/
@@ -719,8 +719,8 @@ class NeutronShell(app.App):
project_info = (self.options.os_tenant_name or
self.options.os_tenant_id or
(self.options.os_project_name and
- (self.options.project_domain_name or
- self.options.project_domain_id)) or
+ (self.options.os_project_domain_name or
+ self.options.os_project_domain_id)) or

if (not self.options.os_username


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s


%d bloggers like this: