[one-ecosystem] rOCCI server: Can't create a VM from a template

Feldhaus, Florian florian.feldhaus at gwdg.de
Fri Nov 9 00:04:46 PST 2012


Hi John,

sorry for answering late, I had several parallel tasks this week which took all my attention.

Please try the OCCI Client you can find here, it simplifies the whole process and should take care of the right requests for you:
https://github.com/gwdg/rOCCI#client
If you miss anything in the client, please create an issue here:
https://github.com/gwdg/rOCCI/issues

The request below is nearly right. You specified the full rendering of the mixins, but for creating resources you just need the short version (e.g. without title, rel, location and attributes). Thus the request should look like this (remove the line breaks!):

curl -v  -H 'Accept: text/plain' -X POST
--header "X-OCCI-Attribute: occi.core.title=\"samon VM\""
--header "Category: compute;scheme=\"http://schemas.ogf.org/occi/infrastructure#\";class=\"kind\";,
winxp_21_12_2011;scheme=\"http://vdi.datacenter.uoc.gr:3000/occi/infrastructure/os_tpl#\";class=\"mixin\",
small;scheme=\"http://vdi.datacenter.uoc.gr:3000/occi/infrastructure/resource_tpl#\";class=\"mixin\""
http://vdi.datacenter.uoc.gr:3000/compute/

If you want a network incuded in the machine by default, you have to add the network to the winxp_21_12_2011 template in OpenNebula.

Cheers,
Florian

Am 02.11.2012 um 11:18 schrieb <samon at ucnet.uoc.gr>
 <samon at ucnet.uoc.gr>:

