Re: KVM disk cache option has no effect

2016-05-14 Thread Andrei Mikhailovsky
Not as far as I know (. The ticket status is closed

Andrei

- Original Message -
> From: "Simon Weller" 
> To: "users" 
> Sent: Thursday, 12 May, 2016 14:38:35
> Subject: Re: KVM disk cache option has no effect

> All,
> 
> Is there a current issue in Jira on this?
> 
> - Si
> 
> 
> 
> 
> 
> 
> From: Yuriy Karpel 
> Sent: Thursday, May 12, 2016 7:07 AM
> To: users@cloudstack.apache.org
> Subject: Re: KVM disk cache option has no effect
> 
> The same function does not work on centos + ceph. CloudStack 4.7.1
> 
> 2016-05-12 14:29 GMT+03:00 Andrei Mikhailovsky :
> 
>> Hi Shweta,
>>
>> thanks for your findings. I am very much surprised to see this was not
>> discovered earlier, especially since this feature has been implemented many
>> versions back (back in version 4.4 or 4.5 i think). I was under the
>> impression that people are testing and reporting on the new features before
>> they hit the release, which apparently is not the case, at least for some
>> new features. From what I can see this feature was completed about a year
>> ago.
>>
>> I've tried to reopen this issue, but i don't have the rights due to the
>> Jira being in a temporary Lockdown mode.
>>
>> Could someone with the right access reopen this issue on the grounds that
>> it was reported (by at least two individuals) that this feature is not
>> working.
>>
>> Many thanks
>>
>> Andrei
>>
>> - Original Message -
>> > From: "Shweta Agarwal" 
>> > To: "users" 
>> > Sent: Thursday, 12 May, 2016 12:02:59
>> > Subject: RE: KVM disk cache option has no effect
>>
>> > Hi Andrei,
>> >
>> > Few days back I was also doing some testing in this area and then we
>> found out
>> > that cache field in disk offering is just a UI or API parameter. But in
>> actual
>> > implementation of the API we are just neglecting this parameter . So
>> > effectively these parameters in disk offering does nothing  .
>> >
>> > Thanks
>> > Shweta
>> >
>> > -Original Message-
>> > From: Andrei Mikhailovsky [mailto:and...@arhont.com]
>> > Sent: Thursday, May 12, 2016 4:07 PM
>> > To: users
>> > Subject: KVM disk cache option has no effect
>> >
>> > Hello
>> >
>> > I've been trying to use cache = writeback option for my KVM hypervisor
>> with ceph
>> > backend storage. However, when I am launching a vm that uses the disk
>> offering
>> > with cache=writeback, the cache setting is still set to =none according
>> to the
>> > ps aux command.The same applies to the root as well as additional data
>> volumes.
>> >
>> > I am using ACS 4.7.1, both management and hypervisor servers are Ubuntu
>> 14.04.
>> >
>> >
>> > Could someone please advise on how enable writeback cache?
>> >
>> > Cheers
>> >
>> > Andrei
>> >
>> >
>> >
>> >
>> >
>> > DISCLAIMER
>> > ==
>> > This e-mail may contain privileged and confidential information which is
>> the
>> > property of Accelerite, a Persistent Systems business. It is intended
>> only for
>> > the use of the individual or entity to which it is addressed. If you are
>> not
>> > the intended recipient, you are not authorized to read, retain, copy,
>> print,
>> > distribute or use this message. If you have received this communication
>> in
>> > error, please notify the sender and delete all copies of this message.
>> > Accelerite, a Persistent Systems business does not accept any liability
>> for
>> > virus infected mails.


Re: Cloudstack Best Production Ver.

2016-05-14 Thread Rafael Weingärtner
Hi Gian,
What hypervisors are you using? What type of deployment do you have?
I would say that the last one is the best one (4.8). I have recently
upgraded from 4.3.2 to 4.6.2, and that was a smooth upgrade.

I recommend you always test the upgrade and the functions you use in a test
environment before any upgrade.



On Sat, May 14, 2016 at 4:04 AM, Gian Paolo Buono 
wrote:

>
> Hi,
> I would like upgrade my production cloudstack environment 4.3 at the best
> stable version. Wich version raccomanded ?
> Regards
>
>
> Inviato dal mio dispositivo Samsung
>



-- 
Rafael Weingärtner


Cloudstack Best Production Ver.

2016-05-14 Thread Gian Paolo Buono

Hi,
I would like upgrade my production cloudstack environment 4.3 at the best 
stable version. Wich version raccomanded ?
Regards


Inviato dal mio dispositivo Samsung


Re: Template and ISO downloaded but stuck at "installing template / installing ISO"

2016-05-14 Thread Indra Pramana
Hi Ilya,

Thank you for pointing that out. Is it possible for you to send me the
shell script first so I can at least register my templates and ISOs first
for me to continue testing? Any ETA on when the patch would be out?

I cannot proceed to test creating VM instances and perform further tests
without any templates being installed.

Looking forward to your reply, thank you.

Cheers.


On Sat, May 14, 2016 at 1:42 PM, ilya musayev 
wrote:

> Indra,
>
> While I see there is a solution to your problem due to cloudstack changes
> with web servers, there is also another tangent to this issue..
>
> Let me know if your issue is resolved by leveraging a different web server
> for image downloads.
>
> But if not, or someone else comes across this message thread, here is a
> another tangent to this problem.
> 
>
> Below is a summary to the problem we've seen that seem very similar
>
> In the nutshell, here is what we've seen and what we believe cause the
> issue.
>
> CloudStack Java Agent initiates 2 https sessions when attempting to
> download.
>
> 1) Session is established to web server to get the header information and
> keep it open..
> 2) Session is established to download the content - this is usually a
> longer stream operation
>
>
> What we've seen happen, as session # 2 goes on downloading, somehow http
> session #1 gets corrupted. Session #2 is eventually terminated as it
> completes the operation, yet session #1 remains to be open.
>
> This defies the logic in a way, because no packets are sent over the open
> session between SSVM and HTTP server. I'd expect for one of two parties
> sending termination packet - but that never happens. As the result - the
> 1st session hangs and prevents agent from proceed to the next stage of
> installing the template. I've seen the socket being open for days on SSVM
> and yet not a single packet comes - not even keep alive.
>
> Patch should be out soon. Credit goes to Marcus for figuring this out.
>
>
> I also have a shell script that can resolve the specific stuck template
> download, but i've made it geared toward QCOW2.  I can post it if need be,
> but we should probably release a proper fix..
>
> Regards
> ilya
>
>
>
>
>
> On Wed, May 11, 2016 at 4:37 AM, Indra Pramana  wrote:
>
> > Dear all,
> >
> > I setup a test environment using CloudStack 4.8.0 (latest from
> repository),
> > one management server and two KVM agent hosts running Ubuntu 14.04 LTS.
> > Setup a zone with basic networking because the test environment doesn't
> > support VLAN and the test management server only have 1 NIC. The private
> > and public network are using the same subnet. Using Ceph RBD as primary
> > storage and NFS as secondary storage.
> >
> > Zone is created successfully, the two hosts are added successfully and
> > connected to the management servers. SSVM and CPVM are created without
> any
> > issues. However, the default
> > "CentOS 5.5(64-bit) no GUI (KVM)" template is stuck at "Installing
> > Template" status and Ready = "No" although it seems to be downloaded
> > successfully. I also tried registering an Ubuntu ISO and it faces the
> same
> > problem, it's downloaded successfully but then will stuck at "Installing
> > ISO" status.
> >
> > I ran the SSVM health check and everything is OK. Also go through the
> > troubleshooting steps as per below documentation but still unable to
> > determine the root cause:
> >
> >
> >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM,+templates,+Secondary+storage+troubleshooting
> >
> > I tried restarting the SSVM service, stop and start the SSVM and
> restarting
> > the management-server service, it will cause the download of the ISO and
> > template to be restarted, but it will then stuck at installing again.
> >
> > Logs from management server shows below lines which keeps on appearing /
> > looping every several seconds:
> >
> > ===
> > 2016-05-11 19:31:29,031 DEBUG [c.c.h.o.r.Ovm3HypervisorGuru]
> > (Timer-6:ctx-369bfc57) (logid:0b1754a2) getCommandHostDelegation: class
> > org.apache.cloudstack.storage.command.DownloadProgressCommand
> > 2016-05-11 19:31:29,031 DEBUG [c.c.h.XenServerGuru]
> (Timer-6:ctx-369bfc57)
> > (logid:0b1754a2) getCommandHostDelegation: class
> > org.apache.cloudstack.storage.command.DownloadProgressCommand
> > 2016-05-11 19:31:29,031 DEBUG [o.a.c.s.RemoteHostEndPoint]
> > (Timer-6:ctx-369bfc57) (logid:0b1754a2) Sending command
> > org.apache.cloudstack.storage.command.DownloadProgressCommand to host: 3
> > 2016-05-11 19:31:29,034 DEBUG [c.c.a.t.Request] (Timer-6:ctx-369bfc57)
> > (logid:0b1754a2) Seq 3-3028107799453237894: Sending  { Cmd , MgmtId:
> > 181122461655966, via: 3(s-3-VM), Ver: v1, Flags: 100011,
> > [{"org.apache.cloudstack.storage.command
> >
> >
> .DownloadProgressCommand":{"jobId":"cab4ada2-e52f-4c25-9c30-9ec23dc3fcd4","request":"GET_STATUS","hvm":false,"description":"CentOS
> > 5.5(64-bit) no GUI
> >
> >
>