Could you send your datastore configuration? Briefly, you will need:

1.- a system datastore, If you are using Ceph it will hols basically
symbolic links to the ceph the RBD volumes. So if you do not need
live-migration.

2.- The system datastore can be shared through Ceph (fuse) maybe you can
export the system datastore from other volume/path so it does not interfere
with Sunstone.

3.- Please also note that the system datastore must be in the same cluster
as the host where the VM is going to be deployed.

Cheers

Ruben


On Tue, Dec 31, 2013 at 9:23 AM, Kenneth <[email protected]> wrote:

>  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
>
>
>
> On 27 December 2013 15:06, Kenneth <[email protected]> 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 <[email protected]> wrote:
>>
>>>  Hi Daniel,
>>>
>>> Thanks for the reply.
>>>
>>> oneadmin@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 <[email protected]> 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@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@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@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
>>>> [email protected]
>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>
>>>>
>>>
>>>
>>> --
>>>  --
>>> Daniel Molina
>>> Project Engineer
>>> OpenNebula - Flexible Enterprise Cloud Made Simple
>>> www.OpenNebula.org | [email protected] | @OpenNebula
>>>
>>>
>>
>>
>> --
>>  --
>> Daniel Molina
>> Project Engineer
>> OpenNebula - Flexible Enterprise Cloud Made Simple
>> www.OpenNebula.org | [email protected] | @OpenNebula
>>
>>
>
>
> --
>  --
> Daniel Molina
> Project Engineer
> OpenNebula - Flexible Enterprise Cloud Made Simple
> www.OpenNebula.org | [email protected] | @OpenNebula
>
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | [email protected] | @OpenNebula
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to