Bug #12523
closedOpenstack doesn't work with fog 1.36
Description
Our code (test_connection and more) relies on calling list_tenants on the Openstack Fog object - https://github.com/fog/fog/blob/master/lib/fog/openstack/requests/compute/list_tenants.rb
This object needs an instance variable @identity_connection to make requests to Openstack Keystone. On fog versions prior to 1.36, this variable was automatically set during authentication.
However, this commit https://github.com/fog/fog/commit/4d5287020d961e794ac279c640c69a66238c33f7#diff-3aa267766daa7f21447cd3c77b43bf39R412 moves the instance variable setup to a `self.` (class) method.
Therefore the variable is simply never accessible so all parts on Fog 1.36 that call this instance variable from outside a Class (self. in ruby) context are broken.
Updated by Dominic Cleal over 9 years ago
- Translation missing: en.field_release set to 71
Updated by Dominic Cleal over 9 years ago
- Related to Refactor #12494: Update fog to 1.36.0 added
Updated by Marek Hulán about 9 years ago
Fog tracking issue at https://github.com/fog/fog/issues/3770
Updated by Dominic Cleal about 9 years ago
Updated by The Foreman Bot about 9 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/2942 added
Updated by Daniel Lobato Garcia about 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset 72eececc3d59d4b39c968226e99424bb5ef9be71.