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 4641F10F2C for ; Mon, 1 Dec 2014 15:21:01 +0000 (UTC) Received: (qmail 17075 invoked by uid 500); 1 Dec 2014 15:21:00 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 17029 invoked by uid 500); 1 Dec 2014 15:21:00 -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 17017 invoked by uid 99); 1 Dec 2014 15:21:00 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2014 15:21:00 +0000 X-ASF-Spam-Status: No, hits=0.7 required=5.0 tests=RCVD_IN_DNSWL_NONE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [109.72.87.137] (HELO smtp01.mail.pcextreme.nl) (109.72.87.137) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Dec 2014 15:20:34 +0000 Received: from [IPv6:2001:980:7936:0:7083:543e:a5f0:f591] (unknown [IPv6:2001:980:7936:0:7083:543e:a5f0:f591]) by smtp01.mail.pcextreme.nl (Postfix) with ESMTPA id 41E9176214 for ; Mon, 1 Dec 2014 16:20:34 +0100 (CET) Message-ID: <547C8742.3070309@widodh.nl> Date: Mon, 01 Dec 2014 16:20:34 +0100 From: Wido den Hollander User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: dev@cloudstack.apache.org Subject: Re: [DISCUSS] Automatic usage reporting / call-home for CloudStack References: <547C6832.7090502@widodh.nl> <1529909065.29187.1417441955521.JavaMail.zimbra@li.nux.ro> <633074832.29254.1417446051317.JavaMail.zimbra@li.nux.ro> <547C83D3.7070109@widodh.nl> <584553385.29279.1417446720535.JavaMail.zimbra@li.nux.ro> In-Reply-To: <584553385.29279.1417446720535.JavaMail.zimbra@li.nux.ro> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org On 12/01/2014 04:12 PM, Nux! wrote: > Hm, after an upgrade it might be tricky. Perhaps display it here somehow http://img.nux.ro/3hH-callhome.png > Perhaps some UI/javascript specialist can help us here ... > Good idea. In that Menu we probably need a "Call-Home" link pointing to http://cloudstack.apache.org/callhome.html (doesn't exist yet!) Wido > Lucian > > -- > Sent from the Delta quadrant using Borg technology! > > Nux! > www.nux.ro > > ----- Original Message ----- >> From: "Wido den Hollander" >> To: dev@cloudstack.apache.org >> Sent: Monday, 1 December, 2014 15:05:55 >> Subject: Re: [DISCUSS] Automatic usage reporting / call-home for CloudStack > >> On 12/01/2014 04:00 PM, Nux! wrote: >>> In addition: this should be opt-out, but clearly specified in the release notes, >>> as well as visible in the UI. >>> >> >> But where do we display this in the UI? I don't think we have a >> mechanism to show a one-time message after a upgrade. Do we? >> >>> -- >>> Sent from the Delta quadrant using Borg technology! >>> >>> Nux! >>> www.nux.ro >>> >>> ----- Original Message ----- >>>> From: "Nux!" >>>> To: dev@cloudstack.apache.org >>>> Sent: Monday, 1 December, 2014 13:52:35 >>>> Subject: Re: [DISCUSS] Automatic usage reporting / call-home for CloudStack >>> >>>> +1, good job! >>>> >>>> -- >>>> Sent from the Delta quadrant using Borg technology! >>>> >>>> Nux! >>>> www.nux.ro >>>> >>>> ----- Original Message ----- >>>>> From: "Wido den Hollander" >>>>> To: dev@cloudstack.apache.org >>>>> Sent: Monday, 1 December, 2014 13:08:02 >>>>> Subject: [DISCUSS] Automatic usage reporting / call-home for CloudStack >>>> >>>>> Hello, >>>>> >>>>> As a project we currently don't have a lot of insight information on >>>>> about how CloudStack is being used. Surveys tell us a lot, but not >>>>> everybody fills in the survey, so we still miss a lot of information. >>>>> >>>>> That's why I've written the Usage Reporting functionality for the >>>>> management server which automatically sends back anonymous information >>>>> about a CloudStack deployment. >>>>> >>>>> It's currently in the 'reporter' branch. [0] >>>>> >>>>> By default, every 7 days it generates a JSON document with: >>>>> - Hosts (Number, version, type, hypervisor) >>>>> - Clusters (Hypervisor en Management type) >>>>> - Primary storage (Type and provider) >>>>> - Zones (Network type and providers) >>>>> - Instances (Number and types) >>>>> >>>>> This report is not complete yet, I'd like to add more information, but >>>>> that will be Management Server information. >>>>> >>>>> The code on how this report is generated is obviously 100% Open Source, >>>>> so end-users can always exactly see how the information was compiled. >>>>> >>>>> I want to discuss this new feature for CloudStack and the possible >>>>> implications it might have. >>>>> >>>>> I'm opting for a opt-out. So every new or upgraded install to 4.6.0 >>>>> (master) will have this enabled. Yes, we have to be very explicit in the >>>>> Release Notes that this has been added. >>>>> >>>>> Why? It's the small price we as a project ask for using CloudStack. We >>>>> want a little bit of information on how CloudStack is being used so that >>>>> we can use this to make CloudStack even better. >>>>> >>>>> Turning it off is also just one global setting and it will never turn on >>>>> again. >>>>> >>>>> On the server-side there is a Python flask application [1] (found in the >>>>> reporter directory) which stores all the incoming information in a >>>>> ElasticSearch database. From there analytics can be gathered on >>>>> CloudStack deployments. >>>>> >>>>> It currently points to http://cs-report.widodh.nl/report which will NOT >>>>> be the endpoint when this is merged into master. >>>>> >>>>> For 'production' I want to have >>>>> https://report.cloudstack.apache.org/report where all reports are submitted. >>>>> >>>>> For every setup a unique ID is determined by hashing the first row in >>>>> the 'version' table. This is the version + timestamp and that is hashed >>>>> using SHA256. Using this unique ID we can track changes in deployments >>>>> and see how they grow or shrink. >>>>> >>>>> Technically this wasn't that hard to implement, but the politics >>>>> surrounding it might be the hardest part. >>>>> >>>>> What do other have to say about this? Should there be a VOTE for this >>>>> feature to come into CloudStack? Opt-in, opt-out? >>>>> >>>>> Wido >>>>> >>>>> [0]: >>>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=shortlog;h=refs/heads/reporter >>>>> [1]: >>>>> https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;a=blob;f=reporter/usage-report-collector.py;h=500a4d284b5172fd93acea08f5460cfff5520855;hb=reporter