Project

General

Profile

Actions

Feature #2618

closed

Hide compute resource providers that aren't available

Added by Stefan Stührmann almost 11 years ago. Updated over 9 years ago.

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

Description

My environment:
- Foreman version 1.1 from the foreman debian repository.
- Ubuntu version 12.04 lts 64bit
- installed on an amazon ec2 medium instance

I was creating a new compute resource with the EC2 provider.

When I tried to load the regions no regions appeared in the combobox after clicking the load region button and no error message appeared.

After looking into firebug I could see that the request returned the following error:

"unitialized constant Foreman::Model::EC2::FOG"

Afterwards I installed the foreman-fog and the foreman-compute packages and restarted foreman with the init script but didn't solve the problem.

Finally after terminating all ruby and apache processes and starting them again I could load the regions.

It would be good to throw an error message that there are missing dependencies (fog, compute) and you have to restart apache to get the region loading running.
Probably not every user will look into the requests.

Irc-user Dominic asked to open a feature/bug request so that it can work in a similar way then libvirt.


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #3138: rbvmomi required by a clean install of foremanClosedLukas Zapletal09/23/2013Actions
Actions #1

Updated by Dominic Cleal almost 11 years ago

  • Category set to Compute resources
  • Target version set to 1.3.0

As mentioned above, I think this should probably work in a similar way to libvirt, where we hide compute resource providers that aren't available due to not being installed, or at least grey them out etc.

Actions #2

Updated by Lukas Zapletal almost 11 years ago

  • Subject changed from Error Message for missing dependencies when loading EC2 regions to Hide compute resource providers that aren't available
  • Difficulty set to easy
Actions #3

Updated by Lukas Zapletal over 10 years ago

  • Description updated (diff)
  • Target version deleted (1.3.0)
Actions #4

Updated by Dominic Cleal over 9 years ago

  • Is duplicate of Bug #3138: rbvmomi required by a clean install of foreman added
Actions #5

Updated by Dominic Cleal over 9 years ago

  • Status changed from New to Duplicate

This has now been implemented via #3138 in Foreman 1.4.

Actions

Also available in: Atom PDF