Guys, Could you please have a look?
On Thursday, 29 June 2017 19:04:37 UTC+5:30, bijith nair wrote: > > Hello Team, > > When i try to create vm using API's, It fails with below error.. > > [root@oel6u5 ~]# curl -X POST -s -H "Accept:application/json" -k -u > admin:redhat -d "host[name]=mytestdev" -d "host[hostgroup_id]=4" -d > "host[compute_resource_id]=1" -d "host[powerup]=1" > https://192.168.133.210/api/v1/hosts/ | python -mjson.tool > { > "host": { > "errors": { > "base": [ > "Failed to create a compute Vmware GDC - Devops (VMware) > instance mytestdev.testlab.local: Unknown Network ID: \n " > ] > }, > "full_messages": [ > "Failed to create a compute Vmware GDC - Devops (VMware) > instance mytestdev.testlab.local: Unknown Network ID: \n " > ], > "id": null > } > } > > Though Hammer cli works fine, I see same error while deploying vm via UI > but sumitting the job again fixes it but not happening with API > > Rgds/Bijith > -- You received this message because you are subscribed to the Google Groups "Foreman users" group. To unsubscribe from this group and stop receiving emails from it, send an email to foreman-users+unsubscr...@googlegroups.com. To post to this group, send email to foreman-users@googlegroups.com. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.