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 61D80179D6 for ; Tue, 12 May 2015 14:37:50 +0000 (UTC) Received: (qmail 3796 invoked by uid 500); 12 May 2015 14:37:50 -0000 Delivered-To: apmail-cloudstack-dev-archive@cloudstack.apache.org Received: (qmail 3738 invoked by uid 500); 12 May 2015 14:37:50 -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 3727 invoked by uid 99); 12 May 2015 14:37:49 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2015 14:37:49 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4C2E01A2A3B for ; Tue, 12 May 2015 14:37:49 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.751 X-Spam-Level: * X-Spam-Status: No, score=1.751 tagged_above=-999 required=6.31 tests=[KAM_INFOUSMEBIZ=0.75, KAM_LAZY_DOMAIN_SECURITY=1, URIBL_BLOCKED=0.001] autolearn=disabled Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id kKdM5mlZfF0A for ; Tue, 12 May 2015 14:37:41 +0000 (UTC) Received: from mail-ig0-f178.google.com (mail-ig0-f178.google.com [209.85.213.178]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 4900C40E1C for ; Tue, 12 May 2015 14:37:41 +0000 (UTC) Received: by igbhj9 with SMTP id hj9so16132601igb.1 for ; Tue, 12 May 2015 07:37:40 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-type; bh=bZlj2HyCekyWVQ9y7+ntrqKZIl+/ILR2HMeZWxXs0c0=; b=D8wSEXOJNMNOud1gkEBk5NNOfl3HShU63u8t3vcXy2rSD8w9RaiZkmqi2U7oCtvSaL YoQOIU6rJtKuOvWL3RaKp1sLbfPoWxC3C3786eNnqFLxI1hiPQvs+13WWyihiTPEg3Sc d14uBj/vNe4ad4Q6nis6W9A6uevEHtkSr6q5WHeWF5iFRnpd2WVggBkynVTB4cPXoSds 7eRlcUfFb8kszjhC3UP00h4oxNaCu4Vy+THrpPPe00sf3/O8U5QqrSk7NDeQO6cn47Sb fRb+42/cnvQdGhjjoj8+5CGcRPmIkFiYqnNWnQPbftuLmyflkSL6aER+iZq4iH+XYVhX tF9Q== X-Gm-Message-State: ALoCoQl2nS8sfDeCVu+YYye9/13ZM/T8CFzEmcxivtKGLTTws1uUcgpabme5ws2pGWjjA0KD0KcH X-Received: by 10.42.107.145 with SMTP id d17mr3296128icp.51.1431441460482; Tue, 12 May 2015 07:37:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.104.208 with HTTP; Tue, 12 May 2015 07:37:19 -0700 (PDT) In-Reply-To: References: <5551CBA0.8090805@widodh.nl> <5551E105.6070300@widodh.nl> From: David Nalley Date: Tue, 12 May 2015 10:37:19 -0400 Message-ID: Subject: Re: Cloudstack Repackaging / Distro support To: "dev@cloudstack.apache.org" Content-Type: text/plain; charset=UTF-8 On Tue, May 12, 2015 at 8:47 AM, Rafael Fonseca wrote: > I'll stay away from touching port 80 for now, but isn't saving work to the > admin one of cloudstack's main goals? > > That is also the main reason to package this stuff and have rules for > configuration :) > > I do see a lot of people complaining that cloudstack is hard to setup and > has very long setup guides and a lot of stuff doesn't work on certain > environments... i aim to put an end to that.. hopefully even the dumbest > sysadmin will be able to get it up and running without much effort by the > time i'm done :) . The effort reduction is also always valid for > experienced sysadmins and developers ;) > > Sorta - we want to do enough sanely that people can get going, but not so much that it locks people into specific configurations with no option to change them. If an nginx shop suddenly found httpd deployed because of using CloudStack, well, that would be a surprise. We don't really want it to be a black box. > > > On Tue, May 12, 2015 at 1:16 PM, Wido den Hollander wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> >> >> On 05/12/2015 12:03 PM, Rafael Fonseca wrote: >> > Wido, >> > >> > If we were to recommend proxying with httpd, shouldn't cloudstack >> > provide that as well out of the box? >> >> I'd stay away from that. Providing that out of the box means doing >> more stuff which an admin should do. >> >> Wido >> >> > Btw, there isn't really a big performance gain by proxying through >> > httpd nowadays, the new version of the packaging also includes >> > using tomcat8, which has an improved http/nio connector, have a >> > look here for some performance benchmarks :) -> >> > http://www.tomcatexpert.com/blog/2010/03/24/myth-or-truth-one-should-a >> lways-use-apache-httpd-front-apache-tomcat-improve-perform >> > >> > What i think is that if we are going to suggest configuring httpd >> > on the same box we should do it automatically, if not, tomcat can >> > still run on port 80 by default and user can reverse proxy from any >> > other machine :) >> > >> > Also, if we're sticking to tomcat, we should have scripts build >> > the APR/native connector for improved performance :) >> > http://tomcat.apache.org/native-doc/ >> > >> > This would be an improvement independent from using or not >> > httpd/nginx in front of tomcat. >> > >> > >> > >> > >> > >> > On Tue, May 12, 2015 at 11:45 AM, Wido den Hollander >> > wrote: >> > >> > >> > >> > On 05/12/2015 11:37 AM, Erik Weber wrote: >> >>>> On Tue, May 12, 2015 at 10:59 AM, Rafael Fonseca >> >>>> wrote: >> >>>> >> >>>>> Hi all, >> >>>>> >> >>>>> I'm reworking the packaging system in cloudstack, and would >> >>>>> like to gather your opinion on the following: >> >>>>> >> >>>>> - Fedora 2x runs systemd's cockpit on port 9090 by default >> >>>>> This is a deal breaker for the cluster servlet port on this >> >>>>> OS, the two possibilities would be to either pack changes >> >>>>> to fedora's config on rpm install or simply change the >> >>>>> servlet port to another one that does not clash on any >> >>>>> distro.. any comments/suggestions? >> >>>>> >> >>>>> - Tomcat is not listening on port 80 Tomcat is using port >> >>>>> 8080, which makes the user have to specify that in the >> >>>>> browser.. should we change it? In ubuntu it's already >> >>>>> running under jsvc, so it shouldn't be a problem.. same can >> >>>>> be arranged for centos/other distros. >> >>>>> >> >>>> >> >>>> Is it possible to ask the user for this during installation >> >>>> and default to either 80 or 8080? I know Debian has a way to >> >>>> interact with the user during install, not sure about >> >>>> RedHat. >> >>>> >> >>>> I don't know the rationale behind putting it on port 8080 in >> >>>> the first place, but personally I don't see a problem moving >> >>>> it to port 80. >> >>>> >> > >> > I'd say to stick to 8080 and recommend anybody to use Apache / >> > Nginx to proxy towards Tomcat. >> > >> >>>> >> >>>>> - No link on the tomcat root (http://management-server/ can >> >>>>> link internally to http://management-server/client , this >> >>>>> makes it easier for new users who don't know the URL for >> >>>>> the UI :) >> >>>>> >> >>>>> >> >>>> Sounds like a good idea to me, I always forget to add /client >> >>>> when I browse to new installations. >> >>>> >> >> >> > >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1 >> >> iQIcBAEBAgAGBQJVUeEFAAoJEAGbWC3bPspCupwQAJjU6Akq18N9QcPYiOK60NR5 >> P9+MF0UFvu1N5nHJxYwEHjIqwuzN9957xqx6LK0nhyDMN8ECadvZXweT5XhXbh+5 >> G7D1Wqilav7GqGiye+4zV2CLRUI8KBPrUMFHwk4C4o1SqE6YxiX7E8/WY+cx2nt2 >> LRAwPIvc3IL5QRIbiDfFm19mJRExBvHIZCYsMAPMgag2p85HOzuGxQ/NCcME7nna >> ODlHkjrPaWF66vZtyMA289R1e0Bab7hbElirCsA0VoTP3gbrwNriDf1KSfmOzIJD >> VyaSq2kcDIrWYWjuXxtjhIKdxCCkopgqRvjjiEDCQ3LVDaMsh4PSjhl2SuSU24l4 >> mX6DZXjnt+3U01FOj9Bc76K28hawB3+7qqYPEsWlboi7Jz5hn0j04Kn9wRa+ZbfF >> 8t1DUpdPDtWd+HsyV/fdKXKY1X4Q/P3SatrqVZBymnyT/l/ENvqYLzLcNXHN9NSl >> 8o0+vhmTJRdbK9QoNeB8QtmtU+VB4iyC6x5tfwgqLvRNsSep3mpEgrKVa3h1Ssaz >> 14ChxYSNktOLJM3JuKBHqzSM0lxOHOT7wkiSXiXlCpbaoVRLcge7U4PjJW/GCSrE >> a/BAUYQzSKBAS/OpZHFizmQ0J7ASXaFDlBwy5XBfV+4nZjtClVR4oN9VHAJJ8d2X >> Fl89s3wdH0L/ag6Sd/oj >> =nbJY >> -----END PGP SIGNATURE----- >>