[one-users] Cannot access Sunstone after upload image 500Gb

Mohammad Fazli Ahmat Jalaluddin fazli.jalaluddin at gmail.com
Sun Sep 8 22:42:03 PDT 2013


It seems that when I upload a new image, or cloning that involves heavy
disk activity (I/O) which causing the lag and lock-ups.
I googled and found out that Ubuntu default I/O scheduling is using CFQ.

May I know how OpenNebula admin manage the resources?
I mean do admin let the user create the image and uploads it using Sunstone?

If so, does other user encounter any lags if other user uploads a big
image?

How is it actually, the real case scenario for cloud service provider to
provide an efficient service?

I really appreciate for any suggestions

Thank you


On Thu, Sep 5, 2013 at 4:34 PM, Mohammad Fazli Ahmat Jalaluddin <
fazli.jalaluddin at gmail.com> wrote:

> Yes, I still experiencing the issue.
> I really think that the problem is my network since I am using NFS for the
> data transfer.
>
> If I deploy a Persistent image, the deployment time would be fast.
> Most of my image is using persistent and it has no problem at all
>
> If I deploy a non-persistant image, the deployment time would be slow.
> This holds true as non-persistent image would be copy to hypervisor and
> this is my problem.
> For a non-persistent image of 8Gb, it would take about 1/2 hour to deploy
> (from prolog to running)
> While deploying, the sunstone server seems slow other people who want to
> login also takes much longer time
>
>
> On Mon, Sep 2, 2013 at 9:46 PM, Daniel Molina <dmolina at opennebula.org>wrote:
>
>> Hi,
>>
>>
>> On 15 August 2013 06:25, Mohammad Fazli Ahmat Jalaluddin <
>> fazli.jalaluddin at gmail.com> wrote:
>>
>>> Hi,
>>>
>>> Sorry for late reply since it is holiday season in my country.
>>>
>>> I think the issue maybe due to NFS configuration (using NFSv3) and also
>>> some other minor things such as upgrading ruby version and so on.
>>>
>>> I happened to see you post this suggested solutions while you were
>>> helping another user:
>>>
>>> This error appears when the browser cannot contact the sunstone-server
>>> or the request takes more than expected and the timeout is reached. To
>>> improve the response time:
>>>     * [sunstone-oned] Is the connection between sunstone-server and
>>> oned fast?
>>>     * [sunstone] Check if the nokogiri gem is installed in the physical
>>> machine where sunstone-server is running, if it's not installed rexml
>>> will be used by default (a bit slower)
>>>     * [sunstone] Using ruby 1.9 instead of 1.8
>>>     * [sunstone] By default sunstone-server runs using the thin server,
>>> in a production environment it's recommended to use passenger +
>>> apache/nginx instead. [1]
>>>     * [oned] Use mysql instead of sqlite as oned backend. [2]
>>>
>>>
>>> Currently my deployment is installed with nokogiri gem, using mysql as
>>> backend, using ruby 1.8, and running on thin server.
>>>
>>> I will try your suggested solution.
>>>
>>> Also, how to know is the connection between sunstone-server and oned
>>> fast? Since in my deployment, both reside in the same server.
>>>
>>
>> If both services are in the same machine, it should be fast. Are you
>> still experiencing this issue?
>>
>> Cheers
>>
>>
>>> Thank you.
>>>
>>> Regards
>>>
>>>
>>> On Mon, Aug 5, 2013 at 2:36 PM, Daniel Molina <dmolina at opennebula.org>wrote:
>>>
>>>> Hi,
>>>>
>>>>
>>>> On 1 August 2013 02:11, Mohammad Fazli Ahmat Jalaluddin <
>>>> fazli.jalaluddin at gmail.com> wrote:
>>>>
>>>>> Hi,
>>>>>
>>>>> Thanks for the reply.
>>>>>
>>>>> I have enough space on disk.
>>>>> It's just the server seems not responding when I upload any image
>>>>> files or deploy non-persistent image files.
>>>>>
>>>>> When I was using 3.8.3, the error comes something like this: "error:
>>>>> execution expired"
>>>>>
>>>>
>>>> Are you still experiencing this issue? If so, could you please open a
>>>> ticket in our dev page so we can take a look into it
>>>>
>>>> http://dev.opennebula.org/
>>>>
>>>> Cheers
>>>>
>>>>
>>>>>
>>>>> Thank you
>>>>>
>>>>> Regards,
>>>>> Fazli
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Mon, Jul 29, 2013 at 5:46 PM, Daniel Molina <dmolina at opennebula.org
>>>>> > wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>>
>>>>>> On 29 July 2013 08:17, Mohammad Fazli Ahmat Jalaluddin <
>>>>>> fazli.mmu at gmail.com> wrote:
>>>>>>
>>>>>>> Hello all,
>>>>>>>
>>>>>>> I'm using OpenNebula 4.0.1, and  I configured the filesystem using
>>>>>>> NFS.
>>>>>>>
>>>>>>> After I try to upload a 500Gb image file, after some time, several
>>>>>>> error message comes out and after that, the browser logs out
>>>>>>> and when I'm want to login back, I got this error message
>>>>>>>
>>>>>>> "No answer from server. Is it running?"
>>>>>>>
>>>>>>> Is it natural?
>>>>>>>
>>>>>>> The problem is actually, when a user want to access their VM via
>>>>>>> sunstone, they cannot access if other user try to upload a huge size of
>>>>>>> image.
>>>>>>> So, somehow it defeats the purpose of having Cloud.
>>>>>>>
>>>>>>> Is there any method to overcome this problem?
>>>>>>>
>>>>>>
>>>>>> Do you have enough space in your disk? When uploading images through
>>>>>> Sunstone temp files will be stored in /var/tmp and then moved to the given
>>>>>> datastore.
>>>>>>
>>>>>> You can change this directory in the sunstone-server.conf:
>>>>>> # Directory to store temp files when uploading images
>>>>>> #
>>>>>> :tmpdir: /var/tmp
>>>>>>
>>>>>> Hope this helps
>>>>>>
>>>>>>
>>>>>>>
>>>>>>> Thank you very much for helping me.
>>>>>>>
>>>>>>> Regards,
>>>>>>> Fazli
>>>>>>> _______________________________________________
>>>>>>> Users mailing list
>>>>>>> Users at lists.opennebula.org
>>>>>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in
>>>>>> Berlin, 24-26 September, 2013
>>>>>> --
>>>>>> Daniel Molina
>>>>>> Project Engineer
>>>>>> OpenNebula - The Open Source Solution for Data Center Virtualization
>>>>>> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin,
>>>> 24-26 September, 2013
>>>>  --
>>>> Daniel Molina
>>>> Project Engineer
>>>> OpenNebula - The Open Source Solution for Data Center Virtualization
>>>> www.OpenNebula.org | dmolina at opennebula.org | @OpenNebula
>>>>
>>>
>>>
>>
>>
>> --
>> Join us at OpenNebulaConf2013 <http://opennebulaconf.com/> in Berlin,
>> 24-26 September, 2013
>>  --
>> Daniel Molina
>> Project Engineer
>> OpenNebula - The Open Source Solution for Data Center Virtualization
>> 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/20130909/b6407ef1/attachment-0002.htm>


More information about the Users mailing list