[one-users] upgrade to 4.4, sunstone not running

Daniel Molina dmolina at opennebula.org
Fri Dec 27 06:17:26 PST 2013


Try reinstalling the opennebula-sunstone package, or just copy the file
from:
https://github.com/OpenNebula/one/blob/release-4.4/src/sunstone/etc/sunstone-views.yaml



On 27 December 2013 15:06, Kenneth <kenneth at apolloglobal.net> wrote:

>  From here: http://opennebula.org/documentation:rel4.4:upgrade
>
> then from here: http://opennebula.org/documentation:rel4.4:ignc
>
> Using apt-get. Is there a way for me to somehow "reinstall" it? I think
> apt made some errors on installation since it asked to do dpkg --configure
> -a after i installed opennebula-sunstone.
> ---
>
> Thanks,
> Kenneth
> Apollo Global Corp.
>
>  On 12/27/2013 10:01 PM, Daniel Molina wrote:
>
> The /etc/one/sunstone-views.yaml file is missing, how did you install
> one-4.4?
>
>
> On 27 December 2013 14:57, Kenneth <kenneth at apolloglobal.net> wrote:
>
>>  Hi Daniel,
>>
>> Thanks for the reply.
>>
>> oneadmin at cloud-node1:/etc/one$ ls -lh
>> total 92K
>> drwxr-xr-x 3 root root 4.0K Dec 27 19:42 auth
>> drwxr-xr-x 2 root root 4.0K Dec 27 19:19 cli
>> -rw-r--r-- 1 root root 2.6K Nov 28 06:24 ec2_driver.conf
>> -rw-r--r-- 1 root root 1.8K Nov 28 06:24 ec2_driver.default
>> drwxr-xr-x 2 root root 4.0K Dec 27 19:55 ec2query_templates
>> -rw-r--r-- 1 root root 4.1K Nov 28 06:24 econe.conf
>> drwxr-xr-x 2 root root 4.0K Dec 27 19:42 hm
>> drwxr-xr-x 2 root root 4.0K Dec 27 19:55 occi_templates
>> -rw-r--r-- 1 root root 30K Nov 28 06:24 oned.conf
>> -rw-r--r-- 1 root root 2.7K Nov 28 06:24 oneflow-server.conf
>> -rw-r--r-- 1 root root 3.1K Nov 28 06:24 sched.conf
>> -rw-r--r-- 1 root root 5.1K Dec 27 20:15 sunstone-server.conf
>> drwxr-xr-x 2 root root 4.0K Dec 27 19:55 sunstone-views
>> drwxr-xr-x 2 root root 4.0K Dec 27 19:42 vmm_exec
>>
>>
>> ---
>>
>> Thanks,
>> Kenneth
>> Apollo Global Corp.
>>
>>   On 12/27/2013 09:20 PM, Daniel Molina wrote:
>>
>> Hi Kenneth,
>>
>> It looks like there is a problem with the following file
>> '' /etc/one/sunstone-views.yaml '', could you check if this file is presetn
>> in /etc/one and its permissions.
>>
>> Cheers
>>
>>
>> On 27 December 2013 13:38, Kenneth <kenneth at apolloglobal.net> wrote:
>>
>>>  Hi all,
>>>
>>> I just update from opennebula 4.2 to 4.2.
>>>
>>> I got as far as running one service and I was able to instantiate a VM,
>>> but I can't make sunstone server start. Any help is much appreciated.
>>>
>>> oneadmin at cloud-node1:~$ sunstone-server start
>>> Stale .lock detected. Erasing it.
>>> VNC proxy started
>>> Error executing sunstone-server.
>>> Check /var/log/one/sunstone.error and /var/log/one/sunstone.log for more
>>> information
>>>
>>> oneadmin at cloud-node1:~$ cat /var/log/one/sunstone.error
>>> /usr/lib/ruby/1.8/yaml.rb:143:in `initialize': No such file or directory
>>> - /etc/one/sunstone-views.yaml (Errno::ENOENT)
>>>         from /usr/lib/ruby/1.8/yaml.rb:143:in `open'
>>>         from /usr/lib/ruby/1.8/yaml.rb:143:in `load_file'
>>>         from /usr/lib/one/sunstone/models/SunstoneViews.rb:27:in
>>> `initialize'
>>>         from /usr/lib/one/sunstone/sunstone-server.rb:122:in `new'
>>>         from /usr/lib/one/sunstone/sunstone-server.rb:122
>>>
>>> oneadmin at cloud-node1:~$ cat /var/log/one/sunstone.log
>>> --------------------------------------
>>>          Server configuration
>>> --------------------------------------
>>> {:routes=>["oneflow"],
>>>  :vnc_proxy_port=>29876,
>>>  :table_order=>"desc",
>>>  :memcache_namespace=>"opennebula.sunstone",
>>>  :sessions=>"memory",
>>>  :oneflow_server=>"http://localhost:2474/",
>>>  :core_auth=>"cipher",
>>>  :auth=>"sunstone",
>>>  :lang=>"en_US",
>>>  :vnc_proxy_cert=>nil,
>>>  :memcache_host=>"localhost",
>>>  :vnc_proxy_ipv6=>false,
>>>  :memcache_port=>11211,
>>>  :one_xmlrpc=>"http://localhost:2633/RPC2",
>>>  :tmpdir=>"/var/tmp",
>>>  :vnc_proxy_key=>nil,
>>>  :host=>"0.0.0.0",
>>>  :marketplace_url=>"http://marketplace.c12g.com/appliance",
>>>  :debug_level=>3,
>>>  :vnc_proxy_support_wss=>false,
>>>  :port=>9869}
>>> --------------------------------------
>>>
>>> --
>>>
>>> Thanks,
>>> Kenneth
>>> Apollo Global Corp.
>>>
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>>
>> --
>>  --
>> Daniel Molina
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>>
>>
>
>
> --
>  --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>
>


-- 
--
Daniel Molina
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131227/72e15b10/attachment-0002.htm>


More information about the Users mailing list