[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340972#comment-16340972
 ] 

ASF subversion and git services commented on CLOUDSTACK-10255:
--

Commit 22d6718fe3f83d6c3c47734669fe9cde3e6d1a88 in cloudstack's branch 
refs/heads/master from [~fmaximus]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=22d6718 ]

CLOUDSTACK-10255: Fix agent logrotate (#2429)

Renamed cloudstack-agent.logrotate to cloudstack-agent.logrotate.in,
so Ant will run the filterchain while copying.
This made the ant run copy block of cloudstack-agent.logrotate unnecessary,
so this is removed.

> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-26 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16340975#comment-16340975
 ] 

ASF subversion and git services commented on CLOUDSTACK-10255:
--

Commit d6ce39b29b140adb1db33442997ff2e141d06226 in cloudstack's branch 
refs/heads/master from [~rohit.ya...@shapeblue.com]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=d6ce39b ]

Merge branch '4.11'

- CLOUDSTACK-10239: Fallback to default provider if needed (#2430)
- CLOUDSTACK-10255: Fix agent logrotate (#2429)


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF subversion and git services (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16338356#comment-16338356
 ] 

ASF subversion and git services commented on CLOUDSTACK-10255:
--

Commit 22d6718fe3f83d6c3c47734669fe9cde3e6d1a88 in cloudstack's branch 
refs/heads/4.11 from [~fmaximus]
[ https://gitbox.apache.org/repos/asf?p=cloudstack.git;h=22d6718 ]

CLOUDSTACK-10255: Fix agent logrotate (#2429)

Renamed cloudstack-agent.logrotate to cloudstack-agent.logrotate.in,
so Ant will run the filterchain while copying.
This made the ant run copy block of cloudstack-agent.logrotate unnecessary,
so this is removed.

> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16338355#comment-16338355
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

rhtyd closed pull request #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/agent/conf/cloudstack-agent.logrotate 
b/agent/conf/cloudstack-agent.logrotate.in
similarity index 100%
rename from agent/conf/cloudstack-agent.logrotate
rename to agent/conf/cloudstack-agent.logrotate.in
diff --git a/agent/pom.xml b/agent/pom.xml
index 3ee1c5dbacb..0505752660a 100644
--- a/agent/pom.xml
+++ b/agent/pom.xml
@@ -93,12 +93,6 @@
 
   
 
-
-  
-
-  
-
   
 
   


 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16338233#comment-16338233
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

blueorangutan commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360275431
 
 
   Trillian test result (tid-2190)
   Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
   Total time taken: 21245 seconds
   Marvin logs: 
https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2429-t2190-kvm-centos7.zip
   Intermitten failure detected: 
/marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
   Smoke tests completed. 67 look OK, 0 have error(s)
   Only failed tests results shown below:
   
   
   Test | Result | Time (s) | Test File
   --- | --- | --- | ---
   


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337990#comment-16337990
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

rhtyd commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360220197
 
 
   Okay, will move it to 4.11.0 milestone.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337977#comment-16337977
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

DaanHoogland commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360218607
 
 
   4.11.0 i concur


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337752#comment-16337752
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

rhtyd commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360169200
 
 
   Since this is packaging related issue, clearly causing failures on 
logrotation we can consider this towards 4.11.0 milestone. /cc @DaanHoogland 
@wido @rafaelweingartner @borisstoyanov and others.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337747#comment-16337747
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

rhtyd commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360168220
 
 
   @blueorangutan test


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337749#comment-16337749
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

blueorangutan commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360168288
 
 
   @rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been 
kicked to run smoke tests


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337721#comment-16337721
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

blueorangutan commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360164947
 
 
   Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1679


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337668#comment-16337668
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

blueorangutan commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360156225
 
 
   @rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted 
as I make progress.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337664#comment-16337664
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

rhtyd commented on issue #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429#issuecomment-360156007
 
 
   @blueorangutan package


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Commented] (CLOUDSTACK-10255) cloudstack-agent logrotate is broken

2018-01-24 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-10255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16337510#comment-16337510
 ] 

ASF GitHub Bot commented on CLOUDSTACK-10255:
-

fmaximus opened a new pull request #2429: CLOUDSTACK-10255: Fix agent logrotate
URL: https://github.com/apache/cloudstack/pull/2429
 
 
   Renamed `cloudstack-agent.logrotate` to `cloudstack-agent.logrotate.in`, 
   so Ant will run the filterchain while copying.
   This made the ant run copy block of `cloudstack-agent.logrotate` unnecessary,
   so this is removed.


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> cloudstack-agent logrotate is broken
> 
>
> Key: CLOUDSTACK-10255
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-10255
> Project: CloudStack
>  Issue Type: Bug
>  Security Level: Public(Anyone can view this level - this is the 
> default.) 
>  Components: cloudstack-agent
>Affects Versions: 4.10.0.0, 4.11.0.0, 4.9.3.0
>Reporter: Frank Maximus
>Assignee: Frank Maximus
>Priority: Major
>
> In [PR#2094|https://github.com/apache/cloudstack/pull/2094] logrotate was 
> updated to refer to the new files, and an {{@AGENTLOG@}} ReplaceToken was 
> used.
> The pom file of agent doesn't define {{cloudstack-agent.logrotate}} to be 
> filtered though, so the file ends up on the host, still containting the 
> ReplaceToken.
> {noformat:title=KVM Host}You have new mail in /var/spool/mail/root
> [root@frank-acs-master ~]# mail
> Heirloom Mail version 12.5 7/5/10.  Type ? for help.
> "/var/spool/mail/root": 7 messages 7 new
> >N  1 Anacron   Thu Jan 18 15:36  17/727   "Anacron job 
> >'cron.daily' on frank-acs-master"
>  N  2 Anacron   Fri Jan 19 03:50  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  3 Anacron   Sat Jan 20 03:30  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  4 Anacron   Sun Jan 21 03:25  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  5 Anacron   Mon Jan 22 03:39  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  6 Anacron   Tue Jan 23 03:10  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
>  N  7 Anacron   Wed Jan 24 03:23  17/729   "Anacron job 
> 'cron.daily' on frank-acs-master"
> & 7
> Message  7:
> From root@frank-acs-master.localdomain  Wed Jan 24 03:23:03 2018
> Return-Path: 
> X-Original-To: root
> Delivered-To: root@frank-acs-master.localdomain
> From: Anacron 
> To: root@frank-acs-master.localdomain
> Content-Type: text/plain; charset="UTF-8"
> Subject: Anacron job 'cron.daily' on frank-acs-master
> Date: Wed, 24 Jan 2018 03:23:03 + (UTC)
> Status: R
> /etc/cron.daily/logrotate:
> error: cloudstack-agent:18 lines must begin with a keyword or a filename 
> (possibly in double quotes)
> & q
> [root@frank-acs-master ~]# cat /etc/logrotate.d/cloudstack-agent
> # Licensed to the Apache Software Foundation (ASF) under  the 
> License.
> @AGENTLOG@
> /var/log/cloudstack/agent/security_group.log
> {
> copytruncate
> daily
> rotate 5
> compress
> missingok
> }
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)