Actions
Bug #12070
closedCompute instance creation fails with Automatic allocation
Description
Hi,
It seems since v0.1.3 when Hypervisor is set to "Automatic allocation" compute instance creation fails.
Probably because host is empty. Does fog always require specific home server for the VM? - it probably shouldn't.
2015-10-06 13:16:09 [sql] [I] <ArgumentError> Invalid :affinity attribute /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.32.0/lib/fog/xenserver/requests/compute/create_server.rb:31:in `create_server_raw' /opt/rh/ruby193/root/usr/share/gems/gems/fog-1.32.0/lib/fog/xenserver/models/compute/server.rb:201:in `save' /opt/rh/ruby193/root/usr/share/gems/gems/foreman-xen/app/models/foreman_xen/xenserver.rb:302:in `create_vm_from_builtin' /opt/rh/ruby193/root/usr/share/gems/gems/foreman-xen/app/models/foreman_xen/xenserver.rb:182:in `create_vm' /usr/share/foreman/app/models/concerns/orchestration/compute.rb:76:in `setCompute' ...
Actions