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/client.py <<!
diff --git a/openstackclient/compute/client.py b/openstackclient/compute/client.py
index 3725350..166747d 100644
@@ -50,6 +50,7 @@ def make_client(instance):
patch ~/.venv/lib/python2.7/site-packages/neutronclient/shell.py <<!
diff --git a/neutronclient/shell.py b/neutronclient/shell.py
index 0329d52..9d703b5 100644
@@ -719,8 +719,8 @@ class NeutronShell(app.App):
project_info = (self.options.os_tenant_name or
- (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