Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 74435200C34 for ; Mon, 27 Feb 2017 21:57:52 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 72D4D160B6C; Mon, 27 Feb 2017 20:57:52 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id BDC61160B5B for ; Mon, 27 Feb 2017 21:57:51 +0100 (CET) Received: (qmail 69632 invoked by uid 500); 27 Feb 2017 20:57:50 -0000 Mailing-List: contact issues-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 issues@cloudstack.apache.org Received: (qmail 69623 invoked by uid 500); 27 Feb 2017 20:57:50 -0000 Delivered-To: apmail-incubator-cloudstack-issues@incubator.apache.org Received: (qmail 69620 invoked by uid 99); 27 Feb 2017 20:57:50 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Feb 2017 20:57:50 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 583DB18E84A for ; Mon, 27 Feb 2017 20:57:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.547 X-Spam-Level: X-Spam-Status: No, score=-1.547 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id GWvutVeSwev1 for ; Mon, 27 Feb 2017 20:57:49 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id CF2455FCB9 for ; Mon, 27 Feb 2017 20:57:48 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D6F84E053A for ; Mon, 27 Feb 2017 20:57:45 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8156124132 for ; Mon, 27 Feb 2017 20:57:45 +0000 (UTC) Date: Mon, 27 Feb 2017 20:57:45 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: cloudstack-issues@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CLOUDSTACK-9795) VRs used as VPC Routers have logrotate in cron.daily instead of cron.hourly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 27 Feb 2017 20:57:52 -0000 [ https://issues.apache.org/jira/browse/CLOUDSTACK-9795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15886516#comment-15886516 ] ASF GitHub Bot commented on CLOUDSTACK-9795: -------------------------------------------- GitHub user dmabry opened a pull request: https://github.com/apache/cloudstack/pull/1974 CLOUDSTACK-9795: moved logrotate from cron.daily to cron.hourly for vpcrouter [BACKPORT PR1954] moved logrotate from cron.daily to cron.hourly for vpcrouter in cloud-early-config. This brings 'vpcrouter' inline with 'router'. We are having issues with cloud.log not rotating fast enough, which filled up /var/log and ultimately caused the VR to stop functioning in such a way that it prevented new VMs from being deployed. You can merge this pull request into a Git repository by running: $ git pull https://github.com/myENA/cloudstack bug/4.9-vpc-vr-logrotate Alternatively you can review and apply these changes as the patch at: https://github.com/apache/cloudstack/pull/1974.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1974 ---- commit f1ae0d3bdde3317f6be34f09a656b7c50779e3be Author: David Mabry Date: 2017-02-27T20:53:33Z Backport of PR 1954 [CLOUDSTACK-9795] ---- > VRs used as VPC Routers have logrotate in cron.daily instead of cron.hourly > --------------------------------------------------------------------------- > > Key: CLOUDSTACK-9795 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9795 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the default.) > Components: VPC > Affects Versions: 4.8.0, 4.9.0, 4.8.1.1, 4.9.0.1 > Environment: The VR when deploy as a stand alone router has logrotate moved from cron.daily to cron.hourly, but when used as a VPC router (vpcrouter) the logrotate file is left in cron.daily. > Reporter: David Mabry > Priority: Minor > Labels: easyfix > Fix For: 4.10 > > > The VR when deploy as a stand alone router has logrotate moved from cron.daily to cron.hourly, but when used as a VPC router (vpcrouter) the logrotate file is left in cron.daily. > This causes anyone using the VR as a VPC to have issues with /var/log filling up and causing the VR to fail ungracefully. This prevents VMs from spinning up in the VPC, adding new acls and creating new LB rules. > The fix is to move the logrotate from cron.daily to cron.hourly and configure cloud.log to rotate and compress at 20MB. I will submit a PR against master that will move logrotate. It is a minor change to cloud-early on the VRs. -- This message was sent by Atlassian JIRA (v6.3.15#6346)