Project

General

Profile

Bug #26971

unintialized Constant in app/models/compute_resources/foreman/model/openstack.rb

Added by Tom Fischer almost 4 years ago. Updated almost 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Compute resources - OpenStack
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

Hi,

in the latest development is a bug when you try to create an openstack Compute Resource. The Problem is in app/models/compute_resources/foreman/model/openstack.rb line 49. You get "uninitialized constant Fog::Identity::OpenStack Did you mean? Fog::OpenStack OpenStruct" when you try to load the projects.

identity_client.list_user_projects(user_id).body["projects"].map { |p| Fog::Identity::OpenStack::V3::Project.new(p) }

This must be

identity_client.list_user_projects(user_id).body["projects"].map { |p| Fog::OpenStack::Identity::V3::Project.new(p) }

Fog-Version:

fog-core (2.1.0)
fog-openstack (1.0.8)


Related issues

Related to Foreman - Feature #26362: Update fog-openstack to 1.0.8Closed

Associated revisions

Revision c5fbd289 (diff)
Added by ftek-tofi almost 4 years ago

Fixes #26971 - Correct Fog OpenStack constant naming

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/6831 added

#2 Updated by Tomer Brisker almost 4 years ago

  • Category set to Compute resources - OpenStack

#3 Updated by Tomer Brisker almost 4 years ago

  • Fixed in Releases 1.22.1 added

#4 Updated by Tomer Brisker almost 4 years ago

  • Target version set to 1.22.1
  • Fixed in Releases deleted (1.22.1)

#5 Updated by Tomer Brisker almost 4 years ago

#6 Updated by Tomer Brisker almost 4 years ago

  • Fixed in Releases 1.22.1, 1.23.0 added

#7 Updated by Anonymous almost 4 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF