theforeman / foreman_expire_hosts

Foreman plugin for limiting host lifetime
GNU General Public License v3.0
5 stars 12 forks source link

Error with Plugin on Foreman 3.6.1 #74

Open alexcrow1974 opened 1 year ago

alexcrow1974 commented 1 year ago

When i select any host from Compute Resources -> 'provider' -> Virtual Machine -> 'vm' and click host, the web interface produces this error:

Oops, we're sorry but something went wrong undefined method `host_expiry_warning_message' for #<ActionView::Base:0x00000001aa8290>

Also when clicking on a host in "All Hosts" I do not see any expiry information in any tab.

I'm using the ubuntu package for the plugin from the foreman repos:

ruby-foreman-expire-hosts:
  Installed: 8.1.0-1
  Candidate: 8.1.0-1
  Version table:
 *** 8.1.0-1 500
        500 http://deb.theforeman.org plugins/3.6 amd64 Packages
        100 /var/lib/dpkg/status
     8.0.0-1 500
        500 http://deb.theforeman.org plugins/3.6 amd64 Packages

Any help would be much appreciated!

laugmanuel commented 5 months ago

Seeing the same with Foreman 3.9. However, I can't reproduce it locally. I'm wondering if this is a side effect of something else?

Did you fix your problems @alexcrow1974 ? Can you share your plugin list?