theforeman / foreman_fog_proxmox

Foreman plugin to add Proxmox compute resource based on fog-proxmox gem
GNU General Public License v3.0
106 stars 31 forks source link

`Oops, we're sorry but something went wrong undefined method type' for nil:NilClass #145

Closed MarvinMedia closed 3 years ago

MarvinMedia commented 4 years ago

I am using proxmox version 6 and foreman 1.4.1 and foreman 2.0

Getting "undefined method `first' for nil:NilClass" when trying to power on the VM ,trying to create image from foreman on proxmox compute resource.

MarvinMedia commented 4 years ago

Can someone help me solve the problem?

hlawatschek commented 4 years ago

Do you have other compute resource plugins installed?

tristanrobert commented 4 years ago

Which foreman version are you using? 2.0 or 1.4.1 which is very old!...Which plugin version ? Could you send your logs contaning the error?

MarvinMedia commented 4 years ago

Do you have other compute resource plugins installed?

No.

MarvinMedia commented 4 years ago

Which foreman version are you using? 2.0 or 1.4.1 which is very old!...Which plugin version ? Could you send your logs contaning the error?

I use Foreman 1.4.1 and Foreman 2.0 the same bug in both.

tristanrobert commented 4 years ago

Sorry but I need more informations in order to reproduce your error and find your exact scenario: what is the plugin version, can you send your logs and/or screenshots?

techy2493 commented 3 years ago

I was also seeing this, I'm trying to re-create it now. I believe I was missing some configuration when I was getting this but I don't recall exactly what it was.

techy2493 commented 3 years ago

image

techy2493 commented 3 years ago

This was still occuring when I went back to Administer > About > Compute Resource > Proxmox > Virtual Machines > Start a VM...

The same occurs when I turn off a VM.

Foreman Version 2.1.2

techy2493 commented 3 years ago

However, the system appears to work as VMs turn on and off, it appears it's likely trying to parse some sort of response that's changed?