theforeman / foreman_fog_proxmox

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

Cannot create VM => Invalid identifier interface[0] #63

Closed Yamakasi closed 5 years ago

Yamakasi commented 5 years ago

Describe the bug

On creating a Host you get this whent he Network interface is set to 0 or 1, or....

: ERF42-1306 [Foreman::Exception]: Invalid identifier interface[0]. Must be net[n] with n integer >= 0

To Reproduce Steps to reproduce the behavior:

  1. Create host
  2. Go to interfaces
  3. Set: Device Identifier : 0 or 1....
  4. Create host

Expected behavior Create the VM

Desktop (please complete the following information):

tristanrobert commented 5 years ago

You must set device with net0 or net1 and not 0 or 1.

Yamakasi commented 5 years ago

You must set device with net0 or net1 and not 0 or 1.

Sorry I see now indeed.

What I always wonder if why the "cache" when a VM creation fails, also on oVirt, is multiplying disks, etc, so somewhat failing on clientside JS ?

Actualy the Rollback duplicates/removes, etc and you better can start over...

tristanrobert commented 5 years ago

You should ask your cache question to Foreman and oVirt support.

Yamakasi commented 5 years ago

You should ask your cache question to Foreman and oVirt support.

I will do, oVirt was more as a compute resource reference, same as Proxmox.