Project

General

Profile

Bug #2813

Foreman::Provision::SSH requires fog even on non-fog installations

Added by Dominic Cleal over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
High
Assignee:
Category:
Compute resources
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

On an installation without fog installed, e.g. a bundler install without the fog group, app/services/foreman/provision/ssh.rb loads 'fog' and causes a failure at startup:

No such file to load -- fog (LoadError)

Prior to #2411, this file probably wasn't read unless image provisioning was happening, which couldn't happen without fog being installed.


Related issues

Related to Foreman - Refactor #2411: Refactor /lib directory to app/models/concerns or app/controllers/concerns and app/servicesClosed2013-04-18

Associated revisions

Revision 1d9828b0 (diff)
Added by Joseph Magen over 9 years ago

fixes #2813 - move Foreman::Provision::SSH files back to /lib so it does not fail on startup for non-fog installations

History

#1 Updated by Joseph Magen over 9 years ago

  • Status changed from Assigned to Ready For Testing

https://github.com/theforeman/foreman/pull/808

Moved files back from /app/services to /lib

#2 Updated by Joseph Magen over 9 years ago

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

Also available in: Atom PDF