Project

General

Profile

Actions

Bug #12523

closed

Openstack doesn't work with fog 1.36

Added by Daniel Lobato Garcia over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
High
Category:
Compute resources - OpenStack
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

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.


Related issues 1 (0 open1 closed)

Related to Foreman - Refactor #12494: Update fog to 1.36.0ClosedDominic Cleal11/16/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • translation missing: en.field_release set to 71
Actions #2

Updated by Dominic Cleal over 8 years ago

Actions #3

Updated by Marek Hulán over 8 years ago

Actions #5

Updated by The Foreman Bot over 8 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
Actions #6

Updated by Daniel Lobato Garcia over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF