[one-users] OpenNebula + OCCI sever v0.4

salma rebai rebai.salma at gmail.com
Tue Dec 13 02:32:02 PST 2011


Hi all,
I want to install and configure the OCCI server with Opennebula . I
followed instructions in that wiki (
http://dev.opennebula.org/projects/ogf-occi/wiki/Occi_04?version=2)
I succeed to start the passenger server, but after errors appear and I can't
send Any request OCCI!
when I start Passenger I got these information :
---------
> /var/lib/gems/1.8/bin/passenger start
=============== Phusion Passenger Standalone web server started
===============
PID file: /home/ubuntu/tmp/pids/passenger.3000.pid
Log file: /home/ubuntu/log/passenger.3000.log
Environment: development
Accessible via: http://0.0.0.0:3000/

You can stop Phusion Passenger Standalone by pressing Ctrl-C.
===============================================================================
D, [2011-12-13T11:27:12.466240 #18098] DEBUG -- : Configuration file
contains the following parameters:
D, [2011-12-13T11:27:12.466688 #18098] DEBUG -- : {"BACKEND"=>"opennebula",
"ONE_PASSWORD"=>"oneadmin", "PORT"=>"3000",
"TEMPLATE_LOCATION"=>"etc/occi_one_templates/", "ONE_XMLRPC"=>"
http://localhost:2633/RPC2", "SERVER"=>"http://localhost/",
"ONE_USER"=>"oneadmin", "WEBINTERFACE"=>"enabled", "LOG_LEVEL"=>"debug",
"NOVNC_PATH"=>"public/novnc", "VNC_PROXY_BASE_PORT"=>"0",
"ONE_IMAGE_TMP_DIR"=>"/tmp"}
D, [2011-12-13T11:27:12.466849 #18098] DEBUG -- : Mandatory parameter
backend included in configuration file.
D, [2011-12-13T11:27:12.466963 #18098] DEBUG -- : Mandatory parameter
server included in configuration file.
D, [2011-12-13T11:27:12.467070 #18098] DEBUG -- : Mandatory parameter port
included in configuration file.
D, [2011-12-13T11:27:12.467177 #18098] DEBUG -- : All mandatory parameters
are provided in config file
D, [2011-12-13T11:27:12.558405 #18098] DEBUG -- : Initializing connection
with OpenNebula
D, [2011-12-13T11:27:12.587690 #18098] DEBUG -- : Get existing resources
from backend
D, [2011-12-13T11:27:12.643118 #18098] DEBUG -- : ONE compute object:
#<OpenNebula::VirtualMachine:0x7fe75bc974e0>
D, [2011-12-13T11:27:12.675585 #18098] DEBUG -- : Registering method
[start] of object [#<OCCI::Infrastructure::Compute:0x7fe75bbb85d8>] for
action [#<OCCI::Core::Action:0x7fe75d763300>] (at index: -1)...
D, [2011-12-13T11:27:12.675820 #18098] DEBUG -- : Registering method [stop]
of object [#<OCCI::Infrastructure::Compute:0x7fe75bbb85d8>] for action
[#<OCCI::Core::Action:0x7fe75d763030>] (at index: -1)...
D, [2011-12-13T11:27:12.675957 #18098] DEBUG -- : Registering method
[restart] of object [#<OCCI::Infrastructure::Compute:0x7fe75bbb85d8>] for
action [#<OCCI::Core::Action:0x7fe75d763738>] (at index: -1)...
D, [2011-12-13T11:27:12.676094 #18098] DEBUG -- : Registering method
[suspend] of object [#<OCCI::Infrastructure::Compute:0x7fe75bbb85d8>] for
action [#<OCCI::Core::Action:0x7fe75d762b30>] (at index: -1)...
D, [2011-12-13T11:27:12.676238 #18098] DEBUG -- : OCCI ID:
0ff1e264-520d-543a-87dd-181a491e667e
D, [2011-12-13T11:27:12.676420 #18098] DEBUG -- : Attributes definitions to
check against:
opennebula.vm.vnc_urlocci.compute.coresocci.core.titleocci.core.summaryopennebula.vm.bootocci.core.idocci.compute.memorylinksopennebula.vm.vcpuocci.compute.stateocci.compute.architectureocci.compute.hostnameocci.compute.speed
D, [2011-12-13T11:27:12.676740 #18098] DEBUG -- : Mixins in entity
#<OCCI::Core::Mixin:0x7fe75d7ccc10>
D, [2011-12-13T11:27:12.676907 #18098] DEBUG -- : Searching context: compute
D, [2011-12-13T11:27:12.687178 #18098] DEBUG -- : NOVNC path: public/novnc
D, [2011-12-13T11:27:12.689836 #18098] DEBUG -- : Graphics type: vnc
D, [2011-12-13T11:27:12.689961 #18098] DEBUG -- : VNC base port: 0
D, [2011-12-13T11:27:12.690166 #18098] DEBUG -- : VNC port: -1
D, [2011-12-13T11:27:12.690278 #18098] DEBUG -- : VNC host: node034
D, [2011-12-13T11:27:12.691345 #18098] DEBUG -- : VNC URL:
http://localhost:-1/vnc_auto.html?host=localhost&port=-1
D, [2011-12-13T11:27:12.697381 #18098] DEBUG -- : Image ID: 1
grep : option invalide -- '.'
Usage: grep [OPTION]... MOTIF [FICHIER]...
Pour en savoir davantage, faites: « grep --help ».
public/novnc/utils/launch.sh: ligne 95:
/home/ubuntu/public/novnc/utils/wsproxy.py: Permission non accordée
D, [2011-12-13T11:27:12.810690 #18098] DEBUG -- : Registering method
[online] of object [#<OCCI::Infrastructure::Storage:0x7fe75bcc9a58>] for
action [#<OCCI::Core::Action:0x7fe75d747330>] (at index: -1)...
D, [2011-12-13T11:27:12.810968 #18098] DEBUG -- : Registering method
[offline] of object [#<OCCI::Infrastructure::Storage:0x7fe75bcc9a58>] for
action [#<OCCI::Core::Action:0x7fe75d747588>] (at index: -1)...
D, [2011-12-13T11:27:12.811116 #18098] DEBUG -- : Registering method
[backup] of object [#<OCCI::Infrastructure::Storage:0x7fe75bcc9a58>] for
action [#<OCCI::Core::Action:0x7fe75d7478a8>] (at index: -1)...
D, [2011-12-13T11:27:12.811253 #18098] DEBUG -- : Registering method
[snapshot] of object [#<OCCI::Infrastructure::Storage:0x7fe75bcc9a58>] for
action [#<OCCI::Core::Action:0x7fe75d747150>] (at index: -1)...
D, [2011-12-13T11:27:12.811389 #18098] DEBUG -- : Registering method
[resize] of object [#<OCCI::Infrastructure::Storage:0x7fe75bcc9a58>] for
action [#<OCCI::Core::Action:0x7fe75d747218>] (at index: -1)...
D, [2011-12-13T11:27:12.811666 #18098] DEBUG -- : OCCI ID:
b04965e6-a9bb-591f-8f8a-1adcb2c8dc39
D, [2011-12-13T11:27:12.811836 #18098] DEBUG -- : Attributes definitions to
check against:
opennebula.image.fstypeopennebula.image.sourceopennebula.image.dev_prefixocci.core.titleocci.core.summaryopennebula.image.publicopennebula.image.busocci.storage.stateocci.core.idopennebula.image.pathopennebula.image.persistentlinksopennebula.image.typeocci.storage.size
D, [2011-12-13T11:27:12.812020 #18098] DEBUG -- : Mixins in entity
#<OCCI::Core::Mixin:0x7fe75d7f3158>
D, [2011-12-13T11:27:12.812170 #18098] DEBUG -- : Searching context: storage
D, [2011-12-13T11:27:12.812628 #18098] DEBUG -- : OCCI ID:
b04965e6-a9bb-591f-8f8a-1adcb2c8dc39
D, [2011-12-13T11:27:12.812785 #18098] DEBUG -- : Attributes definitions to
check against:
occi.core.titleocci.core.sourceocci.core.targetocci.core.idocci.storagelink.stateocci.storagelink.mountpointocci.storagelink.deviceid
D, [2011-12-13T11:27:12.812938 #18098] DEBUG -- : Mixins in entity
[ pid=18055 thr=70315865874860 file=utils.rb:176 time=2011-12-13
11:27:12.813 ]: *** Exception PhusionPassenger::UnknownError in
PhusionPassenger::Rack::ApplicationSpawner (Location
[/storage/b04965e6-a9bb-591f-8f8a-1adcb2c8dc39] already registered for
object [#<OCCI::Infrastructure::StorageLink:0x7fe75bcc4f08>]
(OCCI::LocationAlreadyRegisteredException)) (process 18055, thread
#<Thread:0x7fe7606a4358>):
        from ./lib/occi/rendering/http/LocationRegistry.rb:89:in `register'
        from ./lib/occi/backend/OpenNebula.rb:314:in `parse_links'
        from ./lib/occi/backend/OpenNebula.rb:290:in `each'
        from ./lib/occi/backend/OpenNebula.rb:290:in `parse_links'
        from ./lib/occi/backend/OpenNebula.rb:282:in `parse_backend_object'
        from ./lib/occi/backend/OpenNebula.rb:189:in `register_all_objects'
        from ./lib/opennebula/XMLUtils.rb:322:in `call'
        from ./lib/opennebula/XMLUtils.rb:322:in `each_element'
        from /usr/lib/ruby/1.8/rexml/element.rb:892:in `each'
        from /usr/lib/ruby/1.8/rexml/xpath.rb:53:in `each'
        from /usr/lib/ruby/1.8/rexml/element.rb:892:in `each'
        from ./lib/opennebula/XMLUtils.rb:320:in `each_element'
        from ./lib/opennebula/Pool.rb:100:in `each'
        from ./lib/occi/backend/OpenNebula.rb:187:in `register_all_objects'
        from ./lib/occi/backend/OpenNebula.rb:174:in
`register_all_instances'
        from ./lib/occi/backend/OpenNebula.rb:57:in
`register_existing_resources'
        from ./lib/occi/occi-server.rb:130
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'
        from /usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in `require'
        from config.ru:4
        from /var/lib/gems/1.8/gems/rack-1.3.5/lib/rack/builder.rb:51:in
`instance_eval'
        from /var/lib/gems/1.8/gems/rack-1.3.5/lib/rack/builder.rb:51:in
`initialize'
        from config.ru:1:in `new'
        from config.ru:1
[ pid=18053 thr=140505720248064 file=ext/nginx/HelperAgent.cpp:933
time=2011-12-13 11:27:12.923 ]: Uncaught exception in PassengerServer
client thread:
   exception: write() failed: Broken pipe (32)
   backtrace:
     in 'void Client::handleRequest(Passenger::FileDescriptor&)'
(HelperAgent.cpp:828)
     in 'void Client::threadMain()' (HelperAgent.cpp:952)

public/novnc/utils/launch.sh: ligne 37 : echo: erreur d'écriture : Relais
brisé (pipe)


Any suggestions!!
can you help Me!

Best Regards.

-- 
Salma REBAI
Ingénieur Informatique
Mastère Réseaux et Systèmes Multimédia
Ecole Nationale des Sciences Informatiques Univ. Manouba, Tunisie
Institut Télécom SudParis
rebai.salma at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20111213/52ab78c2/attachment-0001.htm>


More information about the Users mailing list