FBR: Fix collectd problems with containers
by Stephen John Smoogen
Currently we are creating lots of collectd files for the containers
which only exist for 30 minutes or so on the proxies. This is a lot of
rrd files and fills up log01 eventually.
diff --git a/roles/collectd/base/templates/collectd.conf.j2
b/roles/collectd/base/templates/collectd.conf.j2
index 91f5a63..d84b7d0 100644
--- a/roles/collectd/base/templates/collectd.conf.j2
+++ b/roles/collectd/base/templates/collectd.conf.j2
@@ -39,6 +39,17 @@ LoadPlugin vmem
IgnoreSelected false
</Plugin>
+<Plugin "interface">
+ Interface "/^veth/"
+ IgnoreSelected true
+</Plugin>
+
+<Plugin "df">
+ Interface "/^df-var-lib-docker-containers-/"
+ Interface "/^df-var-lib-docker-overlay2-/"
+ IgnoreSelected true
+</Plugin>
+
<Plugin hddtemp>
TranslateDevicename false
</Plugin>
--
Stephen J Smoogen.
5 years, 12 months
Meeting Agenda Item: Introduction Will Chellman
by Will Chellman
Hi All,
My name is Will Chellman, I am an Infrastructure Solutions Engineer for a company called IGT and I currently reside in the Boston, MA area.
In my day job I primarily work with RHEL and VMWare doing a lot of automation with Ansible/shell scripting as well as deploying/fixing our infrastructure across the globe.
Outside of work I am currently most interested in Web Development(Ruby On Rails, etc) and I am pursuing my RHCSA/RHCE. As far as development goes I am comfortable with C, Ruby, and Python and I am always willing to dive in and learn what ever is needed for a task.
I would like to join the 'fi-apprentice' group and poke around and see how I can best contribute and learn the infrastructure. I am willing to dedicate at least 15-20 hours a week to the project. I use Fedora daily as my desktop OS (KDE Plasma is my favorite) and would love the opportunity to be able to give more back to the Fedora and Open Source community!
Best,
Will Chellman
IRC/FAS: creaked
5 years, 12 months
FBR to fix the purge amis cron
by Sayan Chowdhury
Hi,
We have a cron in place which should be responsible for periodic
deletion of the nightly AMIs, But the cron wasn't properly setup
properly via Ansible and currently the cron does not run. This patch
should fix the issue.
From b4d241bba55cf3155dce5bb02c005f9383f9a46b Mon Sep 17 00:00:00 2001
From: Sayan Chowdhury <sayan.chowdhury2012(a)gmail.com>
Date: Mon, 23 Apr 2018 19:08:45 +0530
Subject: [PATCH 1/1] releng: Use template instead of copy for purge-amis
Signed-off-by: Sayan Chowdhury <sayan.chowdhury2012(a)gmail.com>
---
roles/releng/tasks/main.yml | 3 +--
roles/releng/{files/purge-amis => templates/purge-amis.j2} | 0
2 files changed, 1 insertion(+), 2 deletions(-)
rename roles/releng/{files/purge-amis => templates/purge-amis.j2} (100%)
diff --git a/roles/releng/tasks/main.yml b/roles/releng/tasks/main.yml
index 6a8d81e..26119a4 100644
--- a/roles/releng/tasks/main.yml
+++ b/roles/releng/tasks/main.yml
@@ -169,10 +169,9 @@
# put cron job in for purging nightly amis
- name: purge nightly amis cron
- copy: src="purge-amis" dest=/etc/cron.d/purge-amis
+ template: src=purge-amis.j2 dest=/etc/cron.d/purge-amis
when: inventory_hostname.startswith('compose-x86-01')
-
- name: install compose /etc/httpd/conf.d/compose.conf file
copy: >
src="compose.conf"
diff --git a/roles/releng/files/purge-amis
b/roles/releng/templates/purge-amis.j2
similarity index 100%
rename from roles/releng/files/purge-amis
rename to roles/releng/templates/purge-amis.j2
--
2.9.4
+1s?
--
Sayan Chowdhury <https://sayanchowdhury.dgplug.org/>
Senior Software Engineer, Fedora Engineering - Emerging Platform
GPG Fingerprint : 0F16 E841 E517 225C 7D13 AB3C B023 9931 9CD0 5C8B
Proud to work at The Open Organization!
5 years, 12 months
Re: FBR: no CI requirements for modules
by Pierre-Yves Chibon
Good Morning Everyone,
I re-wrote last week the script fixing the git hooks in dist-git, but its work
is getting overridden by the old script running in a cron (that Kevin fixed this
week-end).
So I would like to replace the cron running the old script with a cron running
the new script:
Here is the diff:
diff --git a/ roles/gitolite/check_fedmsg_hooks/tasks/main.yml b/ roles/gitolite/check_fedmsg_hooks/tasks/main.yml
index d357a7d83..bea193af1 100644
--- a/ roles/gitolite/check_fedmsg_hooks/tasks/main.yml
+++ b/ roles/gitolite/check_fedmsg_hooks/tasks/main.yml
@@ -8,7 +8,7 @@
minute=10
hour="0,12"
user=pagure
- job="/usr/local/bin/git-check-perms /srv/git/repositories --check=fedmsg-hook -f"
+ job="/usr/local/bin/distgit_check_hook.py"
tags:
- git
- gitolite
Note, we could make this run more often as it runs in a few minutes (the forks
being the slowest namespace, the other namespace run under a minute).
Thoughts?
Pierre
5 years, 12 months
FBR: no CI requirements for modules
by Ralph Bean
Discussed in #fedora-admin just now.
Modules are configure to require some test cases that never actually
get run for them. This patch should treat them instead like we do
epel: no CI requirements.
Any +1s?
diff --git a/roles/openshift-apps/greenwave/templates/configmap.yml b/roles/openshift-apps/greenwave/templates/configmap.yml
index 44eb013..c88bb9d 100644
--- a/roles/openshift-apps/greenwave/templates/configmap.yml
+++ b/roles/openshift-apps/greenwave/templates/configmap.yml
@@ -91,7 +91,6 @@ data:
--- !Policy
id: "taskotron_release_critical_tasks_for_testing"
product_versions:
- - fedora-28-modular
- fedora-28
- fedora-27
- fedora-26
@@ -103,7 +102,6 @@ data:
--- !Policy
id: "taskotron_release_critical_tasks_for_stable"
product_versions:
- - fedora-28-modular
- fedora-28
- fedora-27
- fedora-26
@@ -113,8 +111,9 @@ data:
rules:
- !PassingTestCaseRule {test_case_name: dist.rpmdeplint}
--- !Policy
- id: "no_requirements_for_epel_testing"
+ id: "no_requirements_testing"
product_versions:
+ - fedora-28-modular
- fedora-epel-7
- fedora-epel-6
decision_context: bodhi_update_push_testing
@@ -122,8 +121,9 @@ data:
relevance_value: koji_build
rules: []
--- !Policy
- id: "no_requirements_for_epel_stable"
+ id: "no_requirements_for_stable"
product_versions:
+ - fedora-28-modular
- fedora-epel-7
- fedora-epel-6
decision_context: bodhi_update_push_stable
6 years