[one-users] upgrade to 4.4, system datastore problem

Kenneth kenneth at apolloglobal.net
Tue Dec 31 00:23:29 PST 2013


 

Hi, 

I was able to upgrade to 4.4. Right now I have only a single
host running. CEPH datastore for images. I can't instantiate any of my
previous images. Right now the only way to instantiate images is via a
new upload or through market place. I think the problem is the system
datastore. Previously, I am using the ceph-fuse as the shared system
datastore. 

I can't start sunstone server when I use the ceph-fuse. Can
somebody explain how I can have a shared system datastore and possibly a
way to use ceph for it? I don't want to use NFS. 

Thanks.


---

Thanks,
Kenneth
Apollo Global Corp.

On 12/27/2013 10:17 PM,
Daniel Molina wrote: 

> 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
[8] 
> 
> On 27 December 2013 15:06, Kenneth <kenneth at apolloglobal.net>
wrote:
> 
>> From here:
http://opennebula.org/documentation:rel4.4:upgrade [6] 
>> 
>> then from
here: http://opennebula.org/documentation:rel4.4:ignc [7] 
>> 
>> 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/
[1]",
>>>>>> :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
[2]",
>>>>>> :tmpdir=>"/var/tmp",
>>>>>> :vnc_proxy_key=>nil,
>>>>>>
:host=>"0.0.0.0",
>>>>>>
:marketplace_url=>"http://marketplace.c12g.com/appliance [3]",
>>>>>>
: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 [4]
>>>>>

>>>>> -- 
>>>>> 
>>>>> -- Daniel Molina
>>>>> Project Engineer
>>>>>
OpenNebula - Flexible Enterprise Cloud Made Simple
>>>>>
www.OpenNebula.org [5] | dmolina at opennebula.org | @OpenNebula
>>> 
>>>
-- 
>>> 
>>> -- Daniel Molina
>>> Project Engineer
>>> OpenNebula -
Flexible Enterprise Cloud Made Simple
>>> www.OpenNebula.org [5] |
dmolina at opennebula.org | @OpenNebula
> 
> -- 
> 
> -- Daniel Molina
>
Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
>
www.OpenNebula.org [5] | dmolina at opennebula.org | @OpenNebula



Links:
------
[1] http://localhost:2474/
[2]
http://localhost:2633/RPC2
[3] http://marketplace.c12g.com/appliance
[4]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[5]
http://www.OpenNebula.org
[6]
http://opennebula.org/documentation:rel4.4:upgrade
[7]
http://opennebula.org/documentation:rel4.4:ignc
[8]
https://github.com/OpenNebula/one/blob/release-4.4/src/sunstone/etc/sunstone-views.yaml
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131231/4ef237c3/attachment-0002.htm>


More information about the Users mailing list