I have an Openstack setup that uses V3 Identity API. From what I can tell,
Foreman doesn't support V3 (FOG does though).
So I did some hacking on the original provider and was able to get it to
work somewhat. Then I circled back and decided to make a new compute
resource provider such that I could have V2 and V3.
First thing I did was update app/models/compute_resource.rb and added a new
entry to supported_providers:
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',
'OpenstackV3' => 'Foreman::Model::OpenstackV3',
'Rackspace' => 'Foreman::Model::Rackspace',
'GCE' => 'Foreman::Model::GCE',
}
I then created the new provider class
(app/models/compute_resources/foreman/model/openstackv3.rb). If I load
Foreman and go to the About page I see the provider listed under available
providers but it says "Not Installed".
Not sure what I do to configure it as installed. Any help would be
appreciated. Thanks
--
You received this message because you are subscribed to the Google Groups
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.