ananace / foreman_hyperv

Microsoft Hyper-V compute resource for Foreman
GNU General Public License v3.0
15 stars 2 forks source link

Erro when install #19

Open Tomelin opened 6 years ago

Tomelin commented 6 years ago

Hi dear,

In my foreman/katello when installed this error:

[root@katello ~]# gem install fog-hyperv ERROR: While executing gem ... (Gem::DependencyError) Unable to resolve dependencies: fog-hyperv requires fog-core (~> 1.42)

My fg-core this version 2.10

ananace commented 6 years ago

I just pushed version 0.0.9 of fog-hyperv, that should add support for fog-core version 2.0 and newer.

Please try again and see if that's helped.

Tomelin commented 6 years ago

Hi,

The installation is perfect, but is not display in Create Compute Resource

ananace commented 6 years ago

Do you have any errors in the log? Maybe something's keeping the plugin from loading fully?

On Tue, 15 May 2018, 14:27 Tomelin, notifications@github.com wrote:

Hi,

The installation is perfect, but is not display in Create Compute Resource

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ananace/foreman_hyperv/issues/19#issuecomment-389148432, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgnvEg3soE-BaKdxSZWYgXnfbEU6phPks5tysm8gaJpZM4T_MAo .

Tomelin commented 6 years ago

Hi,

What is logs ?

Tomelin commented 6 years ago

Where logs the compute resource ?

ananace commented 6 years ago

Foreman should keep its logs in /var/log/foreman/production.log

Hopefully there's a message in there about why the compute resource didn't activate

On Tue, 15 May 2018, 23:51 Tomelin, notifications@github.com wrote:

Where logs the compute resource ?

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ananace/foreman_hyperv/issues/19#issuecomment-389325170, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgnvFiWm84UUK34Xh4BiFWBOdbrlR9Iks5ty03zgaJpZM4T_MAo .

lovilak commented 6 years ago

Hello, Same thing for me, installation with no error, but provider not showned in compute_resource listing.

Centos 7 foreman-1.17.1-1.el7 fog-core (2.1.0, 1.45.0) fog-hyperv (0.0.9) foreman_hyperv (0.0.4)

ananace commented 6 years ago

If you launch foreman-rake console, are any errors printed?
Or are there any errors in the logfile? (/var/log/foreman/production.log)

Oh, and is the plugin listed in the about page on your Foreman instance?

lovilak commented 6 years ago

My bad : I forget to set the bundler.d/Gemfile.local.rb file .. Sorry

ananace commented 6 years ago

Good to hear that it works for you in that case :+1:

On Mon, 11 Jun 2018, 14:29 Lovi, notifications@github.com wrote:

My bad : I forget to set the bundler.d/Gemfile.local.rb file .. Sorry

— You are receiving this because you were assigned. Reply to this email directly, view it on GitHub https://github.com/ananace/foreman_hyperv/issues/19#issuecomment-396226537, or mute the thread https://github.com/notifications/unsubscribe-auth/AAgnvAIn3bXRwQEYNxwj0CMITV5XPGWqks5t7mKngaJpZM4T_MAo .