> Hi there!
>  
> I use rOCCI server  (Server: rOCCI/0.5.0 OCCI/1.1) and I am trying to create a new virtual machine
> using a template which I have created with Sunstone. Virtual machines created with this template
> doesn’t have a nic for simplicity.
>  
> I use curl to post the request as described in http://dev.opennebula.org/projects/ogf-occi/wiki/Example_requests
> section “Create VM with resource and OS template” at the end of the page.  Unfortunately I don’t succeed to create
> a VM.  I quote above a) the available resource and OS templates b) the curl request,  c) the rOCCI server response and d)the passenger logs.
>  
> thanks a lot!
> John
>  
>  
> =====================  a) Available resource and OS templates =====================
>  
> oneadmin at opennebula:~> curl -v -H 'Accept: text/plain' -X GET  http://vdi.datacenter.uoc.gr:3000/-/
> * About to connect() to vdi.datacenter.uoc.gr port 3000 (#0)
> *   Trying 147.52.83.196... connected
> * Connected to vdi.datacenter.uoc.gr (147.52.83.196) port 3000 (#0)
> > GET /-/ HTTP/1.1
> > User-Agent: curl/7.21.2 (x86_64-unknown-linux-gnu) libcurl/7.21.2 OpenSSL/1.0.0c zlib/1.2.5 libidn/1.15 libssh2/1.2.7
> > Host: vdi.datacenter.uoc.gr:3000
> > Accept: text/plain
> >
> < HTTP/1.1 200 OK
> < Content-Type: text/plain;charset=utf-8
> < Connection: keep-alive
> < Status: 200
> < X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.12
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Length: 9814
> < Server: rOCCI/0.5.0 OCCI/1.1
> < Set-Cookie: rack.session=BAh7ByINdHJhY2tpbmd7CCIUSFRUUF9VU0VSX0FHRU5UIi1hOWYwN2ZhODU0%0AY2YwNTg0ZmZjNzdmY2U0NTBjMTUxMTUxM2EyZmU2IhlIVFRQX0FDQ0VQVF9M%0AQU5HVUFHRSItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4%0AMDcwOSIZSFRUUF9BQ0NFUFRfRU5DT0RJTkciLWRhMzlhM2VlNWU2YjRiMGQz%0AMjU1YmZlZjk1NjAxODkwYWZkODA3MDkiD3Nlc3Npb25faWQiRWFlZDZjYmEy%0ANzc2M2I2NjFhNzE2ZDZjMGIxNjMwOWFiMzE2NzhiYTA2YTIzMTU5NDI4ODU3%0ANzlkNGZkZGMyMjY%3D%0A--4a2e78547d08e5c97c886e3a751a2f58779731b0; path=/; HttpOnly
> < Accept: application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml
> <
> Category: network;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Network Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/network/";attributes="org.opennebula.network.phydev org.opennebula.network.ip_start org.opennebula.network.id org.opennebula.network.vlan org.opennebula.network.ip_end org.opennebula.network.bridge occi.network.label occi.network.vlan occi.network.state";actions="http://schemas.ogf.org/occi/infrastructure/network/action#uphttp://schemas.ogf.org/occi/infrastructure/network/action#down"
> Category: resource;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Resource";rel="http://schemas.ogf.org/occi/core#entity";location="/resource/";attributes="occi.core.summary"
> Category: entity;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Entity";location="/entity/";attributes="occi.core.title occi.core.id"
> Category: storage;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/storage/";attributes="org.opennebula.storage.bus org.opennebula.storage.persistent org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.dev_prefix org.opennebula.storage.driver org.opennebula.storage.fstype occi.storage.size occi.storage.state";actions="http://schemas.ogf.org/occi/infrastructure/storage/action#onlinehttp://schemas.ogf.org/occi/infrastructure/storage/action#offline http://schemas.ogf.org/occi/infrastructure/storage/action#backuphttp://schemas.ogf.org/occi/infrastructure/storage/action#snapshot http://schemas.ogf.org/occi/infrastructure/storage/action#resize"
> Category: storagelink;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Storage Link";rel="http://schemas.ogf.org/occi/core#link";location="/storagelink/";attributes="org.opennebula.storagelink.bus org.opennebula.storagelink.driver occi.storagelink.mountpoint occi.storagelink.deviceid occi.storagelink.state"
> Category: networkinterface;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Networkinterface";rel="http://schemas.ogf.org/occi/core#link";location="/networkinterface/";attributes="org.opennebula.networkinterface.script org.opennebula.networkinterface.model org.opennebula.networkinterface.black_ports_tcp org.opennebula.networkinterface.black_ports_udp org.opennebula.networkinterface.bridge org.opennebula.networkinterface.icmp org.opennebula.networkinterface.white_ports_tcp org.opennebula.networkinterface.white_ports_udp occi.networkinterface.address occi.networkinterface.mac occi.networkinterface.interface occi.networkinterface.allocation occi.networkinterface.gateway occi.networkinterface.state"
> Category: link;scheme="http://schemas.ogf.org/occi/core#";class="kind";title="Link";rel="http://schemas.ogf.org/occi/core#entity";location="/link/";attributes="occi.core.target occi.core.source"
> Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";title="Compute Resource";rel="http://schemas.ogf.org/occi/core#resource";location="/compute/";attributes="org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.root org.opennebula.compute.kernel_cmd org.opennebula.compute.boot org.opennebula.compute.cpu org.opennebula.compute.bootloader occi.compute.cores occi.compute.memory occi.compute.speed occi.compute.hostname occi.compute.architecture occi.compute.state";actions="http://schemas.ogf.org/occi/infrastructure/compute/action#starthttp://schemas.ogf.org/occi/infrastructure/compute/action#stop http://schemas.ogf.org/occi/infrastructure/compute/action#restarthttp://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
> Category: console;scheme="http://schemas.ogf.org/occi/infrastructure/compute#";class="kind";title="Link to the VM's console";rel="http://schemas.ogf.org/occi/core#link";location="/console/"
> Category: winxp_21_12_2011;scheme="http://my.occi.service/occi/infrastructure/os_tpl#";class="mixin";title="winxp-21-12-2011";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/winxp_21_12_2011/"
> Category: networkinterface;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Networkinterface attributes";location="/mixins/networkinterface/";attributes="org.opennebula.networkinterface.model org.opennebula.networkinterface.script org.opennebula.networkinterface.black_ports_udp org.opennebula.networkinterface.black_ports_tcp org.opennebula.networkinterface.icmp org.opennebula.networkinterface.bridge org.opennebula.networkinterface.white_ports_udp org.opennebula.networkinterface.white_ports_tcp"
> Category: large;scheme="http://my.occi.service//occi/infrastructure/resource_tpl#";class="mixin";title="Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/large/";attributes="occi.compute.cores occi.compute.memory occi.compute.speed occi.compute.architecture"
> Category: ipnetwork;scheme="http://schemas.ogf.org/occi/infrastructure/network#";class="mixin";title="IP Network Mixin";location="/mixins/ipnetwork/";attributes="occi.network.address occi.network.allocation occi.network.gateway occi.network.state"
> Category: storagelink;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Storagelink attributes";location="/mixins/storagelink/";attributes="org.opennebula.storagelink.bus org.opennebula.storagelink.driver"
> Category: resource_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Resource Template";location="/mixins/resource_tpl/"
> Category: os_tpl;scheme="http://schemas.ogf.org/occi/infrastructure#";class="mixin";title="Operating System Template";location="/mixins/os_tpl/"
> Category: win_7_v4;scheme="http://my.occi.service/occi/infrastructure/os_tpl#";class="mixin";title="win 7 v4";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/win_7_v4/"
> Category: small;scheme="http://my.occi.service//occi/infrastructure/resource_tpl#";class="mixin";title="Small Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.cores occi.compute.memory occi.compute.speed occi.compute.architecture"
> Category: ipnetworkinterface;scheme="http://schemas.ogf.org/occi/infrastructure/networkinterface#";class="mixin";title="IP Networkinterface Mixin";location="/mixins/ipnetworkinterface/";attributes="occi.networkinterface.address occi.networkinterface.allocation occi.networkinterface.gateway occi.networkinterface.state"
> Category: compute;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Compute attributes";location="/mixins/compute/";attributes="org.opennebula.compute.kernel org.opennebula.compute.initrd org.opennebula.compute.kernel_cmd org.opennebula.compute.root org.opennebula.compute.boot org.opennebula.compute.cpu org.opennebula.compute.bootloader"
> Category: network;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Network attributes";location="/mixins/network/";attributes="org.opennebula.network.phydev org.opennebula.network.ip_start org.opennebula.network.ip_end org.opennebula.network.vlan org.opennebula.network.id org.opennebula.network.bridge"
> Category: medium;scheme="http://my.occi.service//occi/infrastructure/resource_tpl#";class="mixin";title="Medium Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/medium/";attributes="occi.compute.cores occi.compute.memory occi.compute.speed occi.compute.architecture"
> Category: extra_large;scheme="http://my.occi.service//occi/infrastructure/resource_tpl#";class="mixin";title="Extra Large Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/extra_large/";attributes="occi.compute.cores occi.compute.memory occi.compute.speed occi.compute.architecture"
> Category: storage;scheme="http://opennebula.org/occi/infrastructure#";class="mixin";title="OpenNebula specific Storage attributes";location="/mixins/storage/";attributes="org.opennebula.storage.bus org.opennebula.storage.persistent org.opennebula.storage.id org.opennebula.storage.type org.opennebula.storage.driver org.opennebula.storage.dev_prefix org.opennebula.storage.fstype"
> Category: start;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Start Compute instance"
> Category: suspend;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Suspend Compute instance";attributes="method"
> Category: restart;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Restart Compute instance";attributes="method"
> Category: snapshot;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Snapshot Storage"
> Category: backup;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Backup Storage"
> Category: down;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#up";class="action";title="Activate network"
> Category: up;scheme="http://schemas.ogf.org/occi/infrastructure/network/action#";class="action";title="Activate network"
> Category: resize;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Resize Storage";attributes="size"
> Category: offline;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Deactivate Storage"
> Category: stop;scheme="http://schemas.ogf.org/occi/infrastructure/compute/action#";class="action";title="Stop Compute instance";attributes="method"
> Category: online;scheme="http://schemas.ogf.org/occi/infrastructure/storage/action#";class="action";title="Activate Storage"
> * Connection #0 to host vdi.datacenter.uoc.gr left intact
> * Closing connection #0
>  
>  
>  
> =====================  b) The curl request =====================
>  
> curl -v  -H 'Accept: text/plain' -X POST
> --header "X-OCCI-Attribute: occi.core.title=\"samon VM\""
> --header "Category: compute;scheme=\"http://schemas.ogf.org/occi/infrastructure#\";class=\"kind\";,winxp_21_12_2011;scheme=\"http://vdi.datacenter.uoc.gr:3000/occi/infrastructure/os_tpl#\";class=\"mixin\";title=\"winxp-21-12-2011\";rel=\"http://schemas.ogf.org/occi/infrastructure#os_tpl\";location=\"/mixins/winxp_21_12_2011/\",small;scheme=\"http://vdi.datacenter.uoc.gr:3000/occi/infrastructure/resource_tpl#\";class=\"mixin\";title=\"Small Instance\";rel=\"http://schemas.ogf.org/occi/infrastructure#resource_tpl\";location=\"/mixins/small/\";attributes=\"occi.compute.cores occi.compute.memory occi.compute.speed occi.compute.architecture\";"
> http://vdi.datacenter.uoc.gr:3000/compute/
>  
>  
>  
>  
> =====================  c) The rOCCI server response =====================
>  
> * About to connect() to vdi.datacenter.uoc.gr port 3000 (#0)
> *   Trying 147.52.83.196... connected
> * Connected to vdi.datacenter.uoc.gr (147.52.83.196) port 3000 (#0)
> > POST /compute/ HTTP/1.1
> > User-Agent: curl/7.21.2 (x86_64-unknown-linux-gnu) libcurl/7.21.2 OpenSSL/1.0.0c zlib/1.2.5 libidn/1.15 libssh2/1.2.7
> > Host: vdi.datacenter.uoc.gr:3000
> > Accept: text/plain
> > X-OCCI-Attribute: occi.core.title="samon VM"
> > Category: compute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";,winxp_21_12_2011;scheme="http://vdi.datacenter.uoc.gr:3000/occi/infrastructure/os_tpl#";class="mixin";title="winxp-21-12-2011";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/winxp_21_12_2011/",small;scheme="http://vdi.datacenter.uoc.gr:3000/occi/infrastructure/resource_tpl#";class="mixin";title="Small Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.cores occi.compute.memory occi.compute.speed occi.compute.architecture";
> >
> < HTTP/1.1 200 OK
> < Content-Type: text/plain;charset=utf-8
> < Connection: keep-alive
> < Status: 200
> < X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.12
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Length: 0
> < Server: rOCCI/0.5.0 OCCI/1.1
> < Set-Cookie: rack.session=BAh7CCINdHJhY2tpbmd7CCIUSFRUUF9VU0VSX0FHRU5UIi1hOWYwN2ZhODU0%0AY2YwNTg0ZmZjNzdmY2U0NTBjMTUxMTUxM2EyZmU2IhlIVFRQX0FDQ0VQVF9M%0AQU5HVUFHRSItZGEzOWEzZWU1ZTZiNGIwZDMyNTViZmVmOTU2MDE4OTBhZmQ4%0AMDcwOSIZSFRUUF9BQ0NFUFRfRU5DT0RJTkciLWRhMzlhM2VlNWU2YjRiMGQz%0AMjU1YmZlZjk1NjAxODkwYWZkODA3MDkiCWNzcmYiRTYwNmExODI0OGViMjNm%0AZDQyODY5MDVjNWIxYjY1NjVhNjZhMTc5OTFiYzM3YzlmYzFkZWE2ZjQxN2E4%0AODdjOGQiD3Nlc3Npb25faWQiRTNlNzM3MGNmNjBiYzhlYTY1NDUxYjg4Zjlm%0ANjY1YTNlMjg0NmMzYWNhZmRjN2ZmYjM1NGMxNDk5MzBiOTk1MTY%3D%0A--3d5cf58e5111be1b89c7d58f410ed6f5f3d43360; path=/; HttpOnly
> < Accept: application/occi+json,application/json,text/plain,text/uri-list,application/xml,text/xml,application/occi+xml
> <
> * Connection #0 to host vdi.datacenter.uoc.gr left intact
> * Closing connection #0
>  
>  
>  
>  
> =====================  d) The Passenger logs  =====================
>  
> Sinatra::Base#options is deprecated and will be removed, use #settings instead.
> D, [2012-11-02T11:29:05.205664 #4285] DEBUG -- : --------------------------------------------------------------------
> D, [2012-11-02T11:29:05.205817 #4285] DEBUG -- : ### Client IP: 147.52.83.196
> D, [2012-11-02T11:29:05.205995 #4285] DEBUG -- : ### Client Accept: text/plain
> D, [2012-11-02T11:29:05.206097 #4285] DEBUG -- : ### Client User Agent: curl/7.21.2 (x86_64-unknown-linux-gnu) libcurl/7.21.2 OpenSSL/1.0.0c zlib/1.2.5 libidn/1.15 libssh2/1.2.7
> D, [2012-11-02T11:29:05.206260 #4285] DEBUG -- : ### Client Request URL: http://vdi.datacenter.uoc.gr:3000/compute/
> D, [2012-11-02T11:29:05.206358 #4285] DEBUG -- : ### Client Request method: POST
> D, [2012-11-02T11:29:05.206487 #4285] DEBUG -- : ### Client Request Media Type:
> D, [2012-11-02T11:29:05.206671 #4285] DEBUG -- : ### Client Request header: HTTP_ACCEPTtext/plainHTTP_HOSTvdi.datacenter.uoc.gr:3000HTTP_USER_AGENTcurl/7.21.2 (x86_64-unknown-linux-gnu) libcurl/7.21.2 OpenSSL/1.0.0c zlib/1.2.5 libidn/1.15 libssh2/1.2.7HTTP_CATEGORYcompute;scheme="http://schemas.ogf.org/occi/infrastructure#";class="kind";,winxp_21_12_2011;scheme="http://vdi.datacenter.uoc.gr:3000/occi/infrastructure/os_tpl#";class="mixin";title="winxp-21-12-2011";rel="http://schemas.ogf.org/occi/infrastructure#os_tpl";location="/mixins/winxp_21_12_2011/",small;scheme="http://vdi.datacenter.uoc.gr:3000/occi/infrastructure/resource_tpl#";class="mixin";title="Small Instance";rel="http://schemas.ogf.org/occi/infrastructure#resource_tpl";location="/mixins/small/";attributes="occi.compute.cores occi.compute.memory occi.compute.speed occi.compute.architecture";HTTP_X_OCCI_ATTRIBUTEocci.core.title="samon VM"
> D, [2012-11-02T11:29:05.206770 #4285] DEBUG -- : ### Client SSL certificate subject:
> D, [2012-11-02T11:29:05.206875 #4285] DEBUG -- : ### Client Request body:
> D, [2012-11-02T11:29:05.206965 #4285] DEBUG -- : --------------------------------------------------------------------
> D, [2012-11-02T11:29:05.207061 #4285] DEBUG -- : ### Check authorization ###
> D, [2012-11-02T11:29:05.207190 #4285] DEBUG -- : ### User oneadmin authenticated successfully
> D, [2012-11-02T11:29:05.207461 #4285] DEBUG -- : ### Prepare response ###
> D, [2012-11-02T11:29:05.207580 #4285] DEBUG -- : ### Initialize response OCCI collection ###
> D, [2012-11-02T11:29:05.207831 #4285] DEBUG -- : ### Reset OCCI model ###
> D, [2012-11-02T11:29:05.208003 #4285] DEBUG -- : ### Parse request
> D, [2012-11-02T11:29:05.208163 #4285] DEBUG -- : ### Parsing request data to OCCI data structure ###
> D, [2012-11-02T11:29:05.227006 #4285] DEBUG -- : Locations:
> D, [2012-11-02T11:29:05.227154 #4285] DEBUG -- : Collection: {}
> D, [2012-11-02T11:29:05.227248 #4285] DEBUG -- : ### Fill OCCI model with entities from backend ###
> D, [2012-11-02T11:29:05.293866 #4285] DEBUG -- : ### Registering category http://my.occi.service/occi/infrastructure/os_tpl#win_7_v4
> D, [2012-11-02T11:29:05.294828 #4285] DEBUG -- : ### Registering category http://my.occi.service/occi/infrastructure/os_tpl#winxp_21_12_2011
> D, [2012-11-02T11:29:05.313840 #4285] DEBUG -- : current VM state is: RUNNING
> D, [2012-11-02T11:29:05.314475 #4285] DEBUG -- : Disk type DISK
> D, [2012-11-02T11:29:05.315291 #4285] DEBUG -- : #<OpenNebula::XMLElement:0x7fd6996b99b0 @xml=#<Nokogiri::XML::Element:0x3feb4cb5d034 name="DISK" children=[#<Nokogiri::XML::Element:0x3feb4cb571fc name="BUS" children=[#<Nokogiri::XML::CDATA:0x3feb4cb55fc8 "ide">]>, #<Nokogiri::XML::Element:0x3feb4cb556a4 name="CLONE" children=[#<Nokogiri::XML::CDATA:0x3feb4cb5503c "YES">]>, #<Nokogiri::XML::Element:0x3feb4cb5bf54 name="DISK_ID" children=[#<Nokogiri::XML::CDATA:0x3feb4cb536b0 "0">]>, #<Nokogiri::XML::Element:0x3feb4cb53494 name="DRIVER" children=[#<Nokogiri::XML::CDATA:0x3feb4cb52fbc "qcow2">]>, #<Nokogiri::XML::Element:0x3feb4cb52cec name="IMAGE" children=[#<Nokogiri::XML::CDATA:0x3feb4cb52774 "winxp-ps">]>, #<Nokogiri::XML::Element:0x3feb4cb5aadc name="IMAGE_ID" children=[#<Nokogiri::XML::CDATA:0x3feb4cb51e64 "9">]>, #<Nokogiri::XML::Element:0x3feb4cb51c70 name="READONLY" children=[#<Nokogiri::XML::CDATA:0x3feb4cb51428 "NO">]>, #<Nokogiri::XML::Element:0x3feb4cb50fc8 name="SAVE" children=[#<Nokogiri::XML::CDATA:0x3feb4cb50b7c "NO">]>, #<Nokogiri::XML::Element:0x3feb4cb507d0 name="SOURCE" children=[#<Nokogiri::XML::CDATA:0x3feb4cb4f4e8 "/var/lib/one/images/dd6937d2a4e4cb6af57cf94b45534d0b">]>, #<Nokogiri::XML::Element:0x3feb4cb4ee94 name="TARGET" children=[#<Nokogiri::XML::CDATA:0x3feb4cb4d6d4 "hda">]>, #<Nokogiri::XML::Element:0x3feb4cb585ac name="TYPE" children=[#<Nokogiri::XML::CDATA:0x3feb4cb4c20c "DISK">]>]>>
> D, [2012-11-02T11:29:05.315484 #4285] DEBUG -- : Storage Backend ID: 9
> D, [2012-11-02T11:29:05.321083 #4285] DEBUG -- : current Image state is: USED
> D, [2012-11-02T11:29:05.327508 #4285] DEBUG -- : current VM state is: RUNNING
> D, [2012-11-02T11:29:05.328112 #4285] DEBUG -- : Disk type DISK
> D, [2012-11-02T11:29:05.329032 #4285] DEBUG -- : #<OpenNebula::XMLElement:0x7fd69959e3a0 @xml=#<Nokogiri::XML::Element:0x3feb4cacf4f0 name="DISK" children=[#<Nokogiri::XML::Element:0x3feb4caccfd4 name="BUS" children=[#<Nokogiri::XML::CDATA:0x3feb4cacca84 "ide">]>, #<Nokogiri::XML::Element:0x3feb4cacc64c name="CLONE" children=[#<Nokogiri::XML::CDATA:0x3feb4cacb4f4 "YES">]>, #<Nokogiri::XML::Element:0x3feb4caceeec name="DISK_ID" children=[#<Nokogiri::XML::CDATA:0x3feb4caca658 "0">]>, #<Nokogiri::XML::Element:0x3feb4cac9f14 name="DRIVER" children=[#<Nokogiri::XML::CDATA:0x3feb4cac9974 "qcow2">]>, #<Nokogiri::XML::Element:0x3feb4cac91f4 name="IMAGE" children=[#<Nokogiri::XML::CDATA:0x3feb4cac86c8 "winxp-ps">]>, #<Nokogiri::XML::Element:0x3feb4cace9ec name="IMAGE_ID" children=[#<Nokogiri::XML::CDATA:0x3feb4cac769c "9">]>, #<Nokogiri::XML::Element:0x3feb4cac714c name="READONLY" children=[#<Nokogiri::XML::CDATA:0x3feb4cac64a4 "NO">]>, #<Nokogiri::XML::Element:0x3feb4cac5d74 name="SAVE" children=[#<Nokogiri::XML::CDATA:0x3feb4cac50a4 "NO">]>, #<Nokogiri::XML::Element:0x3feb4cac4d0c name="SOURCE" children=[#<Nokogiri::XML::CDATA:0x3feb4cac2cb4 "/var/lib/one/images/dd6937d2a4e4cb6af57cf94b45534d0b">]>, #<Nokogiri::XML::Element:0x3feb4cac29d0 name="TARGET" children=[#<Nokogiri::XML::CDATA:0x3feb4cac2430 "hda">]>, #<Nokogiri::XML::Element:0x3feb4cace208 name="TYPE" children=[#<Nokogiri::XML::CDATA:0x3feb4cac1c9c "DISK">]>]>>
> D, [2012-11-02T11:29:05.329204 #4285] DEBUG -- : Storage Backend ID: 9
> D, [2012-11-02T11:29:05.376690 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.384211 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.384825 #4285] DEBUG -- : Disk type DISK
> D, [2012-11-02T11:29:05.385565 #4285] DEBUG -- : #<OpenNebula::XMLElement:0x7fd699905610 @xml=#<Nokogiri::XML::Element:0x3feb4cc82c98 name="DISK" children=[#<Nokogiri::XML::Element:0x3feb4cc7e0bc name="BUS" children=[#<Nokogiri::XML::CDATA:0x3feb4cc7d824 "IDE">]>, #<Nokogiri::XML::Element:0x3feb4cc7d2d4 name="CLONE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc7cfdc "YES">]>, #<Nokogiri::XML::Element:0x3feb4cc82608 name="DISK_ID" children=[#<Nokogiri::XML::CDATA:0x3feb4cc7b8a8 "0">]>, #<Nokogiri::XML::Element:0x3feb4cc7b740 name="IMAGE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc7acf0 "winxp-ps">]>, #<Nokogiri::XML::Element:0x3feb4cc822c0 name="IMAGE_ID" children=[#<Nokogiri::XML::CDATA:0x3feb4cc7a91c "9">]>, #<Nokogiri::XML::Element:0x3feb4cc7a78c name="READONLY" children=[#<Nokogiri::XML::CDATA:0x3feb4cc79aa8 "NO">]>, #<Nokogiri::XML::Element:0x3feb4cc797b0 name="SAVE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc794cc "NO">]>, #<Nokogiri::XML::Element:0x3feb4cc79300 name="SOURCE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc78edc "/var/lib/one/images/dd6937d2a4e4cb6af57cf94b45534d0b">]>, #<Nokogiri::XML::Element:0x3feb4cc78b6c name="TARGET" children=[#<Nokogiri::XML::CDATA:0x3feb4cc78838 "hda">]>, #<Nokogiri::XML::Element:0x3feb4cc81654 name="TYPE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc78400 "DISK">]>]>>
> D, [2012-11-02T11:29:05.385742 #4285] DEBUG -- : Storage Backend ID: 9
> D, [2012-11-02T11:29:05.387631 #4285] DEBUG -- : Network Backend ID: 2
> D, [2012-11-02T11:29:05.393839 #4285] DEBUG -- : Category with id http://schemas.ogf.org/occi/infrastructure#ipnetwork not found
> D, [2012-11-02T11:29:05.402160 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.408220 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.414238 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.460279 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.531644 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.538760 #4285] DEBUG -- : current VM state is: RUNNING
> D, [2012-11-02T11:29:05.539330 #4285] DEBUG -- : Disk type DISK
> D, [2012-11-02T11:29:05.540142 #4285] DEBUG -- : #<OpenNebula::XMLElement:0x7fd69984a5b8 @xml=#<Nokogiri::XML::Element:0x3feb4cc25944 name="DISK" children=[#<Nokogiri::XML::Element:0x3feb4cc22b90 name="BUS" children=[#<Nokogiri::XML::CDATA:0x3feb4cc223e8 "ide">]>, #<Nokogiri::XML::Element:0x3feb4cc20e6c name="CLONE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc2064c "YES">]>, #<Nokogiri::XML::Element:0x3feb4cc24eb8 name="DISK_ID" children=[#<Nokogiri::XML::CDATA:0x3feb4cc1f2d8 "0">]>, #<Nokogiri::XML::Element:0x3feb4cc1ed10 name="DRIVER" children=[#<Nokogiri::XML::CDATA:0x3feb4cc1e194 "qcow2">]>, #<Nokogiri::XML::Element:0x3feb4cc1da3c name="IMAGE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc1aea4 "winxp-ps">]>, #<Nokogiri::XML::Element:0x3feb4cc24bd4 name="IMAGE_ID" children=[#<Nokogiri::XML::CDATA:0x3feb4cc1a8dc "9">]>, #<Nokogiri::XML::Element:0x3feb4cc1a738 name="READONLY" children=[#<Nokogiri::XML::CDATA:0x3feb4cc1a47c "NO">]>, #<Nokogiri::XML::Element:0x3feb4cc1a260 name="SAVE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc19c98 "NO">]>, #<Nokogiri::XML::Element:0x3feb4cc19824 name="SOURCE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc18e10 "/var/lib/one/images/dd6937d2a4e4cb6af57cf94b45534d0b">]>, #<Nokogiri::XML::Element:0x3feb4cc18bb8 name="TARGET" children=[#<Nokogiri::XML::CDATA:0x3feb4cc1853c "hda">]>, #<Nokogiri::XML::Element:0x3feb4cc24238 name="TYPE" children=[#<Nokogiri::XML::CDATA:0x3feb4cc17ee8 "DISK">]>]>>
> D, [2012-11-02T11:29:05.540308 #4285] DEBUG -- : Storage Backend ID: 9
> D, [2012-11-02T11:29:05.547852 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.553932 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.560244 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.606644 #4285] DEBUG -- : current VM state is: LCM_INIT
> D, [2012-11-02T11:29:05.613863 #4285] DEBUG -- : Category with id http://schemas.ogf.org/occi/infrastructure#ipnetwork not found
> D, [2012-11-02T11:29:05.621515 #4285] DEBUG -- : current Image state is: READY
> D, [2012-11-02T11:29:05.626233 #4285] DEBUG -- : current Image state is: READY
> D, [2012-11-02T11:29:05.631080 #4285] DEBUG -- : current Image state is: USED
> D, [2012-11-02T11:29:05.635541 #4285] DEBUG -- : current Image state is: ERROR
> D, [2012-11-02T11:29:05.635899 #4285] DEBUG -- : ### Finished response initialization starting with processing the request ...
> D, [2012-11-02T11:29:05.636068 #4285] DEBUG -- : ### POST request processing ...
> D, [2012-11-02T11:29:05.636235 #4285] DEBUG -- : ### Rendering response ###
> D, [2012-11-02T11:29:05.636362 #4285] DEBUG -- : ### Collection :
>  {}
>  
> _______________________________________________
> Ecosystem mailing list
> Ecosystem at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/ecosystem-opennebula.org/attachments/20121109/42c4117f/attachment-0002.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4964 bytes
Desc: not available
URL: <http://lists.opennebula.org/pipermail/ecosystem-opennebula.org/attachments/20121109/42c4117f/attachment-0002.bin>


More information about the Ecosystem mailing list