fog / fog-proxmox

Fog module for Proxmox VE Platform
GNU General Public License v3.0
31 stars 14 forks source link

Do not see plugin at all #40

Closed martan3d closed 5 years ago

martan3d commented 5 years ago

This does not install as a plugin and does not register as such. Perhaps the docs can be expanded a bit to guide the newbies. If I could provision a host on Proxmox I would be very happy. Many people I know would also be happy.

pescobar commented 5 years ago

I have installed these rpms:

foreman-1.20.1-1.el7.noarch
katello-3.10.0-0.6.rc1.el7.noarch
tfm-rubygem-fog-proxmox-0.5.2-1.el7.noarch

but when I go to administer >> about >> plugins in the foreman webui I cannot see the plugin at all.

I also get this error in the shell when trying to do irb and require 'fog/proxmox'

[root@katello]# irb

irb(main):001:0> require 'fog/proxmox'

LoadError: cannot load such file -- fog/proxmox
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
    from (irb):1
    from /bin/irb:12:in `<main>'
irb(main):002:0> 
tristanrobert commented 5 years ago

You should try using this archive: http://yum.theforeman.org/plugins/latest/el7/x86_64/tfm-rubygem-fog-proxmox-0.5.2-1.el7.noarch.rpm and not the doc.

pescobar commented 5 years ago

hi @tristanrobert that was a mistake when I copied the list of installed rpms. I had installed both packages tfm-rubygem-fog-proxmox-0.5.2-1.el7.noarch.rpm and tfm-rubygem-fog-proxmox-doc-0.5.2-1.el7.noarch but still I cannot see the plugin

I have updated my original comment with the proper rpm name

hlawatschek commented 5 years ago

Hi! If you want to use this in Foreman, you also need to install tfm-rubygem-foreman_fog_proxmox ;-)

martan3d commented 5 years ago

ok, finally got it to install (Centos 7)

  1. Make fresh VM with Centos 7
  2. Install Foreman 1.20 in the usual Quick Start way
  3. go to here: https://yum.theforeman.org/plugins/nightly/el7/x86_64/
  4. Download tfm-rubygem-foreman_fog_proxmox-0.5.3-1.fm1_21.el7.noarch.rpm
  5. Download tfm-rubygem-fog-proxmox-0.5.3-1.el7.noarch.rpm
  6. yum localinstall tfm-rubygem-foreman_fog_proxmox-0.5.3-1.fm1_21.el7.noarch.rpm
  7. yum localinstall tfm-rubygem-fog-proxmox-0.5.3-1.el7.noarch.rpm
  8. reboot