Created attachment 552503 [details] ss Description of problem: ================================ Add a rhevm provider manually though the web ui, the user now needs to append the datacenter id within the X-Deltacloud-provider field. At the very least, that id should be verified as a valid data center object on the rhevm server you are hitting.
Jan, Please check whether DC will allow this verification. If not, it will need to be implemented after 1.0
DC indeed allows this verification. The list of all data centers is available here: /api/drivers/rhevm What I'm not entirely sure is, if Ruby client is able to fetch this informations.
Michal is going to add "valid_provider?" method into dc-client lib, so waiting on implementation of this feature.
This feature is already in master: http://mail-archives.apache.org/mod_mbox/deltacloud-dev/201201.mbox/%3C1327404674-85464-5-git-send-email-mfojtik%40redhat.com%3E Now it's waiting for being packaged.
Michal, did the fix above make it into Deltacloud-0.5.0? If so, Jan, can we go ahead and implement based on that?
Yes, this fix is included in latest DC brew build (0.5.0-5)
Could you send me a link where I can get it? In brew I see only el6 builds (0.5.0-2 newest)
https://brewweb.devel.redhat.com/buildinfo?buildID=197651 Should be available by usual channel now.
Sorry, the client you mean. Yes, the latest in brew is 0.5.0-2 and it should have the methods mentioned in Comment #4 :-)
ATM valid_provider? method doesn't work properly, we need a fix on dc-core side at first: https://issues.apache.org/jira/browse/DTACLOUD-307 Because of above, I doubt this BZ could be fixed in 1.1 release.
This is being descoped for 1.1 because it depends on deltacloud work which is being tracked here: https://issues.apache.org/jira/browse/DTACLOUD-307