Hi, I just upgrade my OpenNebula installation to the latest stable version: 2.1.90, with Ruby version 1.9.2p180. Also, I'm running some tests with OCCI client scripts. As I don't have an OCCI server installed in my localhost, I'm targeting the dummy OpenNebula cloud: https://devel.cloud.opennebula.org
Running the following command: occi-compute create compute.xml --url https://devel.cloud.opennebula.org --username passis --password XXX I get the error message: No such file or directory - /usr/local/one/etc/occi_templates/common.erb This was true in the first trial, as the directory and files were both missing. But, after a manual copy, I placed the following files at the /usr/local/one/etc/occi_templates/ directory -rw-r--r-- 1 pfa pfa 1128 2011-03-25 11:15 common.erb -rw-r--r-- 1 pfa pfa 461 2011-03-25 11:15 custom.erb -rw-r--r-- 1 pfa pfa 213 2011-03-25 11:15 large.erb -rw-r--r-- 1 pfa pfa 215 2011-03-25 11:15 medium.erb -rw-r--r-- 1 pfa pfa 214 2011-03-25 11:15 small.erb The compute.xml file is in the current directory and has the following content: <COMPUTE> <NAME>MyCompute 1</NAME> <INSTANCE_TYPE>large</INSTANCE_TYPE> <DISK><STORAGE href=https://devel.cloud.opennebula.org/storage/0 /></DISK> <NIC><NETWORK href=https://devel.cloud.opennebula.org/network/26 /><IP>192.168.1 .1</IP></NIC> <!-- CONTEXT><HOSTNAME>MAINHOST</HOSTNAME><DATA>DATA1</DATA></CONTEXT --> </COMPUTE> Also, I've run the same command under another system, Ruby 1.8.6 and OpenNebula 2.0.1, and got the same result. I've reviewed the installations procedures and searched the mailing list contents, but I didn't found anything of relevance. Can someone in the list provide me with some hints? Meantime, I will try to run previous command with the -rdebug option. Thanks, Pedro -- pfa Pedro Assis | Tel. +351 228 340 500 | Ext. 1141 | Fax +351 228 321 159 Institute of Engineering of the Porto Polytechnic | pfa at isep.ipp.pt Porto Polytechnic EU Community | passis at eu.ipp.pt EuroCloud Portugal Association | pfa at eurocloud.pt _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org