Project

General

Profile

Actions

Bug #13694

closed

compute resource provider from plugin missing sometimes

Added by Thomas McKay about 8 years ago. Updated about 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

I have not consistently reproduced this but there seems to be a situation where the compute resource model is loaded after a plugin (docker) has registered itself as a provider. This results in it being missing from the list of supported_providers.

https://github.com/theforeman/foreman/blob/develop/app/models/compute_resource.rb#L13


  class_attribute :supported_providers
  self.supported_providers = {
    'Libvirt'   => 'Foreman::Model::Libvirt',
    'Ovirt'     => 'Foreman::Model::Ovirt',
    'EC2'       => 'Foreman::Model::EC2',
    'Vmware'    => 'Foreman::Model::Vmware',
    'Openstack' => 'Foreman::Model::Openstack',
    'Rackspace' => 'Foreman::Model::Rackspace',
    'GCE'       => 'Foreman::Model::GCE',
  }


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #12746: Compute resources can disappear in a development instanceClosedDominic Cleal12/08/2015Actions
Actions #1

Updated by Dominic Cleal about 8 years ago

  • Is duplicate of Bug #12746: Compute resources can disappear in a development instance added
Actions #2

Updated by Dominic Cleal about 8 years ago

  • Status changed from New to Duplicate
Actions

Also available in: Atom PDF