Return-Path: X-Original-To: apmail-cloudstack-dev-archive@www.apache.org Delivered-To: apmail-cloudstack-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A010117AE3 for ; Fri, 6 Feb 2015 16:20:58 +0000 (UTC) Received: (qmail 16580 invoked by uid 500); 6 Feb 2015 16:20:58 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 16532 invoked by uid 500); 6 Feb 2015 16:20:58 -0000 Mailing-List: contact dev-help@cloudstack.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cloudstack.apache.org Delivered-To: mailing list dev@cloudstack.apache.org Received: (qmail 16515 invoked by uid 99); 6 Feb 2015 16:20:57 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2015 16:20:57 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of shadowsor@gmail.com designates 209.85.220.178 as permitted sender) Received: from [209.85.220.178] (HELO mail-vc0-f178.google.com) (209.85.220.178) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Feb 2015 16:20:53 +0000 Received: by mail-vc0-f178.google.com with SMTP id hq11so1738548vcb.9 for ; Fri, 06 Feb 2015 08:19:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=56OHao9EZCg8Z07N2eRDqOnDX6OYsetofpQrgwfoH0M=; b=Gt8MdTo7uePSMeJHw9Jhqt454d/f9QeW8rBsmKIORJc4arLOuiTivMHm71ZYv+ruL1 LdwKidLYfrXTm0LVbBUpiuC0KQ1OIAQkp1ojV2Tvc3Vu5UZ2srg/k2cFtkZ9KUNet7g/ a37V5e3jIvw+g7zu3d9/fR1gL8gn9qSEBo82yQY2pfaylLlXtHQGCXgjxA466NDFIUef 9FGhnIbFEuP6S1RYUGNe64KBmwqjMbbZqIqRVBuKfuilkvZZUcl4qEfkBbVOJ6/YFcKg FOvTH8b9pBHq7/VJwa+dYNV8BsIzqyKq8N5yb8zD26sLqDXFPTUxhQheM2rI7922VYuV bXIA== MIME-Version: 1.0 X-Received: by 10.52.78.198 with SMTP id d6mr2216146vdx.62.1423239587210; Fri, 06 Feb 2015 08:19:47 -0800 (PST) Received: by 10.52.15.202 with HTTP; Fri, 6 Feb 2015 08:19:46 -0800 (PST) In-Reply-To: <1347443500.54157.1423213375921.JavaMail.zimbra@li.nux.ro> References: <8040763.2530.1423174019236.JavaMail.andrei@tuchka> <29899357.2561.1423177509882.JavaMail.andrei@tuchka> <1347443500.54157.1423213375921.JavaMail.zimbra@li.nux.ro> Date: Fri, 6 Feb 2015 08:19:46 -0800 Message-ID: Subject: Re: [VOTE] Apache CloudStack 4.5.0 RC1 From: Marcus To: "dev@cloudstack.apache.org" Content-Type: text/plain; charset=UTF-8 X-Virus-Checked: Checked by ClamAV on apache.org If a vm is pv enabled, it gets the kvmclock timer xml attribute, regardless. Setting kvmclock.disable makes that timer xml explicitly disable kvmclock, it doesn't remove it from the xml (You might be thinking "why do we need a setting to enable it if we have to explicitly disable it to make it go away?"... this is again due to variations in version behavior, some versions make pv guests have kvmclock regardless unless explicitly disabled). There were some issues in certain kvm (kernel) versions that would cause problems with live migration and kvmclock, so this option would fix that if someone runs into it, but we can't leverage this agent option to remove the xml that the ubuntu 12.04 libvirt version doesn't support. Nux, some more background, at one point system vms were having various issues because of clock drift. A few of the other hypervisor platforms were leveraging their hypervisor to fix this. Running ntp in the system vm was mentioned (and perhaps even implemented, I'd have to go back and look), but some didn't like that solution, either, because without a project to add ntp settings as a 'thing' in cloudstack it would require internet access or an admin rolling their own system vm. Network issues aside, f you look around at the greater KVM ecosystem there is quite a bit of back and forth on whether kvmclock or NTP is ideal, and the best option seems to be to have both. So that, combined with the live migration issues, is what introduced the kvmclock xml both to make it available to pv guests and to explicitly disable it if there are issues. I spoke to Mike about this last night, and hopefully we'll be seeing a fix that simply acts like older CS versions if we detect the feature is unsupported. So we'll automagically work on newer platforms like Ubuntu 13+ and CentOS 7 and fail back correctly for old Ubuntu, with the only downside being that CentOS users can't leverage kvmclock even though their build supports it (the fault of RH backporting features without changing versions). On Fri, Feb 6, 2015 at 1:02 AM, Nux! wrote: > That's unfortunate, but I don't think many people will care. > > Pretty much everyone in virt uses ntp religiously and am yet to hear complains about clock performance in VMs. > > Having said that, could the feature be enforceable through agent.properties if desired? Something like Rohit is suggesting with kvmclock.disable=false? > > Lucian > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > ----- Original Message ----- >> From: "Marcus" >> To: dev@cloudstack.apache.org >> Sent: Friday, 6 February, 2015 06:45:14 >> Subject: Re: [VOTE] Apache CloudStack 4.5.0 RC1 > >> I think we can wrap this in a version check as we have many other >> things, that way Ubuntu 12.04 users who leverage newer libvirt >> packages (as I'm temped to believe the majority of actual deployments >> do) can still see the benefit, and we don't have to worry about >> targeting a specific release. This will have the negative side effect >> of not allowing centos 6.x people from leveraging their backported >> support since their version numbers are deceptive, but it's probably >> the smartest, most compatible way to indroduce it.