Open pledger33 opened 4 years ago
Hi ,
When i want to create VM with ansible , I have this error logs : failed to create vm: undefined method `new' for nil:NilClass\n "
This my ansible role : `- name: Ensure Host foreman_host: foreman_pass: "XXXX" foreman_user: XXXX foreman_host: "XXXX" foreman_port: "443" name: MYVMTEST.MYDOMAIN state: running compute_resource: MYRESOURCE hostgroup: MYHOSTGROUP subnet: MYVLAN provision_method: build build: "true" managed: "true" compute_attributes: guest_id: MYVMTEST.MYDOMAIN cpus: 6 corespersocket: 6 memory_mb: 4096 scsi_controller_type: "LSI Logic SAS" hardware_version: "vmx-11" volumes_attributes: 0: datastore: Container_XXXXX name: Hard disk size_gb: 85 thin: true eager_zero: false interfaces_attributes:
Any idea to reseolve ?
Thx
Hi ,
When i want to create VM with ansible , I have this error logs : failed to create vm: undefined method `new' for nil:NilClass\n "
This my ansible role : `- name: Ensure Host foreman_host: foreman_pass: "XXXX" foreman_user: XXXX foreman_host: "XXXX" foreman_port: "443" name: MYVMTEST.MYDOMAIN state: running compute_resource: MYRESOURCE hostgroup: MYHOSTGROUP subnet: MYVLAN provision_method: build build: "true" managed: "true" compute_attributes: guest_id: MYVMTEST.MYDOMAIN cpus: 6 corespersocket: 6 memory_mb: 4096 scsi_controller_type: "LSI Logic SAS" hardware_version: "vmx-11" volumes_attributes: 0: datastore: Container_XXXXX name: Hard disk size_gb: 85 thin: true eager_zero: false interfaces_attributes:
Any idea to reseolve ?
Thx