[one-ecosystem] OCCI Server 0.5 doesn't return VNC info

Feldhaus, Florian florian.feldhaus at gwdg.de
Wed Mar 14 05:05:22 PDT 2012


Have a look at etc/occi-server.conf and uncomment the lines
#VNC_PROXY_BASE_PORT=0
#NOVNC_PATH=public/novnc

We commented them out by default as VNC was leading to problems for some users. As soon as the problems are solved, we enable it again by default.

Cheers,
Florian

-------------------------------------------------------------------------------
GWDG - Gesellschaft für wissenschaftliche
Datenverarbeitung mbH Göttingen
Am Fassberg 11, 37077 Göttingen

Fon: 0551 39-20364
Fax: 0551 201-2150
E-Mail: florian.feldhaus at gwdg.de
WWW: www.gwdg.de
-----------------------------------------------------------------------------------
Geschäftsführer: Prof. Dr. Ramin Yahyapour
Aufsichtsratsvorsitzender: Prof. Dr. Christian Griesinger
Sitz der Gesellschaft: Göttingen
Registergericht: Göttingen
Handelsregister-Nr. B 598
-----------------------------------------------------------------------------------

Am 14.03.2012 um 12:02 schrieb <samon at ucnet.uoc.gr>
:

> Hi!
>  
> Recently we upgrade OpenNebula from 3.0 to 3.2 and OCCI Server from 0.4 to 0.5.
>  
> When I use curl to retrieve the attributes for a VM, through an OCCI server response,
> I notice that the attributes “opennebula.vm.vnc” and “opennebula.vm.web_vnc “ don’t appear.
> In those attributes I can find the port in order to connect to VM
>  
> Using sunstone I can see port number and all other information in GRAPHICS section of VM Template
>  
> What can I do?
>  
> thanks a lot!
> John
>  
> Here is the response of OCCI Server 0.5 for a specific VM
>  
> < HTTP/1.1 200 OK
> < Content-Type: text/plain
> < Connection: keep-alive
> < Status: 200
> < X-Powered-By: Phusion Passenger (mod_rails/mod_rack) 3.0.11
> < X-Frame-Options: sameorigin
> < X-XSS-Protection: 1; mode=block
> < Content-Length: 1620
> < Server: Ruby OCCI Framework/0.4 OCCI/1.1
> < Accept: application/occi+json,application/json,text/plain,text/occi,text/uri-list
> <
> Category: virtualmachine; scheme="http://schemas.opennebula.org/occi/infrastructure#"; class="mixin";title="OpenNebula Virtual Machine Mixin";attributes="opennebula.vm.vnc_url opennebula.vm.boot opennebula.vm.cpu_reservation";
> Category: compute; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind";
> Link: </compute/74c6b3d9-af53-5026-a77a-79d672d08a39?action=suspend>;rel="http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
> Link: </compute/74c6b3d9-af53-5026-a77a-79d672d08a39?action=stop>;rel="http://schemas.ogf.org/occi/infrastructure/compute/action#stop"
> Link: </compute/74c6b3d9-af53-5026-a77a-79d672d08a39?action=restart>;rel="http://schemas.ogf.org/occi/infrastructure/compute/action#restart"
> Link: </storage/711c94e7-6608-50f8-ae9b-19375b12caf4>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/3fe5d3dd-b2c5-552a-9cf7-07613134d2b7";category="http://schemas.ogf.org/occi/infrastructure#storagelink";;occi.core.source="/compute/185e673b-0f64-5fcc-b9d9-4716d6f339e1";occi.core.target="/storage/711c94e7-6608-50f8-ae9b-19375b12caf4";occi.storagelink.state="inactive";occi.core.id="3fe5d3dd-b2c5-552a-9cf7-07613134d2b7";
> X-OCCI-Attribute: occi.compute.cores=4
> X-OCCI-Attribute: occi.core.summary=""
> X-OCCI-Attribute: occi.core.title="CS-150 Programming_1"
> X-OCCI-Attribute: opennebula.vm.boot=""
> X-OCCI-Attribute: occi.core.id="74c6b3d9-af53-5026-a77a-79d672d08a39"
> X-OCCI-Attribute: opennebula.vm.cpu_reservation=0.05
> X-OCCI-Attribute: occi.compute.memory=1000
> X-OCCI-Attribute: occi.compute.state="active"
> X-OCCI-Attribute: occi.compute.architecture="x86"
> * Connection #0 to host vdi.datacenter.uoc.gr left intact
> * Closing connection #0
>  
>  
> and here, the response of OCCI Server 0.4 for a specific VM
>  
> [Category: compute; scheme="http://schemas.ogf.org/occi/infrastructure#"; class="kind";,
> Category: virtualmachine; scheme="http://schemas.opennebula.org/occi/infrastructure#"; class="mixin";title="OpenNebula Virtual Machine Mixin";attributes="opennebula.vm.vnc_url opennebula.vm.boot opennebula.vm.vcpu";,
> Category: vnc; scheme="http://schemas.opennebula.org/occi/infrastructure#"; class="mixin";title="OpenNebula VNC Mixin";attributes="opennebula.vm.web_vnc opennebula.vm.vnc";,
> X-OCCI-Attribute: occi.compute.cores=0.01,
> X-OCCI-Attribute: occi.core.summary=,
> X-OCCI-Attribute: occi.core.title=myvm,
> X-OCCI-Attribute: opennebula.vm.web_vnc=http://vdi.datacenter.uoc.gr:6837/vnc_auto.html?host=vdi.datacenter.uoc.gr&port=6837,
> X-OCCI-Attribute: opennebula.vm.boot=,
> X-OCCI-Attribute: occi.core.id=7a1c184b-cbdd-508f-96f6-d8bac1d12e61,
> X-OCCI-Attribute: occi.compute.memory=1000,
> X-OCCI-Attribute: opennebula.vm.vnc=cb1-6:6837,
> X-OCCI-Attribute: occi.compute.state=active,
> X-OCCI-Attribute: opennebula.vm.vcpu=2,
> X-OCCI-Attribute: occi.compute.architecture=x86,
> Link: </storage/f6f65c51-9ff4-50bf-bf59-3da0ac8139c7>;rel="http://schemas.ogf.org/occi/infrastructure#storage";self="/storagelink/d715edbf-a028-5b8e-84c0-96219826458a";category="http://schemas.ogf.org/occi/infrastructure#storagelink";;occi.core.source="/compute/f629c426-97d4-51ee-99a1-5824b39ca88d";occi.core.target="/storage/f6f65c51-9ff4-50bf-bf59-3da0ac8139c7";occi.storagelink.state="inactive";occi.core.id="d715edbf-a028-5b8e-84c0-96219826458a";,
> Link: </network/30a3429d-1f99-546d-8dca-3b2e56f2e8b6>;rel="http://schemas.ogf.org/occi/infrastructure#network";self="/networkinterface/5f3c5570-dae9-550b-b148-4e83a27a06c4";category="http://schemas.ogf.org/occi/infrastructure#networkinterface";;occi.networkinterface.state="inactive";occi.core.source="/compute/508d66a9-4072-57fd-a42f-056cf96f77d8";occi.core.target="/network/30a3429d-1f99-546d-8dca-3b2e56f2e8b6";occi.core.id="5f3c5570-dae9-550b-b148-4e83a27a06c4";]
> Content-Type<-->text/plain
> Connection<-->keep-alive
> Status<-->200
> X-Powered-By<-->Phusion Passenger (mod_rails/mod_rack) 3.0.11
> X-Frame-Options<-->sameorigin
> Link<--></compute/5502fdfe-b712-5386-92c9-529218000d5c?action=suspend>;rel="http://schemas.ogf.org/occi/infrastructure/compute/action#suspend"
> X-XSS-Protection<-->1; mode=block
> Content-Length<-->1966
> Server<-->Ruby OCCI Framework/0.4 OCCI/1.1
> Accept<-->application/json,text/plain,text/occi
> _______________________________________________
> Ecosystem mailing list
> Ecosystem at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/ecosystem-opennebula.org

-------------- 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/20120314/03042baa/attachment-0002.bin>


More information about the Ecosystem mailing list