2721 Commits

Author SHA1 Message Date
Pierre-Yves Chibon
51308da4cf Specify the nfs_mount_opts when mounting /pub/archive on secondary01 2014-12-07 00:15:01 +01:00
Pierre-Yves Chibon
92577d7a43 Specify the variables and what are tasks 2014-12-06 20:57:54 +01:00
Pierre-Yves Chibon
ec74b9d487 Restructure a bit the secondary01 playbook 2014-12-06 20:56:32 +01:00
Pierre-Yves Chibon
6bc652b8fb Use action instead of command in the playbook 2014-12-06 20:54:11 +01:00
Pierre-Yves Chibon
74c6e79140 Start working on the playbook to build a new secondary01 2014-12-06 20:51:52 +01:00
Ralph Bean
62b5f188e8 tag the fedimg role. 2014-12-06 19:06:53 +00:00
David Gay
2578f42a17 Merge branch 'master' of /git/ansible 2014-12-06 18:59:29 +00:00
David Gay
789067a37e install latest fedimg rather than installed 2014-12-06 18:59:08 +00:00
Kevin Fenzi
955c367eb6 Merge branch 'master' of /git/ansible 2014-12-06 18:45:26 +00:00
Kevin Fenzi
1033b5552e Fix things that are now roles 2014-12-06 18:45:13 +00:00
Stephen Smoogen
b9700c9998 Merge branch 'master' of /git/ansible 2014-12-06 18:37:30 +00:00
Stephen Smoogen
663cb1a40c move from log02 to log01 2014-12-06 18:37:27 +00:00
Kevin Fenzi
efe93c8943 Add fas to master.yml 2014-12-06 18:34:38 +00:00
Kevin Fenzi
edbeca3a90 Commit fas server ansible playbook from ticket 4394 2014-12-06 18:33:44 +00:00
Ralph Bean
676ea12ff3 Remove old hotfix from the Great PkgDB2 Migration of 2014. 2014-12-06 18:15:22 +00:00
Ralph Bean
8861007d2a Clean up staging fedmsg endpoints list. 2014-12-06 18:06:21 +00:00
David Gay
bc9f280787 only run on fedimg-stg for now 2014-12-06 17:54:03 +00:00
David Gay
d7dbf516a2 make AWS test command an Ansible variable 2014-12-06 17:33:21 +00:00
David Gay
fa27bb0d5f add two failure options to general section of config template 2014-12-06 17:33:21 +00:00
David Gay
bb73d1b6d2 fedimg ansible files, take 2
add a fedimg.cfg template

add comment about unused config vars

need check for denyhosts and fas_client needs to be before nagios_client

maybe this template setup is proper?

fedmsg.d/ template

fedimg.cfg should be owned by fedmsg and have more strict perms

Signed-off-by: David Gay <oddshocks@riseup.net>
2014-12-06 17:33:21 +00:00
Ralph Bean
8fbe7f8fcf Turn on collectd for fedimg. 2014-12-06 17:23:49 +00:00
Kevin Fenzi
2502737d66 Remove branched composer now from nagios 2014-12-06 15:13:37 +00:00
Stephen Smoogen
e39fccec20 And use the right variable so it doesnt output a large amount of stuff 2014-12-05 21:49:49 +00:00
Stephen Smoogen
1be67f45e6 and we have a cool thing. really.. really 2014-12-05 21:44:31 +00:00
Stephen Smoogen
677178219c and we have a cool thing. 2014-12-05 21:43:49 +00:00
Stephen Smoogen
04d0e3c69d make it executable silly 2014-12-05 21:34:48 +00:00
Stephen Smoogen
36fe0ffdc1 put the copy so it works 2014-12-05 21:23:57 +00:00
Stephen Smoogen
d4329c3c80 update to patched version which adds additional logs 2014-12-05 21:08:20 +00:00
Stephen Smoogen
de8aa400cd original file for hotfix of mirrorlist_server 2014-12-05 21:07:03 +00:00
Ralph Bean
9947226759 Tag up the bodhi/base role. 2014-12-05 18:32:51 +00:00
Luke Macken
dd37302f59 bodhi: Remove the WSGI 'maximum-requests' limit.
This will hopefully fix the random outages that people have been hitting.
2014-12-05 18:23:09 +00:00
Kevin Fenzi
3a86adb293 Add nfs mount options for mm-backend01.stg 2014-12-05 17:43:34 +00:00
Kevin Fenzi
78fa37c34d Add nfs mount for mm-backend01.stg 2014-12-05 17:41:43 +00:00
Kevin Fenzi
8bfb81af7d Tweak path to virt-install 2014-12-05 17:34:06 +00:00
Kevin Fenzi
1e065d3f4f Add eth1 to mm-backend01 stg instance 2014-12-05 17:30:58 +00:00
Kevin Fenzi
8805781c9d Add staging hosts to stg groups 2014-12-05 16:48:58 +00:00
Kevin Fenzi
20a0e30c36 Need more coffee 2014-12-05 16:12:50 +00:00
Kevin Fenzi
5baac0feac Fix some more names 2014-12-05 16:09:33 +00:00
Kevin Fenzi
014d156b3b More renaming 2014-12-05 16:03:06 +00:00
Kevin Fenzi
c7c665c3c3 Name these correctly 2014-12-05 15:59:13 +00:00
Kevin Fenzi
24e8532ea0 Add initial cut at mirrormanager2 stg instances 2014-12-05 15:54:11 +00:00
Luke Macken
0890075271 Clean up the atomic-composer role 2014-12-04 20:03:10 +00:00
Kevin Fenzi
87302c2468 No :s in names 2014-12-01 00:35:10 +00:00
Kevin Fenzi
173e62400d Additions from packaged python-fedora for hotfix. 2014-12-01 00:33:14 +00:00
Kevin Fenzi
44f52047fd Initial version of fas2.py file for hotfix and task it put it in place. 2014-12-01 00:32:29 +00:00
Patrick Uiterwijk
bbf5375036 Add puiterwijk pager 2014-11-28 16:23:07 +00:00
Valentin Gologuzov
ce32910620 [copr] backend: add "spawn_in_advance" variables into group_vars 2014-11-26 15:19:22 +01:00
Valentin Gologuzov
e98ae62f57 [copr] backend config: added spawn_in_advance option, backported for host based version 2014-11-26 15:09:48 +01:00
Kevin Fenzi
e2226e741c Add new kernel.org mirror to rsync acls. Fix incomplete other hostname. 2014-11-25 21:05:32 +00:00
Valentin Gologuzov
b7969beabc [copr] backend: new options in /etc/copr/copr-be.conf 2014-11-25 18:51:28 +01:00
Valentin Gologuzov
d08b28280d [copr] frontend: take PUBLIC_COPR_HOSTNAME config parameter from vars 2014-11-25 14:21:06 +01:00
Valentin Gologuzov
fb4a5641b0 [copr] keygen: add tcp_ports for iptables rules 2014-11-25 14:21:06 +01:00
Pierre-Yves Chibon
b085207f8f Formatting 2014-11-25 12:20:04 +01:00
Pierre-Yves Chibon
5b5ff9afa9 Make nuancier01 EL7 2014-11-25 12:19:50 +01:00
Pierre-Yves Chibon
94a727ddbf EL7 runs python 2.7 2014-11-25 12:17:45 +01:00
Pierre-Yves Chibon
2a7f67ece3 Make the nuancier02 hosts EL7 2014-11-25 11:42:40 +01:00
Valentin Gologuzov
24f710a553 [copr] keygen: disabled backup configuration, until "{{ private }}/copr/keygen/backup_key.asc" will be available 2014-11-25 11:22:24 +01:00
Valentin Gologuzov
b11c573bf3 [copr] temporary workaround for keygen-stg host vars 2014-11-25 11:14:21 +01:00
Valentin Gologuzov
a4c9281ed7 [copr] 2nd attempt to fix resolv.conf on keygen-stg 2014-11-25 11:09:10 +01:00
Valentin Gologuzov
237daab03b [copr] keygen: added handler: restart signd 2014-11-25 11:03:34 +01:00
Valentin Gologuzov
3f998b5f70 [copr] install correct resolv.conf 2014-11-24 21:24:54 +01:00
Valentin Gologuzov
78f51c6ccd [copr] keygen polishing 2014-11-24 21:06:22 +01:00
Kevin Fenzi
da7a73af39 Set default security group 2014-11-24 19:48:30 +00:00
Ralph Bean
eacfdb95ba The scrutiny of axilleas. 2014-11-24 14:26:23 +00:00
Ralph Bean
ea3cf0df80 Note on bug in the playbook for future self. 2014-11-22 02:04:14 +00:00
Patrick Uiterwijk
c8fc2c99e0 Merge branch 'master' of /git/ansible 2014-11-21 14:39:59 +00:00
Pierre-Yves Chibon
060929272a Tag SELinux related tasks and allow elections to connect to memcach over the network 2014-11-21 10:24:32 +01:00
Patrick Uiterwijk
1833afa7dd Now really enable the correct cipher.
OpenSSL AES256-SHA = TLS_RSA_WITH_AES_256_CBC_SHA
2014-11-21 04:05:54 +00:00
Patrick Uiterwijk
4025a327bf Revert "Enable RSA_WITH_AES_256_CBC_SHA256 for bfo"
This reverts commit c4e72c37ce.
2014-11-21 04:02:51 +00:00
Patrick Uiterwijk
4826946855 Merge branch 'master' of /git/ansible 2014-11-21 03:48:39 +00:00
Ralph Bean
9403769997 Use new release-monitoring bz creds. 2014-11-20 21:16:58 +00:00
Patrick Uiterwijk
c4e72c37ce Enable RSA_WITH_AES_256_CBC_SHA256 for bfo 2014-11-20 21:12:21 +00:00
Ralph Bean
64be6801f6 Apply httpd_can_network_memcache to pkgdb2 nodes. 2014-11-20 19:26:32 +00:00
Ralph Bean
e03b171e15 Remove dep on fedpkg. 2014-11-20 19:26:23 +00:00
Pierre-Yves Chibon
3de5976d86 Adjust the dogpile configuration for election in the same way we did for pkgdb2 2014-11-20 19:08:40 +01:00
Pierre-Yves Chibon
eaa54cf022 Update pkgdb2's configuration of dogpile
Make it so that pkgdb2 relies on both memcached servers and that the difference
wsgi proccesses it happily live together.

Thanks to Ralph Bean for getting the configuration correct
2014-11-20 19:03:43 +01:00
Ralph Bean
201bc699f1 Also define %{_topdir}. 2014-11-20 16:32:19 +00:00
Ralph Bean
c38064329a Copy over rpmmacros for hotness01. 2014-11-20 16:26:49 +00:00
Ralph Bean
47ca2dacb8 hotness01 also needs fedpkg for "fedpkg srpm" 2014-11-20 16:02:40 +00:00
Ralph Bean
fe6616b446 Try hotfixing rpmdev-bumpspec for hotness01.stg. 2014-11-20 15:48:36 +00:00
Ralph Bean
73825e3144 Use internal URLs for dist-git. 2014-11-20 15:32:47 +00:00
Ralph Bean
2d0c51ee95 Drop /usr/share/fedmsg.. 2014-11-20 15:21:39 +00:00
Pierre-Yves Chibon
a541ad2d2c Point the fedora-election cache to memcached01 2014-11-20 12:51:59 +01:00
Pierre-Yves Chibon
27cccd5f74 Add configuration for dogpile for fedora-elections 2014-11-20 12:37:27 +01:00
Ralph Bean
8df11334a9 Make a note about rpmdevtools. 2014-11-20 03:44:48 +00:00
Ralph Bean
15029b1b7d Include git on hotness01.stg. 2014-11-20 03:44:35 +00:00
Ralph Bean
640b41ad23 Use internal name. 2014-11-20 03:38:16 +00:00
Ralph Bean
1519097e57 Add a yumconfig for hotness01.stg. 2014-11-20 03:25:12 +00:00
Ralph Bean
e5ef8035e9 Create /usr/share/fedmsg (for bugzilla cookies...) 2014-11-20 01:34:49 +00:00
Ralph Bean
5035eca2b0 Install python-sh on hotness01.stg. 2014-11-19 22:01:43 +00:00
Ralph Bean
5facace9ec More staging config for the-new-hotness. 2014-11-19 21:42:58 +00:00
Ralph Bean
f639ffd306 Include koji on hotness01.stg. 2014-11-19 19:09:46 +00:00
Ralph Bean
85c486b34b Check for connectivity to memcached.
This will attempt to call the daemon's stats command which, if broken, might
hung and cause nrpe to time out.  We want that, as it will give us a clue to
what might be causing some other app to fail.
2014-11-19 18:35:14 +00:00
Ralph Bean
42e44b6e8e Tell selinux to let collectd talk to memcached. 2014-11-19 16:37:56 +00:00
Ralph Bean
6535e0344f Add collectd monitoring for the memcached daemon. 2014-11-19 14:37:50 +00:00
Ralph Bean
9f8afc963f Point stg bugzilla2fedmsg back at partner-bugzilla. 2014-11-18 18:28:29 +00:00
Miroslav Suchý
4dbad19bed disable package_state plugin on el6
because it does not work there because repoquery is missing --installroot on el6
2014-11-18 10:46:45 +00:00
Valentin Gologuzov
3b5198a266 [copr] revert last commit 2014-11-18 11:17:29 +01:00
Valentin Gologuzov
5b2b67e024 [copr] 2nd try 2014-11-18 11:14:21 +01:00
Valentin Gologuzov
770cbc4a6c [copr] trying to spin up production copr-keygen 2014-11-18 11:06:08 +01:00
Kevin Fenzi
40525e4929 Add copr-keygen instance as a persistent cloud instance 2014-11-18 00:27:27 +00:00
Kevin Fenzi
c16842abcf We don't need nfs-idmap on client side in fedora anymore. 2014-11-17 23:43:46 +00:00
Ralph Bean
eff6ff37ad Tag the role. 2014-11-17 21:18:17 +00:00
Ralph Bean
f26c2a6c14 Singular. 2014-11-17 19:47:10 +00:00
Ralph Bean
3c2cdd83d1 Change virthosts. 2014-11-17 19:45:24 +00:00
Ralph Bean
31e9f72fdd Initial stubbing for the new hotness node(s). 2014-11-17 19:30:52 +00:00
Kevin Fenzi
872ef50b9e Nagios: why are you so picky? 2014-11-17 18:38:54 +00:00
Kevin Fenzi
bd3858cf1f Drop this from euservers 2014-11-17 18:31:02 +00:00
Kevin Fenzi
d579541582 Add host1plus01 and mirrorlist-host1plus to nagios. 2014-11-17 18:20:03 +00:00
Kevin Fenzi
f8d45c79db Fix this correctly. 2014-11-17 17:21:11 +00:00
Kevin Fenzi
a08af7f627 If adding to a system provided service file you have to install to /usr/lib and not etc 2014-11-17 16:54:31 +00:00
Ralph Bean
5dbfa39796 Cut the fedbadges threadpool in half. 2014-11-17 15:46:02 +00:00
Ralph Bean
5bd10b3e2c Restart fcomm-cache-worker when config changes. 2014-11-17 15:35:29 +00:00
Ralph Bean
0b17c98111 Give the fcomm cache worker an extra thread to play with. 2014-11-17 15:31:08 +00:00
Ralph Bean
8afb3582e8 Add forgotten tags. 2014-11-17 15:10:34 +00:00
Ralph Bean
a3960fa0fd Forgot these bits. 2014-11-17 15:06:52 +00:00
Ralph Bean
c8ef71fc22 Change these names too. 2014-11-17 15:05:40 +00:00
Ralph Bean
de194f9642 Make these vars short and unique. 2014-11-17 15:00:47 +00:00
Ralph Bean
25cc0105aa Try with a different var name. 2014-11-17 14:58:27 +00:00
Ralph Bean
40a6b9284c Revert "That didn't work either. Try this."
This reverts commit 967a7b45b8.
2014-11-17 14:47:04 +00:00
Ralph Bean
967a7b45b8 That didn't work either. Try this. 2014-11-17 14:46:12 +00:00
Ralph Bean
235f522df4 Got it backwards. 2014-11-17 14:43:57 +00:00
Ralph Bean
7fc2b17ea8 Fix typeerror. String comparison requires strings. 2014-11-17 14:42:35 +00:00
Ralph Bean
e13c7e6237 Try a different approach. 2014-11-17 14:41:28 +00:00
Ralph Bean
95a2fd671c This part seems to still be necessary. 2014-11-17 14:38:11 +00:00
Ralph Bean
8a40a71e54 Try changing our use of changed_when. 2014-11-17 14:35:03 +00:00
Ralph Bean
335f7a226a Okay. Latest theory.
When we added ``ignore_errors`` it really suppresses the 'failed' attribute all
together.  So instead, we need to check that the thing was 'skipped' (i.e., it
had an error that was ignored.)
2014-11-17 14:27:35 +00:00
Ralph Bean
16c01abe80 Tag these. 2014-11-17 14:26:23 +00:00
Ralph Bean
39ea6477da Try to debug here. 2014-11-17 14:25:19 +00:00
Ralph Bean
4202cbabcb So, after all that flailing. If I just remove this temporarily, it should work.. right? 2014-11-17 14:18:58 +00:00
Ralph Bean
4a54a77f7a None of those worked. Set things back to the way they were. 2014-11-17 03:05:12 +00:00
Ralph Bean
eb841eae25 Another try. 2014-11-17 02:59:19 +00:00
Ralph Bean
577cc15096 Maybe more parentheses. 2014-11-17 02:56:43 +00:00
Ralph Bean
51359456e8 Try this. 2014-11-17 02:54:08 +00:00
Ralph Bean
4eba842402 Ansible isn't detecting this expected failure anymore. Try this. 2014-11-17 02:49:41 +00:00
Ralph Bean
c734724f17 Revert "Try removing this."
This reverts commit 63c0b27ea1.
2014-11-17 02:48:54 +00:00
Ralph Bean
63c0b27ea1 Try removing this. 2014-11-17 02:47:56 +00:00
Ralph Bean
b812103113 Typofix. 2014-11-17 02:33:49 +00:00
Ralph Bean
7de8e9e64b Add selinux tag. 2014-11-17 02:32:19 +00:00
Ralph Bean
7d9fedb942 whitespace. 2014-11-17 02:32:09 +00:00
Ralph Bean
7ff8a5e85b Try to set the collectd redis monitoring straight with selinux. 2014-11-17 02:31:59 +00:00
Ralph Bean
6928ea27fc Use fqdn for collectd. 2014-11-17 02:16:04 +00:00
Kevin Fenzi
6a08d162ba Revert "Take out combobox so we can check/fix/prune it."
This reverts commit e663b4140c.
2014-11-17 00:31:32 +00:00
Kevin Fenzi
e663b4140c Take out combobox so we can check/fix/prune it. 2014-11-16 02:24:28 +00:00
Ralph Bean
cae740ab1b Let tagger httpd_verify_dns. 2014-11-15 02:19:43 +00:00
Ralph Bean
de01e68223 No, this should do it.... 2014-11-14 22:18:58 +00:00
Ralph Bean
023f2e84e9 OK, this should do it.... 2014-11-14 22:14:45 +00:00
Ralph Bean
6ff76f68ab Forgotten $. 2014-11-14 22:00:01 +00:00
Ralph Bean
c5104e1574 Cut out most of the stuff from this one php array to try and fix message signatures for wiki upload messages. 2014-11-14 21:55:05 +00:00
Ralph Bean
3016956a4d PHP wants double quotes here. 2014-11-14 21:38:00 +00:00
Ralph Bean
48d98684db Move the call up the stack. 2014-11-14 21:33:35 +00:00
Ralph Bean
7bb1e80fca Throw a newline in there. 2014-11-14 21:30:02 +00:00
Ralph Bean
51a45d2026 Tag the mediawiki role. 2014-11-14 21:23:33 +00:00
Ralph Bean
1926f2019a Log wiki fedmsg messages to a file (temporarily, for debugging). 2014-11-14 21:21:39 +00:00
Kevin Fenzi
8cb065a803 Weed out the host1plus01 usb spew until we can figure out a way to make it stop. 2014-11-14 20:51:04 +00:00
Kevin Fenzi
ed5b38d0d5 Move enable after there is something to enable. 2014-11-14 19:27:47 +00:00
Kevin Fenzi
9857bec762 This should be started, it doesn't run all the time. 2014-11-14 19:21:29 +00:00
Miroslav Suchý
21a1cf7076 workaround for BZ 1164359 2014-11-14 18:50:17 +00:00
Miroslav Suchý
f6f5931e75 replace obsoleted MYSQL variables
addressing:
 * Deprecated parameter has been used in answer file. Please use parameter CONFIG_MARIADB_INSTALL next time. This parameter deprecates following parameters: ['CONFIG_MYSQL_INSTALL'].
 * Deprecated parameter has been used in answer file. Please use parameter CONFIG_MARIADB_HOST next time. This parameter deprecates following parameters: ['CONFIG_MYSQL_HOST'].
 * Deprecated parameter has been used in answer file. Please use parameter CONFIG_MARIADB_USER next time. This parameter deprecates following parameters: ['CONFIG_MYSQL_USER'].
 * Deprecated parameter has been used in answer file. Please use parameter CONFIG_MARIADB_PW next time. This parameter deprecates following parameters: ['CONFIG_MYSQL_PW'].
 * Time synchronization installation was skipped. Please note that unsynchronized time on server instances might be problem for some OpenStack components.
2014-11-14 18:19:00 +00:00
Miroslav Suchý
40fb52b74d set CONFIG_SWIFT_STORAGES to default
addressing:
failed: [fed-cloud09.cloud.fedoraproject.org] => {"changed": true, "cmd": ["packstack", "--answer-file=/root/packstack-controller-answers.txt"], "delta": "0:00:00.701587", "end": "2014-11-14 18:09:02.505525", "rc": 1, "start": "2014-11-14 18:09:01.803938"}
stdout: Welcome to Installer setup utility
Parameter CONFIG_SWIFT_STORAGES failed validation: Storage value has to be in format "/path/to/device".

ERROR : Failed handling answer file: Storage value has to be in format "/path/to/device".
2014-11-14 18:19:00 +00:00
Kevin Fenzi
ee4da204ed Where's my install? Somewhere in mississippi 2014-11-14 18:05:52 +00:00
Miroslav Suchý
0567d2af21 rename vg_guests if exist (freshly provisioned system) 2014-11-14 18:02:38 +00:00
Miroslav Suchý
b1dc12b211 explicitely state usage of juno
so we are not surprised by sudden upgrade to next version
2014-11-14 18:02:38 +00:00
Kevin Fenzi
3a91b15c3e We aren't in phx2 anymore toto. 2014-11-14 18:02:15 +00:00
Kevin Fenzi
7efee52e6f Add mirrorlist-host1plus to the mix 2014-11-14 18:00:18 +00:00
Ralph Bean
cb2a90666a Get the name right. 2014-11-14 17:53:09 +00:00
Ralph Bean
583d8e291a Set selinux boolean for badges/frontend. 2014-11-14 17:51:48 +00:00
Ralph Bean
289ab8644e Tag up the badges/frontend role. 2014-11-14 17:51:37 +00:00
Ralph Bean
2dc0526129 badges as rhel7. 2014-11-14 17:09:29 +00:00
Ralph Bean
47d14b7dce Set tagger prod nodes to rhel7. 2014-11-14 16:43:14 +00:00
Ralph Bean
bec2534d3f Set httpd perms on some css/js dirs. 2014-11-14 16:40:58 +00:00
Ralph Bean
864794cb57 Put github2fedmsg01 prod on rhel7. 2014-11-14 16:31:41 +00:00
Ralph Bean
4412afd479 Ignore errors (since we're checking for failure here) 2014-11-14 16:14:28 +00:00
Ralph Bean
87dc6ec1f0 Modernize python_sitelib paths. 2014-11-14 15:56:50 +00:00
Ralph Bean
b4121a8fda Same here. 2014-11-14 15:56:40 +00:00
Ralph Bean
485df425d6 Only needed for rhel6, thanks. 2014-11-14 15:55:37 +00:00
Ralph Bean
7ea43f2352 New apache-isms. 2014-11-14 14:56:35 +00:00
Ralph Bean
b88af5e9bd Update path for velruse openid provider. 2014-11-14 14:45:34 +00:00
Ralph Bean
c504a896e7 tagger and github2fedmsg stg to rhel7. 2014-11-14 14:44:25 +00:00
Ralph Bean
44b0b7bf91 Copy in a mash config. 2014-11-13 21:27:22 +00:00
Ralph Bean
114128674b Make kojipkgs02 [staging-friendly] 2014-11-13 20:54:11 +00:00
Kevin Fenzi
7d8a44da92 bastion-comm01.qa is actually still in puppet. Exclude it here until we migrate it. 2014-11-13 16:50:49 +00:00
Kevin Fenzi
4e2ed494aa These should also always run and never change 2014-11-13 16:30:37 +00:00
Kevin Fenzi
677f89df60 Fix syntax so rsync is happier 2014-11-13 16:15:34 +00:00
Kevin Fenzi
41ab725771 Mark these as always_run (so they run in --check) and never changed (since they are just informational) 2014-11-13 16:05:32 +00:00
Kevin Fenzi
4d77e92fec Exclude alpha and beta content on download-ib01 so it has space for final rc/tc's 2014-11-13 15:53:52 +00:00
Kevin Fenzi
8bd04b0440 Add comments on what should be in or out of master and why. Re-enable mailman playbooks 2014-11-13 00:06:01 +00:00
Kevin Fenzi
191a5db10b Next try. 2014-11-13 00:02:28 +00:00
Kevin Fenzi
343b73ef18 More buildvm-01.stg fixes. 2014-11-13 00:00:35 +00:00
Kevin Fenzi
25d1da8167 Fix up buildvm-01.stg nfs mounting 2014-11-12 23:56:11 +00:00
Kevin Fenzi
49e2011e07 Also get this maven plugin from bigfiles 2014-11-12 21:54:37 +00:00
Kevin Fenzi
f324dbb583 Try this to get jenkins working again for now. 2014-11-12 20:03:12 +00:00
Ralph Bean
067f2f0dcb fmn.web prod to rhel7. 2014-11-12 19:40:57 +00:00
Ralph Bean
3ef55290c8 No longer need this hotfix now that fmn backend is on rhel7. 2014-11-12 19:23:21 +00:00
Ralph Bean
f4aaca9f8a Tag the fmn roles. 2014-11-12 19:22:37 +00:00
Ralph Bean
837e4c6aa6 Let them come. 2014-11-12 19:20:41 +00:00
Ralph Bean
1e49aa493d Remove all accelerate-mode knobs and toggles now that pipelining is a go. 2014-11-12 19:15:06 +00:00
Ralph Bean
4a56bc9dd7 Put apache as a pre_task so the user is there for fedmsg/base. 2014-11-12 19:08:20 +00:00
Ralph Bean
a65c6190d3 Aim notifs-web stg at rhel7. 2014-11-12 18:48:17 +00:00
Ralph Bean
b423cff920 Double the typos, double the fun. 2014-11-12 17:24:49 +00:00
Ralph Bean
632fab68da s/postgresl/postgresql/ 2014-11-12 17:06:25 +00:00
Ralph Bean
6910ca6b48 Delete old postgresql backups. 2014-11-12 16:56:44 +00:00
Ralph Bean
6326659ba0 Nagios: Check datanommer for anitya messages. 2014-11-12 16:24:07 +00:00
Ralph Bean
35d0eb14ae kojira runs as root. 2014-11-12 01:36:30 +00:00
Ralph Bean
92e8b3f053 directory, directory. 2014-11-12 01:32:22 +00:00
Ralph Bean
a6bef332bf logdir for kojira. 2014-11-12 01:30:33 +00:00
Ralph Bean
ad18f9defd Run, kojira, run! 2014-11-12 01:26:29 +00:00
Tim Flink
0ea3628b3c Revert "attempting to change remote tmpdir for postgres commands"
This reverts commit 5718ed87de.
2014-11-11 22:44:41 +00:00
Tim Flink
a795a32b01 Revert "adding quotes and spaces to remote_tmp in resultsdb backend db"
This reverts commit 63ff859fba.
2014-11-11 22:44:41 +00:00
Ricky Elrod
62683d3bb2 Merge branch 'master' of /git/ansible 2014-11-11 22:34:21 +00:00
Ricky Elrod
b36cf52a4c add ccd file *here* instead
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-11-11 22:34:13 +00:00
Tim Flink
63ff859fba adding quotes and spaces to remote_tmp in resultsdb backend db 2014-11-11 22:33:27 +00:00
Tim Flink
5718ed87de attempting to change remote tmpdir for postgres commands 2014-11-11 22:32:08 +00:00
Tim Flink
adb5431272 reverting earlier removal of sudo commands in resultsdb database 2014-11-11 22:31:11 +00:00
Tim Flink
e166e2a457 Revert "attempting to isolate the postgresql commands for resultsdb backend"
This reverts commit d6fdac91bd.
2014-11-11 22:27:03 +00:00
Tim Flink
d6fdac91bd attempting to isolate the postgresql commands for resultsdb backend 2014-11-11 22:19:16 +00:00
Tim Flink
20b1399425 attempting to restructure postgres commands for resultsdb_backend to get rid of errors 2014-11-11 22:11:00 +00:00
Ralph Bean
6590546e05 Start kojid for staging. 2014-11-11 21:27:55 +00:00
Ralph Bean
49db0ed837 Tag the koji_builder role. 2014-11-11 21:23:00 +00:00
Ralph Bean
a14aefac77 Specialize /etc/hosts for koji01.stg. 2014-11-11 21:07:58 +00:00
Ralph Bean
b281456e1e /var/tmp/. Better than /tmp/. 2014-11-11 21:05:57 +00:00
Ralph Bean
a90f642d31 Add cronjob for koji updatecrl. 2014-11-11 20:18:27 +00:00
Ralph Bean
c45cb4e945 Try to improve and organize the koji_hub role. 2014-11-11 19:19:48 +00:00
Tim Flink
3ca99df287 try removing sudo from resultsdb postgresql commands to fix errors 2014-11-11 18:00:18 +00:00
Ralph Bean
be02f18dc1 Revert "Try preferring https for resultsdb." - This had no effect.
This reverts commit b887e3b0b5.
2014-11-11 17:42:09 +00:00
Ralph Bean
b887e3b0b5 Try preferring https for resultsdb. 2014-11-11 17:15:16 +00:00
Kevin Fenzi
4dd963a5bc Add virthost14 to ansible. 2014-11-10 23:18:50 +00:00
Ralph Bean
38debf208c Update fi-collectd selinux module. 2014-11-10 17:26:47 +00:00
Kevin Fenzi
f57e73e605 Bump bastion nrpe procs more. 2014-11-09 05:11:58 +00:00
Kevin Fenzi
3aa8bc08b3 Bump bastion limits for nrpe max procs 2014-11-09 00:33:09 +00:00
Kevin Fenzi
251a6cf1d8 Revert "GNOME Backups: remove combobox.gnome.org from the backups set until we clean some of the previous backups"
This reverts commit b9bccaece2.
2014-11-09 00:32:11 +00:00
Kevin Fenzi
059bed31b9 Still whitespace change o kojibuilder iptables to test last commit 2014-11-08 17:11:25 +00:00
Kevin Fenzi
313cf3ab0d Add handler to iptables to hup libvirtd on buildhw. Ticket 4581 2014-11-08 17:07:36 +00:00
Kevin Fenzi
42d33beb96 Bump some gateway limits for postfix 2014-11-07 20:08:36 +00:00
Ralph Bean
9fe4345ded Only forcibly create this dir on el6. It should just work on el7. 2014-11-07 19:43:12 +00:00
Ralph Bean
6bb866e7c7 Not phx2. 2014-11-07 19:31:15 +00:00
Ralph Bean
2450baeb36 Make the restart-fedmsg-services playbook nice and consistent. 2014-11-07 19:14:23 +00:00
Ralph Bean
dd081ffeed No such thing. 2014-11-07 19:11:37 +00:00
Ralph Bean
cf77f6c92c Fully list out the fedmsg services in the inventory. 2014-11-07 19:09:07 +00:00
Ralph Bean
02b8ab294f Also, do this the other way around. 2014-11-07 18:53:44 +00:00
Ralph Bean
4c028cc728 There is no collectd user. 2014-11-07 18:38:10 +00:00
Ralph Bean
00cec0a2a7 Tags, and compare strings. 2014-11-07 18:33:33 +00:00
Ralph Bean
0cf3a5163b Add the nrpe and collectd users to the fedmsg group to simplify our /var/run/fedmsg permissions. 2014-11-07 18:32:17 +00:00
Ralph Bean
698da6e4a8 Remove fedmsg/sqlalchemy hotfix for badges-backend. Not needed as we're on el7 now. 2014-11-07 18:13:40 +00:00
Ralph Bean
0beadb10c9 Tag badges/backend with the full role name for consistency. 2014-11-07 18:11:17 +00:00
Ralph Bean
7af74d5e53 Rename and move the update packages playbook. 2014-11-07 18:03:30 +00:00
Ralph Bean
09f369e713 Rename and move the sign and import playbook. 2014-11-07 18:00:35 +00:00
Valentin Gologuzov
769f392493 [copr] prepearing backup for copr-keygen 2014-11-07 17:19:43 +01:00
Pierre-Yves Chibon
8916a3779a Specify the preferred url scheme and the openid endpoint in stg for kerneltest 2014-11-07 10:27:29 +01:00
Ralph Bean
c5f62a3338 Add kojipkgs_url to the arm-releng group_vars. 2014-11-06 23:34:13 +00:00
Ralph Bean
6376953581 Tag that. 2014-11-06 21:50:44 +00:00
Ralph Bean
67e987e0e6 That explains it. 2014-11-06 21:30:12 +00:00
Ralph Bean
cf42ac7ae0 Make kojipkgs_url a var. 2014-11-06 19:31:49 +00:00
Ralph Bean
9410861ea5 Move mock configs to templates. 2014-11-06 19:25:28 +00:00
Ralph Bean
8ca2d73f74 Enable infra-testing here. 2014-11-06 19:18:03 +00:00
Ralph Bean
740a155fb1 Fold files/releng/ into roles/releng/files/ 2014-11-06 18:55:40 +00:00
Ralph Bean
446d6b2d93 Change the tagger-internal check to hit something more light weight. 2014-11-06 18:43:58 +00:00
Ralph Bean
027382f40a Notation. 2014-11-06 16:51:28 +00:00
Ralph Bean
ca18ecf7c9 Not enough to satisfy the gods. 2014-11-06 16:51:28 +00:00
Pierre-Yves Chibon
86c9f96b6b Run fasClient -a before fasClient -i
fasClient -a is faster and it concerns only a couple of hosts and for FMN
integration where we need the user to have the alias <fasuser>@fp.o we need
the aliases to be generated as quickly as possible when the user is joining the
packager group (especially if it is the first non-cla group that user is
joining)
2014-11-06 17:26:51 +01:00
Valentin Gologuzov
a19fb5a71b [copr] updated configs 2014-11-06 16:33:14 +01:00
Ralph Bean
476b84c24a Add epel7 to the fedora-packages yum config. 2014-11-06 14:51:42 +00:00
Ralph Bean
81915d35a6 Make download01 staging-friendly. 2014-11-06 14:43:36 +00:00
Ralph Bean
a9c5fad013 tag the role. 2014-11-06 14:38:27 +00:00
Ralph Bean
b92f3e6c7c Stop and start services before and after rebuilding the xapian db. 2014-11-06 14:08:27 +00:00
Pierre-Yves Chibon
adb4baa005 Upgrade elections01 to RHEL7 2014-11-06 10:17:18 +01:00
Pierre-Yves Chibon
f4a15c5de4 Adjust /voting/static for RHEL7 2014-11-06 10:14:46 +01:00
Pierre-Yves Chibon
1c111516c4 Upgrade elections02 to RHEL7 2014-11-06 10:14:34 +01:00
Pierre-Yves Chibon
3df9a4be0a Upgrade pkgdb01 to RHEL7 2014-11-06 09:26:52 +01:00
Pierre-Yves Chibon
50f9dc6110 Adjust the alias to /pkgdb/static for RHEL7 2014-11-06 08:52:44 +01:00
Pierre-Yves Chibon
545d471bda Upgrade pkgdb02 to RHEL7 2014-11-06 08:52:03 +01:00
Kevin Fenzi
4acac36df3 Add virthost09 to ansible 2014-11-05 20:53:38 +00:00
Ralph Bean
88d8318332 Nuke that nuancier datanommer check. The one that always times out. 2014-11-05 20:37:15 +00:00
Kevin Fenzi
f284e97e95 Add virthost08 to ansible 2014-11-05 20:04:19 +00:00
Kevin Fenzi
7e812fb7fc Add virthost07 to ansible 2014-11-05 19:45:29 +00:00
Kevin Fenzi
9ef6d93946 Add virthost06 to ansible 2014-11-05 18:31:05 +00:00
Ralph Bean
9078b36531 Apparently the fmn backend needs one more fedmsg endpoint. 2014-11-05 16:57:52 +00:00
Ralph Bean
7534fbc852 Can ansible do parentheses here? 2014-11-05 16:07:09 +00:00
Ralph Bean
d61307e30c Separate fi-collectd into two separate selinux modules. 2014-11-05 16:04:43 +00:00
Ralph Bean
beea6f8612 Ignore errors since we expect this to fail. 2014-11-05 15:43:08 +00:00
Ralph Bean
7d29f1c153 Try to install our fi-collectd module if it is not installed. 2014-11-05 15:40:53 +00:00
Kevin Fenzi
9694a2c908 Update community-cloud alias. Ticket 4586 2014-11-05 15:38:33 +00:00
Kevin Fenzi
987969dcc0 Fix part of patch that didn't apply cleanly. 2014-11-05 15:35:57 +00:00
Praveen Kumar
4b1e5162d7 Update state from installed/removed to present/absent for yum module as per latest documents -> http://docs.ansible.com/yum_module.html 2014-11-05 15:32:11 +00:00
Ralph Bean
fa85764d3b Tell our patched systemd fedmsg services to restart on failure. 2014-11-05 15:18:49 +00:00
Kevin Fenzi
e7c62d3466 Add virthost12 to ansible. 2014-11-04 21:37:36 +00:00
Kevin Fenzi
c7965f8cd4 Add virthost10 to ansible 2014-11-04 20:13:23 +00:00
Pierre-Yves Chibon
88b3fb754d Give +x rights to apache 2014-11-04 17:01:28 +01:00
Pierre-Yves Chibon
7a4b565b05 Reactivate the creation of the directories we upload to 2014-11-04 15:54:19 +01:00
Pierre-Yves Chibon
f451b1ca27 Update the nuancier apache configuration for RHEL7 2014-11-04 15:42:21 +01:00
Pierre-Yves Chibon
1c314a71be Specify the mountdir is a directory in gluster/client 2014-11-04 15:17:55 +01:00
Andrea Veri
b9bccaece2 GNOME Backups: remove combobox.gnome.org from the backups set until we clean some of the previous backups 2014-11-04 13:37:38 +00:00
Stephen Smoogen
9aba0fbd75 and somehow we keep getting the wrong repos turned on 2014-11-04 02:35:18 +00:00
Stephen Smoogen
fc2aae01ac ooops 2014-11-04 02:22:30 +00:00
Stephen Smoogen
d0591e8037 I think now I can get the datacenter working 2014-11-04 02:21:34 +00:00
Stephen Smoogen
396c116b74 and then we tried to make cloud-noc01 use fakefas 2014-11-03 23:18:19 +00:00
Tim Flink
57d2f64097 disable fact gathering for grokmirror update since root user isn't used 2014-11-03 19:58:53 +00:00
Valentin Gologuzov
78d15aa75a [copr] added puppet.fp.o to /etc/hosts 2014-11-03 17:24:52 +01:00
Valentin Gologuzov
e3bbcea98b [copr] using testing repor for copr-keygen 2014-11-03 10:40:28 +01:00
Luke Macken
5be3a3cbb9 Turn the hardcoded mirrormanger user/group ids into variables 2014-10-31 18:25:43 +00:00
Luke Macken
ee00fb884e atomic-composer: Enable the rsync_client SELinux boolean 2014-10-30 23:19:31 +00:00
Luke Macken
fcb92e3dbf atomic-composer: Add a custom config 2014-10-30 19:27:20 +00:00
Luke Macken
bed2d1e145 atomic-composer: Add the rpmostreecompose user to the fedmsg group 2014-10-30 17:24:30 +00:00
Luke Macken
9f74abd316 Add the atomic-composer role to the staging composer 2014-10-30 16:23:07 +00:00
Luke Macken
9ee4e6fd91 Initial commit of the atomic-composer role. 2014-10-30 16:22:28 +00:00
Miroslav Suchý
77626215a2 index even 2 character long strings 2014-10-30 11:01:36 +00:00
Valentin Gologuzov
c455a4a39c [copr] new config options for backend and frontend 2014-10-30 11:56:20 +01:00
Aurélien Bompard
2e23119a63 HyperKitty: add a cronjob to clean expired sessions 2014-10-30 10:16:34 +00:00
Stephen Smoogen
afa0481fc1 and we try to convert fed-cloud11 to a box for kushal 2014-10-29 18:53:36 +00:00
Stephen Smoogen
8814bff83c hack, slash, repeat 2014-10-29 18:17:09 +00:00
Stephen Smoogen
deaee439ed trying to install fed21 with fed20 initrd.img.. no workee for some reason 2014-10-29 17:49:13 +00:00
Stephen Smoogen
7b8c9028ad make some tftp changes 2014-10-29 17:29:44 +00:00
Mathieu Bridon
1b2337558f lookaside: Add the hash type to the folder structure
This makes it more explicit which hash was used for a given tarball.

https://fedorahosted.org/rel-eng/ticket/5846
2014-10-28 10:59:01 +01:00
Mathieu Bridon
a92efe252a lookaside: Add support for sha512 file hashes
With this change, the upload CGI script will start preferring uploads
hashed as sha512, but still accept md5 as a fallback.

The message emitted on fedmsg is unchanged, because doing so would break
it. We're going to fix that later though.

https://fedorahosted.org/rel-eng/ticket/5846
2014-10-28 10:59:01 +01:00
Mathieu Bridon
608810be28 lookaside: De-hardcode md5 assumptions...
... as much as possible.

The point of this patch is to make it easier to move away from md5 in a
subsequent patch, without having one monster change which would be
impossible to review.

Some md5 stuff remains hardcoded, because changing it at this point
would break compatibility.

https://fedorahosted.org/rel-eng/ticket/5846
2014-10-28 10:59:01 +01:00
Mathieu Bridon
b842616187 lookaside: Drop EL < 6 support
This will make it easier to move away from md5 for the source tarballs.

It shouldn't cause any problem anyway, as Fedora runs this on EL 6 in
production, and EL 7 in staging.
2014-10-28 10:16:30 +01:00
Mathieu Bridon
76d83b13a0 lookaside: Remove tempfile when hash verification fails
Without this, tempfiles just accumulate.
2014-10-28 10:16:30 +01:00
Ralph Bean
dc0ddb5392 Include our new friend. 2014-10-27 19:59:39 +00:00
Ralph Bean
d8b665f30c Mount with read and write so we can mash there (staging). 2014-10-27 19:52:51 +00:00
Ralph Bean
ebd08524e8 Of course, it needs sudo too. 2014-10-27 19:40:18 +00:00
Ralph Bean
bc19edf0a6 Put 2fa client stuff on composer.stg. 2014-10-27 19:24:12 +00:00
Ralph Bean
365fb55025 Publish fedoratagger db dump. 2014-10-27 17:17:06 +00:00
Ralph Bean
9d54a117e2 Disable nagios restarts of fedora-tagger. 2014-10-27 17:17:06 +00:00
Ralph Bean
53e619cf6c Put fas_client on composer.stg. 2014-10-27 17:17:06 +00:00
Kevin Fenzi
58278f111c Enable backups for taskotron01.qa 2014-10-27 16:53:45 +00:00
Mathieu Bridon
9bad15971c distgit: Schedule a weekly check of the update hooks
This allows ensuring over time that all repositories have the right
update hooks set up.
2014-10-27 10:48:12 +01:00
Mathieu Bridon
3681259c21 git/checks: Check for the update hooks
We are now setting up distgit (and possibily other things like
Fedora Hosted) to use a more elaborate system of update hooks.

This updates the checking script so it is capable of ensuring this set
up.
2014-10-27 10:48:12 +01:00
Mathieu Bridon
16ffb744be Rearrange some tasks
We have a gitolite/check_fedmsg_hooks role, which installs a script and
schedules it.

Turns out, this script does more than just checking the fedmsg hooks,
depending on the command-line arguments used when running it.

As such, it makes sense to separate it out into its own role, and make
the gitolite/check_fedmsg_hooks role (and any other one using the
script) depend on it.

For example, this script is used for Fedora Hosted (still in Puppet),
and will soon be used for a new distgit hook check.
2014-10-27 10:48:12 +01:00
Mathieu Bridon
7ab3ff2817 distgit: Block push of branches named 'origin/*'
We already use the update hook for gitolite.

This introduces a new update hook, which merely chains the gitolite one,
and a new one to block pushes to badly named branches.

The new hook was written originally by Till Maas.

https://fedorahosted.org/rel-eng/ticket/4071
2014-10-27 10:48:12 +01:00
Till Maas
57e3254f1a autosigner: add endpoints.py 2014-10-23 23:19:13 +02:00
Ralph Bean
3512068af2 Let some fas groups into composer.stg. 2014-10-23 19:52:48 +00:00
Pierre-Yves Chibon
b3db790bce Install/point to release-monitoring.org.intermediate.cert in apache 2014-10-23 15:47:57 +02:00
Pierre-Yves Chibon
12eb6331e4 Disable sslv3 on anitya 2014-10-23 15:46:22 +02:00
Pierre-Yves Chibon
aa15e5ab38 Import some security things from copr-be 2014-10-23 15:33:54 +02:00
Pierre-Yves Chibon
332795f612 Remove entries that are no longer needed 2014-10-23 15:31:25 +02:00
Pierre-Yves Chibon
8fa0a12553 Install the missing requirement: mod_ssl 2014-10-23 15:26:17 +02:00
Pierre-Yves Chibon
ef968fe45e Remove redundancy by putting path in src 2014-10-23 15:24:02 +02:00
Pierre-Yves Chibon
ed247e5279 Adjust path and add missing quotes 2014-10-23 15:22:27 +02:00
Pierre-Yves Chibon
c39489fb69 Fix indentation 2014-10-23 15:21:12 +02:00
Pierre-Yves Chibon
26b5d13f1e Add a permanent redirection from http to https 2014-10-23 15:17:31 +02:00
Pierre-Yves Chibon
b84a23fab0 Install the apache configuration file for anitya https 2014-10-23 15:16:42 +02:00
Pierre-Yves Chibon
10d75e12ac Add the apache configuration file to activate https on anitya 2014-10-23 15:16:29 +02:00
Pierre-Yves Chibon
49c90be742 Start working on making anitya work with https 2014-10-23 15:07:50 +02:00
Pierre-Yves Chibon
4dd88f3ddc Fix the call to lock-wrapper in the anitya cron 2014-10-22 23:16:04 +02:00
Ricky Elrod
b4ca46ae4d Make resolv.conf get set before packages are installed
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-10-22 00:30:46 +00:00
Ricky Elrod
c471482f3c Add resolv.conf for host1plus01
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-10-22 00:15:39 +00:00
Ricky Elrod
723c006918 Merge branch 'master' of /git/ansible 2014-10-21 22:09:45 +00:00
Ricky Elrod
6f5a88c597 Add host1plus to inventory and vhost playbook
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-10-21 22:09:38 +00:00
Valentin Gologuzov
b610e29a23 [copr] polishing frontend role-base playbooks 2014-10-21 19:39:20 +02:00
Valentin Gologuzov
d9568029c3 [copr] bugfix for copr-be-dev config 2014-10-21 18:29:37 +02:00
Pierre-Yves Chibon
09a4d956b7 Tag installing the cron job as: cron 2014-10-21 18:07:41 +02:00
Pierre-Yves Chibon
e3f1abadf1 Wrap the anitya_cron job into lock-wrapper 2014-10-21 18:04:42 +02:00
Valentin Gologuzov
1e6db06f90 [copr] fix configs location for backend 2014-10-21 12:13:32 +02:00
Nick Bebout
499ab100c9 Finish SSL changes for sks 2014-10-21 00:07:37 +00:00
Nick Bebout
585752e8cb Merge branch 'master' of /git/ansible 2014-10-21 00:00:54 +00:00
Nick Bebout
b44af2e6ce Try disabling SSLv3 in the individual SKS virtualhost bloks 2014-10-21 00:00:38 +00:00
Kevin Fenzi
94b8f20b86 Oops. This should be the variable. 2014-10-20 16:47:00 +00:00
Kevin Fenzi
d99dfd0fc2 Change jenkins el7b builder to el7 2014-10-20 16:41:54 +00:00
Valentin Gologuzov
e50cb0d8f9 [copr] don't run delete-forgotten-instances.cron on stg instance 2014-10-20 16:48:50 +02:00
Patrick Uiterwijk
97bb077ec8 Upgrade java to 8 for jenkins
For some reason, Java has an arbitrary limit of 2048 bits DH keys, while id.fp.o accepts only 4096.
Java 8 supports ECDHE, so let's use that instead.
2014-10-20 14:18:58 +00:00
Aurélien Bompard
5368556ea3 Small fix after changeset f67b702c 2014-10-20 10:02:47 +00:00
Aurélien Bompard
4f7ff8efd2 Mailman: ansible group conflict in staging 2014-10-20 09:55:33 +00:00
Aurélien Bompard
f67b702cf5 Use 'postgresql' prefix with SQLAlchemy instead of 'postgres' 2014-10-20 09:55:32 +00:00
Kevin Fenzi
187171d790 Fix pungi repos on builders. 2014-10-19 20:26:55 +00:00
Nick Bebout
e1a098145d Update to new cert 2014-10-18 00:58:47 +00:00
Valentin Gologuzov
4cb5ab9ec9 [copr] uncomment builderpb.yml 2014-10-17 22:25:04 +02:00
Valentin Gologuzov
524e7c19fa [copr] actualised config for backend 2014-10-17 21:47:18 +02:00
Kevin Fenzi
c233c88b9b new retrace hosts have a lot of kernel threads. Increase nrpe limits 2014-10-17 18:54:35 +00:00
Valentin Gologuzov
fed47a19ad [copr] fix dev config: passwd to access frontend from backend 2014-10-17 20:11:11 +02:00
Valentin Gologuzov
cc9b568b77 [copr] enable redis for backend 2014-10-17 19:37:03 +02:00
Valentin Gologuzov
fbda86acbc [copr] install nrpe for fedmsg 2014-10-17 18:49:47 +02:00
Valentin Gologuzov
0e40fab80e [copr] do cloud setup basic 2014-10-17 18:20:50 +02:00
Kevin Fenzi
df531664ea Revert "Tweak this for new instance"
This reverts commit 889f9904b1.
2014-10-17 15:48:33 +00:00
Kevin Fenzi
889f9904b1 Tweak this for new instance 2014-10-17 15:39:07 +00:00
Valentin Gologuzov
b1df739eaa [copr] fighting with yaml escaping of : 2014-10-17 12:59:05 +02:00
Valentin Gologuzov
cefbb9d0c9 [copr] typo 2014-10-17 12:52:17 +02:00
Valentin Gologuzov
ee31dd0850 [copr] added signer_host variable fro backend-stg 2014-10-17 12:38:54 +02:00
Valentin Gologuzov
9bd51d4eea [copr] fixed config vars for backend 2014-10-17 12:26:50 +02:00
Aurélien Bompard
c9395f3872 Fix HyperKitty's URL 2014-10-17 09:12:08 +00:00
Kevin Fenzi
7051ba75e7 Drop duplicate entry 2014-10-16 21:13:20 +00:00
Ralph Bean
7f0a3a4aad Declare fedmsg certs for new staging node. 2014-10-16 17:36:12 +00:00
Ralph Bean
a368b04d5a Also, fedmsg certs. 2014-10-16 17:31:09 +00:00
Ralph Bean
c8badb92ad Remove debug, thank you. 2014-10-16 17:23:22 +00:00
Ralph Bean
3ba0f538f9 Use /mnt/fedora_koji in staging. 2014-10-16 17:06:38 +00:00
Ralph Bean
243158f689 The /vol/ prefix doesn't appear to exist here. 2014-10-16 16:53:11 +00:00
Ralph Bean
3edc3900d8 Try again. 2014-10-16 16:50:39 +00:00
Ralph Bean
13a02217fa Nope. Try to debug. 2014-10-16 16:45:48 +00:00
Ralph Bean
04a157e31b "Protocol not supported"... try nfsvers=3. 2014-10-16 16:42:41 +00:00
Ralph Bean
f494823ca5 Revert that (it worked...) 2014-10-16 16:39:15 +00:00
Ralph Bean
93c8cfd1c4 Change this just to test. 2014-10-16 16:38:45 +00:00
Ralph Bean
668fa6eab0 Tag up the nfs/server role. 2014-10-16 16:37:42 +00:00
Ralph Bean
b8e942e2d7 Try to conditionalize exportfs. 2014-10-16 16:36:26 +00:00
Ralph Bean
2fbf57eb6c Tell the nfs server on koji01.stg to let composer01.stg get the goods. 2014-10-16 16:18:17 +00:00
Miroslav Suchý
a835bd2fe7 update fed09 ssh key 2014-10-16 16:07:46 +00:00
Ralph Bean
7ac83077fe Set datacenter for the nfs/client role. 2014-10-16 15:59:14 +00:00
Ralph Bean
33cf2953f2 Move composer.stg to the 126 net. 2014-10-16 15:33:34 +00:00
Ralph Bean
40e211bafc Adjust gateway for composer.stg. 2014-10-16 15:02:02 +00:00
Pierre-Yves Chibon
dd603d202b Adjust anitya's backend cron job 2014-10-16 11:43:57 +02:00
Valentin Gologuzov
b9cf8da7ec [copr] fix typo 2014-10-16 11:31:54 +02:00
Kevin Fenzi
9c6576d09a This image has the silly login as fedora thing too. 2014-10-16 01:49:44 +00:00
Kevin Fenzi
33ebefb368 Set rhel7 image to new shiny one that might work. 2014-10-15 23:28:05 +00:00
Kevin Fenzi
faa82a7026 Use the right value here 2014-10-15 19:52:36 +00:00
Kevin Fenzi
3c63907df2 Add devpi playbook - ticket 4524 2014-10-15 19:50:26 +00:00
Kevin Fenzi
d7f075d25a Set devpi instance to use rhel7 image. 2014-10-15 19:46:55 +00:00
Kamil Páral
96b421cb7b taskotron-dev01.qa: fix fas_client_groups 2014-10-15 17:56:44 +00:00
Stephen Smoogen
93d4ed0396 make sure port 443 is available for ansible 2014-10-15 15:35:03 +00:00
Stephen Smoogen
a8f81492f9 make changes for retrace moving 2014-10-15 15:25:26 +00:00
Stephen Smoogen
51ac594e18 and then we swapped mac addresses and had loads of fun. 2014-10-15 15:12:46 +00:00
Tim Flink
8a9c1b7bbd adding manual hosts entry for beaker-project.org so it will resolve 2014-10-15 14:43:45 +00:00
Tim Flink
90c85a9750 removing support for sslv3 in ssl-taskotron 2014-10-15 14:39:38 +00:00
Ralph Bean
34c72bf8b4 Temporarily point staging bugzilla2fedmsg at the prod amq fabric. 2014-10-15 13:57:10 +00:00
Miroslav Suchý
fb74faff87 install latest ca-certificates on copr-builders
otherwise mockchain fails to download packages from *https*://fedorapeople.org/...
2014-10-15 12:21:09 +00:00
Kevin Fenzi
74694aaffd Some keyserver fixes. 2014-10-15 04:19:48 +00:00
Kevin Fenzi
b5b308b131 Set keys to not use SSLv3 2014-10-15 04:01:11 +00:00
Kevin Fenzi
5407b962f3 Set download servers to not use SSLv3 2014-10-15 04:00:19 +00:00
Pierre-Yves Chibon
1be00c3d78 No denyhosts on el7 elections 2014-10-14 19:23:07 +02:00
Pierre-Yves Chibon
089fa24c4a Upgrade elections01.stg to rhel7 2014-10-14 19:13:57 +02:00
Martin Krizek
679e3f46fe qadevel buildmaster: user flavor 3 for openstack slaves 2014-10-14 17:13:06 +00:00
Pierre-Yves Chibon
5ed0868707 No denyhosts on nuancier either 2014-10-14 18:10:54 +02:00
Pierre-Yves Chibon
f72fa76228 Upgrade nuancier.stg to RHEL7 2014-10-14 17:55:05 +02:00
Pierre-Yves Chibon
1cc085ffa8 Fix fedocal: rhel7 has py2.7 not 2.6 2014-10-14 17:49:51 +02:00
Pierre-Yves Chibon
199ca9d6de Upgrade pkgdb01.stg to RHEL7 2014-10-14 17:28:48 +02:00
Pierre-Yves Chibon
978a503c49 Upgrade fedocal01 to rhel7 2014-10-14 17:03:58 +02:00
Pierre-Yves Chibon
14e1a0aaf5 Rebuild fedocal02 on rhel7 2014-10-14 16:34:08 +02:00
Pierre-Yves Chibon
57d15a53fc No denyhosts on el7 for pkgdb as well 2014-10-14 16:08:41 +02:00
Pierre-Yves Chibon
a249a7a3aa No denyhosts on el7 2014-10-14 16:02:18 +02:00
Pierre-Yves Chibon
e4af6be7ee fedocal01.stg becomes el7 2014-10-14 15:51:20 +02:00
Ralph Bean
890960b187 Setting up compsers-stg. 2014-10-14 12:59:33 +00:00
Kevin Fenzi
12b63baa92 Add some more epylog weeding 2014-10-14 02:54:39 +00:00
Tim Flink
91734dfb68 attempting to get more debug info out of fetch_activity runs for taskotron 2014-10-14 00:54:12 +00:00
Tim Flink
52eb47b71d taskotron production is live now, should be frozen 2014-10-14 00:45:15 +00:00
Ralph Bean
e49e25873c Simplify that. 2014-10-13 21:11:51 +00:00
Ralph Bean
e7eb813578 Scrub problematic fields from koji fedmsg messages. 2014-10-13 20:04:35 +00:00
Martin Krizek
3a49e0b8bc qadevel buildmaster: allow authenticated user to cancel pending builds 2014-10-13 19:57:55 +00:00
Tim Flink
19e674a577 changing installed packages with buildmaster to only use novaclient on qadevel 2014-10-13 19:18:43 +00:00
Kevin Fenzi
756637b2ba Add collectd to backup03 2014-10-13 19:08:39 +00:00
Tim Flink
1ae8639710 switch taskotron production clients over to the taskotron FAS user 2014-10-13 19:05:17 +00:00
Ralph Bean
e1a9104e0f rhel7 for summershum for real. 2014-10-13 18:45:58 +00:00
Ralph Bean
bf90a26cf7 Welcome, bastion. 2014-10-13 18:29:53 +00:00
Ralph Bean
c86dbf2634 Add pkgdb back into master.yml. 2014-10-13 18:29:32 +00:00
Ralph Bean
3386e1e51b Remove rhel6isms from summershum. 2014-10-13 18:23:55 +00:00
Ralph Bean
2e60797ef4 New "staging-friendly" group to be exempted from staging firewall ban. 2014-10-13 18:22:24 +00:00
Ralph Bean
091df8471d Right. denyhosts. 2014-10-13 18:13:51 +00:00
Ralph Bean
12668754e1 Try summershum staging on rhel7. 2014-10-13 17:56:40 +00:00
Kevin Fenzi
983435138d Name copr-fe by its name, not ip. Add database backup dir, script and cron. 2014-10-13 17:35:52 +00:00
Ralph Bean
9cad1dd3dc Mention the extent of the destruction in prompt. 2014-10-13 16:27:40 +00:00
Ralph Bean
41f87a57aa Try badges-web staging as rhel7. 2014-10-13 16:25:54 +00:00
Ralph Bean
35a8ee820c Add lv removal to destroy_virt_inst. 2014-10-13 16:24:27 +00:00
Tim Flink
ac332df165 removing 'follow' from taskotron.log due to potential issues 2014-10-13 14:31:15 +00:00
Kevin Fenzi
9d0039248b Fix misnamed backup hosts 2014-10-13 14:17:04 +00:00
Miroslav Suchý
25550fd7f2 set up lvm and equallogic driver for cloud 2014-10-13 09:38:04 +00:00
Martin Krizek
370ed52f5b buildmaster: add python-novaclient as buildbot dep 2014-10-13 09:20:27 +00:00
Martin Krizek
ec2a126a59 qadevel buildmaster: add openstack slave for testing 2014-10-13 09:03:54 +00:00
Pierre-Yves Chibon
2b6e15661e call sed directly 2014-10-13 08:51:17 +02:00
Kevin Fenzi
6ac139fc90 Fix this a better way. Drop using the vpn for some backups and merge all back into main inventory 2014-10-12 16:38:45 +00:00
Kevin Fenzi
b6ac5167ed Fix backups, that were broken since I split the inventory out. :( 2014-10-12 16:18:38 +00:00
Kevin Fenzi
ae3f2ab396 Rename copr-be to the host instead of ip, add it to backups. 2014-10-11 18:15:50 +00:00
Tim Flink
cf34e7e4b2 switching taskotron production to use actual bodhi 2014-10-10 23:05:34 +00:00
Tim Flink
241b2bd6b5 enabling bodhi comments in taskotron production 2014-10-10 22:18:36 +00:00
Tim Flink
55f36c5a37 changing taskotorn fas user var to be 'autoqa' 2014-10-10 22:09:36 +00:00
Tim Flink
551096281d sensical english phrases? who wants that? 2014-10-10 22:02:51 +00:00
Tim Flink
aa6c598497 changing wording of new link on taskotron landing page 2014-10-10 21:59:29 +00:00
Tim Flink
c01e57be40 adding link to taskotron tasks wiki page to taskotron frontend 2014-10-10 21:23:37 +00:00
Kevin Fenzi
1856ba1ff6 Try unsetting the explicit ipv4 as it breaks localhost. 2014-10-10 19:30:53 +00:00
Kevin Fenzi
ae1b6c69f2 Set max procs higher on bastion sometimes there's lots of postfix threads 2014-10-10 19:25:47 +00:00
Kevin Fenzi
fe56a8d51b Add bastion01 to ansible 2014-10-10 18:18:29 +00:00
Kevin Fenzi
bbc5a7840c No pam_shield for bastion either 2014-10-10 15:30:23 +00:00
Valentin Gologuzov
8a27994f22 [copr] using new role-based approach for backend-stg 2014-10-10 14:38:41 +02:00
Valentin Gologuzov
7eb2956b42 [copr] custom variable copr_hostbase to setup hostname 2014-10-10 14:25:12 +02:00
Valentin Gologuzov
7b10edf69d [copr] trying to set hostname from hostbase 2014-10-10 14:09:24 +02:00
Valentin Gologuzov
8046f74f50 [copr] rbac acl, trying with replaced old playbook 2014-10-10 14:01:41 +02:00
Valentin Gologuzov
ce52dce02c [copr] playbook not executed, rbac ACL problem? 2014-10-10 12:50:34 +02:00
Valentin Gologuzov
1e6b3d1b2c [copr] new playbooks should affect only *-stg hosts 2014-10-10 12:44:02 +02:00
Valentin Gologuzov
f27bd43dd2 [WIP] Copr playbooks refactoring using ansible roles, new role for copr-keygen 2014-10-10 12:35:14 +02:00
Kevin Fenzi
325d8e6a7e Sync openvpn ccd files from puppet -> ansible 2014-10-09 22:37:14 +00:00
Kevin Fenzi
64c4a4433e Alright, try this. 2014-10-09 21:40:10 +00:00
Kevin Fenzi
490d43bd24 More fun with split http/https 2014-10-09 21:26:30 +00:00
Kevin Fenzi
008a2fa785 Lets try checking the http sites with http explicitly 2014-10-09 21:18:55 +00:00
Kevin Fenzi
017682f5d0 Clean up websites, put http/https in seperate sections. 2014-10-09 21:13:13 +00:00
Kevin Fenzi
f88db95c3b comma comma comma 2014-10-09 20:38:22 +00:00
Kevin Fenzi
45c1990fc1 Add taskotron entries, clean up external proxies to actually check 2014-10-09 20:18:32 +00:00
Kevin Fenzi
cb3a2bee6e Setup check mail queue to handle machines that may have high queues 2014-10-09 20:18:10 +00:00
Ralph Bean
a4ae03cf8a Quote this? 2014-10-09 19:09:01 +00:00
Ralph Bean
20e80ff073 Differentiate fedmsg setup for cloud and non-cloud hosts. 2014-10-09 19:07:04 +00:00
Kevin Fenzi
4649864bb3 Up limits on db-koji01 for nrpe max processes alerts. 2014-10-09 18:01:31 +00:00
Valentin Gologuzov
cce3d89b2a [copr] fixed yum state s/latests/present/ 2014-10-09 16:40:51 +00:00
Ralph Bean
6d3d2846e8 Make #fedora-docs links short. 2014-10-09 16:04:52 +00:00
Kevin Fenzi
4fde42c61d Drop pam_sheild from virthost for now. 2014-10-09 15:26:23 +00:00
Ralph Bean
1937dcae65 Work around that weird "server-3a4eddb8-c754-4f32-969b-3bf47517" cloud hostname. 2014-10-09 15:22:06 +00:00
Ralph Bean
011a32e7c8 fedmsg needs an "nrpe" user... 2014-10-09 15:17:20 +00:00
Ralph Bean
510337cb70 fedmsg for koschei. 2014-10-09 15:13:58 +00:00
Kevin Fenzi
007da4d6b1 Some more epylog weeding 2014-10-09 15:09:50 +00:00
Ralph Bean
658ae04e13 Add fedmsg/base tag to fedmsg/base/role. 2014-10-09 14:42:51 +00:00
Miroslav Suchý
e5e922297a final cleanup 2014-10-09 13:19:04 +00:00
Miroslav Suchý
5437a9c196 try this 2014-10-09 13:17:28 +00:00
Miroslav Suchý
e3af4aca46 try this 2014-10-09 13:14:57 +00:00
Miroslav Suchý
519a90f3ca try this 2014-10-09 13:14:25 +00:00
Miroslav Suchý
a420e99a1e try this 2014-10-09 13:13:26 +00:00
Miroslav Suchý
668434f369 try this 2014-10-09 13:11:57 +00:00
Miroslav Suchý
2ac9aca4b2 try this 2014-10-09 13:07:14 +00:00
Miroslav Suchý
9f60db7b13 try this 2014-10-09 13:06:01 +00:00
Miroslav Suchý
db50f89f1c try this 2014-10-09 13:02:01 +00:00
Miroslav Suchý
840ef62366 try this 2014-10-09 12:59:30 +00:00
Miroslav Suchý
5846b7045d try this 2014-10-09 12:58:29 +00:00
Miroslav Suchý
a68a37768c try this 2014-10-09 12:54:10 +00:00
Miroslav Suchý
dd204f1304 try this 2014-10-09 12:47:02 +00:00
Miroslav Suchý
bac1ddaed9 update epe7 config for copr 2014-10-09 08:38:52 +00:00
Kevin Fenzi
dde8786675 Also install transports on bastion/gateway 2014-10-09 03:07:17 +00:00
Kevin Fenzi
3ae384e7cf Pull correct transports file for bastion/gateway 2014-10-09 03:02:11 +00:00
Kevin Fenzi
8055192089 This is rhel7 only. 2014-10-09 00:35:03 +00:00
Kevin Fenzi
aa3e1ad5a8 Copy here too 2014-10-08 23:58:41 +00:00
Kevin Fenzi
db8232f0c7 No location needed 2014-10-08 23:55:13 +00:00
Kevin Fenzi
b96e6ec548 Add packager_alias 2014-10-08 23:51:16 +00:00
Kevin Fenzi
d630de37f5 Helps if you don't typo this too 2014-10-08 23:47:31 +00:00
Kevin Fenzi
34a7563c4d No like spaces here. 2014-10-08 23:45:12 +00:00
Kevin Fenzi
5ebfdeabdc Add the aliases.template 2014-10-08 23:40:37 +00:00
Kevin Fenzi
ddd34c16ef Try setting things this way. 2014-10-08 23:30:33 +00:00
Kevin Fenzi
a3222e0097 Fix typo in filename 2014-10-08 23:25:37 +00:00
Kevin Fenzi
d7693328eb No need for recurse here. 2014-10-08 23:22:53 +00:00
Kevin Fenzi
837ae4ef1e Correct path here 2014-10-08 23:20:28 +00:00
Kevin Fenzi
8b32c6129c Here too 2014-10-08 23:17:45 +00:00
Kevin Fenzi
bf67428a23 Try copy here 2014-10-08 23:15:09 +00:00
Kevin Fenzi
1c0771b84b This is a string 2014-10-08 23:08:16 +00:00
Kevin Fenzi
3088f6c4ef Add fas_client aliases handling 2014-10-08 22:48:35 +00:00
Kevin Fenzi
a50758d90e A basic first cut at a bastion role. Going to use on bastion02 2014-10-08 22:37:24 +00:00
Kevin Fenzi
6fb0963909 Drpo these forwarding rules now that we have the bridge workaround. 2014-10-08 22:16:46 +00:00
Kevin Fenzi
31f0e18dfb Fix typo 2014-10-08 21:43:53 +00:00
Kevin Fenzi
e67a1eaff5 Add rules file 2014-10-08 21:43:13 +00:00
Tim Flink
9d782f9c16 bumping process warn and critical numbers for qa09.qa 2014-10-08 21:17:17 +00:00
Kevin Fenzi
ca6e170d52 Workaround bridge bug on virthosts - https://bugzilla.redhat.com/show_bug.cgi?id=634736 2014-10-08 21:03:20 +00:00
Kevin Fenzi
e2c4fd4d3d Try nuking the iptables hashlimit rules on coloamer and switch in pam_shield. 2014-10-08 20:50:57 +00:00
Kevin Fenzi
71b4f79db5 Add pam_shield role to replace denyhosts on rhel7 machines 2014-10-08 20:47:40 +00:00
Ralph Bean
aa1eb5fa09 /etc/hosts for datagrepper. 2014-10-08 20:04:39 +00:00
Tim Flink
68d55e0bfb adding resultsdb, taskotron-clients, qa09, taskotron group to nagios 2014-10-08 19:37:25 +00:00
Tim Flink
17aee444e0 moving taskotron01.qa nagios config to have a .cfg suffix 2014-10-08 18:56:51 +00:00
Tim Flink
3d7732b605 trying to use logfile following in buildbot again, correct syntax this time 2014-10-08 18:22:29 +00:00
Tim Flink
60e9da9936 adding taskotron01.qa to nagios server 2014-10-08 17:42:48 +00:00
Tim Flink
1754571159 removing option in buildstep that appears to have a bug 2014-10-08 16:08:53 +00:00
Tim Flink
e8f4f36f35 fixing syntax error in buildmaster config for taskotron 2014-10-08 16:05:48 +00:00
Tim Flink
1ca6316401 adding taskotron.log to task execution buildstep 2014-10-08 16:03:08 +00:00
Miroslav Suchý
5f779a00e3 output of worker changed
worker with task have $0 set to e.g:
 1024 ?        Sl     0:48  \_ worker-PC 1  Task: 51919-fedora-19-i386
2014-10-08 12:04:50 +00:00
Martin Krizek
47239d5c57 buildmaster: do not merge requests in all builders 2014-10-08 08:46:23 +00:00
Pierre-Yves Chibon
02d0b98c93 The update_package_info cron requires now pyliblzma instead of python-pkgwat-api 2014-10-08 09:51:15 +02:00
Pierre-Yves Chibon
ef507222bd Adjust the url to the yum repo on update_package_info - pkgdb02 2014-10-08 09:35:05 +02:00
Pierre-Yves Chibon
7d23cb2886 Add python-pkgwat-api on the pkgdb hosts for the cron job to update package's info 2014-10-08 09:31:43 +02:00
Miroslav Suchý
2a6b99d791 add myself to root_auth_users on fed-cloud09 (take two) 2014-10-07 18:33:56 +00:00
Miroslav Suchý
5c9ace587f add myself to root_auth_users on fed-cloud09 2014-10-07 17:52:54 +00:00
Miroslav Suchý
dcb2bc881a create /root/images and do not try to upoad rhel images 2014-10-07 17:15:37 +00:00
Kevin Fenzi
185c32dd47 Merge branch 'master' of /git/ansible 2014-10-07 15:49:28 +00:00
Kevin Fenzi
bf8ff56b36 Add a bit of weed eating for fedmsg caching on notifs 2014-10-07 15:48:44 +00:00
Martin Krizek
f52b94dbe9 buildmaster: do not merge requests 2014-10-07 14:28:51 +00:00
Martin Krizek
7cc155f67d buildmaster: add missing import 2014-10-07 13:28:27 +00:00
Martin Krizek
74f382d69d buildmaster: use custom gotChange in JobScheduler 2014-10-07 13:21:34 +00:00
Martin Krizek
942a66cd0d buildmaster: trying different scheduler 2014-10-07 11:03:37 +00:00
Ricky Elrod
dcef57462b ansiblize fedmsg-jenkins
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-10-07 02:52:43 +00:00
Ralph Bean
f4c5c9cbc8 FAS has 32 wsgi processes. 2014-10-07 00:16:51 +00:00
Kevin Fenzi
4f1d46cc6c Disable 4 playbooks in master that currently error, please re-enable when they are fixed. 2014-10-06 18:48:24 +00:00
Ralph Bean
655579291f mash.conf for bodhi (staging). 2014-10-06 16:57:31 +00:00
Martin Krizek
1c8998c7a0 buildmaster: run build for each change 2014-10-06 16:19:42 +00:00
Ralph Bean
16fb5000a0 Remove old copy-pasta comment. 2014-10-06 15:38:30 +00:00
Ralph Bean
06de2103c3 Add fedora-docs fedmsg bot. 2014-10-06 15:38:21 +00:00
Kevin Fenzi
1b5fc3efe0 Comment this for now until we can fix it. 2014-10-04 23:54:04 +00:00
Kevin Fenzi
b8521533ad Quote this and see if that works to make ansible ok with the - 2014-10-04 23:49:51 +00:00
Kevin Fenzi
937700d3eb Disable this for now, breaks copr playbooks 2014-10-04 23:39:47 +00:00
Kevin Fenzi
87955fd2dd This has to have accept_hostkey for newer ansible. 2014-10-04 22:02:18 +00:00
Kevin Fenzi
d71f6ea27e Fix typo 2014-10-04 02:21:41 +00:00
Kevin Fenzi
9901df6709 Fix path to script 2014-10-04 02:20:06 +00:00
Ralph Bean
698f6c4d0f postfix group for anitya. 2014-10-03 20:21:02 +00:00
Ralph Bean
0773038bf9 Send fedmsg+collectd stuff from the anitya frontend. 2014-10-03 20:02:05 +00:00
Ralph Bean
6d1870bc67 Add nagios checks for anitya fedmsg stuff. 2014-10-03 19:56:58 +00:00
Kevin Fenzi
154ea038c8 Update master.yml for recent host/group playbooks 2014-10-03 19:47:36 +00:00
Ralph Bean
ccf0d22e10 Off by one. 2014-10-03 19:38:12 +00:00
Ralph Bean
e03749129e For anitya, use the public relay. 2014-10-03 18:16:02 +00:00
Kevin Fenzi
a76f080ffc Remove mirrorlist-serverbeach from nagios/inventory 2014-10-03 17:05:35 +00:00
Ralph Bean
a999daa263 And.. we're using this port not that port. 2014-10-03 16:32:50 +00:00
Ralph Bean
cbf28d67da Got these backwards. 2014-10-03 16:30:11 +00:00
Pierre-Yves Chibon
61722b29ba Specify we want the output of the cron mailed to root 2014-10-03 17:18:54 +02:00
Pierre-Yves Chibon
bfbed48a27 Move the weekly cron job to saturday 2014-10-03 17:13:03 +02:00
Ralph Bean
caf36a7728 Can't resolve this domain yet. 2014-10-03 15:03:14 +00:00
Ralph Bean
2380d34c4d Lots of pruning for anitya fedmsg. 2014-10-03 15:02:44 +00:00
Ralph Bean
25fedcb624 Mail in over the vpn. 2014-10-03 15:02:32 +00:00
Ralph Bean
1bb1267077 Typofix. 2014-10-03 14:49:35 +00:00
Ralph Bean
c352aee948 Nope. 2014-10-03 14:46:42 +00:00
Ralph Bean
140f417916 First stab at reorganizing fedmsg for anitya into its own bus. 2014-10-03 14:39:57 +00:00
Ralph Bean
3e93b02f8f Adjust firewall rules for anitya. 2014-10-03 14:25:12 +00:00
Ralph Bean
997634c14d Add a playbook for pushing out new badge content. 2014-10-03 13:15:35 +00:00
Stephen Smoogen
bcf0400cdb and we should not try hacking on ansible at 10pm but hey.. 2014-10-03 04:00:48 +00:00
Stephen Smoogen
3d4c9ed695 and we should not try hacking on ansible at 10pm but hey.. 2014-10-03 03:58:20 +00:00
Stephen Smoogen
058c2a1f90 and we should not try hacking on ansible at 10pm but hey.. 2014-10-03 03:56:52 +00:00
Stephen Smoogen
a4b4f28531 and we make fed-cloud10 and fed-cloud11 play look the same 2014-10-03 03:10:35 +00:00
Kevin Fenzi
6c9493ec3b Disable this for now. 2014-10-03 02:10:34 +00:00
Stephen Smoogen
a1acaede1b hey remember that thing called arrays? 2014-10-03 01:57:43 +00:00
Stephen Smoogen
ff1530f3bf and I am such a silly. 2014-10-03 01:49:32 +00:00
Stephen Smoogen
4434fdb965 and maybe this will get the right resolv.conf since it dont like cloud 2014-10-03 01:34:09 +00:00
Kevin Fenzi
5006fbc089 Add noc01 to be able to talk to db-koji01's db for monitoring. 2014-10-03 01:19:20 +00:00
Ricky Elrod
280179277b Merge branch 'master' of /git/ansible 2014-10-02 18:59:14 +00:00
Ricky Elrod
f4110913b7 rename some things
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-10-02 18:59:08 +00:00
Tim Flink
104b695d3b fixing typo in ip for gateway/bastion01 2014-10-02 18:56:33 +00:00
Tim Flink
ed78d382f9 adding tag to openvpn client role in taskotron-prod 2014-10-02 18:30:05 +00:00
Tim Flink
1f6839e733 adding vpn hosts to qa.fp.o hosts file 2014-10-02 18:20:26 +00:00
Kevin Fenzi
de0ef658f5 Drop this check entirely 2014-10-02 17:39:51 +00:00
Ralph Bean
e5c291a629 Add another seboolean for the anitya frontend. 2014-10-02 17:32:56 +00:00
Kevin Fenzi
039d2018b7 Replace all db04 references with db-koji01 2014-10-02 16:35:56 +00:00
Kevin Fenzi
1fc198fb10 Move backup_clients out of main inventory into a seperate one. They duplicate existing entries. 2014-10-02 15:48:25 +00:00
Ralph Bean
852e41768c More threads/endpoints for the badges backend. 2014-10-02 14:25:12 +00:00
Ralph Bean
208d22978b Apparently the "?" is illegal in those strings. 2014-10-02 13:50:42 +00:00
Ralph Bean
b3a97a1c91 Add two new nagios checks for the FMN "Producers" 2014-10-02 13:42:27 +00:00
Pierre-Yves Chibon
ad9673cbae Colon are a bad idea in yaml file 2014-10-02 14:51:19 +02:00
Pierre-Yves Chibon
441abc4bc7 Install the pkgdb_update_package_info cron 2014-10-02 14:47:44 +02:00
Pierre-Yves Chibon
e96763575f Add the cron job to update the package info on pkgdb 2014-10-02 14:45:59 +02:00
Pierre-Yves Chibon
50572e89e1 Add the anity frontend endpoint as well 2014-10-02 11:22:40 +02:00
Pierre-Yves Chibon
972933e60d Actually install the anitya endpoint 2014-10-02 09:25:03 +02:00
Pierre-Yves Chibon
d191a80c22 Add the anitya endpoint for fedmsg 2014-10-02 09:11:27 +02:00
Ralph Bean
f61187968b Try to stagger this correctly. 2014-10-02 00:19:33 +00:00
Ralph Bean
4e4f4d6770 This one is probably better. 2014-10-01 22:52:24 +00:00
Ralph Bean
f499a52b43 Fix collectd formatting. 2014-10-01 22:50:06 +00:00
Ralph Bean
16493cd087 Still not working. Does this have to be 15? Probably not related. 2014-10-01 22:43:44 +00:00
Ralph Bean
7ed846ef64 Looks like more frequent is the only way to go. 2014-10-01 22:06:18 +00:00
Ralph Bean
a9a4c5037c I guess these could be faster. 2014-10-01 21:02:33 +00:00
Ralph Bean
37795591d7 Ignore this one too. 2014-10-01 20:57:13 +00:00
Ralph Bean
0292f871ef Ignore errors here for now. 2014-10-01 20:56:03 +00:00
Ralph Bean
8459230672 Monitor some badges pages too. 2014-10-01 20:54:40 +00:00
Ralph Bean
9b13c4ac6c Only check this every 90s. 2014-10-01 20:51:19 +00:00
Ralph Bean
2833a3a058 Disable these defaults to avoid selinux. 2014-10-01 20:39:25 +00:00
Kevin Fenzi
71a350daca Lock down postgresql access to koji03/04. Nothing else should need it. 2014-10-01 20:36:14 +00:00
Pierre-Yves Chibon
111bb8ba62 Use FAS stg in badge stg 2014-10-01 22:32:36 +02:00
Kevin Fenzi
55de556700 Merge branch 'master' of /git/ansible 2014-10-01 20:30:08 +00:00
Ralph Bean
d85df84416 Compile that. 2014-10-01 20:29:54 +00:00
Kevin Fenzi
1dc2945f12 Add koji cleanup sessions on koji database server. 2014-10-01 20:29:25 +00:00
Ralph Bean
70924e6a89 Let collectd run bash scripts. 2014-10-01 20:09:53 +00:00
Ralph Bean
92e208baed Forgot the tags, silly. 2014-10-01 19:57:18 +00:00
Ralph Bean
83bfd01ea8 Turns out there is no "collectd" user. 2014-10-01 19:49:40 +00:00
Ralph Bean
36dd2f2db0 Tell selinux this is okay. 2014-10-01 19:49:28 +00:00
Ralph Bean
7781f66a8d Add tags to collectd roles. 2014-10-01 19:38:16 +00:00
Ralph Bean
02eaf76319 Bugfixes. 2014-10-01 19:36:07 +00:00
Ralph Bean
ad55285111 Try it out. 2014-10-01 19:22:27 +00:00
Ralph Bean
1fe528440b Typofix. 2014-10-01 19:21:00 +00:00
Ralph Bean
091dc9eb1c Add a collectd/web-service role for monitoring site latency. 2014-10-01 19:20:12 +00:00
Ralph Bean
2e3ebf1ab4 This should come last. 2014-10-01 16:33:20 +00:00
Ralph Bean
0c51cbc281 There is no staging here.. 2014-10-01 16:32:35 +00:00
Ralph Bean
8c4f34a3c9 hosts before fas_client. 2014-10-01 16:22:34 +00:00
Pierre-Yves Chibon
d61bde2a6a The cron job is a python script to run 2014-10-01 18:07:07 +02:00
Ralph Bean
a75aaec14d 7 stuff 2014-10-01 15:57:36 +00:00
Ralph Bean
f877cd37da Stronger. More powerful. 2014-10-01 15:55:51 +00:00
Pierre-Yves Chibon
ece9821690 The cron job is a file not a template 2014-10-01 17:55:16 +02:00
Kevin Fenzi
7559f7fd3b No need for this... we think. ;) 2014-10-01 15:50:27 +00:00
Pierre-Yves Chibon
ca1062c43e Install the anitya backend cron job via ansible 2014-10-01 17:47:36 +02:00
Pierre-Yves Chibon
c87e79b2d2 Add the cron job checking bi-daily for new releases 2014-10-01 17:47:36 +02:00
Kevin Fenzi
91a23d6255 Only expose postgresql to frontend node 2014-10-01 15:46:50 +00:00
Ralph Bean
1ce7c09999 Add proxies to the restart fedmsg playbook now that they run gateways. 2014-10-01 15:28:39 +00:00
Pierre-Yves Chibon
88c44a80ef Open some port for fedmsg on anitya-backend 2014-10-01 17:21:23 +02:00
Pierre-Yves Chibon
cd8ab5fd24 Drop the .vpn from the anitya hosts 2014-10-01 16:58:28 +02:00
Kevin Fenzi
e83f4d027a Goodbye keys01. Nice knowning you. 2014-10-01 14:58:10 +00:00
Ralph Bean
1bc4fc879c Bump that threshold up more. 2014-10-01 14:27:07 +00:00
Ralph Bean
f2fa7250f3 Add extra fedmsg endpoints for the fedbadges backend now that it has 4 threads. 2014-10-01 13:46:28 +00:00
Ralph Bean
0b0b7ce975 Adjust backlog nagios threshholds. 2014-10-01 13:44:26 +00:00
Pierre-Yves Chibon
c8646b0591 Make postgresql listen to something else than localhost 2014-10-01 14:57:05 +02:00
Pierre-Yves Chibon
4ec83d46a2 Let's run the flask application at the root of the web server 2014-10-01 13:24:43 +02:00
Pierre-Yves Chibon
c0db617046 Let's turn on debug in flask for now 2014-10-01 13:24:12 +02:00
Pierre-Yves Chibon
d22220dca8 anitya-backend really doesn't need https open 2014-10-01 13:21:37 +02:00
Pierre-Yves Chibon
679e88392f Adjust the IP address of the backend node 2014-10-01 12:26:31 +02:00
Pierre-Yves Chibon
a1f9a7a919 Open port 443 on anitya-backend 2014-10-01 12:09:48 +02:00
Pierre-Yves Chibon
2fe276cb48 Open port 5432 on anitya backend 2014-10-01 11:48:29 +02:00
Pierre-Yves Chibon
bc071b12d1 Add the anitya tag to both anitya roles 2014-10-01 11:19:40 +02:00
Pierre-Yves Chibon
adcb87e885 Add the anitya_frontend tag in the anitya frontend role 2014-10-01 11:19:25 +02:00
Pierre-Yves Chibon
b61ce8ede5 Import the files and templates from postgresql_server to anitya backend 2014-10-01 11:14:59 +02:00
Pierre-Yves Chibon
7602b3bb79 Set the pg_hba.conf file in anitya backend 2014-10-01 11:13:39 +02:00
Pierre-Yves Chibon
6df42dffdf Add the postgresql handler to anitya_backend 2014-10-01 11:10:10 +02:00
Pierre-Yves Chibon
4661e21b8e Drop the postgressql_server roles and to it myself for anitya_backen 2014-10-01 10:04:11 +02:00
Pierre-Yves Chibon
104e652132 Try setting shmmax on anitya-backend 2014-10-01 09:59:46 +02:00
Kevin Fenzi
c15c3a198d Add yumrepos task here. 2014-10-01 02:20:46 +00:00
Kevin Fenzi
7d18051528 Add a nagios unsush to reboot playbook 2014-10-01 01:53:33 +00:00
Kevin Fenzi
fe13d70d6f Add new playbooks to master.yml 2014-10-01 01:53:11 +00:00
Kevin Fenzi
3299a07771 Clean up copr in inventory 2014-10-01 01:52:28 +00:00
Luke Macken
d0a3fbe921 jenkins: Install openssl-devel for bodhi 2014-09-30 19:57:01 +00:00
Ralph Bean
8c8d693483 Give fedbadges extra threads. 2014-09-30 18:29:37 +00:00
Pierre-Yves Chibon
20555a3f3e Boost the memory for anitya-backend 2014-09-30 19:52:28 +02:00
Luke Macken
6ff9d93132 jenkins: Install libffi-devel for bodhi 2014-09-30 17:42:44 +00:00
Ralph Bean
dc1b05774f Still need this. 2014-09-30 17:25:23 +00:00
Ralph Bean
d5b0ddd9fe Typofix. 2014-09-30 17:18:22 +00:00
Ralph Bean
d5f5f9a661 Remove old rhel6-ism. 2014-09-30 16:53:48 +00:00
Kevin Fenzi
1236210139 Clean up host_reboot playbook. 2014-09-30 16:48:50 +00:00
Kevin Fenzi
473125a933 Missing yumrepos task 2014-09-30 16:48:29 +00:00
Dennis Gilmore
85d2cc9c57 make sure that the branched and rawhide compose boxes get packagedb-cli installed 2014-09-30 16:35:29 +00:00
Ralph Bean
408d35e140 denyhosts on 7. 2014-09-30 16:28:46 +00:00
Ralph Bean
a8291a4d7a Also rhel7 here. 2014-09-30 15:32:24 +00:00
Pierre-Yves Chibon
d7422595cf Rename the hosts file for the anitya hosts 2014-09-30 17:26:48 +02:00
Ralph Bean
9c224b10b5 Make badges backend rhel7. 2014-09-30 15:23:35 +00:00
Ralph Bean
6e618d1dbe Add a new fedmsg irc bot for #fedora-design. 2014-09-30 14:24:15 +00:00
Ralph Bean
f765833798 Rename anitya-backend01. 2014-09-30 13:57:37 +00:00
Ralph Bean
58e1f3b930 Rename anitya-frontend01. 2014-09-30 13:40:47 +00:00
Pierre-Yves Chibon
78ed619ad4 Switch back to the option 2014-09-30 14:39:12 +02:00
Pierre-Yves Chibon
b5e20b4b23 Only run postgresql-setup initdb when /var/lib/pgsql/data does not exist 2014-09-30 14:26:55 +02:00
Ralph Bean
160d1efbb1 Add nagios monitoring to db-datanommer02. 2014-09-30 01:30:10 +00:00
Ralph Bean
7b0fadb7c1 Remove old db-datanommer01 inventory file. 2014-09-30 01:29:50 +00:00
Kevin Fenzi
89729015bb Tag yumrepos task with yumrepos tag 2014-09-30 00:03:50 +00:00
Kevin Fenzi
260e5b5066 Enable the non beta epel7 repo 2014-09-30 00:01:25 +00:00
Ralph Bean
3db5554632 Disable epel7-beta now that it no longer exists. 2014-09-29 23:13:00 +00:00
Kevin Fenzi
b1816ca025 And this one 2014-09-29 20:51:02 +00:00
Kevin Fenzi
026d3438df Put this back 2014-09-29 20:45:35 +00:00
Kevin Fenzi
58379f9c0f Swtich this back, thanks virt-install 2014-09-29 20:42:50 +00:00
Kevin Fenzi
6983d2a5d4 Ok, how about this 2014-09-29 20:32:34 +00:00
Kevin Fenzi
6c69522cc1 Do we need this? 2014-09-29 20:31:33 +00:00
Kevin Fenzi
af214f3b81 No need to define ks stuff, it should get default. 2014-09-29 20:27:19 +00:00
Kevin Fenzi
37c7e87a45 Looks like virt-install in rhel7 can't handle https -l urls 2014-09-29 20:25:35 +00:00
Kevin Fenzi
0fd811acf2 A bit of a more real mem size 2014-09-29 20:25:05 +00:00
Kevin Fenzi
84656f3da3 Try this out. 2014-09-29 20:17:38 +00:00
Kevin Fenzi
ef10a45253 Remove this 2014-09-29 20:14:22 +00:00
Kevin Fenzi
c65cfea2d2 Try this 2014-09-29 20:11:31 +00:00
Kevin Fenzi
a3f0b2083a ok https, lets see if this makes you happy. 2014-09-29 19:59:55 +00:00
Kevin Fenzi
9a5d68a0a6 Look ma, more fallout 2014-09-29 19:56:22 +00:00
Kevin Fenzi
dff3321453 300GB is fine, no need for 3TB. ;) 2014-09-29 19:54:08 +00:00
Stephen Smoogen
b5e06c0c96 and this should add dhcp for various hosts. 2014-09-29 19:35:09 +00:00
Kevin Fenzi
34d55d2c8f Add a db-koji01 rhel7 postgres instance 2014-09-29 18:58:40 +00:00
Stephen Smoogen
2fa4310dfb and fixed fed-cloud10 2014-09-29 17:19:24 +00:00
Miroslav Suchý
f5184e128c fix ips 2014-09-29 17:17:15 +00:00
Miroslav Suchý
3bc8cea946 configure fed-cloud11 as compute node 2014-09-29 17:10:07 +00:00
Miroslav Suchý
3e804758ab final tune of internal ips
at least I hope
2014-09-29 16:46:51 +00:00
Pierre-Yves Chibon
c25292a7fd Leave the shmmax value alone on anitya-backend 2014-09-29 17:51:11 +02:00
Pierre-Yves Chibon
6e7db18037 Drop changing the kernel shmmax value; handled in postgresql_server 2014-09-29 16:53:39 +02:00
Pierre-Yves Chibon
2623e67b26 set a kernel shmmax value for anitya-backend
Info: http://www.postgresql.org/docs/9.1/static/kernel-resources.html
(see the Linux section about half way through)

Calculation: for 1G available: 2097152 * 2048
2014-09-29 16:46:18 +02:00
Pierre-Yves Chibon
ad717c8ff0 Set the kernel SHMMAX parameter if one is defined for the host 2014-09-29 16:32:49 +02:00
Ralph Bean
57b39c0630 Typofix. 2014-09-29 13:18:39 +00:00
Ralph Bean
fce3ccd3c1 Monitor the genacls fedmsg-hub with collectd. 2014-09-29 13:17:47 +00:00
Pierre-Yves Chibon
faf8189569 Adjust the kernel.shmmax value for anitya/backend alone 2014-09-29 14:48:28 +02:00
Pierre-Yves Chibon
ebdb573de3 Clean some more the -hosts files for the anitya hosts 2014-09-29 13:29:20 +02:00
Pierre-Yves Chibon
122553b581 Drop infra.fp.o from the hosts file 2014-09-29 13:23:26 +02:00
Pierre-Yves Chibon
e1eb5c3195 Drop postgresql-server from the anitya/backend role 2014-09-29 12:37:16 +02:00
Pierre-Yves Chibon
d7818e9762 Add the postgresql_server roles to the anitya backend 2014-09-29 12:36:54 +02:00
Pierre-Yves Chibon
f4ac29df15 And add the missing part 2014-09-29 12:29:59 +02:00
Pierre-Yves Chibon
3359063e29 Rename the -hosts files for anitya 2014-09-29 12:29:05 +02:00
Pierre-Yves Chibon
7c722a4c71 Add the hosts files for the anitya hosts 2014-09-29 12:20:58 +02:00
Pierre-Yves Chibon
cd607d2074 Install the db server on the backend 2014-09-29 11:12:32 +02:00
Pierre-Yves Chibon
773be99b25 Fix the variable names 2014-09-29 11:12:21 +02:00
Pierre-Yves Chibon
3a78c5467d Activate the anitya roles 2014-09-29 11:02:09 +02:00
Pierre-Yves Chibon
c5e7536b4b Get started on the anitya roles for frontend and backend 2014-09-29 10:26:52 +02:00
Kevin Fenzi
68ffb83886 Have to use https here now since we enabled it on infrastructure.fp.o 2014-09-27 22:04:20 +00:00
Ricky Elrod
a075b9ae28 Nope, that wasn't it either. Sigh.
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-09-27 04:02:07 +00:00
Ricky Elrod
4628a26a94 Rename old phx specific group file, this explains a bit
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-09-27 03:53:38 +00:00
Ricky Elrod
2da4e300cb only restart nagios if the configuration check passes
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-09-27 03:30:41 +00:00
Kevin Fenzi
73def7a6c5 Comment out telia entirely to see if check/diff runs can finish without 2014-09-27 02:56:06 +00:00
Patrick Uiterwijk
aeffd70454 FedOAuth 3.1.0 has a global template dir 2014-09-26 21:17:19 +00:00
Ralph Bean
63d2f807b5 Point some /etc/hosts entries at new db-datanommer. 2014-09-26 19:45:27 +00:00
Kevin Fenzi
3024738a4e Set nrpe for virthost 2014-09-26 19:01:48 +00:00
Ralph Bean
c7da406b7d Enable backups of datanommer on the new host. 2014-09-26 18:59:57 +00:00
Kevin Fenzi
6c371ad39f Add osuosl03, as it apparently wasn't added. 2014-09-26 18:37:44 +00:00
Kevin Fenzi
29bfbdffda Fix qa09.mgmt https check and add a restart for nagios 2014-09-26 18:23:17 +00:00
Kevin Fenzi
e1563a34bb Drop all references to unbound-telia01 in favor of new unbound-osuosl01 2014-09-26 18:04:29 +00:00
Ralph Bean
3562b050ad Add tag to role. 2014-09-26 17:35:53 +00:00
Ralph Bean
c1b373543e Point old references from db-datanommer01 to db-datanommer02. 2014-09-26 16:14:25 +00:00
Andrea Veri
b013525f9c GNOME Backups: make sure the account.gnome.org directory is created 2014-09-26 15:44:58 +00:00
Luke Macken
ee2f8199fd Disable fedora-package traceback emails until we spin a new release 2014-09-25 22:55:37 +00:00
Luke Macken
7070148732 Fix the fedora-package distmappings 2014-09-25 22:54:30 +00:00
Ralph Bean
e71742c4b9 Add tag. 2014-09-25 20:44:30 +00:00
Ralph Bean
535f5d324a Tweak kernel.shmmax for postgres. 2014-09-25 20:42:43 +00:00
Ralph Bean
f7312493a8 Try moving this. 2014-09-25 20:30:31 +00:00
Ralph Bean
8651f11fd8 Run the setup command if it hasn't already been run. 2014-09-25 20:27:04 +00:00
Ralph Bean
1fb5bd3524 Add the postgres tag to the role. 2014-09-25 20:26:49 +00:00
Ralph Bean
9fa7155f44 Reorganize some things in the pg playbook. 2014-09-25 20:10:57 +00:00
Ralph Bean
3a51a6e065 Add this host. 2014-09-25 20:10:57 +00:00
Kevin Fenzi
99011effe9 Add tiz-korg-mirror.kernel.org to acls for rsync. 2014-09-25 19:47:54 +00:00
Ralph Bean
eb6b9b4194 No. This one, please. 2014-09-25 18:46:25 +00:00
Ralph Bean
69bd9f741a New host db-datanommer02. 2014-09-25 18:43:05 +00:00
Ralph Bean
1f881b88d5 Define nagios checks for bugzilla2fedmsg01. 2014-09-25 17:00:03 +00:00
Kevin Fenzi
18db41028c Add a bunch more sshd and ansible noise to weed in epylog. 2014-09-25 14:59:41 +00:00
Tim Flink
c16541440c have taskotron prod clients use stg fakefedorainfra instance for now 2014-09-25 13:28:11 +00:00
Ralph Bean
821d2f8176 Support sending new moksha stats into collectd. 2014-09-25 13:21:08 +00:00
Tim Flink
a63afc8031 adding tag to hosts role on all taskotron and resultsdb groups 2014-09-24 23:54:10 +00:00
Tim Flink
7d5e0714b3 updating taskotron01.qa host pubkey for git checkouts 2014-09-24 23:48:25 +00:00
Tim Flink
1891c54a63 adding tag to hosts role in taskotron-prod 2014-09-24 23:13:37 +00:00
Tim Flink
ebfcb2b1c9 disabling bodhi reporting in prod while autoqa is on, adding fas password 2014-09-24 22:56:35 +00:00
Tim Flink
926f0a48aa use sudo for grokmirror clones so user is correct 2014-09-24 20:00:08 +00:00
Tim Flink
4091ce9135 adding playbook to update all grokmirror repos (used for taskotron updates) 2014-09-24 19:56:48 +00:00
Ralph Bean
e3527572cd Fix indentation error. 2014-09-24 18:52:34 +00:00
Tim Flink
15d4b5dc65 fixing volgroup name for qa09.qa 2014-09-24 18:19:29 +00:00
Tim Flink
0e4e645f89 moving taskotron production clients over to new qa09 virthost, bumping resources 2014-09-24 18:16:12 +00:00
Tim Flink
a9432f54ee changing resultsdb01.qa back to f20 now that testing is done 2014-09-24 18:00:11 +00:00
Tim Flink
6de91bb7f6 missed a openvpn restart notification in base 2014-09-24 17:57:42 +00:00
Tim Flink
351743ac20 try using ansible_distribution_major_version instead of ansible_distribution_version[0] 2014-09-24 17:41:38 +00:00
Tim Flink
56f380e1d5 changing distribution name to be what ansible is expecting 2014-09-24 17:39:38 +00:00
Tim Flink
4cad62833a fixing typo in restart notification 2014-09-24 17:35:59 +00:00
Tim Flink
d6195c2c33 changing openvpn restart notifications to work on sysvinit and systemd style machines 2014-09-24 17:32:41 +00:00
Andrea Veri
79240e3093 GNOME Backups: add account.gnome.org on the backups set 2014-09-24 16:42:36 +00:00
Tim Flink
f530a157f4 changing resultsdb01.qa over to rhel7 to see if openvpn works 2014-09-24 16:30:18 +00:00
Miroslav Suchý
321143c4d5 hide passwords in output 2014-09-24 15:30:10 +00:00
Miroslav Suchý
c567c06a06 move compute rules to roles 2014-09-24 15:12:44 +00:00
Tim Flink
b11b5959fb newer fedora openvpn behaves more like rhel7 than rhel6 2014-09-24 13:33:31 +00:00
Miroslav Suchý
4e73f3877d more to add to compute node 2014-09-24 11:41:09 +00:00
Miroslav Suchý
28570df084 fix path
so I do not need to use force
2014-09-24 10:49:34 +00:00
Miroslav Suchý
ad9aa31f2a more to add to compute node 2014-09-24 10:43:39 +00:00
Mathieu Bridon
e47ca86ca3 distgit: One action per task
This had been found by misc during his review of the patches, but the
unfixed patch is what got merged.

https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:08 +02:00
Mathieu Bridon
4155edeeaf distgit: Express the role dependency properly
This had been found by misc during his review of the patches, but the
unfixed patch is what got merged.

https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:07 +02:00
Mathieu Bridon
d46dc1095c Setup for F21 branching
This change had been made by Dennis Gilmore in puppet (commit 8dc43c),
I'm just porting it here to Ansible so we don't miss it.
2014-09-24 12:26:07 +02:00
Mathieu Bridon
5dd40fdfbf Add support for packaging groups
This had already been done by Pierre-Yves Chibon in puppet (commits
4cc2ef and 47f29f), I'm just porting it here in Ansible so we don't miss
it.
2014-09-24 12:26:07 +02:00
Mathieu Bridon
8b45df1def cgit/make_pkgs_list: Remove useless new lines
This had been fixed during the review of the patches, but the unfixed
patch is what got merged.

https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:07 +02:00
Mathieu Bridon
183a2ab707 git/hooks: Express the role dependency properly
This had been found by misc during his review of the patches, but the
unfixed patch is what got merged.

https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:07 +02:00
Mathieu Bridon
93ec92f9be git/hooks: Add missing package dependency
This had been found by misc during his review of the patches, but the
unfixed patch is what got merged.

https://fedorahosted.org/fedora-infrastructure/ticket/4452
2014-09-24 12:26:07 +02:00
Tim Flink
93780cbfee changing vg name for taskotron01 and resultsdb01 to match new virthost-comm03 vg name 2014-09-23 18:37:49 +00:00
Dennis Gilmore
f7a1d4bcc6 aarch64: make sure that the aarch64 boxes grab their grub file 2014-09-23 17:32:24 +00:00
Tim Flink
e007cc54d8 fixing virt-install binary path for rhel7 2014-09-23 17:16:45 +00:00
Tim Flink
744c6dfed9 changing vg name of hosts for new virthost 2014-09-23 17:13:54 +00:00
Andrea Veri
7a062a0598 Revert "GNOME Backups: add account.gnome.org on the backups set"
This reverts commit 5f3f5cdfac.

Backup01 seems to be covered by the freeze itself too.
2014-09-23 17:05:48 +00:00
Andrea Veri
5f3f5cdfac GNOME Backups: add account.gnome.org on the backups set 2014-09-23 17:03:09 +00:00
Tim Flink
f336374b85 unfreezing taskotron-prod as it isn't deployed at this time 2014-09-23 15:47:50 +00:00
Tim Flink
ca7278f58f removing unused taskotron playbook and inventory file to reduce confusion 2014-09-23 15:47:28 +00:00
Tim Flink
3a6b13268b moving taskotron01.qa and resultsdb01.qa to virthost-comm03 2014-09-23 15:00:40 +00:00
Tim Flink
86191d0646 unfreezing future taskotron hosts since they're not actually deployed yet 2014-09-23 14:10:51 +00:00
Miroslav Suchý
66c7e2d8a1 configure eth1 on compute node 2014-09-23 08:55:26 +00:00
Miroslav Suchý
80d9b494fd install br-ex only if packstack have not been run 2014-09-23 08:47:25 +00:00
Kevin Fenzi
95423e5530 Meant to bump this even more. 2014-09-22 17:49:07 +00:00
Kevin Fenzi
2ead4a4890 Double rsync timeut on download-phx2 2014-09-22 17:40:22 +00:00
Miroslav Suchý
4131e296d7 install mariadb so mysql command is available 2014-09-22 14:17:37 +00:00
Miroslav Suchý
1828448df4 install openstack-utils to have openstack-config command 2014-09-22 14:10:44 +00:00
Miroslav Suchý
e9fff1f18b add fedora-cloud.yml with definition of IPs 2014-09-22 13:40:16 +00:00
Miroslav Suchý
232a7b4e1e install rdo repo 2014-09-22 13:30:35 +00:00
Miroslav Suchý
19365f3906 move task together 2014-09-22 13:25:27 +00:00
Miroslav Suchý
508253119a first version of compute node installation 2014-09-22 13:00:05 +00:00
Miroslav Suchý
b9bd6d11eb create ssh-internal security group 2014-09-22 10:00:55 +00:00
Miroslav Suchý
a8fe4c378c do not allocate floating ip on subsequent run 2014-09-22 09:52:05 +00:00
Miroslav Suchý
dc8b41ca39 add name 2014-09-22 09:51:17 +00:00
Miroslav Suchý
511dd49014 use different syntax
which allow me to use inner rules
2014-09-22 09:44:55 +00:00
Miroslav Suchý
5cc523f862 use different syntax
which allow me to use inner "rules"
2014-09-22 09:44:10 +00:00
Miroslav Suchý
7ab68385ad add ssh-anywhere security group 2014-09-22 09:40:56 +00:00
Till Maas
efdf0072aa freezelist: Make it PEP8 compliant 2014-09-21 16:54:44 +02:00
Till Maas
ba2da3ed82 copr-fe: Use secure TLSv1.1 and TLSv1.2 ciphers 2014-09-21 13:57:52 +02:00
Till Maas
48e13f74ea copr-fe: Enable Strict-Transport-Security 2014-09-21 13:48:48 +02:00
Miroslav Suchý
436bb150a0 allow log in of root@fed-cloud09
so packstack can log there from root@fed-cloud09
2014-09-19 16:36:28 +00:00
Miroslav Suchý
8d4b350b93 correct name of variable 2014-09-19 16:34:26 +00:00
Miroslav Suchý
a302055f07 correct name of variable 2014-09-19 16:27:41 +00:00
Miroslav Suchý
d9f8ab9679 lookup file from {{files }} 2014-09-19 16:06:35 +00:00
Martin Krizek
65801f368b fetch_activity: decrease information 2014-09-19 14:09:22 +00:00
Miroslav Suchý
b623d607de add uninstall.sh script
this is to wipe OpenStack instance the hard way.
Do not run it mortals!
2014-09-19 12:15:40 +00:00
Miroslav Suchý
53650fca7c only run packstack if it not finished yet 2014-09-19 12:11:13 +00:00
Stephen Smoogen
eb223e2143 ok remember its not in the phx2 network but the cloud. dns is important. 2014-09-18 22:41:44 +00:00
Stephen Smoogen
8a5158e0dd we devops our cloud like it was the shizbang 2014-09-18 22:36:31 +00:00
Stephen Smoogen
508fe3fe05 and we cloud the cloud with the cloud 2014-09-18 22:33:18 +00:00
Stephen Smoogen
793a45ac6a and make it 11 2014-09-18 22:16:06 +00:00
Stephen Smoogen
3bf6158668 we make a cloudlet. 2014-09-18 22:07:25 +00:00
Ralph Bean
7ce45b1e6c Start toying with organizing this. 2014-09-18 18:24:28 +00:00
Ralph Bean
5bdbcf53cf Add a playbook for upgrading fmn. 2014-09-18 18:21:40 +00:00
Aurélien Bompard
d1be2cc882 Oops, undefined variable 2014-09-18 11:19:53 +00:00
Aurélien Bompard
e7b134f568 Test succeeded, restore the original values 2014-09-18 11:00:21 +00:00
Miroslav Suchý
09c9ce5084 enable packstack 2014-09-18 10:26:05 +00:00
Aurélien Bompard
444c0c8f62 Try to solve the conflict between role vars and global vars 2014-09-18 08:46:08 +00:00
Miroslav Suchý
292a98d737 use correct user 2014-09-18 07:52:33 +00:00
Miroslav Suchý
0368633b7b use correct description 2014-09-18 07:50:41 +00:00
Miroslav Suchý
b0ce7cfd92 use name instead of id 2014-09-18 07:42:21 +00:00
Miroslav Suchý
7bdf22d76a use name instead of id 2014-09-18 07:29:32 +00:00
Aurélien Bompard
cfbd166634 Test variable passing in the roles 2014-09-17 19:08:02 +00:00
Ralph Bean
4549dc4503 Add an alembic config for fmn. 2014-09-16 15:41:53 +00:00
Aurélien Bompard
896e9152c6 Forgot a config variable 2014-09-16 15:10:40 +00:00
Aurélien Bompard
067c287eab Use the new HyperKitty design 2014-09-16 15:01:34 +00:00
Ralph Bean
1332fbfbd7 Add tags to the bz2fm role. 2014-09-16 15:01:11 +00:00
Ralph Bean
569f859833 Typofix. 2014-09-16 15:00:08 +00:00
Miroslav Suchý
49587e1292 pass names instead of id
strange, it seems to work to me in past, but looking at code it probably never worked
2014-09-16 09:29:48 +00:00
Miroslav Suchý
c01c77f5f9 some debug 2014-09-16 08:57:46 +00:00
Miroslav Suchý
b412dc6422 a duplicate parameter was found in the argument string (login_tenant_name) 2014-09-16 08:42:21 +00:00
Miroslav Suchý
8c26ba586c use correct argument to neutron_router_gateway 2014-09-16 08:35:17 +00:00
Miroslav Suchý
99b1db6b6d fix network name 2014-09-16 08:18:28 +00:00
Miroslav Suchý
cba53f7abe msg: value of enable_dhcp must be one of: yes,on,1,true,1,no,off,0,false,0, got: False 2014-09-16 08:09:50 +00:00
Miroslav Suchý
f10b23c044 use correct param to keystone module 2014-09-16 08:04:38 +00:00
Miroslav Suchý
6816ca12f7 comment out lines needed only for first run 2014-09-16 07:49:05 +00:00
Ralph Bean
4b553a166e Prescribe a heartbeat interval. 2014-09-15 20:11:39 +00:00
Miroslav Suchý
2d0197a993 use cert itself as CAChain
because it could not be empty
2014-09-15 13:04:50 +00:00
Miroslav Suchý
0afa9fde07 disable ssl for ampq 2014-09-15 09:46:59 +00:00
Miroslav Suchý
ed8806d2ff upgrade path of ssl key 2014-09-15 09:36:05 +00:00
Miroslav Suchý
5801db91ad add files/fedora-cloud/packstack-controller-answers.txt 2014-09-15 09:26:46 +00:00
Miroslav Suchý
1db8c43416 delete packstack-compute-answers.txt
this in not used and is way behind
2014-09-15 09:19:10 +00:00
Miroslav Suchý
0499cd52e3 update epel7 rpm url 2014-09-15 09:11:28 +00:00
Miroslav Suchý
ef1622801f use correct source path 2014-09-15 09:05:44 +00:00
Miroslav Suchý
f689ad11bc do not use compute ip, we do not have any right now 2014-09-15 09:01:14 +00:00
Miroslav Suchý
b00a191d01 use correct source path 2014-09-15 08:58:40 +00:00
Kevin Fenzi
e05eef1ed4 Tweak ppc dhcp more 2014-09-12 20:59:01 +00:00
Miroslav Suchý
17198dadeb once more 2014-09-12 11:31:54 +00:00
Miroslav Suchý
7e5cf01023 once more 2014-09-12 11:30:23 +00:00
Miroslav Suchý
b842159589 once more 2014-09-12 11:12:57 +00:00
Miroslav Suchý
9a86af1799 once more 2014-09-12 11:10:51 +00:00
Miroslav Suchý
cc36937b3c using syntax, which allows better formating
addressing:
ERROR: Syntax Error while loading YAML script, /srv/web/infra/ansible/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml
Note: The error may actually appear before this position: line 112, column 31

    glance_image:
      login_username: "admin" login_password: "{{ ADMIN_PASS }}" login_tenant_name: "admin"
                              ^
We could be wrong, but this one looks like it might be an issue with
missing quotes.  Always quote template expression brackets when they
start a value. For instance:

    with_items:
      - {{ foo }}

Should be written as:

    with_items:
      - "{{ foo }}"
2014-09-12 11:06:37 +00:00
Miroslav Suchý
8072ce429d add quotes
addressing:
ERROR: Syntax Error while loading YAML script, /srv/web/infra/ansible/playbooks/hosts/fed-cloud09.cloud.fedoraproject.org.yml
Note: The error may actually appear before this position: line 11, column 19

   - /srv/web/infra/ansible/vars/fedora-cloud.yml
   - {{ private }}/files/openstack/passwords.yml
                  ^
We could be wrong, but this one looks like it might be an issue with
missing quotes.  Always quote template expression brackets when they
start a value. For instance:

    with_items:
      - {{ foo }}

Should be written as:

    with_items:
      - "{{ foo }}"
2014-09-12 09:51:41 +00:00
Miroslav Suchý
87163e62d3 run packstack 2014-09-12 09:47:45 +00:00
Miroslav Suchý
e7a4b71d4a add network for each tenant
sans pythonbots and qa, because they do not have projects in old cloud as well
2014-09-12 08:16:46 +00:00
Patrick Uiterwijk
7458caac46 Merge branch 'master' of /git/ansible 2014-09-11 22:37:15 +00:00
Stephen Smoogen
474f154376 try to help ppc guys debug tftp network issue 2014-09-11 20:32:15 +00:00
Patrick Uiterwijk
0fd1ce2a4a Add FMN to the list of trusted trust roots 2014-09-11 15:13:17 +00:00
Ralph Bean
a042945257 Fix screwy groups for anitya. 2014-09-10 20:46:19 +00:00
Ralph Bean
714298c0b1 01 2014-09-10 20:37:48 +00:00
Ralph Bean
8a7880c8c8 Also need this. 2014-09-10 20:30:06 +00:00
Ralph Bean
026e5bf418 Stub out the rest of the anitya playbook. 2014-09-10 20:22:15 +00:00
Ralph Bean
f24ff83c59 Whitespace. 2014-09-10 20:22:03 +00:00
Ralph Bean
8e9df8c883 A comment. 2014-09-10 19:51:31 +00:00
Ralph Bean
360c80e639 Yes. It was a typo. 2014-09-10 19:42:47 +00:00
Ralph Bean
e44d66b9e1 I think this is a typo. 2014-09-10 19:28:49 +00:00
Ralph Bean
55469946aa Tell ansible to not ssh over the vpn (before its up). 2014-09-10 19:17:48 +00:00
Ralph Bean
273ce3ffc3 Rename these so they match with the inventory file. 2014-09-10 16:45:04 +00:00
Ralph Bean
639bda2602 First draft of an anitya playbook (just the basics) 2014-09-10 16:42:26 +00:00
Ralph Bean
a461130c0f Declare fedmsg certs for anitya. 2014-09-10 16:38:42 +00:00
Ralph Bean
0e2410d160 Adjust firewall rules for anitya-frontend.
It is a special case since its on the vpn.
2014-09-10 16:36:05 +00:00
Ralph Bean
d80364050c Update host_vars just for the anitya backend. 2014-09-10 16:32:49 +00:00
Ralph Bean
8cc1305cf8 Host var for anitya. 2014-09-10 16:32:33 +00:00
Pierre-Yves Chibon
13465f6a0d Try fixing indentation 2014-09-10 12:08:45 +02:00
Pierre-Yves Chibon
a5254ba79b Fix the permissions on /etc/gitolite/logs 2014-09-10 11:58:54 +02:00
Mathieu Bridon
f5e0613fd6 Specify the HOME dir for gitolite users
This is needed to get the proper command= line that wil make things
work.
2014-09-10 11:35:05 +02:00
Ralph Bean
cee6ba8367 Match trac.git.receive in both topic and body. 2014-09-09 19:25:50 +00:00
Pierre-Yves Chibon
46095b57d9 Add the groups_vars files for anitya-{backend,frontend} 2014-09-09 12:48:09 +02:00
Pierre-Yves Chibon
054558c047 Add the anitya hosts to the inventory 2014-09-09 12:33:28 +02:00
Pierre-Yves Chibon
0d2ca2d93d Print the error message if there is one 2014-09-09 12:02:44 +02:00
Pierre-Yves Chibon
b9dbd0b681 Accesss stdout in VERBOSE we do not need it otherwise 2014-09-09 12:02:44 +02:00
Miroslav Suchý
242bb30087 use https for fed-cloud09 2014-09-09 09:35:00 +00:00
Valentin Gologuzov
bef1675762 Unify copr prod and dev playbooks 2014-09-09 09:02:49 +00:00
Pierre-Yves Chibon
068d71c127 Fix installing the genacls.pkgdb script from the template directory 2014-09-09 10:58:36 +02:00
Pierre-Yves Chibon
3341c84d01 Let genacls.pkgdb use the pkgdb.stg instance in stg 2014-09-09 10:56:41 +02:00
Pierre-Yves Chibon
0d41c13df1 Move the genacls.pkgdb script to the template directory 2014-09-09 10:55:12 +02:00
Pierre-Yves Chibon
6d942022c1 Give the logs folder to packager and let them write to it 2014-09-09 10:49:25 +02:00
Ralph Bean
2c356265b2 Wrong staging url. 2014-09-09 01:39:30 +00:00
Ralph Bean
859f177efe Use moksha threads here instead of bz2fm threads. 2014-09-09 01:09:00 +00:00
Ralph Bean
4cdd94f9f5 Add collectd for bugzilla2fedmsg. 2014-09-09 01:00:14 +00:00
Stephen Smoogen
c2d8d52d40 and then there was this one little file. 2014-09-08 21:30:45 +00:00
Stephen Smoogen
331b1de526 qa09 items 2014-09-08 20:59:11 +00:00
Stephen Smoogen
4ef06fea3c add nagios items for virthost-comm03 2014-09-08 19:11:15 +00:00
Pierre-Yves Chibon
137bb9ccaf Let every packager access the gitolite.conf-compiled.pm file 2014-09-08 18:00:34 +02:00
Stephen Smoogen
4021b55f17 add virthost-comm03 definitions. box not frozen 2014-09-05 23:05:15 +00:00
Stephen Smoogen
4f6a434045 add virthost-comm03 definitions. box not frozen 2014-09-05 23:00:38 +00:00
Kevin Fenzi
ffc795c770 Revert "Revert "Use https for fedorapeople URLs and copr-be.cloud.fedoraproject.org""
This reverts commit b555731709.
2014-09-05 18:54:24 +00:00
Pierre-Yves Chibon
0875ac93a7 1 too many 2014-09-05 11:21:41 +02:00
Pierre-Yves Chibon
44bf50073b Let's try to not create an existing link - Credit bochecha 2014-09-05 11:19:44 +02:00
Pierre-Yves Chibon
6f924abfbf We need /etc/gitolite/logs as well 2014-09-05 11:14:06 +02:00
Mathieu Bridon
f591a084dd distgit: Update the script to the latest from puppet 2014-09-05 11:03:30 +02:00
Pierre-Yves Chibon
cd3eb3c4e5 Couple more of symlink to allow setting $HOME in /srv/git 2014-09-05 10:55:51 +02:00
Ralph Bean
26b5cce4cf Use internal ip for taskotron-trigger. 2014-09-04 16:44:05 +00:00
Ricky Elrod
0ace1d045c make sure new enough android build-tools get installed
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-09-04 05:02:18 +00:00
Pierre-Yves Chibon
91b3cc5647 add packages asked by #4509 2014-09-03 21:29:55 +02:00
Stephen Smoogen
c24e57e054 try to get tftp to do it right for ppc 2014-09-03 18:15:23 +00:00
Stephen Smoogen
4627485711 spaces matter damnit 2014-09-03 16:54:02 +00:00
Stephen Smoogen
215cc12aa2 we add a box to the dust of time. 2014-09-03 16:44:56 +00:00
Martin Krizek
2652936b1d fetch_activity cron job: fix date in subject 2014-09-03 08:32:53 +00:00
Ricky Elrod
66ed1f6242 Enable android fmn context (stg only)
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-09-02 22:34:51 +00:00
Ralph Bean
180260dcea Fix tw2 misconfiguration of the badges app.
This should fix https://github.com/fedora-infra/tahrir/issues/245
2014-09-02 21:40:59 +00:00
Kevin Fenzi
8f14d5b9c6 Revert "Drop / and see if this works right."
This reverts commit 901f839388.
2014-09-02 19:33:57 +00:00
Kevin Fenzi
901f839388 Drop / and see if this works right. 2014-09-02 19:25:07 +00:00
Kevin Fenzi
2d0571856a Add dhcp entry for ppc-le-builder7 2014-09-02 19:10:04 +00:00
Luke Macken
4ba5d651f1 bodhi: Specify the arches for EPEL-7 in the EPEL masher config 2014-09-02 18:29:55 +00:00
Tim Flink
8e2771b304 fix baseurl in yumrepoinfo.conf instead of keeping a second copy of the entire file 2014-09-02 14:07:17 +00:00
Tim Flink
5be630b330 updating taskotron-client's yumrepoinfo.conf to use the proper baseurl and include f21 repos 2014-09-02 13:47:27 +00:00
Martin Krizek
f79703925d fetch_activity cron job: use upper case for deployment_type 2014-09-02 13:29:46 +00:00
Martin Krizek
942d1d92ce fetch_activity cron job: run the job just once a day 2014-09-02 13:11:30 +00:00
Martin Krizek
d7e6c95a4c fetch_activity cron job: make mail subject pretty 2014-09-02 12:37:06 +00:00
Martin Krizek
9c5a29055a Fix resultsdb_external_url on taskotron-dev 2014-09-01 14:57:41 +00:00
Miroslav Suchý
22b6cf3c58 add missed files 2014-09-01 12:40:24 +00:00
Miroslav Suchý
cec386a0ff first shot of new Fedora Cloud 2014-09-01 11:06:16 +00:00
Miroslav Suchý
dc45e4b372 remove unused file rdo.conf 2014-09-01 11:06:16 +00:00
Pierre-Yves Chibon
e8d73c0737 Drop the F19 builder of jenkins off ansible 2014-09-01 12:46:03 +02:00
Patrick Uiterwijk
3c98855d5a Drop the Fedora19 slave from jenkins 2014-09-01 09:43:21 +00:00
Patrick Uiterwijk
6610e77511 Deploy the matrix-auth plugin to jenkins. Awesome that they did not mention this change in the changelogs 2014-09-01 09:04:32 +00:00
Martin Krizek
d62e110eb4 Use external url for resultsdb frontend 2014-09-01 08:46:04 +00:00
Till Maas
b555731709 Revert "Use https for fedorapeople URLs and copr-be.cloud.fedoraproject.org"
This reverts commit 7fd29c3127.
2014-08-31 09:54:20 +02:00
Till Maas
7fd29c3127 Use https for fedorapeople URLs and copr-be.cloud.fedoraproject.org
- This avoids an redirect from HTTP and HTTPS on fedorapeople and is
  more appropriate for e.g. GPG key imports or repo access.
2014-08-30 10:01:15 +02:00
Nick Bebout
1b593caf3b More changes 2014-08-29 23:10:45 +00:00
Nick Bebout
c2f24955a3 Update keyserver selinux module 2014-08-29 23:10:00 +00:00
Stephen Smoogen
4f44b33da7 spaces are important.. I think. magic voudou doll dont fail me now 2014-08-29 22:34:08 +00:00
Pierre-Yves Chibon
6e91205991 Create a symlink for ~/repositories 2014-08-29 12:33:56 +02:00
Pierre-Yves Chibon
4828953da0 Replace gl-compile-conf by gitolite compile 2014-08-29 12:05:38 +02:00
Pierre-Yves Chibon
1317fde63d One more indentation fix 2014-08-29 11:50:17 +02:00
Pierre-Yves Chibon
49f01da2b5 Fix typo 2014-08-29 11:49:18 +02:00
Pierre-Yves Chibon
a73e4f501c Add a daily cron job for genacls.sh as backup for fedmsg-genacls 2014-08-29 11:47:41 +02:00
Nick Bebout
df2be0b8b5 Revert "Try something"
This reverts commit 24cd65dd33.
2014-08-28 23:06:15 +00:00
Nick Bebout
24cd65dd33 Try something 2014-08-28 23:05:25 +00:00
Nick Bebout
b264af1c3d Merge branch 'master' of /git/ansible 2014-08-28 22:58:58 +00:00
Nick Bebout
8e99806cdc Add keyserver selinux module 2014-08-28 22:58:41 +00:00
Pierre-Yves Chibon
593b37b429 Adjust role to install pkgdb_sync_git_branches.py as a template 2014-08-28 18:22:55 +02:00
Pierre-Yves Chibon
d4dca172ab Use pkgdb.stg in stg 2014-08-28 18:21:42 +02:00
Pierre-Yves Chibon
64f77e40bd Move the pkgdb_sync_git_branches.py from a file to a template 2014-08-28 18:17:58 +02:00
Pierre-Yves Chibon
d494be610c Rename failed (pebkac), so remove old playbook 2014-08-28 18:00:00 +02:00
Pierre-Yves Chibon
b924eae2ce Rename and adjust the playbook to run pkgdb_sync_git_branches.py 2014-08-28 17:58:53 +02:00
Pierre-Yves Chibon
34799ff1e9 Add and install a daily cron job running pkgdb_sync_git_branches 2014-08-28 17:40:46 +02:00
Pierre-Yves Chibon
5a5129d5a9 Replace install pkgdb2branch by installing pkgdb_sync_git_branches.py 2014-08-28 17:40:46 +02:00
Pierre-Yves Chibon
49e0ca88ea Add the pkgdb_sync_git_branches.py script 2014-08-28 17:40:46 +02:00
Pierre-Yves Chibon
e2a513f270 Remove the pkgdb2branch.py script 2014-08-28 17:40:46 +02:00
Stephen Smoogen
961301ae9c dhcpd silently choked on this. fixing 2014-08-28 14:57:19 +00:00
Pierre-Yves Chibon
94263f6b7d Fix the authorized_keys file generation for pkgs01.stg for gitolite3 2014-08-28 16:05:05 +02:00
Kevin Fenzi
783ebfa992 Fix horrible freshclam default sysconfig file. 2014-08-27 18:41:45 +00:00
Kevin Fenzi
4638057c27 Adjust this for rhel7 2014-08-27 18:38:23 +00:00
Ralph Bean
0da571b992 Turn fmn threadpool size down a bit. 2014-08-27 17:05:22 +00:00
Kevin Fenzi
98571dda42 Some more hosts that should not freeze 2014-08-27 16:31:57 +00:00
Kevin Fenzi
36a47b8a5b Adjust some hosts that should/should not freeze 2014-08-27 16:29:07 +00:00
Kevin Fenzi
16564bfeb7 Try and make this not send emails most of the time. 2014-08-27 16:09:17 +00:00
Kevin Fenzi
bcd2f6a3f8 Add sysadmin-fedimg to fedimg hosts 2014-08-27 03:28:44 +00:00
Kevin Fenzi
1cc27e1b1b Adjust docs backend path 2014-08-27 03:25:56 +00:00
Stephen Smoogen
f875a0fbd2 make tftp default file per site 2014-08-27 00:55:42 +00:00
Stephen Smoogen
7dd4ea9832 so this is going to be slow because its recursive directories.. but what ya gonna do? 2014-08-27 00:33:42 +00:00
Kevin Fenzi
be327c2670 Theres no longer any rewritelog specific logging in new apache 2014-08-26 22:35:56 +00:00
Kevin Fenzi
abeeb5c4e4 This is just Mutex in new apache 2014-08-26 22:35:24 +00:00
Kevin Fenzi
8277847d57 Need mod_ssl here. 2014-08-26 22:31:24 +00:00
Kevin Fenzi
241b166ac4 Fix path 2014-08-26 21:26:13 +00:00
Kevin Fenzi
efe0ebf7d9 Add a /srv/web dir 2014-08-26 21:23:50 +00:00
Kevin Fenzi
278cd376ea Add dist-git-upload cgi 2014-08-26 21:19:00 +00:00
Kevin Fenzi
89a860d3b6 Correct path 2014-08-26 21:13:44 +00:00
Kevin Fenzi
d87f8a52ee Don't need to add group here, it's in fas 2014-08-26 21:05:50 +00:00
Kevin Fenzi
74f56aa6f3 Need a user= here. 2014-08-26 20:59:37 +00:00
Kevin Fenzi
cf00215db0 Add some quotes. 2014-08-26 20:54:41 +00:00
Kevin Fenzi
63b2de4aa2 Try this fix for template 2014-08-26 20:50:30 +00:00
Kevin Fenzi
43da2aabaf Tweak clamav package names 2014-08-26 20:45:10 +00:00
Kevin Fenzi
7f2b5e0e52 Move image files to the right place. 2014-08-26 20:41:01 +00:00
Kevin Fenzi
f5c4d05f60 No lua-md5 on epel7 yet. ;( 2014-08-26 20:32:17 +00:00
Kevin Fenzi
7f75064348 Add check-perms script 2014-08-26 20:25:24 +00:00
Stephen Smoogen
af2099be02 add some meat to cloud-noc01 2014-08-26 20:23:17 +00:00
Kevin Fenzi
7f03096620 Only gitolite3 on epel7 for now. 2014-08-26 20:20:26 +00:00
Kevin Fenzi
27cfb06aa9 Revert "Move some more stuff to the final play to be after yum repos are setup."
This reverts commit b2ffffa3df.
2014-08-26 20:17:33 +00:00
Kevin Fenzi
b2ffffa3df Move some more stuff to the final play to be after yum repos are setup. 2014-08-26 20:14:38 +00:00
Kevin Fenzi
27199cfa76 Move fedmsg stuff after apache install so we have an apache user. 2014-08-26 20:09:58 +00:00
Kevin Fenzi
150c7e5c3c Add pkgs-stg group variables. 2014-08-26 19:55:37 +00:00
Kevin Fenzi
05bef7f507 Add another hook 2014-08-26 19:47:51 +00:00
Kevin Fenzi
a6e6d2d16c Add missing hook file. 2014-08-26 19:43:57 +00:00
Kevin Fenzi
f86a5b188a Define some sizes for pkgs01.stg 2014-08-26 19:26:29 +00:00
Kevin Fenzi
4f2500ccd0 Conditionalize the denyhosts 2014-08-26 19:20:10 +00:00
Kevin Fenzi
176144ab95 Add more info on pkgs01.stg 2014-08-26 19:18:28 +00:00
Kevin Fenzi
cb8dd8a1c0 File has a _ in it not a - 2014-08-26 19:15:19 +00:00
Kevin Fenzi
8de3664270 tasks isn't valid here. 2014-08-26 19:14:46 +00:00
Kevin Fenzi
2fc6902e4e Missed these two 2014-08-26 19:13:49 +00:00
Kevin Fenzi
1c7a44fe44 Split this one out into 2 tasks 2014-08-26 19:12:53 +00:00
Kevin Fenzi
9bd6f9cfc1 Split this task into 3 2014-08-26 19:12:00 +00:00
Kevin Fenzi
9c65d0e673 Split another. 2014-08-26 19:10:41 +00:00
Kevin Fenzi
c154fee038 Split another task 2014-08-26 19:08:54 +00:00
Kevin Fenzi
21ce333464 Fix another multiple tasks issue 2014-08-26 19:06:29 +00:00
Kevin Fenzi
c9e14c8e0b Fix multiple tasks in play 2014-08-26 19:05:26 +00:00
Kevin Fenzi
b4996ad8f1 Fix another 2 task item 2014-08-26 19:03:54 +00:00
Kevin Fenzi
ac64562564 Fix another task with 2 items in it. 2014-08-26 19:02:03 +00:00
Kevin Fenzi
1109cae012 Fix task that was trying to do two things at once. 2014-08-26 19:00:19 +00:00
Kevin Fenzi
f87ee34580 Add missing space 2014-08-26 18:58:41 +00:00
Kevin Fenzi
4c504f65c2 But we still need to quote the @ 2014-08-26 18:58:06 +00:00
Kevin Fenzi
1021610b37 Bad equals. 2014-08-26 18:57:36 +00:00
Kevin Fenzi
0f97b12352 Quote this variable. 2014-08-26 18:56:56 +00:00
Kevin Fenzi
4acd584b4d Revert "Confim that ansible doesn't like @cvs"
This reverts commit 4be1402087.
2014-08-26 18:49:40 +00:00
Kevin Fenzi
4be1402087 Confim that ansible doesn't like @cvs 2014-08-26 18:48:55 +00:00
Kevin Fenzi
e6215d8c18 Don't Enable on prod yet 2014-08-26 18:37:16 +00:00
Mathieu Bridon
a03781965d Setup the production and staging Dist Git 2014-08-26 18:28:28 +00:00
Mathieu Bridon
30ab4bd528 Add a new distgit role
This is the meat of Dist Git, but it requires quite a few of the roles
previously created.
2014-08-26 18:28:28 +00:00
Mathieu Bridon
4392ef9f6c Add a drbackupkey task
This will be required to migrate Dist Git to ansible.
2014-08-26 18:28:27 +00:00
Mathieu Bridon
f60221e2aa Add the confine_ssh task
This is required by the drbackup stuff, which is required to migrate
Dist Git to ansible.
2014-08-26 18:28:27 +00:00
Mathieu Bridon
9dd33b21dd Add a new git/make_checkout_seed role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:27 +00:00
Mathieu Bridon
7916770b41 Add a new cgit/make_pkgs_list role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:27 +00:00
Mathieu Bridon
5132a5e46a Add a new gitolite/check_fedmsg_hooks role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:26 +00:00
Mathieu Bridon
de1a1701c5 Add a new clamav role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:26 +00:00
Mathieu Bridon
7e979e4050 Add a new cgit/clean_lock_cron role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:26 +00:00
Mathieu Bridon
be0f5446f0 Add a new cgit/base role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +00:00
Mathieu Bridon
360fb1fa33 Add a new gitolite/base role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +00:00
Mathieu Bridon
3cbdbf5a76 Add a new git/server role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +00:00
Mathieu Bridon
fed72f7ba1 Add a new git/hooks role
This will be needed to migrate Dist Git from puppet to ansible.
2014-08-26 18:28:25 +00:00
Kevin Fenzi
b121d21d56 These machines don't exist yet. 2014-08-26 13:53:15 +00:00
Stephen Smoogen
2dd613882f wheee. forgot to use name and not ip 2014-08-26 00:39:23 +00:00
Stephen Smoogen
dc5a13019d add cloud hardware for inventory 2014-08-26 00:38:05 +00:00
Stephen Smoogen
8a984f0960 oh look we forgot a hosts line. 2014-08-26 00:33:18 +00:00
Stephen Smoogen
1005be1d5c make a minimal playbook for cloud-noc 2014-08-26 00:31:17 +00:00
Stephen Smoogen
43c5b47eb6 lets add the initial inventory for our cloud noc box 2014-08-26 00:14:22 +00:00
Stephen Smoogen
1c1fe9898a Merge branch 'master' of /git/ansible 2014-08-25 16:35:26 +00:00
Stephen Smoogen
63649415c5 and then we made ppc-comm04 boot from net-bios 2014-08-25 16:35:18 +00:00
Miroslav Suchý
a642d427af use https for copr 2014-08-25 09:27:01 +00:00
Pierre-Yves Chibon
771b5f38bd Fix documentation and invoking pkgdb2branch for multiple packages 2014-08-22 18:59:45 +02:00
Ralph Bean
4a37364d85 Add db-datanommer01 to /etc/hosts in staging. 2014-08-22 14:26:19 +00:00
Pierre-Yves Chibon
6fa000be7f Add playbook to run pkgdb2branch on pkgs01 2014-08-22 16:16:34 +02:00
Martin Krizek
dce2f3f240 buildmaster: search for a taskname only on first line 2014-08-22 07:38:06 +00:00
Dennis Gilmore
40b1d0a809 put the arm-releng boxes, i.e. compose boxes into the releng host group 2014-08-21 19:09:59 +00:00
Ralph Bean
78c78b9f6b Add nagios_server tag to the nagios_server role. 2014-08-21 17:51:37 +00:00
Ralph Bean
b2a26bf3bf Add some of the newer fedmsg categories to nagios. 2014-08-21 17:47:10 +00:00
Dennis Gilmore
3f08b61023 allow outbound http and https to the compose box from the builders 2014-08-21 17:06:40 +00:00
Dennis Gilmore
642ea7df2c lets use a better httpd config 2014-08-21 16:41:44 +00:00
Martin Krizek
613b791b1d taskotron-trigger: schedule tasks only on single arch for now 2014-08-21 15:55:25 +00:00
Patrick Uiterwijk
aa06685f03 Disable the cron.daily/epylog.cron as well 2014-08-21 15:47:03 +00:00
Kevin Fenzi
7a8b069040 Update playbook list 2014-08-21 13:17:45 +00:00
Martin Krizek
44f2830e17 buildmaster: include taskname in the message body 2014-08-21 08:47:06 +00:00
Dennis Gilmore
b5425e166b we need the docker plugin 2014-08-20 18:37:06 +00:00
Tim Flink
ce9a440324 commenting out db init in resultsdb-be for now since it's always being run and clears contents of the db 2014-08-20 17:42:28 +00:00
Martin Krizek
1780914f5b Fix typo... 2014-08-20 11:50:31 +00:00
Martin Krizek
4f96d09054 buildmaster: make step names in waterfall more readable 2014-08-20 11:45:14 +00:00
Pierre-Yves Chibon
6b3c84aa7c Chown to jenkins /var/lib/jenkins/ 2014-08-20 10:49:27 +02:00
Pierre-Yves Chibon
2876565754 Small formatting changes 2014-08-20 10:43:49 +02:00
Pierre-Yves Chibon
56d2bec5d9 Revert to the previous version of the working openid plugin 2014-08-20 10:26:01 +02:00
Pierre-Yves Chibon
c76b047769 One more place needing quotes 2014-08-20 10:16:03 +02:00
Pierre-Yves Chibon
a7396c980a Let's just use quotes everywhere 2014-08-20 10:14:45 +02:00
Pierre-Yves Chibon
b30f78e2ad 1.90 is 1.90, not 1.9 ... 2014-08-20 10:10:51 +02:00
Martin Krizek
d0389d3de8 buildmaster: trying to fix mail reporting 2014-08-20 07:48:53 +00:00
Pierre-Yves Chibon
291dab12e3 Update jenkins' plugins 2014-08-20 09:35:44 +02:00
Pierre-Yves Chibon
8b673d0dbc Try F20+ 2014-08-20 07:57:20 +02:00
Pierre-Yves Chibon
4c523b30a9 Specify the password of the account when creating the FAS client 2014-08-19 20:24:51 +00:00
Pierre-Yves Chibon
7392fb99f6 One package is F19+ only 2014-08-19 22:09:30 +02:00
Pierre-Yves Chibon
6857480956 Jenkins need to have nrpe installed to run the fedmsg/base role correctly 2014-08-19 20:15:53 +02:00
Kevin Fenzi
b532d53385 No denyhosts for 7 2014-08-19 16:28:39 +00:00
Kevin Fenzi
11b9637d6b Some more arm-retrace/retrace cleanup. 2014-08-19 16:06:55 +00:00
Kevin Fenzi
13d4e263d3 Clean up retrace playbook, make it general for arm/non arm. 2014-08-19 15:56:55 +00:00
Kevin Fenzi
bd716d890d Add a whitespace change to trigger the handler. 2014-08-19 15:08:15 +00:00
Kevin Fenzi
28fbe5f39f This is a command, not a systemctl module. 2014-08-19 15:07:30 +00:00
Kevin Fenzi
a01469ad74 Set memcached to always restart. 2014-08-19 15:01:48 +00:00
Ralph Bean
bfddc11aba Rename. 2014-08-19 14:47:41 +00:00
Ralph Bean
7893c7e2a1 Have to add memcache definition here too. 2014-08-19 14:46:03 +00:00
Ralph Bean
92d3d822ba Try monitoring memcached proc with nagios. 2014-08-19 14:40:26 +00:00
Martin Krizek
24702b7569 Send fetch_activity's output via mail 2014-08-19 14:18:47 +00:00
Martin Krizek
59bbd16fca Fix typo 2014-08-19 12:54:20 +00:00
Martin Krizek
4ae9276aca buildmaster: put log of all failed steps into email reports 2014-08-19 12:47:10 +00:00
Ralph Bean
0fdbdda117 Also convert copr from lokkit to tcp_ports 2014-08-18 20:03:46 +00:00
Ralph Bean
605cb0f0e2 Make it a group_var. 2014-08-18 19:53:32 +00:00
Ralph Bean
b229169df5 Convert jenkins over to use tcp_ports vars. 2014-08-18 19:48:40 +00:00
Stephen Smoogen
f2b055dbbf update the dhpcd for retrace boxes 2014-08-18 19:15:49 +00:00
Dennis Gilmore
f797aad45c allow traffic on virbr0 2014-08-18 17:36:07 +00:00
Ralph Bean
20344c943b Back to our explicit IP. 2014-08-18 16:09:48 +00:00
Ralph Bean
d530e7da49 Some comments. 2014-08-18 16:08:56 +00:00
Ralph Bean
056d0f22f9 The Internet seems to think I should do this. 2014-08-18 16:05:44 +00:00
Ralph Bean
b547198a95 Ban staging from prod. 2014-08-18 15:52:05 +00:00
Ralph Bean
03f908c8ce Point memcached0{1,2} at the right place. 2014-08-18 15:11:32 +00:00
Martin Krizek
1db414cc9d Fix deployment_type 2014-08-18 14:20:21 +00:00
Pierre-Yves Chibon
881f4e3cda Fix typo in email in the pkgdb2 config file 2014-08-18 14:27:16 +02:00
Martin Krizek
149a37bdd3 buildmaster: add missing import 2014-08-18 12:24:32 +00:00
Tim Flink
e220eceb76 adding locks to builders to eliminate concurrent builds on slaves 2014-08-18 12:22:48 +00:00
Pierre-Yves Chibon
495f4c88cc Fix variable name, password means password 2014-08-18 13:23:53 +02:00
Martin Krizek
d7f5bf91e1 buildmaster: add step status debug line in the email body 2014-08-18 11:10:38 +00:00
Pierre-Yves Chibon
59cae64129 Adjust the pkgdb2 configuration file to include the settings for the cron job 2014-08-18 12:50:23 +02:00
Pierre-Yves Chibon
afe1f6217d Move the pkgdb-sync-bugzilla.cron to pkgdb02 and ansible 2014-08-18 12:46:19 +02:00
Tim Flink
63217d3711 buildslave passwords for qadevel buildslaves might be useful 2014-08-18 09:53:27 +00:00
Tim Flink
4d83c27e6a use valid ansible syntax to determine when to use buildslave ssh keypair 2014-08-18 09:50:06 +00:00
Tim Flink
2cd2014c64 we don't need buildslave ssh keys for qadevel 2014-08-18 09:46:53 +00:00
Tim Flink
839e4a0c4d adding required buildslave host var to qadevel 2014-08-18 09:44:16 +00:00
Tim Flink
c0f38ccb00 adding buildslave vars to qadevel 2014-08-18 09:38:22 +00:00
Tim Flink
4d439b4770 adding local buildslave for testing qadevel buildbot 2014-08-18 09:27:35 +00:00
Martin Krizek
ab85e701df buildmaster: fix variable 2014-08-18 09:26:47 +00:00
Martin Krizek
a766e53cad buildmaster: put more information into the email reports 2014-08-18 09:19:28 +00:00
Tim Flink
0a5d80977f changing deployment type to match buildmaster configuration 2014-08-18 09:18:14 +00:00
Tim Flink
a0df241c85 fixing missing data from qadevel host vars 2014-08-18 09:16:20 +00:00
Tim Flink
e2f60001d3 creating rest of qadevel playbook 2014-08-18 08:10:19 +00:00
Tim Flink
962cbdc3dd adding missing import to qadevel buildmaster config 2014-08-18 07:43:23 +00:00
Tim Flink
633423c5ad change deployment type for qadevel-stg to not conflict with taskotron stg 2014-08-18 07:37:18 +00:00
Tim Flink
6036a22912 changing buildmaster role to work with local database when needed 2014-08-18 07:33:34 +00:00
Ricky Elrod
baa5b40a77 try fixing selinux for nagios hostname access
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-08-17 20:06:12 +00:00
Kevin Fenzi
249f1051dc Add sysadmin-noc here too. 2014-08-16 17:12:45 +00:00
Dennis Gilmore
98ec937ba2 update to use a more direct route for sms for me 2014-08-16 16:16:46 +00:00
Pierre-Yves Chibon
4941a44e59 Run fas_client before nagios_client 2014-08-15 23:55:34 +02:00
Ricky Elrod
ffcd91be65 use sbt-extras instead of sbt
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-08-15 20:19:01 +00:00
Stephen Smoogen
26789cb36d and maybe shared-networks will work? 2014-08-15 20:13:08 +00:00
Kevin Fenzi
afc84323d2 value01 needs a hosts entry for koji to talk to it for koji plugin. 2014-08-15 18:20:04 +00:00
Martin Krizek
c64a788abe buildmaster: uncomment cat taskotron log step 2014-08-15 14:25:43 +00:00
Ralph Bean
6a5cb53f2a adamwill tells me I have the wrong hashtag. 2014-08-15 13:51:31 +00:00
Stephen Smoogen
29eb5fa0ef and we make sure there is a filename 2014-08-14 18:42:40 +00:00
Ralph Bean
dd280ba871 Give more time to nrpe commands. 2014-08-14 18:39:20 +00:00
Kevin Fenzi
42ac4ae251 Change path to try something. 2014-08-14 17:29:46 +00:00
Ralph Bean
067fec4412 Copy in some handy badge admin scripts. 2014-08-14 16:12:07 +00:00
Martin Krizek
a8de08cac1 buildmaster: no taskname in the mail subject for now 2014-08-14 11:36:32 +00:00
Martin Krizek
da017ccc39 buildmaster: one last try putting taskname in the mail subject 2014-08-14 09:20:17 +00:00
Martin Krizek
553269bf82 buildmaster: revert taskname in the mail subject 2014-08-14 08:13:48 +00:00
Martin Krizek
645e54eea9 Another try 2014-08-14 07:56:35 +00:00
Martin Krizek
88fa109699 buildmaster: fix variable typo in mail subject V2 2014-08-14 07:28:29 +00:00
Stephen Smoogen
99638f4f80 and dhcpd doesnt like the syntax from the manual. lovely 2014-08-14 00:00:47 +00:00
Stephen Smoogen
0d8757ee0e and lo we may have a fix. 2014-08-13 23:45:41 +00:00
Ralph Bean
363292878a Set up fedmsg cert vars for the composer nodes. 2014-08-13 23:02:11 +00:00
Stephen Smoogen
ff28979c6b hey jude. did you know to put a - in it? 2014-08-13 21:32:03 +00:00
Stephen Smoogen
77312085f8 lets add another dhcp net. not sure this will work 2014-08-13 21:20:25 +00:00
Kevin Fenzi
35640c4388 Some more small run fasClient playbook fixes. 2014-08-13 15:56:22 +00:00
Martin Krizek
87ab2a45ce buildmaster: fix variable typo in mail subject 2014-08-13 14:33:31 +00:00
Martin Krizek
969d203543 qadevel-stg: do not use grokmirror and postgresql 2014-08-13 14:29:42 +00:00
Ralph Bean
3288718ac7 Just use IPs for staging. moksha isn't doing the right thing with the hostnames. 2014-08-13 14:14:17 +00:00
Martin Krizek
8e562f0e9f Add qadevel-stg playbook 2014-08-13 11:47:41 +00:00
Kevin Fenzi
6455819a83 Add a small delay here in vhost_reboot 2014-08-12 16:54:28 +00:00
Kevin Fenzi
7016126b11 Adjust run fasclient playbook a bit. 2014-08-12 14:26:25 +00:00
Kevin Fenzi
b77b40ff2c Try copy here too. 2014-08-12 03:49:58 +00:00
Kevin Fenzi
b43f8e30b3 Try copy 2014-08-12 03:41:16 +00:00
Kevin Fenzi
c744698e0c Tweak openvpn base and keys 2014-08-12 03:36:21 +00:00
Nick Bebout
56b007a016 Update membership file 2014-08-12 02:54:25 +00:00
Nick Bebout
5f44093277 Remove long dead servers from sks peering file 2014-08-12 02:44:10 +00:00
Nick Bebout
624520a7a4 Add logging verbosity to sks config since it isn't by default anymore 2014-08-12 02:39:47 +00:00
Nick Bebout
5559f0eb0f Add more sks peers 2014-08-12 02:31:22 +00:00
Kevin Fenzi
ecf988b1d0 Add ssh to sign bridge rules (from 33,000 ft) 2014-08-10 15:52:15 +00:00
Ankur Sinha (FranciscoD)
c44102d387 [askbot] First additions for ask staging to include stopforumspam. 2014-08-10 07:04:48 +00:00
Kevin Fenzi
c9b858b112 Revert "Limit runs a bit more."
This reverts commit 67a576c432.
2014-08-09 21:56:07 +00:00
Kevin Fenzi
67a576c432 Limit runs a bit more. 2014-08-09 21:53:34 +00:00
Kevin Fenzi
f81d2aeb4a Fix cron job. 2014-08-09 20:51:43 +00:00
Pierre-Yves Chibon
e5d5100bf0 Hosts that run fasClient -a starts with bastion0 2014-08-09 20:03:42 +02:00
Kevin Fenzi
75173d29c4 No facts. 2014-08-09 17:58:17 +00:00
Jon Stanley
957b154b6c Add sayanchowdhury to the instance 2014-08-09 17:56:56 +00:00
Jon Stanley
699b266b14 Update keypair used in example host vars 2014-08-09 17:53:42 +00:00
Jon Stanley
c04f128946 Fix keypair 2014-08-09 17:36:08 +00:00
Kevin Fenzi
4c050bc944 Switch fasClient runs to daily 2014-08-09 17:34:44 +00:00
Pierre-Yves Chibon
915ee7625b Run flasClient -a on the bastion hosts 2014-08-09 19:33:43 +02:00
Kevin Fenzi
4da695867e Up to fas 15 2014-08-09 17:24:03 +00:00
Kevin Fenzi
84d02f4cc9 Add this name 2014-08-09 16:32:35 +00:00
Kevin Fenzi
dbd3f125ca Try this 2014-08-09 16:24:37 +00:00
Jon Stanley
f7161e4e0f Fix typo in playbook 2014-08-09 16:16:34 +00:00
Jon Stanley
6824ae44f0 Add darkserver dev instance 2014-08-09 16:13:33 +00:00
Kevin Fenzi
da295e39c0 Add groups to log01 2014-08-09 15:54:36 +00:00
Ralph Bean
f986048382 Up the threads for fmn. 2014-08-09 15:01:15 +00:00
Pierre-Yves Chibon
89170ad68f Ralph had already installed xorg-x11-server-Xvfb but Luke says we need firefox 2014-08-09 15:45:45 +02:00
Pierre-Yves Chibon
f4953107e7 Add xorg-x11-server-Xvfb on the jenkins builders 2014-08-09 15:40:41 +02:00
Ralph Bean
b7b595c765 Fully turn off the backlog stuff in staging. Sorry pingou... :( 2014-08-09 13:12:20 +00:00
Ralph Bean
0dc4ecd4e3 Be more careful with names from flickr. 2014-08-09 13:03:44 +00:00
Ralph Bean
02eabe2fd1 Add xorg-x11-server-Xvfb to jenkins slaves for rube. 2014-08-09 12:58:56 +00:00
Ralph Bean
e8747c1e8b Suggest threadpool size for FMN. 2014-08-09 09:46:16 +00:00
Ralph Bean
39d30e3773 Include busgateway in the fedmsgdupdate.yml. 2014-08-09 09:46:01 +00:00
Ralph Bean
0861667cdd Make the monitoring socket group-writable (new moksha release, whooo!) 2014-08-09 08:26:19 +00:00
Pierre-Yves Chibon
a91930db1d Add first hack on the run_fasClient playbook 2014-08-08 18:47:37 +02:00
Pierre-Yves Chibon
5ecc63cf21 The playbooks/sign_and_import.yml also works for Fedora \ó/ 2014-08-08 18:44:53 +02:00
Ralph Bean
1cb9745254 Right. Staging too. 2014-08-08 16:13:21 +00:00
Ralph Bean
c91b09a5ff So.... there are definitely 32 endpoints. How did this get missed? 2014-08-08 16:07:56 +00:00
Aditya adimania Patawari
3d4366ea58 Merge branch 'master' of /git/ansible 2014-08-08 12:11:27 +00:00
Aditya adimania Patawari
399d8e443b check phx02 dns script from ticket #4232 2014-08-08 12:11:15 +00:00
Ralph Bean
475bb3949e Turn off fedmsg backlog loading in staging. 2014-08-07 15:37:37 +00:00
Ralph Bean
a365f42bd8 Catch another UNKNOWN condition for the fedmsg nagios checks. 2014-08-07 11:58:35 +00:00
Ralph Bean
181881a9f2 More updates to the flock paparazzi badge. 2014-08-07 08:19:42 +00:00
Ralph Bean
7bb1b3d7ae New ansible apparently doesn't like these conditionals in the args. 2014-08-06 08:19:11 +00:00
Kevin Fenzi
3a687c7e6b Fix duplicate argument 2014-08-06 07:11:05 +00:00
Pierre-Yves Chibon
0c533e42d1 More space clean-up -- grrr 2014-08-06 07:31:24 +02:00
Pierre-Yves Chibon
020445465c Remove spaces within {{}}, no comments 2014-08-06 07:30:00 +02:00
Nick Bebout
02c27deaa8 remove per puiterwijk and pingou 2014-08-05 21:48:53 +00:00
Nick Bebout
ad4f0c5c6d Fix typo 2014-08-05 21:11:43 +00:00
Nick Bebout
2d20837268 Add trailing slash 2014-08-05 21:09:49 +00:00
Nick Bebout
1e132cc45d Add fedoramagazine.org to FedOAuth whitelist 2014-08-05 15:53:18 +00:00
Nick Bebout
2d7d78bc1e Update membership file 2014-08-05 15:50:05 +00:00
Ralph Bean
52e7cb5ad1 This makes a lot of sense. 2014-08-05 12:41:33 +00:00
Dennis Gilmore
f2333139a7 Setup apache on the compose box 2014-08-05 11:55:07 +00:00
Ralph Bean
070d61ca94 Try to handle non-ascii names with the flock paparazzi badge. 2014-08-04 15:39:11 +00:00
Kevin Fenzi
6bd7d1c2a1 Just try this to see. 2014-08-02 16:57:19 +00:00
Kevin Fenzi
f4abdb476d Wonder if this changes anything. 2014-08-02 16:22:01 +00:00
Kevin Fenzi
a4d5ef597d Also download servers don't need vpn in phx2. 2014-08-02 15:57:09 +00:00
Kevin Fenzi
3668fed1d7 phx2 virthosts don't need to be on the vpn, only remote ones. 2014-08-02 15:23:57 +00:00
Patrick Uiterwijk
863c22ddbd Add nagios to trusted openid roots 2014-08-02 15:01:07 +00:00
Till Maas
38e0e81ba2 autosigner: Setup secondary archs sigul config 2014-08-01 18:48:16 +02:00
Pierre-Yves Chibon
6e0e238f10 OpenVPN server needs the crl.pem file 2014-08-01 18:37:25 +02:00
Pierre-Yves Chibon
27810d09ca Comment out the crl.pem, it's not used anywhere 2014-08-01 18:30:52 +02:00
Till Maas
8121db1902 autosigners: Install fedora-packager 2014-08-01 18:28:40 +02:00
Pierre-Yves Chibon
6787706dc5 Replace the openvpn task by the openvpn role 2014-08-01 18:23:40 +02:00
Pierre-Yves Chibon
64111cdb25 Clean the elections playbook 2014-08-01 17:18:11 +02:00
Pierre-Yves Chibon
1e86f56dba Move the fedocal playbook to the openvpn role 2014-08-01 17:17:37 +02:00
Pierre-Yves Chibon
54764c5e41 File works 2014-08-01 17:10:13 +02:00
Pierre-Yves Chibon
6142a27e19 Move back from copy to file for testing 2014-08-01 17:08:49 +02:00
Pierre-Yves Chibon
e070415e34 Move back to the openvpn role 2014-08-01 17:05:11 +02:00
Pierre-Yves Chibon
d26ae5df9f Use copy instead of file 2014-08-01 17:04:34 +02:00
Pierre-Yves Chibon
840abdfbd9 Fix mode for the .crt 2014-08-01 17:02:40 +02:00
Pierre-Yves Chibon
041ebfa229 Move elections back to the tasks 2014-08-01 16:55:45 +02:00
Pierre-Yves Chibon
ecd9d72382 Try adjusting the notify handler 2014-08-01 16:52:39 +02:00
Pierre-Yves Chibon
1ed10e24fc Let's just invert dest and source 2014-08-01 16:51:34 +02:00
Pierre-Yves Chibon
b818538962 Y'all get quotes 2014-08-01 16:48:16 +02:00
Pierre-Yves Chibon
27913def24 More quotes for the handler names 2014-08-01 16:45:57 +02:00
Pierre-Yves Chibon
584cda5968 Another try with quotes 2014-08-01 16:43:49 +02:00
Pierre-Yves Chibon
3248bc2878 Let's try quotes around the modes 2014-08-01 16:42:37 +02:00
Pierre-Yves Chibon
8de71b59e3 Tag all the openvpn tasks as 'openvpn' 2014-08-01 16:41:55 +02:00
Pierre-Yves Chibon
8a89bd9fff Fix accessing the mode 2014-08-01 16:34:21 +02:00
Pierre-Yves Chibon
8185a415d2 And we put directly the destination, no location set 2014-08-01 16:30:08 +02:00
Pierre-Yves Chibon
cf1f8dba40 What about quotes 2014-08-01 16:26:15 +02:00
Pierre-Yves Chibon
9a4ea0a244 More syntax fix 2014-08-01 16:22:55 +02:00
Pierre-Yves Chibon
a0594653ab Adjust syntax for the when 2014-08-01 16:22:25 +02:00
Pierre-Yves Chibon
9feeb84ca3 Move the elections playbook to the openvpn role 2014-08-01 16:20:53 +02:00
Pierre-Yves Chibon
02730dbeb4 Rever the fedocal playbook to the openvpn tasks, we can find better testing ground
Revert "Update the fedocal playbook to use the openvpn role"

This reverts commit f908dbbc5b.
2014-08-01 16:19:25 +02:00
Pierre-Yves Chibon
f908dbbc5b Update the fedocal playbook to use the openvpn role 2014-08-01 16:17:45 +02:00
Pierre-Yves Chibon
8406c182ef Add openvpn handler for Fedora 20+ 2014-08-01 12:58:11 +02:00
Pierre-Yves Chibon
b34999e1f4 Add the logic to enable the openvpn server on EL6, EL7 and Fedora in the client and the server 2014-08-01 12:39:43 +02:00
Pierre-Yves Chibon
7f30c0fc7a Adjust the openvpn handler automatically to the distribution used 2014-08-01 12:35:11 +02:00
Pierre-Yves Chibon
00e9c9737f Add an openvpn handler for EL6 2014-08-01 12:35:11 +02:00
Pierre-Yves Chibon
92dab2a497 Clean openvpn server files that were doing nothing in the client 2014-08-01 12:31:37 +02:00
Pierre-Yves Chibon
6878e49796 Fix the files list in the openvpn/client role 2014-08-01 12:22:10 +02:00
Pierre-Yves Chibon
3aa0127662 Dependencies between roles are marked in the meta folder not the tasks one 2014-08-01 12:16:09 +02:00
Pierre-Yves Chibon
901624caea Mark the openvpn client and server as requesting the openvpn base role 2014-08-01 12:10:06 +02:00
Pierre-Yves Chibon
e5ff3b586e Start the port to ansible of openvpn 2014-07-31 22:37:58 +02:00
Kevin Fenzi
0f302056a3 Adjust this weed entry to match any line in dhclient.c 2014-07-31 15:35:13 +00:00
Pierre-Yves Chibon
5da315864c Create a new module: packager_alias containing the scripts to create the <pkg>-owner aliases 2014-07-31 13:34:53 +02:00
Kevin Fenzi
e2e9cb38d2 Add collectd to keys too 2014-07-31 04:36:37 +00:00
Kevin Fenzi
d2f74f359e These are gone now. 2014-07-31 00:16:00 +00:00
Kevin Fenzi
445af9594c Make sure we enable iptables. 2014-07-31 00:06:34 +00:00
Kevin Fenzi
5e445ec964 Add db-qa01 to backups. Set it to backup some dbs. 2014-07-30 21:31:00 +00:00
Ricky Elrod
fe359becaa noc01 not noc1
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-29 21:57:34 +00:00
Ricky Elrod
a2aaeabe91 define this handler
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-29 21:46:38 +00:00
Ricky Elrod
333383240d only install rsyncd on noc01, I think
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-29 21:26:34 +00:00
Ricky Elrod
8b59c4a93f This needs libsemanage-python
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-29 21:24:48 +00:00
Ricky Elrod
c7bee7cb55 noc02 host_vars
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-29 20:21:30 +00:00
Kevin Fenzi
29ea9e6d8b virthost02 was retired last week. 2014-07-28 22:18:52 +00:00
Ricky Elrod
a98ac219d8 heh
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-28 21:59:13 +00:00
Kevin Fenzi
0a613af025 Need 755 here. 2014-07-28 21:32:35 +00:00
Kevin Fenzi
9175ca5193 Try this 2014-07-28 21:25:27 +00:00
Kevin Fenzi
698358bc45 Tweak for selinux 2014-07-28 21:09:39 +00:00
Kevin Fenzi
31e6d3c73b Pull pager.py from private. 2014-07-28 20:55:33 +00:00
Kevin Fenzi
c0ec391612 (re)add pager app. Might be handy at some point. 2014-07-28 20:29:21 +00:00
Kevin Fenzi
75e072a7a5 Move fasClient runs to every 30min instead of every 10min. 2014-07-28 20:10:12 +00:00
Kevin Fenzi
a6f4ff7fa0 Don't double copy nagios plugins on noc servers. 2014-07-28 19:38:31 +00:00
Till Maas
72d4d67610 autosign: Update sign-bridge1 to new IP 2014-07-28 21:03:57 +02:00
Kevin Fenzi
ffd7fa49c7 Weed out some collectd noise from busgateway 2014-07-28 14:29:21 +00:00
Ricky Elrod
13b0802e2a Fix /var/android perms
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-28 11:56:16 +00:00
Kevin Fenzi
bc6aebf1ff Add this back too 2014-07-27 22:47:41 +00:00
Kevin Fenzi
f31d4c0ba2 Odd. Reverting back. 2014-07-27 22:22:20 +00:00
Kevin Fenzi
d62c75acde Confirm this is the problem 2014-07-27 22:16:10 +00:00
Kevin Fenzi
733b80f9ac More fun with quoting. 2014-07-27 22:14:34 +00:00
Ralph Bean
1ccd58f23e Typofix. 2014-07-25 16:03:30 +00:00
Ralph Bean
f64f9ea208 Revert "Turns out that staging fabric is not going to be accesible from where we sit."
This reverts commit 6f1cc1d305.
2014-07-25 15:59:06 +00:00
Kevin Fenzi
9dcc85c283 Revert this back to normal and see if it works now. 2014-07-25 04:27:38 +00:00
Ralph Bean
546cf7e89b This group got renamed. 2014-07-24 21:18:38 +00:00
Ralph Bean
3b8ce49793 Ouroboros.
Don't let datanommer read in a backlog from itself.
2014-07-24 20:48:38 +00:00
Ralph Bean
de7dca1364 No comment. 2014-07-24 20:33:56 +00:00
Ralph Bean
ce1b8f91e5 Try to make /var/run/fedmsg generally accesible to nrpe. 2014-07-24 20:17:16 +00:00
Ralph Bean
e5e380857e Ignore these errors. 2014-07-24 19:57:05 +00:00
Ralph Bean
0d1dbc4c1b Same trick for the guests. 2014-07-24 19:13:48 +00:00
Stephen Smoogen
db9bf35f47 Hey look ma.. dhcp ranges are cool. 2014-07-24 17:29:08 +00:00
Kevin Fenzi
69670dabd3 Switch this back to copy for now 2014-07-24 17:26:26 +00:00
Kevin Fenzi
0cfbc53db9 Add time in here. 2014-07-24 03:43:26 +00:00
Kevin Fenzi
097b7feda6 Try this. 2014-07-24 02:30:25 +00:00
Kevin Fenzi
cad5b1a9ff Try this using 's 2014-07-23 23:22:23 +00:00
Kevin Fenzi
44bf4608ca How about this 2014-07-23 23:15:10 +00:00
Kevin Fenzi
f36314fc7e Try this 2014-07-23 23:08:57 +00:00
Kevin Fenzi
ac3b23dd67 Fix typo 2014-07-23 23:04:08 +00:00
Kevin Fenzi
aab3e5d55a See if this makes noc playbook any faster. 2014-07-23 23:02:43 +00:00
Kevin Fenzi
50b6fcacc0 Add a dynamic range here for new devices. 2014-07-23 22:41:44 +00:00
Stephen Smoogen
94d591cc88 maybe this makes ports for dhcp? 2014-07-23 22:13:33 +00:00
Ralph Bean
f740aa1612 Knock this down while twisted still has the default threadpool size. 2014-07-23 20:43:34 +00:00
Ralph Bean
0d380575a9 Remove old references to app0\* from the fedmsg config. 2014-07-23 20:34:12 +00:00
Ralph Bean
473ce2c403 Also, open ports for fedmsg on the mailman boxes. 2014-07-23 16:41:37 +00:00
Ralph Bean
dee6e6b9a2 Give mailman01 an extra fedmsg endpoint. 2014-07-23 16:39:47 +00:00
Tim Flink
ff9a4beb60 fixing taskotron-prod urls 2014-07-23 13:24:22 +00:00
Kevin Fenzi
296f682df5 Revert "Try reverting this."
This reverts commit e0ca22fea7.
2014-07-23 03:48:48 +00:00
Kevin Fenzi
20413aa848 Revert "Try this again."
This reverts commit 8c6b225bbd.
2014-07-23 03:48:47 +00:00
Kevin Fenzi
52b27cf228 Revert "And try this too"
This reverts commit 4c99cd8f23.
2014-07-23 03:48:21 +00:00
Kevin Fenzi
4c99cd8f23 And try this too 2014-07-23 03:47:04 +00:00
Kevin Fenzi
8c6b225bbd Try this again. 2014-07-23 03:45:49 +00:00
Kevin Fenzi
e0ca22fea7 Try reverting this. 2014-07-23 03:44:05 +00:00
Kevin Fenzi
7c7ee7b374 Fix parent for releng04 2014-07-22 23:44:24 +00:00
Kevin Fenzi
6e18fe5959 More fixing. 2014-07-22 23:36:28 +00:00
Kevin Fenzi
ca9e22c3ff Another stray mention of a host 2014-07-22 23:25:47 +00:00
Kevin Fenzi
6f21a49000 Another fix. 2014-07-22 23:21:24 +00:00
Kevin Fenzi
de34dd16dc Add tag to nagios config copy 2014-07-22 23:18:15 +00:00
Stephen Smoogen
900c737824 and then we added portmap so nfs would work 2014-07-22 23:17:14 +00:00
Kevin Fenzi
1f962863f7 Another fix 2014-07-22 23:16:45 +00:00
Kevin Fenzi
7b4086ce60 Add https services for mgmt in 2014-07-22 23:14:46 +00:00
Kevin Fenzi
9734900cbe Drop bvirthost01/05 and virthost02 2014-07-22 23:10:04 +00:00
Kevin Fenzi
54ea4a002b Add vh16/17/18 and mgmt 2014-07-22 22:59:55 +00:00
Kevin Fenzi
4cd8e39470 Missed a file. 2014-07-22 22:42:09 +00:00
Kevin Fenzi
5ef08ef4da Take a stab at adjusting for new mgmt network in nagios 2014-07-22 22:33:32 +00:00
Tim Flink
d4fd714e15 putting newline back into resultsdb_frontend settings so that it renders properly 2014-07-22 16:02:27 +00:00
Martin Krizek
8dd0c9036c taskotron add buildmaster_pubkey to prod-clients 2014-07-22 15:07:38 +00:00
Tim Flink
79d47f4978 adding prod vars to buildslave's buildbot.tac 2014-07-22 14:57:51 +00:00
Martin Krizek
f40dbffcf2 taskotron buildslave: fix ownership of known_hosts 2014-07-22 14:38:46 +00:00
Martin Krizek
739c6d0376 taskotron-prod add buildslave_ssh_pubkey 2014-07-22 14:18:58 +00:00
Martin Krizek
70e03463ee taskotron: add MAILFROM in fetch_activity's cron job 2014-07-22 13:27:03 +00:00
Martin Krizek
1d5bb2462e buildbot taskotron.master: include taskname in the mail notifier subject 2014-07-22 12:49:53 +00:00
Tim Flink
76ebfdd7ab production doesn't need fakefedorainfra 2014-07-22 02:32:21 +00:00
Tim Flink
a12d3b0fc0 adding missing taskotron_docs var to taskotron-prod 2014-07-22 01:59:05 +00:00
Toshio くらとみ
9de3c0285d Cross your fingers 2014-07-22 00:49:52 +00:00
Toshio くらとみ
ad7919d864 Try this one... I think I might have to quote the literal "="'s though 2014-07-22 00:46:26 +00:00
Toshio くらとみ
eba5f504c4 Revert the previous -- we're closer but that's not quite it 2014-07-22 00:39:17 +00:00
Toshio くらとみ
8ba153a1a5 Seems like we're getting closer 2014-07-22 00:27:01 +00:00
Toshio くらとみ
762ec15502 Try number 2 2014-07-22 00:19:24 +00:00
Toshio くらとみ
22f485e764 Let's start trying some different syntaxes to quote vars 2014-07-22 00:16:53 +00:00
Kevin Fenzi
71bc9cb42b Actually set the host base 2014-07-21 23:38:49 +00:00
Kevin Fenzi
4150ea1483 Fix this hopefully now. 2014-07-21 23:34:36 +00:00
Kevin Fenzi
0b5879584a Tweak this some. 2014-07-21 23:33:16 +00:00
Kevin Fenzi
8e2d982130 User is fedora here. 2014-07-21 23:26:39 +00:00
Kevin Fenzi
ed7b1f7d9e Adjust playbook 2014-07-21 23:24:21 +00:00
Kevin Fenzi
d2c6440ca8 Use the right frigging keypair 2014-07-21 23:20:22 +00:00
Tim Flink
1357718019 reverting quoting changes to virt_install_command in group_vars/all 2014-07-21 23:05:31 +00:00
Tim Flink
206f24ac6b trying another combination of quotes in an attempt to make ansible happy 2014-07-21 22:46:44 +00:00
Tim Flink
bb460b8ff0 use single quotes around virt-install command in an attempt to keep ansible from parsing it 2014-07-21 22:36:02 +00:00
Tim Flink
83540dd5fa quoting virt-install command for new verison of ansible 2014-07-21 22:26:25 +00:00
Kevin Fenzi
7507139e92 Add koschei cloud instance for testing - ticket 4449 2014-07-21 22:07:16 +00:00
Tim Flink
70a2508f8f adding taskotron-prod-clients and initial settings for prod environment 2014-07-21 20:58:01 +00:00
Aurélien Bompard
63a56a4532 Mailman: avoid DB lockups on parallel servers 2014-07-21 19:02:28 +00:00
Kevin Fenzi
ed9990e17b Add qa06 2014-07-21 18:31:48 +00:00
Kevin Fenzi
d9ce6b13ce Drop monitor. 2014-07-21 18:07:28 +00:00
Aurélien Bompard
9676c5befb Align mailman's main.cf with the standard one 2014-07-21 17:56:14 +00:00
Aurélien Bompard
5d57028fd6 Set the postfix group for mailman servers 2014-07-21 17:52:39 +00:00
Aurélien Bompard
515576b016 Revert "Add optional dependency" (useless)
This reverts commit 51bc270346.
2014-07-21 16:57:37 +00:00
Kevin Fenzi
3d23b94dd1 Adjust weed to drop these anoying collectd messages from busgateway 2014-07-21 16:41:18 +00:00
Aurélien Bompard
51bc270346 Add optional dependency 2014-07-21 16:03:49 +00:00
Aurélien Bompard
786d325a79 Move mailman's postfix config to the base role 2014-07-21 16:03:49 +00:00
Kevin Fenzi
06b2f232a8 Switch backups to backup log01 instead of log02 2014-07-21 15:48:18 +00:00
Pierre-Yves Chibon
9a6cd71777 Fix the FAS url in stg 2014-07-21 16:47:58 +02:00
Kevin Fenzi
7bb42d3c99 Just gzip here, xz confuses epylog. 2014-07-21 14:28:30 +00:00
Kevin Fenzi
7a666b0de6 Also allow rsync from log01 to pull http logs on noc01 2014-07-21 14:17:42 +00:00
Tim Flink
7bab60be7d adding trailing / to links in buildmaster config to fix generated links in emails 2014-07-21 13:52:25 +00:00
Tim Flink
b6f087bc8e fedmsg-hub needs to be restarted after changing taskotron-trigger config 2014-07-21 12:11:12 +00:00
Tim Flink
4118fdb718 fixing resultsdb_url for taskotron-stg 2014-07-21 11:44:45 +00:00
Tim Flink
64e2dd4132 updating taskotron trigger config to use correct values 2014-07-21 11:29:47 +00:00
Kevin Fenzi
7c4e179ebf Add tftp server for noc01 firewall 2014-07-20 03:32:50 +00:00
Kevin Fenzi
566b253f5b Adjust for rhel7 2014-07-20 01:34:41 +00:00
Kevin Fenzi
2df32922c8 Also use only one dns server 2014-07-20 00:54:44 +00:00
Kevin Fenzi
5b34e3274a Drop this old virt-install group var and use the global one. 2014-07-20 00:54:12 +00:00
Kevin Fenzi
594020f1d6 Set this to be the group name 2014-07-20 00:53:14 +00:00
Kevin Fenzi
473636ca4c These are vpn 2014-07-19 23:48:02 +00:00
Kevin Fenzi
5ab781961a Bump this timeout way up. 2014-07-19 23:41:52 +00:00
Kevin Fenzi
193e645fbd So why is dns anoying on installs. 2014-07-19 23:10:19 +00:00
Kevin Fenzi
93120cf9b9 Add keys02 and unbound-osuosl01 2014-07-19 23:07:34 +00:00
Kevin Fenzi
87e79d7cfc Allow noc02 to talk to nrpe on noc01 over the vpn. 2014-07-19 20:05:36 +00:00
Kevin Fenzi
284c0bf188 Setup rrdtool collectd config 2014-07-19 18:32:56 +00:00
Kevin Fenzi
f634818cf3 Fix wrong dir 2014-07-19 17:43:39 +00:00
Kevin Fenzi
0c6f700f62 Add log01 merged file check nrpe command 2014-07-19 17:32:11 +00:00
Kevin Fenzi
2cfdd4bff9 Add log01 here. 2014-07-19 16:39:15 +00:00
Kevin Fenzi
9455539d36 Move this check to log01 2014-07-19 16:23:14 +00:00
Kevin Fenzi
6b1411b072 Fix up nrpe.cfg race condition on noc 2014-07-19 16:21:51 +00:00
Kevin Fenzi
a8775ae19b Set this to vpn postfix 2014-07-19 15:58:53 +00:00
Ralph Bean
fc58f89ab9 Typo. 2014-07-19 13:29:35 +00:00
Ralph Bean
9e85f042a8 Turn on multi-threading for FMN backend. 2014-07-19 13:19:43 +00:00
Ralph Bean
1fdb343941 Only install this on rhel7 boxen. 2014-07-19 01:47:41 +00:00
Tim Flink
2a0d9f6646 fixing typo and missing link on taskotron frontpage for stg and dev 2014-07-18 23:53:41 +00:00
Tim Flink
f36b32b5b6 fixing typo in buildmaster configuration 2014-07-18 22:35:49 +00:00
Tim Flink
427480c594 adding mail status notifications to taskotron buildmaster 2014-07-18 22:26:27 +00:00
Kevin Fenzi
b5ea5af7f5 Fix this directory 2014-07-18 21:13:27 +00:00
Kevin Fenzi
dfd7b14575 Add the proper ping.conf for collectd server. 2014-07-18 21:09:38 +00:00
Kevin Fenzi
2276f25345 Forgot to comment these out. 2014-07-18 20:44:36 +00:00
Kevin Fenzi
5c87555862 Merge branch 'master' of /git/ansible 2014-07-18 20:42:30 +00:00
Ricky Elrod
84f5005104 lib -> lib64
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-18 20:42:10 +00:00
Kevin Fenzi
92549b5c05 Enter log01, bravest of the brave 2014-07-18 20:42:00 +00:00
Kevin Fenzi
10c4c85a53 Fix path to check_dig 2014-07-18 20:32:22 +00:00
Kevin Fenzi
a7c3271b6b Set sb07 to use vpn for postfix 2014-07-18 20:25:14 +00:00
Ralph Bean
620beb87f3 Don't forget the unix_stream_socket. 2014-07-18 20:09:24 +00:00
Kevin Fenzi
dc234b10bf How about making this use lib64. ;) 2014-07-18 20:07:55 +00:00
Ralph Bean
7d0161c9fa Readin', and writin', and getattrin' 2014-07-18 20:06:55 +00:00
Ralph Bean
e0bbc8fe6e And.. talk to the sock. 2014-07-18 20:03:55 +00:00
Ralph Bean
28bd3996a7 This has to be the last one.. 2014-07-18 20:00:58 +00:00
Ralph Bean
8ef047dc5b Furthermore. 2014-07-18 19:53:12 +00:00
Ralph Bean
507a1492ae Also, this. 2014-07-18 19:46:33 +00:00
Ralph Bean
72f79922ae Add selinux module for collectd. 2014-07-18 19:38:09 +00:00
Kevin Fenzi
862c814690 We also need this port for collectd 2014-07-18 18:41:06 +00:00
Kevin Fenzi
8019968f01 Add syncHttpLogs to log01 2014-07-18 18:33:57 +00:00
Kevin Fenzi
de7f7ab079 Add a v4-v5 collectd migration config 2014-07-18 18:15:28 +00:00
Kevin Fenzi
d0b258c33e This should be using copy 2014-07-18 18:09:46 +00:00
Kevin Fenzi
3e78a078b1 Do this the other way 2014-07-18 18:06:12 +00:00
Ralph Bean
d87df7ff61 Apparently this is how you make default vars for roles. 2014-07-18 18:04:09 +00:00
Ralph Bean
ebe32c7bef Give a default value. 2014-07-18 18:04:09 +00:00
Kevin Fenzi
c16e810e4a Fix double modules in path. 2014-07-18 18:01:04 +00:00
Kevin Fenzi
4e6a4357e0 Fix missing a typo 2014-07-18 17:58:58 +00:00
Kevin Fenzi
9323f33c73 Add path 2014-07-18 17:56:55 +00:00
Kevin Fenzi
7efe08a558 Add epylog role to log01. 2014-07-18 17:50:29 +00:00
Ralph Bean
8adb643de6 Provide backlog options for the new fedmsg feature. 2014-07-18 17:45:04 +00:00
Kevin Fenzi
b137f536cf Add rsync open on atomic01 2014-07-18 17:40:03 +00:00
Kevin Fenzi
d8be30c7ed Set download-ib02 to use bastion vpn for mail. 2014-07-18 17:15:16 +00:00
Kevin Fenzi
b185a927b8 Add rsyncd to noc01 so we can rsync httpd logs off it. 2014-07-18 16:46:40 +00:00
Patrick Uiterwijk
6d2728e00d Re-add this, as this is fixed in 3.0.5+ 2014-07-18 15:58:57 +00:00
Ralph Bean
5ae57c7161 Open up that vpn port for busgateway's relay. 2014-07-18 15:40:08 +00:00
Patrick Uiterwijk
b0990fee36 This needs some small changes 2014-07-18 09:06:42 +00:00
Ralph Bean
0b46561764 Again with the file and the present. 2014-07-17 21:25:41 +00:00
Ralph Bean
02f193e30f Make sure nrpe can talk to the monitoring sockets of fedmsg daemons. 2014-07-17 21:22:21 +00:00
Ralph Bean
e0e78585a7 Reduce fedmsg loglevel. 2014-07-17 21:03:50 +00:00
Tim Flink
b6ea396501 fixing db access for stg fake_fedorainfra 2014-07-17 20:18:39 +00:00
Ricky Elrod
20e83a28c0 started
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 20:06:24 +00:00
Ricky Elrod
4a9a78b08f nuke more nsca
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 20:02:47 +00:00
Ricky Elrod
488b61e5c5 I am really, really bad at this. :(
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 20:02:11 +00:00
Ricky Elrod
0f9b24aea5 Merge branch 'master' of /git/ansible 2014-07-17 19:56:21 +00:00
Ricky Elrod
ad82a12c1d add missing services to start/autostart
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 19:56:10 +00:00
Ralph Bean
8acd523425 NRPE selinux policy. 2014-07-17 19:48:15 +00:00
Ricky Elrod
e106a24f23 Merge branch 'master' of /git/ansible 2014-07-17 19:47:39 +00:00
Ricky Elrod
39e2f50025 Everything hates me
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 19:47:35 +00:00
Tim Flink
a9da3b7e11 fixing urls for taskotron-stg-clients 2014-07-17 19:45:43 +00:00
Ricky Elrod
337597653d let it rain, let it pour. Enable rsyslog and postfix
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 19:44:08 +00:00
Ricky Elrod
20fde1a5b1 Merge branch 'master' of /git/ansible 2014-07-17 19:37:09 +00:00
Ricky Elrod
3c234f36a4 fix auth stuff here
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 19:37:04 +00:00
Ralph Bean
9048203023 Strip off our nice new logging prefix here. 2014-07-17 19:28:25 +00:00
Ralph Bean
28776f10ba {{libdir}} 2014-07-17 19:25:09 +00:00
Ralph Bean
8999dc9717 Datanommer history nagios checks. 2014-07-17 19:19:16 +00:00
Ralph Bean
a411c40da9 s/present/file/ 2014-07-17 19:12:53 +00:00
Ralph Bean
4392717e7c Try setting permissions on the monitoring socket for fedmsg-hub. 2014-07-17 19:11:10 +00:00
Ricky Elrod
d4d7bb25e5 Merge branch 'master' of /git/ansible 2014-07-17 19:04:01 +00:00
Ricky Elrod
2496977ce7 nuke
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 19:03:57 +00:00
Tim Flink
af615db01b adding buildmaster pubkey for taskotron stg clients 2014-07-17 18:50:11 +00:00
Tim Flink
e5ec6ba281 start and enable fedmsg-hub for taskotron-trigger 2014-07-17 18:43:02 +00:00
Ralph Bean
532004d77b Replace the fedmsg-gateway service file with our own to do resource limits the systemd way. 2014-07-17 18:36:07 +00:00
Ricky Elrod
0db611db0b tcp_ports
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 18:07:46 +00:00
Ricky Elrod
6925a2cdef do a sync of nagios/hosts from puppet
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 17:25:39 +00:00
Ricky Elrod
03b9e61ecd widen host selector
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 17:23:35 +00:00
Ricky Elrod
6c365ae1c3 noc03 -> noc01
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 17:22:39 +00:00
Tim Flink
cf3a5f8e84 fixing fake_fedorainfra settings to work with more than just dev 2014-07-17 17:15:26 +00:00
Ralph Bean
ed8420c706 Right. Except for staging... 2014-07-17 15:39:51 +00:00
Ralph Bean
f37014f246 Gotta get on that vpn. 2014-07-17 15:35:39 +00:00
Ralph Bean
e14e123d9a Add the prod node to the mix. 2014-07-17 15:04:17 +00:00
Miroslav Suchý
33d5b0d2aa put admin.fedoraproject.org/voting on trusted list of fedora openID
so user, who is going to vote, does not need to approve/reject review of authorization details
2014-07-17 10:01:07 +00:00
Miroslav Suchý
16d5a369a0 revert 602405b5 - copr is on F20 and does not need hotfix any more 2014-07-17 09:57:52 +00:00
Miroslav Suchý
fc85af9aba install python-novaclient
we need this for playbooks to spin up/terminate VM
2014-07-17 09:57:52 +00:00
Ralph Bean
60d2ee61db Name these, just so they look symmetrical. 2014-07-17 02:07:00 +00:00
Ralph Bean
f71a60936b Enable datanommer again. 2014-07-17 02:06:32 +00:00
Ralph Bean
45e5b2536f Yes. PY2 is the same as 'not PY3'. 2014-07-17 01:52:44 +00:00
Ralph Bean
21d378da97 Have to restart here too.. 2014-07-17 01:47:11 +00:00
Ralph Bean
4464657024 Websocket server config. 2014-07-17 01:40:44 +00:00
Ralph Bean
9877feee45 Add a datanommer role for busgateway01 staging. 2014-07-17 01:22:12 +00:00
Ricky Elrod
d7073bd80b Make nagios-external maybe work
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-17 00:52:41 +00:00
Ralph Bean
f01107d0bf Also, this port. 2014-07-16 23:10:59 +00:00
Ralph Bean
3954235b9b Open some ports for those fedmsg services. 2014-07-16 23:00:47 +00:00
Ralph Bean
f889df3727 Try setting up relay and gateway on new busgateway01. 2014-07-16 22:56:32 +00:00
Kevin Fenzi
c53b02cf35 Allow us to look at collectd 2014-07-16 22:29:42 +00:00
Kevin Fenzi
59df5e6b4b Setup logrotate for merged logs. 2014-07-16 22:10:52 +00:00
Kevin Fenzi
652e84ff8d Add vpn 2014-07-16 21:54:27 +00:00
Kevin Fenzi
a7d016c2b3 aa! 2014-07-16 21:45:41 +00:00
Kevin Fenzi
be0803de15 Bad dns. No doughnut. 2014-07-16 21:24:03 +00:00
Kevin Fenzi
3bd7212bd4 Might hate 2 dns servers here. 2014-07-16 21:18:50 +00:00
Kevin Fenzi
d7df76a1f8 Just use the default virt-install, can add disk later. 2014-07-16 21:04:59 +00:00
Kevin Fenzi
d445a1df19 First rough cut at a logserver setup. Will need lots more tweaking. 2014-07-16 21:01:29 +00:00
Dennis Gilmore
061a72dae4 symlink /srv/pungi on relase composeboxes 2014-07-16 20:16:16 +00:00
Ralph Bean
8068a89108 copy/pasta artifact. 2014-07-16 20:11:41 +00:00
Ralph Bean
a42891fc64 A playbook for busgateway01. 2014-07-16 20:09:08 +00:00
Ralph Bean
ffa767153f Add ansible inventory stuff for busgateway01. 2014-07-16 20:06:55 +00:00
Kevin Fenzi
ffa0bce058 Move to sign-bridge01 2014-07-16 15:39:15 +00:00
Kevin Fenzi
13b58b41c1 Add repos and 2fa to sign-bridge 2014-07-16 15:28:46 +00:00
Pierre-Yves Chibon
0da020781c Move the nuancier wsgi file into /var/www 2014-07-16 10:47:55 +02:00
Pierre-Yves Chibon
d38f03ca64 Make public the daily backup of pkgdb2 2014-07-15 22:56:52 +02:00
Kevin Fenzi
7e8a49b989 Add a gpg1 link 2014-07-15 18:46:46 +00:00
Kevin Fenzi
0b7a7bfcc4 Drop this part, it's done in the hosts role. 2014-07-15 18:39:34 +00:00
Kevin Fenzi
76db690075 -1 2014-07-15 18:37:43 +00:00
Ralph Bean
d600f85601 Remove retired packages from tagger with a cronjob. 2014-07-15 18:27:27 +00:00
Kevin Fenzi
dedec7b357 Fix ip for admin 2014-07-15 18:10:08 +00:00
Kevin Fenzi
475257aad6 Clean up vars to be more correct. 2014-07-15 17:15:45 +00:00
Kevin Fenzi
d2b53039fd Add a sign-bridge01 and move around some sign stuff 2014-07-15 17:13:55 +00:00
Ralph Bean
f21c4c004f New thresholds for fmn. 2014-07-15 13:34:05 +00:00
Miroslav Suchý
0af5712b07 enable one more file 2014-07-15 10:39:10 +00:00
Miroslav Suchý
199ca80a62 disable temporary 2014-07-15 10:33:08 +00:00
Miroslav Suchý
1353f8b148 copr-be-dev should be on F20 now 2014-07-15 10:19:42 +00:00
Kevin Fenzi
4bd5ce457e memcached03/04 are no more. 2014-07-15 04:12:50 +00:00
Kevin Fenzi
abedfb7cc8 Switch stuff over to new memcached 2014-07-14 22:16:47 +00:00
Kevin Fenzi
6476f0254d Leave memcached03/04 in hosts for stg for now. 2014-07-14 22:10:53 +00:00
Kevin Fenzi
932ad658d9 Add memcached to master.yml 2014-07-14 22:08:18 +00:00
Kevin Fenzi
232be783ca Fold a bunch of staging hosts files into a common one, add hosts tag to role. 2014-07-14 22:06:05 +00:00
Kevin Fenzi
e26d017034 Use correct net 2014-07-14 21:43:31 +00:00
Kevin Fenzi
77897bacc7 memcached01/02 reborn as rhel7 and with much ansible. 2014-07-14 21:23:23 +00:00
Ricky Elrod
9e57170d2d Merge branch 'master' of /git/ansible 2014-07-14 20:06:39 +00:00
Ricky Elrod
17389159f9 remove the tag, it worked \o/
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-14 20:06:37 +00:00
Kevin Fenzi
00a2222002 paste02 has moved to vh18 2014-07-14 20:04:48 +00:00
Ricky Elrod
a7574c74b1 tag it temporarily so I can run just that task
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-14 20:04:16 +00:00
Ricky Elrod
faa1a38a13 Does this do what I want?
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-14 20:03:35 +00:00
Ricky Elrod
6408447ffc Merge branch 'master' of /git/ansible 2014-07-14 19:33:40 +00:00
Ricky Elrod
9bc474e30a live in the modern age
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-14 19:33:05 +00:00
Ralph Bean
9168bb8f3e Make a home for badge stls. 2014-07-14 18:16:42 +00:00
Tim Flink
ce0f825ce7 fixing external hostname for taskotron-dev 2014-07-14 13:40:37 +00:00
Tim Flink
892dec6138 relative links don't need a hostname 2014-07-14 13:40:37 +00:00
Miroslav Suchý
504b24ebce install postfix on copr-fe
so we get emails about tracebacks
2014-07-14 13:35:03 +00:00
Tim Flink
79fdf11a1c updating taskotron landingpage to work with new resultsdb endpoints 2014-07-14 13:29:09 +00:00
Tim Flink
95901b885b fixing resultsdb_frontend_url to work with dev proxy config 2014-07-14 13:29:09 +00:00
Ralph Bean
9a67e35a9e Take sysadmin-main out of pkgdb admin list in staging for testing. 2014-07-14 13:19:21 +00:00
Tim Flink
4a37544c3f adding dev/stg/prod configs for buildmaster user 2014-07-14 13:17:34 +00:00
Tim Flink
38b2a5fc75 fixing taskotron-dev proxy settings for resultsdb and resultsdb_frontend 2014-07-14 12:59:02 +00:00
Miroslav Suchý
575ea5135a add fedora-21 to copr
temporary - untill it arrive to mock
2014-07-14 11:06:54 +00:00
Patrick Uiterwijk
8fe6c7b8a7 Cleanup the database whenever the FedOAuth playbook is ran 2014-07-14 04:33:04 +00:00
Ricky Elrod
a6292ac0ff install nagios-plugins and mod_auth_openid
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-14 01:39:34 +00:00
Ricky Elrod
e678b0bb5d openid auth
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-14 01:37:05 +00:00
Ricky Elrod
c1aca5f215 enable 2fa because it makes my life easier
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-14 00:04:50 +00:00
Kevin Fenzi
eeb920aa1b Need to be able to send mail from wiki for watched pages. 2014-07-13 21:15:32 +00:00
Ralph Bean
a3d8da8bc8 openvpn_client_7 2014-07-11 18:37:03 +00:00
Ricky Elrod
6080c9797f shut up rsyslog too
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-11 18:29:51 +00:00
Ralph Bean
1aeb0804f0 host_vars for datagrepper prod nodes. 2014-07-11 18:05:09 +00:00
Ralph Bean
75d15c979b Nuke datagrepper02.stg.phx2.fedoraproject.org 2014-07-11 17:44:53 +00:00
Kevin Fenzi
aac580fc16 Update rhel7 repo for extras and ha 2014-07-11 17:32:03 +00:00
Ralph Bean
b8b2bcffbf Copy/pasta fix. 2014-07-11 17:07:28 +00:00
Ralph Bean
3e7d62dcba Remove bum default config files. 2014-07-11 17:02:52 +00:00
Ralph Bean
5d2b16883b Use db-datanommer fqdn. 2014-07-11 17:01:36 +00:00
Ralph Bean
e2ac16bd44 modern apache syntax. 2014-07-11 16:57:14 +00:00
Ralph Bean
9c622ee19f datagrepper role has to come after mod_wsgi. 2014-07-11 16:45:52 +00:00
Ralph Bean
24a8a2517d No more. No less. 2014-07-11 16:43:44 +00:00
Ralph Bean
c81dd3b8a4 Correct this. 2014-07-11 16:37:29 +00:00
Kevin Fenzi
71ff6c7606 Fix hostnaame typo 2014-07-11 00:50:08 +00:00
Ricky Elrod
f095a51ee2 shut postfix up
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-11 00:32:22 +00:00
Ricky Elrod
1c740934fa make it reachable
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-11 00:22:06 +00:00
Ricky Elrod
3d755e0e5e delete unused files lost in a sync from puppet
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-11 00:20:41 +00:00
Ricky Elrod
4ee9d202d6 _7
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-11 00:12:49 +00:00
Ricky Elrod
4ecee79069 openvpn
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-11 00:06:06 +00:00
Ricky Elrod
e85e55799b vg_virthost
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-10 23:31:57 +00:00
Ricky Elrod
22d0aef540 move to vh17
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-10 23:29:52 +00:00
Ricky Elrod
8b4c232a07 make perms right
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-10 23:17:17 +00:00
Ricky Elrod
d9e9601769 sync nagios files from puppet
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-10 23:08:02 +00:00
Ricky Elrod
240396e373 noc03
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-10 22:46:58 +00:00
Ricky Elrod
0651a975c9 Merge branch 'master' of /git/ansible 2014-07-10 22:35:25 +00:00
Ricky Elrod
9a86673a66 nagios_phx2.yml -> noc.yml
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-10 22:35:18 +00:00
Ricky Elrod
9c88922b64 add tftp_server/dhcp_server to noc playbook
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-10 22:35:00 +00:00
Kevin Fenzi
e6e34b17f6 Add dhcp01 to ansible 2014-07-10 22:33:46 +00:00
Kevin Fenzi
e280dd0802 Add a tftp_server role for noc/dhcp01 2014-07-10 22:14:09 +00:00
Kevin Fenzi
9117585832 Add a dhcp_server role for noc and dhcp01 2014-07-10 22:00:31 +00:00
Kevin Fenzi
d574410f96 Fix indexing to show full filename. Ticket 4446 2014-07-10 20:28:12 +00:00
Ralph Bean
074dd3f17a Try using a jinja2 "default" filter. 2014-07-10 19:11:31 +00:00
Ralph Bean
ab65c8aeb7 I wonder. 2014-07-10 18:57:29 +00:00
Ralph Bean
1cd54af996 Base fedmsg setup for jenkins. 2014-07-10 18:41:14 +00:00
Kevin Fenzi
88335f85de Adjust openvpn rules for rhel7 2014-07-10 17:43:14 +00:00
Kevin Fenzi
46c93a62ba Try this 2014-07-10 17:08:06 +00:00
Kevin Fenzi
b192824544 switch download-ib02 to rhel7 2014-07-10 17:01:08 +00:00
Tim Flink
c099623e88 fixing taskotron-client14 host vars, 13 != 14 2014-07-10 11:37:10 +00:00
Tim Flink
746666b5f5 fixing deployment_type for taskotron-stg-clients 2014-07-10 11:21:58 +00:00
Kevin Fenzi
9b0e41d4c6 nfs01 is gone 2014-07-10 03:27:59 +00:00
Kevin Fenzi
80cf0691ad Collapse this down so it's idempotent 2014-07-10 02:30:38 +00:00
Stephen Smoogen
d0327f7da9 and we can use the original item 2014-07-10 02:05:17 +00:00
Stephen Smoogen
66aaad9432 adding initial log01 2014-07-10 02:02:35 +00:00
Ricky Elrod
ebd48d6a94 do (re)starting after applying config changes, when it makes sense
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 21:49:22 +00:00
Ricky Elrod
0d66229c57 does this do what I want?
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 21:45:07 +00:00
Ricky Elrod
d5ad84c3fe copy not file :(
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 21:28:49 +00:00
Kevin Fenzi
e067bd485b Merge branch 'master' of /git/ansible 2014-07-09 21:26:36 +00:00
Kevin Fenzi
ba0af98867 Add osuosl03 2014-07-09 21:26:28 +00:00
Patrick Uiterwijk
dccb497fd5 Enable new feature where we send the email alias in case of CLA signed 2014-07-09 21:26:26 +00:00
Ricky Elrod
31ac4a14d4 comment out more xmpp stuff for now
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 21:13:16 +00:00
Ricky Elrod
19274ca96f use the right key from ansible-private
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 21:07:08 +00:00
Ricky Elrod
06ede132fe nagils? wtf is a nagils? :)
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 20:36:08 +00:00
Ricky Elrod
8f8bf55242 comment out the service too
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 20:33:29 +00:00
Ricky Elrod
267de66138 no nsca either, this might take a while :P
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 20:25:33 +00:00
Ricky Elrod
ba98ab357a no python-xmpp in rhel7 :(
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 20:22:53 +00:00
Ricky Elrod
91166fb5bf typos are not valid, who knew?
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 20:16:04 +00:00
Ricky Elrod
48fbcd4978 groups are not users, who knew?
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 20:15:25 +00:00
Ricky Elrod
3f300be3bc same with vpn
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 19:59:11 +00:00
Ricky Elrod
d52b639f48 disable 2fa because this is just a test and not worth making keys for
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 19:54:36 +00:00
Ricky Elrod
8ebc4720d5 steal nirik's denyhosts conditional ;)
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 19:50:32 +00:00
Kevin Fenzi
527db9d666 Conditionalize the rhel6/7 openvpn task 2014-07-09 19:38:05 +00:00
Kevin Fenzi
deb9cbf62a Denyhosts conditional 2014-07-09 19:30:16 +00:00
Ricky Elrod
e645400139 I'm not sure if we need this yet
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 19:19:34 +00:00
Ricky Elrod
63ea5ed163 Merge branch 'master' of /git/ansible 2014-07-09 19:12:14 +00:00
Ricky Elrod
c6c87a42ef no denyhosts for now :(
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 19:12:06 +00:00
Kevin Fenzi
b4439ab453 Use the actual right ip 2014-07-09 19:05:12 +00:00
Ricky Elrod
7886c719d2 Merge branch 'master' of /git/ansible 2014-07-09 18:57:08 +00:00
Ricky Elrod
c3944e49da try using the ip instead of infra.fp.o
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 18:56:58 +00:00
Kevin Fenzi
2d5fa6203c Fine then mr dns server. 2014-07-09 18:39:45 +00:00
Kevin Fenzi
d1a9dda953 This should be , seperated. 2014-07-09 18:37:08 +00:00
Ricky Elrod
b5ed94dc05 Merge branch 'master' of /git/ansible 2014-07-09 18:33:42 +00:00
Ricky Elrod
55ffb6ed64 Add missing group_vars because I am an idiot
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-09 18:33:36 +00:00
Kevin Fenzi
ba6a82a964 Set this to external 2014-07-09 18:27:27 +00:00
Kevin Fenzi
7ee37d676b Move a smtp-mm from telia over to coloamer 2014-07-09 18:04:40 +00:00
Kevin Fenzi
97889ca566 ok, try this longer way 2014-07-09 16:47:10 +00:00
Kevin Fenzi
ce4a22cf64 Tweak rootpw for composer hosts with different one. 2014-07-09 16:45:29 +00:00
Ralph Bean
17e47c5372 Make kickstarts explicit for bz2fm. 2014-07-09 15:29:52 +00:00
Ralph Bean
351486cdcd Add fedimg to the master playbook. 2014-07-09 14:54:13 +00:00
Ralph Bean
de29af9cc9 Make bugzilla2fedmsg01 real. 2014-07-09 14:48:13 +00:00
Ralph Bean
f211a91092 fedmsg endpoints and certs for fedimg01. 2014-07-09 14:15:47 +00:00
Ralph Bean
d0768d6357 Right. denyhosts. 2014-07-09 14:08:09 +00:00
Ralph Bean
ae5c56a79c Initial playbook for fedimg. 2014-07-09 13:56:44 +00:00
Ralph Bean
b5d38d0960 Inventory entries for new fedimg01 nodes. 2014-07-09 13:48:23 +00:00
Dennis Gilmore
20a9d05455 point branched configs at f21 repos 2014-07-09 03:32:30 +00:00
Ricky Elrod
a103f51f2b Sync nagios files from puppet
Until we switch over to this, use this to sync:

rsync -avr ~/puppet/modules/nagios/files .
2014-07-08 23:06:32 +00:00
Ricky Elrod
49521dc1ff get noc03.phx2 ready to exist
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-08 23:01:29 +00:00
Kevin Fenzi
ea8a59df40 Add some lovely openvpn 2014-07-08 22:09:09 +00:00
Kevin Fenzi
2bd0eb9031 Move fedmsg setup last. 2014-07-08 21:51:48 +00:00
Kevin Fenzi
54aa9c8226 Need the nfs mounts before the releng role runs 2014-07-08 21:25:53 +00:00
Kevin Fenzi
8346166c90 drop nfs stuff from releng, add nfs/client to compose machines. 2014-07-08 21:22:19 +00:00
Kevin Fenzi
75be449044 Move releng_config to a role so we can add masher user before fedmsg. 2014-07-08 20:36:26 +00:00
Kevin Fenzi
65760320e7 Just move these over to local storage for now. 2014-07-08 20:33:45 +00:00
Tim Flink
d982debd19 adding apache task to resultsdb01.qa 2014-07-08 20:04:39 +00:00
Tim Flink
33c6b8b6d7 adding sudoers to taskotron01.qa and resultsdb01.qa 2014-07-08 19:55:17 +00:00
Tim Flink
6044b0ace2 fixing lvname for taskotron01.qa on virthost-comm02 2014-07-08 19:27:34 +00:00
Kevin Fenzi
d572ce7875 Move this stuff into the group file to save some duplication. 2014-07-08 19:08:15 +00:00
Kevin Fenzi
7733ced65f Rename this to composers 2014-07-08 19:00:07 +00:00
Kevin Fenzi
8482fd40ac Rename releng01/02 to branched-composer and rawhide-composer. 2014-07-08 18:28:06 +00:00
Tim Flink
9e8ae648ab moving taskotron01.qa to virthost-comm02.qa 2014-07-08 18:07:35 +00:00
Ralph Bean
b51c07d83e No denyhosts for rhel7. 2014-07-08 17:58:51 +00:00
Tim Flink
1b0b262e47 adding the rest of the things for taskotron-prod and resultsdb-prod 2014-07-08 17:51:06 +00:00
Ralph Bean
86f587fdae Hosts is a role, not a task these days. 2014-07-08 17:35:34 +00:00
Ralph Bean
1181dc6835 More these to a "templates/" dir. 2014-07-08 17:30:23 +00:00
Tim Flink
405fdaa536 preparing for taskotron production setup 2014-07-08 17:26:56 +00:00
Ralph Bean
a07d60886b Add host_vars for datagrepper01 and 02 as they stand. 2014-07-08 16:44:25 +00:00
Ralph Bean
796a28899b Comment out datagrepper gluster stuff. 2014-07-08 16:10:06 +00:00
Ralph Bean
5b23aa818f Adjust ansible group stuff for datagrepper. 2014-07-08 15:41:03 +00:00
Ralph Bean
d6962cc9d3 Comment out fedmsg-hub datagrepper stuff for now. 2014-07-08 15:37:21 +00:00
Aditya adimania Patawari
e470c9948e Initial port of datagrepper from puppet to ansible.
https://fedorahosted.org/fedora-infrastructure/ticket/4393
2014-07-08 15:35:43 +00:00
Stephen Smoogen
d3a7ea1fa7 The hobbits are trickzie and stuck variables in group not host 2014-07-08 15:20:29 +00:00
Tim Flink
7683b86364 updating resultsdb-stg endpoints 2014-07-08 04:17:42 +00:00
Tim Flink
dfc58e678c fixing db permissions setting for resultsdb-backend 2014-07-08 04:10:19 +00:00
Tim Flink
fcadde2964 fixing resultsdb config for db user in dev/stg/prod 2014-07-08 04:04:37 +00:00
Tim Flink
c194a19fcb changed taskotron-stg deployment type to stg 2014-07-08 02:17:55 +00:00
Kevin Fenzi
654ecad3db Drop this for now too 2014-07-08 01:37:46 +00:00
Kevin Fenzi
7d4d26e557 Drop taskotron-stg01 from staging. 2014-07-08 01:35:01 +00:00
Tim Flink
b96683556d updating taskotron buildbot roles with stg config values 2014-07-08 00:15:15 +00:00
Tim Flink
6d682cdb1b fixing db name and variable use for taskotron-dev buildmaster 2014-07-08 00:05:47 +00:00
Tim Flink
ba0ef5deba changing stg db names to match existing convention 2014-07-07 22:25:19 +00:00
Tim Flink
cc5ae5cdf3 adding deployment_type to resultsdb-stg 2014-07-07 22:22:46 +00:00
Tim Flink
31e9b226d6 updating restultsdb-stg db name for dev/stg/prod naming 2014-07-07 22:17:23 +00:00
Tim Flink
3aa0490f75 updating buildmaster ip for taskotron-stg-clients 2014-07-07 22:17:23 +00:00
Tim Flink
0637e35371 updating taskotron-stg01's clients 2014-07-07 22:17:23 +00:00
Kevin Fenzi
d5fc8e3301 taskotron-stg01 is a special snowflake. ;) 2014-07-07 22:09:10 +00:00
Tim Flink
8149370aa5 adding the other taskotron-stg-clients back into inventory 2014-07-07 21:40:28 +00:00
Tim Flink
76b7e74b0d renaming virt26-29.qa to taskotron-client26-29.qa 2014-07-07 20:12:15 +00:00
Tim Flink
a814a75254 specifying num_cpus and mem_size for taskotron clients 2014-07-07 20:02:28 +00:00
Kevin Fenzi
345dcd70e5 Name this right. 2014-07-07 19:53:54 +00:00
Kevin Fenzi
a4bd562e87 Add a hosts file for taskotron-stg01 2014-07-07 19:47:31 +00:00
Tim Flink
6f85dfb50c moving resultsdb and resultsdb_frontend to separated endpoints for proxying 2014-07-07 19:39:58 +00:00
Tim Flink
270871cdf0 removing duplicated group from inventory 2014-07-07 19:22:55 +00:00
Tim Flink
8e7a4bd62f fixing inventory for taskotron-stg 2014-07-07 19:18:54 +00:00
Kevin Fenzi
27a171a040 stg playbook should run against stg. 2014-07-07 19:18:25 +00:00
Kevin Fenzi
ea7647db08 Move taskotron-stg01 to new ip 2014-07-07 19:10:17 +00:00
Tim Flink
596c0a7b0e adding taskotron-stg group for stg taskotron master 2014-07-07 19:00:59 +00:00
Tim Flink
88d1390a17 updating reverse proxy config for resultsdb to send X-Script-Name 2014-07-07 18:32:53 +00:00
Kevin Fenzi
cd657f2794 Drop this too 2014-07-07 17:29:55 +00:00
Kevin Fenzi
3a52dc1ac4 ok, just do this for now. 2014-07-07 17:17:39 +00:00
Kevin Fenzi
430bdb591a Revert "Revert "That doesn't work, lets try this.""
This reverts commit 362710ffa8.
2014-07-07 17:11:56 +00:00
Ricky Elrod
649108c0c3 work so far on nagios_server role.
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2014-07-07 17:09:38 +00:00
Ricky Elrod
4ee5939b13 in progress 2014-07-07 17:00:27 +00:00
Kevin Fenzi
362710ffa8 Revert "That doesn't work, lets try this."
This reverts commit 0a33ecd4e3.
2014-07-07 16:55:04 +00:00
Kevin Fenzi
0a33ecd4e3 That doesn't work, lets try this. 2014-07-07 16:44:36 +00:00
Kevin Fenzi
2123ca949c Make virt-instance-create more clear on where it's doing things. 2014-07-07 16:41:09 +00:00
Tim Flink
e81fa93478 changing taskotron-stg-clients inventory to the last remaining client 2014-07-07 15:24:58 +00:00
Ralph Bean
e6e6a957d1 This could be either kind of error. 2014-07-07 15:12:56 +00:00
Tim Flink
78b92983ca backing taskotron-stg-clients off to 2 hosts so ansible has a better chance of connecting to everything instead of failing 2014-07-07 14:44:37 +00:00
Tim Flink
4f2438ad2e changing taskotron-stg-clients again, trying 3 hosts this time 2014-07-07 14:36:04 +00:00
Tim Flink
f78179dbc2 changing taskotron-stg-clients to a different set of 2 hosts to workaround an ssh connection issue 2014-07-07 14:22:18 +00:00
Ralph Bean
558c50965e Cert and endpoint setup for fmn backend. 2014-07-07 14:20:38 +00:00
Tim Flink
7a940b5b04 limiting taskotron-stg-clients to 2 hosts while triaging setup issues 2014-07-07 14:06:23 +00:00
Kevin Fenzi
2032b6396a Narrow this forward to only valid ips at site. 2014-07-05 21:33:31 +00:00
Kevin Fenzi
692458e19e coloamer01 is a virthost 2014-07-05 21:25:38 +00:00
Kevin Fenzi
a326c9e867 Just add this for now to get rid of ssh noise at coloamer01 2014-07-05 21:11:59 +00:00
Kevin Fenzi
61e65a9026 Add nagios_client tag to nagios_client role 2014-07-05 17:05:14 +00:00
Kevin Fenzi
bc187c07d8 Adjust base nrpe values. RHEL7 has more threads. 2014-07-04 15:15:25 +00:00
Ralph Bean
51e097143c Make psutil features of our fedmsg config optional for mod_wsgi on rhel7. 2014-07-04 04:35:27 +00:00
Tim Flink
3f6fb1677f adding taskotron-stg-clients 2014-07-04 04:12:31 +00:00
Tim Flink
5e13b61d11 adding sudoers to qa virthosts 2014-07-04 03:28:51 +00:00
Tim Flink
71e762b432 another small change to a link on the taskotron landing page 2014-07-04 03:20:03 +00:00
Tim Flink
05ff9f89fe another small html fix to the taskotron landing page, hopefully the last one 2014-07-04 03:12:42 +00:00
Tim Flink
39d0f8927c fixing invalid html in taskotron landing page 2014-07-04 03:01:31 +00:00
Tim Flink
df809c8e1e adding link to fake_fedorainfra for dev and stg taskotron landing page 2014-07-04 02:57:34 +00:00
Tim Flink
42c3bfa136 updating ip for fakefedorainfra endpoint 2014-07-04 02:42:27 +00:00
Tim Flink
f43909c5aa disabling file logging and setting db host for fake_fedorainfra 2014-07-04 02:38:50 +00:00
Tim Flink
3c6188ca36 adding qa04.qa, qa05.qa as virthosts 2014-07-03 23:33:59 +00:00
Tim Flink
fc174ca555 removing stray / from landingpage 2014-07-03 22:44:56 +00:00
Tim Flink
c7cc1b0ef2 make sure that the buildmaster's pubkey is known to taskotron clients 2014-07-03 22:33:46 +00:00
Tim Flink
ba09165152 updating buildmaster ip for master config on taskotron-dev 2014-07-03 22:22:51 +00:00
Tim Flink
c97377d262 fixing landing page link for taskotron-dev 2014-07-03 22:16:15 +00:00
Tim Flink
931b1979d5 updating buildmaster ip for taskotron-dev-clients 2014-07-03 21:33:33 +00:00
Kevin Fenzi
7113f43507 Add datacenter and resolv.conf for coloamer 2014-07-03 21:29:56 +00:00
Kevin Fenzi
af420851cc Switch coloamer01 over to ansible 2014-07-03 21:12:10 +00:00
Kevin Fenzi
7fd9aaf2d8 Switch ip to one with an external mapping 2014-07-03 20:31:38 +00:00
Tim Flink
d10f4a5e9b adjusting conditionals for slightly different use of is_rhel and is_fedora 2014-07-03 19:36:02 +00:00
Tim Flink
32a7e4163b fixing path to ssl certs for ssl-taskotron 2014-07-03 19:20:55 +00:00
Tim Flink
741b71b7e2 adding variable for fakefedorainfra endpoint 2014-07-03 19:09:10 +00:00
Tim Flink
daa867504e missed a reference to wrong fakefedorainfra db name var 2014-07-03 19:04:53 +00:00
Tim Flink
fc4fcbc442 fixing fakefedorainfra db name variable 2014-07-03 19:01:41 +00:00
Tim Flink
45ca4043ac adding local ssl role for taskotron-dev 2014-07-03 18:56:59 +00:00
Tim Flink
befd796809 changing virt27.qa to be a 32 bit host 2014-07-03 18:33:00 +00:00
Tim Flink
298cd36c65 adding libdir for virt27 since it's an i386 host 2014-07-03 17:29:10 +00:00
Kevin Fenzi
84212e5e66 Lets see if this is a bit cleaner and more ansibley 2014-07-03 16:37:35 +00:00
Kevin Fenzi
ece93a1936 Add port 80 to allowed here. 2014-07-03 16:08:15 +00:00
Tim Flink
ed947449af adding 32 bit support to yumrepos task and changing virt29 to i386 2014-07-03 15:52:44 +00:00
Tim Flink
8465d6243a adding fake_fedorainfra role for taskotron 2014-07-03 14:58:59 +00:00
Tim Flink
db80839ca3 re-adding virt27-29.qa to inventory 2014-07-03 14:30:33 +00:00
Tim Flink
d2756dbd04 changing buildslave setup tasks to use sudo and buildslave user 2014-07-03 14:20:11 +00:00
Kevin Fenzi
b82c153329 Set all taskotron-dev-clients to use qavirt-sudoers 2014-07-03 14:10:00 +00:00
Tim Flink
f445cb7273 missed a variable conversion in buildslave-configure when moving the role from qa's repo 2014-07-03 13:53:06 +00:00
Tim Flink
3d12d96573 fixing path to ssh key in private files 2014-07-03 13:49:31 +00:00
Tim Flink
a3aa563c0f updating buildslave configuration for infra playbook and adding required variables 2014-07-03 13:44:56 +00:00
Tim Flink
a011b1d485 adding buildslave-configure role to taskotron-dev-clients 2014-07-03 13:31:18 +00:00
Tim Flink
f10c066687 correcting buildmaster ip for taskotron-dev 2014-07-03 13:25:25 +00:00
Tim Flink
100f0ec463 adding buildslave-configure role and dev-buildslave ssh key info 2014-07-03 13:15:56 +00:00
Tim Flink
a68eab1ee0 opening buildslave port on taskotron-dev and taskotron-dev-clients 2014-07-03 12:08:22 +00:00
Tim Flink
5eee03b50c adding buildslave role for taskotron-clients 2014-07-03 12:01:44 +00:00
Tim Flink
094c65d74f adding deployment_type to taskotron-dev-clients 2014-07-03 11:56:00 +00:00
Tim Flink
7d3f25b14e adjusting taskotron.yaml template for different dev/stg/prod passwords 2014-07-03 11:53:47 +00:00
Pierre-Yves Chibon
8b425b4920 The package is called devscripts-minimal and is only on Fedora 2014-07-03 13:51:29 +02:00
Pierre-Yves Chibon
28ae26a12b Add a couple of dependencies for FedoraReview on jenkins 2014-07-03 13:51:29 +02:00
Tim Flink
6f4724807f adding more missing values to taskotron-dev-clients inventory 2014-07-03 11:48:36 +00:00
Tim Flink
238c67e06c adding missing values to taskotron-dev-clients inventory file 2014-07-03 11:46:13 +00:00
Tim Flink
2be9e18a1b adding taskotron-client role 2014-07-03 11:37:02 +00:00
Tim Flink
94902fd02d removing virt27-29 from inventory for now so the playbook will run 2014-07-03 11:23:18 +00:00
Miroslav Suchý
15e38bd417 give asamalik access to copr prod
he can be my backup when I am on vacation
2014-07-03 09:48:13 +00:00
Tim Flink
f01a8bc452 adding virt27-29.qa to inventory as taskotron-dev clients 2014-07-03 02:19:42 +00:00
Tim Flink
3399b44ef8 fixing apache conf file for taskotron-proxy 2014-07-03 02:09:32 +00:00
Tim Flink
b797671b6a adding taskotron-proxy role for dev 2014-07-03 02:00:26 +00:00
Tim Flink
98aa091262 adding taskotron-frontend role 2014-07-03 01:49:20 +00:00
Ralph Bean
5fb2d93941 Update kerneltest seboolean to let fedmsg send error emails. 2014-07-03 00:36:48 +00:00
Ralph Bean
c8728f2c84 These look like log files, not static files. 2014-07-03 00:36:11 +00:00
Tim Flink
fa25c2e930 adding sysadmin-main to fas client groups for resultsdb-dev 2014-07-02 23:31:39 +00:00
Tim Flink
6da163d424 finishing the separation of resultsdb stuff from base infra stuff on resultsdb-dev 2014-07-02 23:25:52 +00:00
Tim Flink
be6aa3c980 refactoring resultsdb-dev to separate resultsdb from base infra stuff 2014-07-02 23:21:40 +00:00
Tim Flink
edf6e65d18 adding libsemanage-python to resultsdb-backend deps 2014-07-02 22:18:53 +00:00
Kevin Fenzi
c65c0dcf4b Add rsyncd for logs to value 2014-07-02 19:27:28 +00:00
Tim Flink
60c0eb8e34 adding missing taskotron vars for fetch_activity script 2014-07-02 17:11:56 +00:00
Tim Flink
3eea166258 adding missing files from taskotron-trigger role 2014-07-02 17:07:41 +00:00
Tim Flink
9c6176d03a not using taskotron-copr anymore 2014-07-02 17:02:45 +00:00
Tim Flink
ff6fbba5ea adding taskotron-trigger role and updating taskotron-dev playbook 2014-07-02 16:57:33 +00:00
Kevin Fenzi
2afb547c5e Drop all the staging stuff from this hosts file 2014-07-02 16:04:51 +00:00
Pierre-Yves Chibon
47f6f7e75a Actually make a difference between el6 and 7 2014-07-02 17:54:46 +02:00
Pierre-Yves Chibon
6dab7a5edb Change the SELinux type of the logs folder 2014-07-02 17:47:58 +02:00
Pierre-Yves Chibon
20e5a15d8c Fix formatting 2014-07-02 17:38:51 +02:00
Pierre-Yves Chibon
2a144e3c5e Try some SELinux woodoo for the logs folder 2014-07-02 17:37:42 +02:00
Tim Flink
174c5c1b03 adding resultsdb-dev group to inventory 2014-07-02 15:36:37 +00:00
Tim Flink
d3d7f2cbea refactoring resultsdb to support different credentials for dev/stg/prod 2014-07-02 15:36:37 +00:00
Pierre-Yves Chibon
dcec1c12cc Allow kerneltest01 to create the kerneltest db 2014-07-02 17:30:05 +02:00
Pierre-Yves Chibon
0053bd3685 Add the hosts file for kerneltest01 2014-07-02 17:22:27 +02:00
Tim Flink
5d7e9d9162 adding python-psycopg2 package to taskotron for buildbot 2014-07-02 15:09:48 +00:00
Tim Flink
533ff34228 correcting use of sudo so that buildmaster stuff is created with correct user 2014-07-02 15:04:11 +00:00
Tim Flink
78027017f3 removing dev_ prefix from stuff that's not needed in taskmaster config 2014-07-02 14:42:02 +00:00
Tim Flink
ed342bc4e1 fixing hostname variables for taskotron master config 2014-07-02 14:35:05 +00:00
Pierre-Yves Chibon
81ad59c918 Adjust the path to the static file for el6 vs others 2014-07-02 16:17:20 +02:00
Tim Flink
f3ceded008 fixing password variable names for taskotron-dev buildmaster config 2014-07-02 13:49:07 +00:00
Tim Flink
2d7fb37eda adding fas_client_groups to virt26.qa 2014-07-02 13:24:20 +00:00
Aurélien Bompard
a65f6b3035 Mailman: merge changes in urls.py 2014-07-02 09:20:40 +00:00
Tim Flink
a85f0418eb removing virt27-29.qa from inventory as they haven't been added yet 2014-07-02 01:36:26 +00:00
Tim Flink
7bae1c1edf adding taskotron-dev-clients vars and virt26.qa 2014-07-02 01:33:16 +00:00
Tim Flink
976f1d4390 adding taskotron-dev-clients to inventory and group playbooks 2014-07-02 01:13:24 +00:00
Kevin Fenzi
be9ed8627a Add sysadmin-qa 2014-07-02 00:47:11 +00:00
Kevin Fenzi
a8ca28be33 Add qa07.qa to virthost playbook 2014-07-01 23:20:43 +00:00
Tim Flink
eef6cb931a adding qa07.qa to inventory as virthost 2014-07-01 23:08:02 +00:00
Kevin Fenzi
41390a2b6c Setup kerneltest01 prod node. 2014-07-01 21:41:38 +00:00
Kevin Fenzi
12d490f862 Fix kerneltest hosts 2014-07-01 21:31:04 +00:00
Kevin Fenzi
fff81da2b7 Drop denyhosts and we will use openvpn 7 in prod 2014-07-01 21:26:54 +00:00
Kevin Fenzi
0dc47ea8bf Switch kerneltest01.stg over to rhel7 2014-07-01 21:15:10 +00:00
Tim Flink
b12d1b21ec fixing buildmaster password variable name 2014-07-01 20:41:28 +00:00
Kevin Fenzi
fbeeb394bb Switch mailman to rhel7 openvpn task 2014-07-01 17:25:56 +00:00
Tim Flink
6b862c20e9 switch on deployment_type to use different credentials for dev/stg/prod 2014-07-01 16:38:34 +00:00
Tim Flink
6ef414a4af fixing template paths for buildmaster-configure 2014-07-01 16:28:39 +00:00
Tim Flink
53b0aef6b6 adding buildmaster-configre role 2014-07-01 16:25:00 +00:00
Tim Flink
be713e161c adding ssh pubkey to taskotron-dev 2014-07-01 16:24:07 +00:00
Tim Flink
e66815ccc4 adding grokmirror role and using in taskotron-dev 2014-07-01 14:34:54 +00:00
Tim Flink
f0f19bbaa2 correcting buildmaster db name in buildmaster role 2014-07-01 14:29:52 +00:00
Tim Flink
e6e4b14086 changing taskotron-dev playbook to use taskotron-dev group 2014-07-01 14:28:27 +00:00
Tim Flink
a879f25ab9 moving roles around so apache is installed before taskotron is configured 2014-07-01 14:24:15 +00:00
Kevin Fenzi
c3e7188331 Bump number of procs for nagios 2014-07-01 02:58:12 +00:00
Kevin Fenzi
4b8d023f8f Tweak openvpn 2014-06-30 23:18:24 +00:00
Kevin Fenzi
29b7909f9e Set the right datacenter here. 2014-06-30 23:08:21 +00:00
Kevin Fenzi
a59d2f4032 Add serverbeach07 2014-06-30 22:59:57 +00:00
Kevin Fenzi
ecc3926fad Try this for hostname 2014-06-30 22:05:36 +00:00
Kevin Fenzi
401ac631b2 This is inventory_hostname. 2014-06-30 21:52:40 +00:00
Kevin Fenzi
2b467bc572 ok, try this to handle the openvpn differences 2014-06-30 21:32:34 +00:00
Kevin Fenzi
113e7b8479 Lets see if we can be clever here with openvpn service differences. 2014-06-30 21:12:06 +00:00
Kevin Fenzi
4331dd3d90 Give this a try for rhel7 hosts. 2014-06-30 20:56:10 +00:00
Kevin Fenzi
0d962b4ee5 Drop denyhosts 2014-06-30 20:36:48 +00:00
Kevin Fenzi
92dd36ed87 Switch unbound-ib01 to rhel7 2014-06-30 19:53:07 +00:00
Kevin Fenzi
3adfbf8a07 Drop these for now. 2014-06-30 18:21:08 +00:00
Kevin Fenzi
0c58d4f235 Add an ibms group, add some more hosts 2014-06-30 18:18:03 +00:00
Kevin Fenzi
97c02a39df Add a cisco-ucs group for that hw 2014-06-30 18:12:02 +00:00
Kevin Fenzi
d97fe01844 Fix hostname 2014-06-30 18:04:08 +00:00
Kevin Fenzi
1c507e82b6 Add some hardware groups to allow easy query for kinds of servers 2014-06-30 18:02:43 +00:00
Ralph Bean
3d7eb0c72b Catch and ignore fedmsg warnings about multiple initializations. 2014-06-30 14:44:52 +00:00
Kevin Fenzi
516dcf6dc8 Add a top level master playbook that has all group/hosts playbooks included. 2014-06-30 14:36:29 +00:00
Kevin Fenzi
9b08694d30 Switch this to xz. bzip2 isn't installed by default in rhel7 and xz is better anyhow. 2014-06-30 14:10:08 +00:00
Kevin Fenzi
9e873f226d Fix mispaste 2014-06-29 17:49:30 +00:00
Kevin Fenzi
580158b7a6 Set apache logrotate on all the ansible hosts right. 2014-06-29 17:38:02 +00:00
Kevin Fenzi
34432689a6 Tweak case 2014-06-29 17:37:15 +00:00
Kevin Fenzi
6a94cbdbc7 Set vms to autostart when installed. Tweak timeouts. 2014-06-27 20:08:54 +00:00
Kevin Fenzi
2c6b628311 This should work for both rhel6 and rhel7 virthosts (with a slight delay) 2014-06-27 19:54:12 +00:00
Kevin Fenzi
bc5e431cb6 This should be internal bastion also. 2014-06-27 17:50:47 +00:00
Aurélien Bompard
df93f3504e Mailman: send me an email on errors 2014-06-27 07:23:24 +00:00
Tim Flink
c41c2986ef changing inventory groups around so taskotron-dev gets group vars, created virtual inventory group for taskotron 2014-06-26 18:24:01 +00:00
Tim Flink
64baa1b0f6 adding libsemanage-python to required packages for buildmaster to do selinux changes 2014-06-26 18:20:06 +00:00
Tim Flink
158d479d4e removing firewall changes in buildmaster playbook, handled elsewhere 2014-06-26 18:17:34 +00:00
Tim Flink
6f52f5a6d5 enabling buildmaster role for taskotron-dev 2014-06-26 18:14:06 +00:00
Tim Flink
b896c439da adding buildmaster role for taskotron 2014-06-26 18:08:18 +00:00
Pierre-Yves Chibon
ce3175fdbb Document that the el6_templ_instance playbook might require -c paramiko 2014-06-26 16:46:41 +02:00
Aurélien Bompard
8c9f7f86c5 Mailman: small fixes 2014-06-26 09:43:42 +00:00
Aurélien Bompard
cbd8a3556b Mailman: add RPM GPG key 2014-06-26 09:24:34 +00:00
Aurélien Bompard
333134e22f Mailman: add HK repo 2014-06-26 09:09:01 +00:00
Kevin Fenzi
34512eb0cf Adjust nfs client for rhel7 2014-06-26 03:11:26 +00:00
Kevin Fenzi
a592473f41 Adjust hosts. 2014-06-25 23:02:08 +00:00
Tim Flink
d2b7f02be3 commenting out buildmaster config for taskotron-dev as the required bits aren't ready yet 2014-06-25 23:00:21 +00:00
Kevin Fenzi
5db70eb63c Another attempt to fix this up. 2014-06-25 22:10:36 +00:00
Kevin Fenzi
553599e2aa Switch this as well. 2014-06-25 22:07:53 +00:00
Kevin Fenzi
3c84f16e31 Work around ansible issue 6109 2014-06-25 22:05:26 +00:00
Kevin Fenzi
bd04c17890 Switch this back 2014-06-25 21:57:51 +00:00
Kevin Fenzi
2959a10def See if this is a template bug. 2014-06-25 21:55:37 +00:00
Tim Flink
e828212cf1 adding resultsdb-dev group and resultsdb-dev01.qa host 2014-06-25 21:45:15 +00:00
Kevin Fenzi
6f40c0701b Does this work? 2014-06-25 21:44:51 +00:00
Kevin Fenzi
746111d59b This is xfs on rhel7 2014-06-25 21:03:36 +00:00
Kevin Fenzi
8ca70c59d1 Merge branch 'master' of /git/ansible 2014-06-25 20:41:55 +00:00
Kevin Fenzi
ef7c77bccd We need cloud-utils for growpart apparently 2014-06-25 20:41:28 +00:00
Tim Flink
9d4d6982e5 initial inventory files and playbook for taskotron-dev, updated host_vars for taskotron-dev01.qa 2014-06-25 20:35:16 +00:00
Miroslav Suchý
22ea034121 add tmpfs to copr-be 2014-06-25 20:29:24 +00:00
Kevin Fenzi
bf6e2b560f Don't need sudo here. 2014-06-25 20:28:15 +00:00
Kevin Fenzi
71e0a760a3 Next image please 2014-06-25 20:22:13 +00:00
Kevin Fenzi
2121eb8a30 el7 cloud 2014-06-25 20:21:37 +00:00
Ralph Bean
06a27353e9 Add new copr-be hostname. 2014-06-25 20:03:36 +00:00
Luke Macken
450297622e bodhi: add 'packager' to the admin groups in stg to make it easier to test with rube 2014-06-25 19:28:04 +00:00
Tim Flink
41f542946e adding blank line to resultsdb.conf to force newline in rendered template, fixing syntax error 2014-06-25 18:32:08 +00:00
Tim Flink
3e4a477540 restricting non-GET requests to resultsdb to qa network 2014-06-25 18:03:27 +00:00
Kevin Fenzi
32e2d0f324 Add a datacenter main.cf for phx2 hosts. 2014-06-25 03:26:55 +00:00
Till Maas
f2e70cac15 autosign: define host_group var 2014-06-24 23:57:39 +02:00
Kevin Fenzi
97c83f730b Will have to sort openvpn start in rhel7/fedora soon. 2014-06-24 21:51:58 +00:00
Kevin Fenzi
9405324127 Conditionalize denyhosts for rhel7 2014-06-24 21:46:54 +00:00
Till Maas
0e9035e934 Add hosts role as dependency for autosigner 2014-06-24 23:41:56 +02:00
Kevin Fenzi
ea0d907044 Try this with ip 2014-06-24 21:36:13 +00:00
Kevin Fenzi
6fb0f86d59 Reinstall mailman prod instances as rhel7. 2014-06-24 21:12:14 +00:00
Pierre-Yves Chibon
6705ef8814 The F18 builders is out of the jenkins corner 2014-06-24 21:44:33 +02:00
Pierre-Yves Chibon
2ab6f1ada9 Drop the F18 builders from jenkins' config 2014-06-24 21:43:30 +02:00
Kevin Fenzi
ce5f9b8148 Set sudo: false globally. 2014-06-24 19:41:10 +00:00
Kevin Fenzi
261bf76f21 Revert "Move bugzilla2fedmsg01.stg to new vh18 to test rhel7 as vh" and move it back
This reverts commit 61649f6d06.
2014-06-24 19:23:39 +00:00
Kevin Fenzi
e6fa8a217d Drop rhel config here, rhel7 is like fedora for this. 2014-06-24 19:03:48 +00:00
Kevin Fenzi
c4960cd997 Drop releng repo entirely, replace with builder repo 2014-06-24 18:40:18 +00:00
Kevin Fenzi
eafe2c9c9e selinux in rhel7 doesn't like /var/tmp for a homedir, unset that 2014-06-24 18:29:38 +00:00
Kevin Fenzi
92e0239c16 On new rhel7 virthosts allow forwarding. 2014-06-24 18:09:58 +00:00
Luke Macken
b108e4f631 bodhi: Don't store cookies and tokens persistently on disk 2014-06-24 17:40:51 +00:00
Luke Macken
546cc4b07c bodhi: use the partner-bugzilla in staging 2014-06-24 17:40:51 +00:00
Kevin Fenzi
66892b818a Need a eth1 ip 2014-06-24 17:38:52 +00:00
Kevin Fenzi
5571149cdc Move releng02 to rhel7 and move it to bvirthost06 (also rhel7) 2014-06-24 17:36:11 +00:00
Luke Macken
10cad3d5d7 bodhi.stg: point to koji.stg's IP directly 2014-06-24 16:15:21 +00:00
Ralph Bean
b0d6611fb2 ...but you can call me "bugzilla". 2014-06-24 15:56:08 +00:00
Ralph Bean
5933a1c822 Directories shmirectories. 2014-06-24 15:49:40 +00:00
Ralph Bean
6f1cc1d305 Turns out that staging fabric is not going to be accesible from where we sit. 2014-06-24 15:37:34 +00:00
Ralph Bean
23e34f9c0f Ensure some directories exist. 2014-06-24 15:20:33 +00:00
Ralph Bean
ab06396de6 Get the config file name right. 2014-06-24 15:20:33 +00:00
Luke Macken
1b01a5f0bf Point bodhi.stg at koji.stg 2014-06-24 15:14:29 +00:00
Ralph Bean
265f7d478f Look for certs in all the right places. 2014-06-24 15:12:53 +00:00
Ralph Bean
63946c704e Moksha wants this file to be /etc/moksha/production.ini. 2014-06-24 14:47:10 +00:00
Ralph Bean
daabcf3935 Typofix mark II. 2014-06-24 14:39:48 +00:00
Ralph Bean
25a565ab9c Typofix. 2014-06-24 14:36:01 +00:00
Ralph Bean
e3f8c50b23 A role for bugzilla2fedmsg. 2014-06-24 14:32:06 +00:00
Patrick Uiterwijk
c760b15d9f Increase the reauth_timeout for FedOAuth from 5 to 15 minutes 2014-06-24 13:24:57 +00:00
Pierre-Yves Chibon
471341994c Backport upstream fixes to find out/list properly the retired packages 2014-06-24 13:05:45 +02:00
Pierre-Yves Chibon
a97ebde1d1 Deactivate fedora_owner_change in sundries-staging 2014-06-24 11:36:32 +02:00
Kevin Fenzi
c96d78df7c Move autosign01 over to new bvirthost08, clean up some denyhosts role includes 2014-06-23 23:32:21 +00:00
Kevin Fenzi
556bc48a52 These need quotes 2014-06-23 21:51:16 +00:00
Luke Macken
4d5e76d6b4 Hook bodhi.stg up to pkgdb.stg 2014-06-23 21:17:08 +00:00
Patrick Uiterwijk
5a76530849 This check for rpmdir defined already existed 2014-06-23 21:06:59 +00:00
Patrick Uiterwijk
0882689603 Error out if rhel version is not specified 2014-06-23 21:05:58 +00:00
Patrick Uiterwijk
049c6c3bba Merge branch 'master' of /git/ansible 2014-06-23 20:59:57 +00:00
Patrick Uiterwijk
0329333a7f Add rhel=6 or rhel=7 argument to sign-and-import 2014-06-23 20:59:41 +00:00
Ralph Bean
e4c35eb494 Add generic fedmsg config for bugzilla2fedmsg. 2014-06-23 20:22:09 +00:00
Kevin Fenzi
7bbe3e048c Also allow /srv/web/ 2014-06-23 19:25:51 +00:00
Kevin Fenzi
e5862ccf2e Adjust download apache conf to work with 2.2 or 2.4 2014-06-23 19:08:46 +00:00
Kevin Fenzi
80e8bb0ff1 Also this isn't around on rhel/epel7 yet either. 2014-06-23 18:38:13 +00:00
Kevin Fenzi
cf1c33fdd6 No denyhosts for rhel7 2014-06-23 18:33:54 +00:00
Patrick Uiterwijk
0375c66a20 Merge branch 'master' of /git/ansible 2014-06-23 18:27:50 +00:00
Dennis Gilmore
3c529d3eee send branched and rawhide cron output to releng-cron list 2014-06-23 18:06:09 +00:00
Miroslav Suchý
be7168c794 substitute only some vars during deployment on copr 2014-06-23 15:23:02 +00:00
Kevin Fenzi
e6e759d969 Run rkhunter --propupd when installing or updating it's config 2014-06-23 04:09:25 +00:00
Kevin Fenzi
1ebbc5ffce Stay newline 2014-06-23 03:21:11 +00:00
Kevin Fenzi
0de1159087 These may need quoted? 2014-06-23 02:27:45 +00:00
Kevin Fenzi
5c3d38c357 Add a profile thing for a few runs. 2014-06-23 02:05:35 +00:00
Kevin Fenzi
3a0d2d4483 Fix paths 2014-06-23 01:01:24 +00:00
Kevin Fenzi
800c03d37e Move hosts to a role and put it before fas_client so initial runs can find admin. 2014-06-23 00:49:31 +00:00
Kevin Fenzi
7c51d2e497 Add a fas_client for only initial installs 2014-06-22 23:01:05 +00:00
Kevin Fenzi
8764d6afa2 virt-install is in path and in a different place in rhel7 2014-06-22 22:46:23 +00:00
Kevin Fenzi
61649f6d06 Move bugzilla2fedmsg01.stg to new vh18 to test rhel7 as vh 2014-06-22 22:43:18 +00:00
Patrick Uiterwijk
b48a8fc88a Merge branch 'master' of /git/ansible 2014-06-22 00:58:04 +00:00
Patrick Uiterwijk
c3a57dcaee Move FedOAuth 3 to production 2014-06-22 00:57:52 +00:00
Patrick Uiterwijk
bbd9f21b9a Move FedOAuth 3 to production 2014-06-22 00:43:13 +00:00
Kevin Fenzi
9ac7e0dd64 Disable bugzilla2fedmsg prod instances so the check/diff script can run. Comment a few items. 2014-06-21 16:06:45 +00:00
Kevin Fenzi
3b40f9c1ab Initial sshd_config for rhel7 2014-06-21 01:20:35 +00:00
Kevin Fenzi
861ecc7c2f We do want this on all hosts. 2014-06-21 00:02:32 +00:00
Kevin Fenzi
b3a4f7fdaf No nss_db on rhel7 2014-06-20 23:55:08 +00:00
Kevin Fenzi
6cab3284fc Some package naming changes 2014-06-20 23:26:54 +00:00
Kevin Fenzi
8a608531a0 Add rhel7/epel7 to yumrepos task 2014-06-20 23:18:51 +00:00
Kevin Fenzi
ddefe1d6c2 Just do this for now. 2014-06-20 23:06:25 +00:00
Kevin Fenzi
c1839d9f64 rkhunter isn't in epel7 yet, need to fix that. 2014-06-20 23:04:08 +00:00
Kevin Fenzi
a81c6dee27 Have to use the internal ip here. 2014-06-20 22:51:03 +00:00
Patrick Uiterwijk
5b0d410ef9 github2fedmsg is trusted 2014-06-20 20:53:56 +00:00
Ralph Bean
4243fab91f Stub of a playbook for bugzilla2fedmsg. 2014-06-20 20:40:01 +00:00
Ralph Bean
292e2c745e I always forget to add hosts to the [staging] group. 2014-06-20 20:19:40 +00:00
Ralph Bean
30628e89af Inventory stuff for bugzilla2fedmsg. 2014-06-20 20:17:46 +00:00
Kevin Fenzi
f9cb68c597 Switch default to rhel7. ;) 2014-06-20 19:46:35 +00:00
Kevin Fenzi
11772691a3 Update copr fe ip 2014-06-20 14:41:23 +00:00
Miroslav Suchý
936a55d647 correct path 2014-06-20 14:19:35 +00:00
Miroslav Suchý
2236b0963a Revert "return back to F19"
This reverts commit a0015519c0.
2014-06-20 14:08:11 +00:00
Miroslav Suchý
a0015519c0 return back to F19 2014-06-20 14:01:48 +00:00
Miroslav Suchý
44335a4498 return back original ip 2014-06-20 09:38:32 +00:00
Miroslav Suchý
3842c6ecd9 try to log in as fedora user 2014-06-20 09:25:06 +00:00
Miroslav Suchý
902dc56d64 use f20 copr repo 2014-06-20 09:22:02 +00:00
Miroslav Suchý
9c12b86607 one more try 2014-06-20 09:18:37 +00:00
Miroslav Suchý
8b8c2b3a81 we can use our own repo, if we deploy hosts file first 2014-06-20 09:14:04 +00:00
Miroslav Suchý
aa8c988160 revert back to original ip
it did now work with new one neither
2014-06-20 09:13:03 +00:00
Miroslav Suchý
2f0e35a13c add 209.132.184.150 alias 2014-06-20 09:10:39 +00:00
Miroslav Suchý
f25f510cb2 hotfix is no longer needed on F20 2014-06-20 09:08:59 +00:00
Miroslav Suchý
50c2ee25ec try this 2014-06-20 09:07:08 +00:00
Miroslav Suchý
c46e1bcd23 try this 2014-06-20 09:05:56 +00:00
Miroslav Suchý
5fee77521a try this 2014-06-20 09:05:34 +00:00
Miroslav Suchý
1bee103535 try to workaround old entry in known_hosts 2014-06-20 09:04:21 +00:00
Miroslav Suchý
c107f6f4ba upgrade copr to F20 2014-06-20 07:49:24 +00:00
Tim Flink
49bc0d2076 adding buildslave port 9989/tcp to taskotron group 2014-06-19 20:59:17 +00:00
Ralph Bean
37f095a18a Update trusted openid string for badges in stg. 2014-06-19 19:00:51 +00:00
Kevin Fenzi
1a73d2bf10 See if this fixes the 'unreachable' on cloud playbooks in the check/diff runs. 2014-06-19 18:15:53 +00:00
Ralph Bean
75d441496c Monitor backlog of fedmsg-irc with collectd. 2014-06-19 17:39:55 +00:00
Miroslav Suchý
7201111545 switch copr playbooks from ec2 to nova module
Because of https://fedorahosted.org/fedora-infrastructure/ticket/4397
2014-06-19 14:03:19 +00:00
Pierre-Yves Chibon
7462db1de6 Update endpoint name for kerneltest 2014-06-19 08:39:32 +02:00
Pierre-Yves Chibon
1cd6f37735 Fix ssl.py for kerneltest 2014-06-19 07:59:47 +02:00
Kevin Fenzi
8ad1279b1d Add copr-be to the fedmsgupdate playbook 2014-06-18 20:08:03 +00:00
Kevin Fenzi
c8a28a9e49 Try and see if this works. 2014-06-18 20:04:19 +00:00
Kevin Fenzi
5674733acb Reorg copr-be playbook a bit. Use fedmsg/base for all fedmsg. Use iptables template for iptables instead of lokkit. 2014-06-18 19:54:10 +00:00
Pierre-Yves Chibon
710ec26471 Move the kerneltest api key to the private repo - and create one 2014-06-18 19:06:16 +02:00
Pierre-Yves Chibon
34af155cab Add text/x-log as an allowed mimetype 2014-06-18 19:06:16 +02:00
Kevin Fenzi
99a5d148c0 Take out the cloud hosts again, they don't use fedmsg/base 2014-06-18 15:55:12 +00:00
Kevin Fenzi
2d3c9cb629 Correct path 2014-06-18 15:50:59 +00:00
Kevin Fenzi
059314b3ab Update fedmsgupdate playbook with all the missing groups/hosts that need fedmsg updates 2014-06-18 15:49:23 +00:00
Ralph Bean
094b960519 Start standing up github2fedmsg01. 2014-06-18 15:33:28 +00:00
Aurélien Bompard
851fa2f1d8 Mailman post-update script: less verbose output 2014-06-18 15:12:25 +00:00
Ralph Bean
ac4c54b1c7 Reduce the oauth scope for github2fedmsg. 2014-06-18 14:02:22 +00:00
Pierre-Yves Chibon
8bd76d754e Fix the link to the static folder for kerneltest 2014-06-18 08:46:29 +02:00
Kevin Fenzi
c79320ddf1 Re-enable Greek in ask per request. 2014-06-17 21:31:57 +00:00
Patrick Uiterwijk
218f4450df Only request permissions for the public repos 2014-06-17 21:01:06 +00:00
Ralph Bean
cecbe69723 Fix tw2 resources prefix. 2014-06-17 16:57:44 +00:00
Pierre-Yves Chibon
3faf7d48c4 Add a hosts file for kerneltest01.stg 2014-06-17 18:37:01 +02:00
Pierre-Yves Chibon
12222f4735 Fix indentation 2014-06-17 18:24:31 +02:00
Pierre-Yves Chibon
03a1c9dfca Activate the kerneltest role in its playbook 2014-06-17 18:00:54 +02:00
Pierre-Yves Chibon
7bb064b89d Add the kerneltest role 2014-06-17 17:52:59 +02:00
Ralph Bean
921e313c2d Add hosts files for the gh2fm nodes. 2014-06-17 13:50:36 +00:00
Ralph Bean
ea71e3ad84 This is just not how its done. 2014-06-17 13:33:40 +00:00
Ralph Bean
6414533b5a Another try at github2fedmsg creds. 2014-06-17 13:24:15 +00:00
Ralph Bean
27decc5401 More directories. 2014-06-16 20:41:48 +00:00
Ralph Bean
ae4389b482 Just.. run as apache. 2014-06-16 20:38:52 +00:00
Ralph Bean
db643ca928 Make this dir. 2014-06-16 20:35:31 +00:00
Ralph Bean
656f31725a dedent. 2014-06-16 20:31:02 +00:00
Ralph Bean
0458fc105b Start of a github2fedmsg role. 2014-06-16 20:20:21 +00:00
Ralph Bean
20b6ff52b1 Add endpoints and fedmsg cert declarations for github2fedmsg and kerneltest. 2014-06-16 18:47:15 +00:00
Ralph Bean
da3d99b727 Playbooks for github2fedmsg and kerneltest. 2014-06-16 18:42:15 +00:00
Ralph Bean
1d85f9756d Add these two to the staging group. 2014-06-16 18:36:21 +00:00
Ralph Bean
4824e11a50 Vars for github2fedmsg and kerneltest (just staging). 2014-06-16 17:57:30 +00:00
Pierre-Yves Chibon
702f054a08 Same thing for stg 2014-06-16 19:30:21 +02:00
Aurélien Bompard
f3a3930982 Fix command line options 2014-06-16 17:29:06 +00:00
Pierre-Yves Chibon
b7da286f26 Open the ports required for fedmsg 2014-06-16 19:24:10 +02:00
Pierre-Yves Chibon
24ff45dd14 Increase the number of port for fedmsg on elections 2014-06-16 19:18:13 +02:00
Pierre-Yves Chibon
cb7098dc1d fedmsg certs are <service>-<app> not <service>.<app>, should help finding the cert 2014-06-16 18:10:34 +02:00
Aurélien Bompard
abedc457f9 Fix OpenID bug 2014-06-16 16:07:22 +00:00
Aurélien Bompard
6adbf5b2e3 Commit forgotten file 2014-06-16 16:07:22 +00:00
Pierre-Yves Chibon
55c6574dc6 Install the fedmsg cert in stg as well 2014-06-16 18:04:39 +02:00
Pierre-Yves Chibon
ba53d13d85 Add the missing bits to get the fedmsg certs installed correctly 2014-06-16 17:59:34 +02:00
Pierre-Yves Chibon
7a1c15fe3d Lists fedora_elections and shell in ssl.py 2014-06-16 17:48:35 +02:00
Pierre-Yves Chibon
c71811ac96 Add endpoint-elections creating the corresponding endpoints for fedmsg 2014-06-16 17:17:18 +02:00
Pierre-Yves Chibon
5090896d2a Enable fedmsg on the elections boxes 2014-06-16 16:53:15 +02:00
Patrick Uiterwijk
8b7e8f1d12 Make pkgdb2 stg use fedoauth stg 2014-06-16 14:37:07 +00:00
Patrick Uiterwijk
c99a5c03e2 Make stg fedocal use stg fedoauth 2014-06-16 14:21:31 +00:00
Kevin Fenzi
48df03e436 Need handlers here too. 2014-06-16 01:22:40 +00:00
Kevin Fenzi
3215feb17a Fix postfix task 2014-06-16 01:10:58 +00:00
Patrick Uiterwijk
e7819fba76 Also sign for id.(stg.)fp.o 2014-06-15 20:29:37 +00:00
Patrick Uiterwijk
1658964066 FedOAuth sends emails with errors 2014-06-15 20:02:51 +00:00
Patrick Uiterwijk
362439e698 Another log fix 2014-06-15 19:47:02 +00:00
Patrick Uiterwijk
703682e031 Correct formatter reference 2014-06-15 19:45:49 +00:00
Patrick Uiterwijk
5e211359fd We put this in /etc/fedoauth 2014-06-15 19:44:36 +00:00
Patrick Uiterwijk
32be316aee Revert "Make ansible use infrastructure-testing whenever we run on staging"
This reverts commit 1dbb5fdfe7.
2014-06-15 19:41:11 +00:00
Patrick Uiterwijk
1dbb5fdfe7 Make ansible use infrastructure-testing whenever we run on staging 2014-06-15 19:38:45 +00:00
Patrick Uiterwijk
137d5ebacd Merge branch 'master' of /git/ansible 2014-06-15 19:15:29 +00:00
Patrick Uiterwijk
21641b2e55 Add fedoauth-stg for FedOAuth 3.0 2014-06-15 19:15:14 +00:00
Kevin Fenzi
5388cb70a8 Conditionalize wiki auth for staging 2014-06-15 18:41:57 +00:00
Kevin Fenzi
ffba0668c2 Typo I think. 2014-06-15 18:21:54 +00:00
Kevin Fenzi
fb53d6607b Drop download-ib01 from inventory 2014-06-15 15:58:37 +00:00
Kevin Fenzi
ef4a44c44c Convert sudo to a role so we can include it before roles/plays that use sudo. 2014-06-14 20:58:52 +00:00
Kevin Fenzi
7ade030063 Set sudo false as we don't use it many places and this is needed for controlpersist 2014-06-14 20:30:13 +00:00
Kevin Fenzi
1aacd08ec5 Paren 2014-06-12 21:35:23 +00:00
Kevin Fenzi
8ff12d1151 Change this one back 2014-06-12 21:21:44 +00:00
Kevin Fenzi
cb7c5c456a Once again with less aaaaa 2014-06-12 21:07:35 +00:00
Kevin Fenzi
411a2778b6 Lets try and go back 2014-06-12 21:06:42 +00:00
Kevin Fenzi
549c077b4e Shot to the heart and you're to blame... 2014-06-12 20:59:48 +00:00
Kevin Fenzi
0108c26ca9 I just don't get it 2014-06-12 20:54:37 +00:00
Kevin Fenzi
ada496fc31 grasping at straws 2014-06-12 20:27:03 +00:00
Kevin Fenzi
ec81bc3bad Try this one 2014-06-12 20:25:02 +00:00
Kevin Fenzi
e6f926f79c Perhaps this makes it happy? 2014-06-12 20:22:10 +00:00
Kevin Fenzi
05dfa804d9 Drop this variable, we aren't really using it right now. 2014-06-12 20:20:18 +00:00
Kevin Fenzi
1db6e15594 This is in a subdir 2014-06-12 20:17:17 +00:00
Kevin Fenzi
3947d129f2 Change all the old first_available_file to with_first_found 2014-06-12 20:15:37 +00:00
Ralph Bean
30be2d482f Make fedora login the default login for fmn. 2014-06-12 16:54:48 +00:00
Ralph Bean
bcaca8469a Restrict readership. 2014-06-12 15:36:49 +00:00
Luke Macken
080a9cd52f Use the admin.stg FAS url in the bodhi staging config 2014-06-12 15:08:20 +00:00
Ralph Bean
0d78cf7ba3 Adjust backlog thresholds for fmn again. 2014-06-12 12:23:50 +00:00
Ralph Bean
fde211bc21 Open ports for fedmsg on notifs-web nodes. 2014-06-11 19:18:13 +00:00
Ralph Bean
9229a5cd19 Typofixes. 2014-06-11 19:13:22 +00:00
Ralph Bean
ba96640054 Add fedmsg declarations for new fmn.web messages. 2014-06-11 19:01:59 +00:00
Ralph Bean
b165d0f907 Adjust warning and crit thresholds for fedmsg backlog checks. 2014-06-11 18:49:19 +00:00
Ralph Bean
0935e38cae Crank up the fmn expiry time. 2014-06-11 18:36:52 +00:00
Stephen Smoogen
991d343802 By accelerating U235 together very fast one can get atomix boom. 2014-06-11 17:48:22 +00:00
Kevin Fenzi
b23d1c39d6 No sysadmin on releng02 2014-06-11 16:37:20 +00:00
Kevin Fenzi
32d0639a48 Drop this bit, it's pulled in alredy and is out of date. 2014-06-11 16:31:36 +00:00
Kevin Fenzi
115272477a Nuke duplicate fedmsg setup in releng_config task, move to using fedmsg/base role. 2014-06-11 16:17:00 +00:00
Stephen Smoogen
0ebc8607db Merge branch 'master' of /git/ansible 2014-06-11 16:12:15 +00:00
Stephen Smoogen
b80e127aed let us try another fix for the download-ib box 2014-06-11 16:12:10 +00:00
Kevin Fenzi
363d63bca5 Nuke value03 from inventory and add value01 to backups 2014-06-11 16:10:10 +00:00
Kevin Fenzi
b87a81e522 Repoint this to kojipkgs. Will fix to final later when we have it setup. 2014-06-11 14:55:37 +00:00
Ralph Bean
3bd8b1ffa3 fmn.web needs to know about this too. 2014-06-11 13:35:03 +00:00
Ralph Bean
ffa3c11951 Add new fmn config values. 2014-06-11 13:28:21 +00:00
Stephen Smoogen
cdaddbae51 I forgot to correct a commnet last night 2014-06-11 13:19:49 +00:00
Ralph Bean
ba59a84a30 Add forgotten reference. 2014-06-11 12:58:50 +00:00
Ralph Bean
afe872aa83 Add the supybot plugin check script in from puppet. 2014-06-11 12:38:43 +00:00
Ralph Bean
daceb9dd99 Copy some more fedmsg proc checks over from puppet. 2014-06-11 12:35:58 +00:00
Stephen Smoogen
a442e735c9 fix download cron job from hourly to daily 2014-06-11 00:43:55 +00:00
Stephen Smoogen
3078d40cd5 give access to enchilada0 to ib02 2014-06-10 22:48:25 +00:00
Stephen Smoogen
c06953d240 Merge branch 'master' of /git/ansible 2014-06-10 22:40:17 +00:00
Kevin Fenzi
a2749fddc9 Bump memory for value staging too. 2014-06-10 19:31:08 +00:00
Kevin Fenzi
e555b5d86e Make prod value have more memory 2014-06-10 19:01:12 +00:00
Kevin Fenzi
e2d50e402c Add port 5050 to be allowed for supybot notices. 2014-06-10 18:35:57 +00:00
Ralph Bean
32bc3a550a Fix meetbot apache icons. 2014-06-10 18:33:25 +00:00
Ralph Bean
098c314b8d Fix fat-finger error. 2014-06-10 17:31:02 +00:00
Kevin Fenzi
ccf803d162 Add value here too 2014-06-10 17:26:57 +00:00
Ralph Bean
46bd093586 app0* stuff gone from fedmsg config, now. 2014-06-10 17:25:10 +00:00
Ralph Bean
43b0cb1117 Bodhi is no longer on app* 2014-06-10 17:23:38 +00:00
Ralph Bean
acdb55f560 Ditch the old value03. 2014-06-10 17:21:48 +00:00
Ralph Bean
c6c9fe0a3e Supply a staging URL for staging fedmsg-irc. 2014-06-10 16:52:43 +00:00
Kevin Fenzi
8a2b0c0458 Add package for pretty printing infra messages for fedmsg-irc 2014-06-10 16:21:04 +00:00
Pierre-Yves Chibon
2354972b0c Use stg FAS in stg, not in prod 2014-06-10 14:05:03 +02:00
Pierre-Yves Chibon
1bf258e736 Yet another one... 2014-06-10 13:31:38 +02:00
Pierre-Yves Chibon
d8b058042a grmbl at typos 2014-06-10 13:28:14 +02:00
Pierre-Yves Chibon
f86cd0c693 Fix the location of the alembic.ini file 2014-06-10 13:25:22 +02:00
Pierre-Yves Chibon
9b117ba2ae Install the alembic.ini file 2014-06-10 13:21:11 +02:00
Pierre-Yves Chibon
25f12fdeab Add the alembic.ini file for elections 2014-06-10 13:10:00 +02:00
Pierre-Yves Chibon
a5ba2ac4c3 Activate bugzilla notifications in prod 2014-06-10 09:33:11 +02:00
Pierre-Yves Chibon
21b6900ab5 Configuration requires quotes 2014-06-10 09:28:08 +02:00
Pierre-Yves Chibon
04c4ddce24 Add bugzilla credentials 2014-06-10 09:22:55 +02:00
Ralph Bean
fb4d78d5e2 Supybot fedmsg bits for value01. 2014-06-10 02:44:45 +00:00
Kevin Fenzi
1ded20423c A few tweaks for the web side. 2014-06-09 22:41:36 +00:00
Stephen Smoogen
3813e2804c Merge branch 'master' of /git/ansible 2014-06-09 22:10:39 +00:00
Kevin Fenzi
7963c79482 Also add to inventory 2014-06-09 21:59:24 +00:00
Kevin Fenzi
89d8bfb644 Add value01 prod node 2014-06-09 21:58:12 +00:00
Kevin Fenzi
898446d403 Add supybot-fedmsg 2014-06-09 21:01:15 +00:00
Kevin Fenzi
78f9ddd663 Setup some more things. 2014-06-09 20:48:49 +00:00
Kevin Fenzi
734dff3656 Fix template more. 2014-06-09 20:23:08 +00:00
Kevin Fenzi
dea24de888 Actually fix templates to be jinja2 2014-06-09 20:10:06 +00:00
Kevin Fenzi
b50688221e Add some notifies here. 2014-06-09 20:06:12 +00:00
Kevin Fenzi
8a91ad5190 No vpn needed in stg 2014-06-09 20:00:28 +00:00
Kevin Fenzi
99fa9428f4 Fix typo 2014-06-09 19:54:50 +00:00
Kevin Fenzi
6e9746864e First cut at value01.stg migation to ansible 2014-06-09 19:26:35 +00:00
Tim Flink
f13a334165 setting httpd_can_network_connect_db sebool for resultsdb-backend role 2014-06-09 19:20:02 +00:00
Kevin Fenzi
86f1fa1ccc Add python-psycopg2 to resultsdb-backend 2014-06-09 17:13:41 +00:00
Tim Flink
795cab4d2d fixing resultsdb db init to use PROD settings and pick up the correct config file 2014-06-09 17:10:14 +00:00
Kevin Fenzi
bb5074e568 See if this changes anything. 2014-06-09 17:00:49 +00:00
Miroslav Suchý
e4b36f9e5d install latest mock and latest glib2
due createrepo_c
2014-06-09 13:47:57 +00:00
Miroslav Suchý
d6d6148e84 check for forgotten instnces only once per day 2014-06-09 11:52:02 +00:00
Kevin Fenzi
7dcbcdd2d7 Fix ssh args here too. 2014-06-08 01:37:12 +00:00
Stephen Smoogen
e22a5a7e3c Base stuff for atomic server? 2014-06-06 02:29:19 +00:00
Tim Flink
d63fc93ab2 quoting port value for postgresql db port on resultsdb-stg 2014-06-05 03:51:08 +00:00
Tim Flink
7732878e6b adding resultsdb database init to resultsdb-backend role 2014-06-05 03:47:29 +00:00
Tim Flink
f565b6075a fixing hosts inventory group for resultsdb-stg group playbook 2014-06-05 03:38:09 +00:00
Tim Flink
3ce2a2a84a cleaning up a commented out variable and the variable name for resultsdb-frontend flask secret key 2014-06-05 03:38:09 +00:00
Kevin Fenzi
0e36d58943 Added these in private 2014-06-05 03:32:58 +00:00
Tim Flink
61152b0522 adding resultsdb-stg01 host, resultsdb-stg group, resultsdb backend and frontend roles 2014-06-05 03:22:07 +00:00
Kevin Fenzi
4f9806ff3c Drop this from stg group for now. 2014-06-05 02:57:01 +00:00
Kevin Fenzi
e02f8d1a14 Set this to a default db. 2014-06-05 02:46:46 +00:00
Kevin Fenzi
5e7a0897bd Add a db-qa01.qa instance 2014-06-05 02:28:10 +00:00
Ralph Bean
241b37ecfb app01 is no longer a fedmsg thing. 2014-06-05 01:08:07 +00:00
Stephen Smoogen
64e3d51b79 I can write code.. reading si a different matter 2014-06-05 00:22:52 +00:00
Stephen Smoogen
52ae7d3ccb ok lets see if I can do a cron job without breaking stuff 2014-06-05 00:18:14 +00:00
Stephen Smoogen
45e512ab3f add a cron hourly script 2014-06-05 00:05:04 +00:00
Stephen Smoogen
9a80b5ddf4 and lo, I forgot to add stuff 2014-06-04 21:26:08 +00:00
Kevin Fenzi
6a5cbde529 Fix typo 2014-06-04 20:39:26 +00:00
Kevin Fenzi
4b16ad20fe Add nfsv4 port 2014-06-04 19:08:29 +00:00
Kevin Fenzi
33d094ad7f koji also uses builder root 2014-06-04 18:57:34 +00:00
Kevin Fenzi
13b04a2b10 Add nfs mounts for staging buildsys 2014-06-04 18:51:53 +00:00
Ralph Bean
50738d3b00 Tell selinux that koji-hub can fedmsg. 2014-06-04 18:46:37 +00:00
Kevin Fenzi
3fb766611d Use fqdn 2014-06-04 18:35:26 +00:00
Kevin Fenzi
7e5eaad4be tags, not tag 2014-06-04 18:17:39 +00:00
Kevin Fenzi
80d408dede Add nfs-server and make koji01.stg use it. 2014-06-04 18:14:49 +00:00
Kevin Fenzi
06bd8dfd92 Reorg the nfs role to have client and server as subroles. 2014-06-04 18:07:59 +00:00
Kevin Fenzi
068c567cd1 Update hosts for koji01.stg 2014-06-04 17:19:50 +00:00
Aurélien Bompard
016f57639a Mailman: fix BrowserID login 2014-06-04 15:52:46 +00:00
Kevin Fenzi
5233dee358 Follow symlinks here. 2014-06-04 02:32:51 +00:00
Kevin Fenzi
f0ba60ed4b Allow fedmsg and 80/443 on koji01.stg 2014-06-04 01:40:54 +00:00
Kevin Fenzi
2798e5d55a Add dirs. 2014-06-04 01:16:20 +00:00
Kevin Fenzi
efa3078104 Use stg-koji.conf on stg builders 2014-06-04 01:03:23 +00:00
Kevin Fenzi
6ac6128d89 Fix this so it works. 2014-06-04 00:43:10 +00:00
Kevin Fenzi
41a25dfacc Add koji_builder only on stg hub 2014-06-04 00:40:47 +00:00
Stephen Smoogen
6c290c6106 ok special super powers away. 2014-06-03 19:53:26 +00:00
Kevin Fenzi
252f477ca5 Don't do this link on stg builders. 2014-06-03 19:50:03 +00:00
Kevin Fenzi
0b0c0a813b Set datacenter here. 2014-06-03 19:45:08 +00:00
Kevin Fenzi
ffbf76728a Another way to shave that feline 2014-06-03 19:43:12 +00:00
Kevin Fenzi
cf2e7fedd1 ok, how about this? 2014-06-03 19:40:31 +00:00
Kevin Fenzi
23985c3763 How about this try 2014-06-03 19:37:53 +00:00
Kevin Fenzi
2edf55cbdd Try this 2014-06-03 19:34:55 +00:00
Kevin Fenzi
8f9fbde54b Try some grouping action. 2014-06-03 19:32:06 +00:00
Kevin Fenzi
f4b0150134 Try this to not do koji mount in stg 2014-06-03 19:29:39 +00:00
Kevin Fenzi
05193faeee Don't do a eth1 in stg 2014-06-03 19:02:39 +00:00
Kevin Fenzi
31323edffa fix vm host 2014-06-03 19:01:06 +00:00
Kevin Fenzi
a75bc8649b Add a buildvm-01.stg 2014-06-03 18:56:30 +00:00
Kevin Fenzi
abae4d81d4 64 bit host, but still using lib since it's noarch I guess. 2014-06-03 18:37:22 +00:00
Kevin Fenzi
9688eff246 Add koji-hub-plugins 2014-06-03 18:34:47 +00:00
Kevin Fenzi
12849b9d1b This is a 64bit host 2014-06-03 18:17:40 +00:00
Kevin Fenzi
9011f742c3 Add some fedmsg config 2014-06-03 18:17:01 +00:00
Kevin Fenzi
c2eaa4f2dc Add fedmsg and fedmsg koji plugin 2014-06-03 18:10:46 +00:00
Kevin Fenzi
b21b7ce546 Adjust hosts for koji01.stg 2014-06-03 17:58:07 +00:00
Kevin Fenzi
429487b663 Add web.conf 2014-06-03 17:49:56 +00:00
Kevin Fenzi
5c1717c10f Add update crl script 2014-06-03 16:39:22 +00:00
Kevin Fenzi
c9802284cd Fix some paths 2014-06-03 16:34:36 +00:00
Kevin Fenzi
d0a0ca74d1 ssl certorama 2014-06-03 16:31:57 +00:00
Kevin Fenzi
7433201bb6 Fix ssl for staging. 2014-06-03 16:18:27 +00:00
Kevin Fenzi
2f0b27b806 Fix filename 2014-06-03 16:11:46 +00:00
Kevin Fenzi
cfb0ebe8a4 Fix typo 2014-06-03 16:10:11 +00:00
Kevin Fenzi
a6b89d99aa Copy, not file. 2014-06-03 16:03:36 +00:00
Kevin Fenzi
18f8dd15bc Add a bunch of koji web config files. 2014-06-03 16:01:33 +00:00
Kevin Fenzi
967bc12995 Add koji hub template 2014-06-03 15:38:36 +00:00
Aurélien Bompard
a116e1e34d Mailman: add unit tests, and adatp to recent code changes 2014-06-03 13:36:16 +00:00
Kevin Fenzi
aaa825588e Add 'base' tag to all base tasks so we can run playbooks with --skip-tags=base to avoid base 2014-06-02 23:26:32 +00:00
Kevin Fenzi
9b3781ae81 This is a copy, duh 2014-06-02 23:23:11 +00:00
Kevin Fenzi
813f60a03a Try this 2014-06-02 23:18:10 +00:00
Kevin Fenzi
abb904688a Add some more from todo 2014-06-02 23:13:55 +00:00
Kevin Fenzi
9dd996d208 Fix some typos 2014-06-02 23:07:22 +00:00
Kevin Fenzi
0c358d9b68 Fix gateway 2014-06-02 23:05:58 +00:00
Kevin Fenzi
3acf51a6f0 Clean up some 2014-06-02 23:05:00 +00:00
Kevin Fenzi
c33f8914be First cut at moving koji01 over to ansible. 2014-06-02 22:40:27 +00:00
Miroslav Suchý
a54ef3bae8 RHBZ 1102788 - Increase number of file descriptors on the build machine 2014-06-02 11:54:24 +00:00
Till Maas
d212c97757 add autosign hosts file 2014-06-01 13:04:21 +02:00
Till Maas
aae8715ab4 autosigner: Install more fedmsg related packages 2014-06-01 12:53:01 +02:00
Pierre-Yves Chibon
4e9eb5d7a9 Import upstream fix fixing broken links 2014-06-01 07:51:28 +00:00
Kevin Fenzi
fd590b2e4e The openvpn crl isn't needed on clients. 2014-05-31 16:54:39 +00:00
Stephen Smoogen
9a96b7c008 make it use a kickstart that wont make a 2750GB / drive 2014-05-30 22:28:57 +00:00
Till Maas
2f97e1d19e autosigner: Install fedmsg 2014-05-30 20:40:49 +02:00
Stephen Smoogen
7f00c656fb duh.. ips dont work here 2014-05-30 17:55:49 +00:00
Stephen Smoogen
5948aab0be well why does this work everywhere else? 2014-05-30 17:54:17 +00:00
Till Maas
682a04b292 Add autosigner role
- Move builder infrastructure repo to own role
- Add initial tasks to autosigner role
2014-05-30 17:16:06 +00:00
Dennis Gilmore
979fcada2a cleanup the pungi mash configs a bit 2014-05-30 17:16:01 +00:00
Ralph Bean
9f13037ffc Update releng fedmsg to use the new relay.
Not sure why this is separate.
2014-05-30 16:30:22 +00:00
Kevin Fenzi
504514d62e Some bkernel role fixes 2014-05-30 16:29:04 +00:00
Ralph Bean
6c0308b707 Conditional check for persistent-cloud group members. 2014-05-30 16:14:28 +00:00
Pierre-Yves Chibon
2c40e94fb1 sysadmin-cvs is only for shell access, pkgdb uses cvsadmin 2014-05-30 15:23:43 +02:00
Miroslav Suchý
727ae15ed3 sync up copr-fe-dev playbook with copr-fe 2014-05-30 11:19:40 +00:00
Aurélien Bompard
960d87f8ca Mailman: create a HK DB for unit testing 2014-05-30 08:13:00 +00:00
Stephen Smoogen
2f9b7871ea lets see if I can build a new download box 2014-05-30 02:15:46 +00:00
Stephen Smoogen
ab655882cc hey lets see if I can break another box 2014-05-29 23:03:01 +00:00
Stephen Smoogen
cd9c250f90 add -ib02 to our mix. 2014-05-29 21:21:56 +00:00
Stephen Smoogen
1bbd8a1b28 we have all dl-rdu boxes rebuilt and ready for ansible 2014-05-29 18:28:03 +00:00
Kevin Fenzi
dda7a6165b Set facls for pesign to work with mock 2014-05-29 17:33:41 +00:00
Ralph Bean
1b20c92541 One more tweak. 2014-05-29 16:51:04 +00:00
Ralph Bean
20eef15011 This is probably more right. 2014-05-29 16:46:40 +00:00
Ralph Bean
19557d5735 In Soviet Russia, Ruby joins YOU! 2014-05-29 16:40:25 +00:00
Kevin Fenzi
0365b73da2 Don't set default root bw for bkernel, they have their own. 2014-05-29 16:38:04 +00:00
Ralph Bean
e258bae727 Collectd+postgres for db-datanommer01 2014-05-29 16:36:43 +00:00
Kevin Fenzi
ad799abed9 Fold bkernel into buildhw with it's own role. 2014-05-29 16:24:09 +00:00
Pierre-Yves Chibon
86742b2fa4 Drop the email notifications on stg 2014-05-29 17:26:57 +02:00
Stephen Smoogen
be679b600b and now we have 2 boxes ansibled 2014-05-29 01:10:12 +00:00
Kevin Fenzi
b91e4fd911 Try this in the second play 2014-05-28 19:57:14 +00:00
Kevin Fenzi
4aa96f63d6 Try this is end the owner/group flip flops. 2014-05-28 19:08:20 +00:00
Kevin Fenzi
8c2bbb792d I think this is causing it to change all the time. 2014-05-28 18:56:49 +00:00
Kevin Fenzi
1b4c8822f6 Make this idempotent for compose-x86-02 2014-05-28 18:32:22 +00:00
Kevin Fenzi
c8d85b011b Adjust this and add a note. 2014-05-28 18:00:01 +00:00
Kevin Fenzi
95ef483354 Add a playbook with all the fedmsg using playbooks in it, so you can run it with -t fedmsgdupdate and just update fedmsg endpoints 2014-05-28 17:58:51 +00:00
Kevin Fenzi
e181500314 Add a tag to this fedmsg.d config that changes somewhat often so we can just run it. 2014-05-28 17:24:06 +00:00
Stephen Smoogen
059d296b2f actimeo is its name. 2014-05-28 16:49:46 +00:00
Stephen Smoogen
7c09009d08 we call it rdu2 sometimes but it really is only one we care about. 2014-05-27 23:35:27 +00:00
Stephen Smoogen
90ccf9c5a1 ok maybe a newline will fix it.?. 2014-05-27 23:00:30 +00:00
Stephen Smoogen
58be119242 write code like yoda, we must 2014-05-27 22:50:47 +00:00
Stephen Smoogen
b8197212cb well that went as well as expected. lets try with hands this time. 2014-05-27 22:46:21 +00:00
Stephen Smoogen
1d7d5ea567 Hey look ma, no hands! 2014-05-27 22:42:54 +00:00
Kevin Fenzi
9daa623bc4 Fix this to work with --check/--diff runs. 2014-05-27 22:26:23 +00:00
Kevin Fenzi
f05fe5e864 Fix log file path 2014-05-27 21:05:42 +00:00
Kevin Fenzi
8e69a8a2d0 Enable send_unaswered_question_reminders in ask. 2014-05-27 21:02:37 +00:00
Stephen Smoogen
eeaa9e5d36 chainsaw 2014-05-27 20:55:09 +00:00
Stephen Smoogen
ac9fe6ca02 lets try this and see if ansible likes this better. 2014-05-27 20:53:53 +00:00
Stephen Smoogen
a04e4bd839 Merge branch 'master' of /git/ansible 2014-05-27 20:00:04 +00:00
Stephen Smoogen
d7c1a29e0a lets try breaking out download a bit 2014-05-27 20:00:00 +00:00
Ralph Bean
8322306912 Get the fedmsg crl directly from proxy01.stg in staging. 2014-05-27 19:31:01 +00:00
Ralph Bean
49831e2c17 Point fedmsg-logger at busgateway01 now. 2014-05-27 18:22:34 +00:00
Kevin Fenzi
8906975d33 Fix these log touch plays to also be idempotent 2014-05-27 18:15:04 +00:00
Kevin Fenzi
6f947cd9ec Fix this to be idempotent 2014-05-27 18:06:47 +00:00
Till Maas
bb84dd36de fetch-ssh-keys: mode +x 2014-05-24 09:47:54 +02:00
Kevin Fenzi
9460e6b386 And clean app up from these places too. 2014-05-23 22:34:26 +00:00
Kevin Fenzi
45a5c04dcd Drop apps from inventory 2014-05-23 22:33:43 +00:00
Kevin Fenzi
64b4cf7614 This task doesn't exist anymore 2014-05-23 22:28:21 +00:00
Kevin Fenzi
165973baf4 Fix missing " 2014-05-23 22:23:33 +00:00
Kevin Fenzi
042eb241e0 Fix elections, add a fallback stg hosts file. 2014-05-23 20:35:45 +00:00
Kevin Fenzi
aa559651d5 /dev/null the easyfix cron output for now. 2014-05-23 20:31:46 +00:00
Kevin Fenzi
4bfcfcd28b Add hosts file for gallery01.stg 2014-05-23 20:30:48 +00:00
Kevin Fenzi
60c9a31a30 This needs to be staging, not stg 2014-05-23 19:19:48 +00:00
Kevin Fenzi
0944682e24 No denyhosts for f20 hosts for now, add manual monitor playbook. 2014-05-23 18:38:30 +00:00
Kevin Fenzi
83e93d6a10 Add monitor.qa and taskotron-dev01.qa 2014-05-23 18:10:08 +00:00
Kevin Fenzi
fe8ffbbb27 Drop denyhosts from these for now. 2014-05-23 17:51:21 +00:00
Kevin Fenzi
9f4568e3ae Drop ksdevice and adjust for f20 on these 2014-05-23 17:34:25 +00:00
Kevin Fenzi
336e13bc7b Add qadevel/qadevel-stg and autosign 2014-05-23 16:48:59 +00:00
Aurélien Bompard
0c76d40590 Adapt HyperKitty config file to the lastest changes 2014-05-23 02:46:15 +00:00
Stephen Smoogen
c32cf9e0a7 ok lets try this chickbone 2014-05-22 23:25:57 +00:00
Kevin Fenzi
0a4b6b3eeb Merge branch 'master' of /git/ansible 2014-05-22 21:32:05 +00:00
Kevin Fenzi
909f20d063 up sundries procs and drop app05/app08 from inventory 2014-05-22 21:31:44 +00:00
Pierre-Yves Chibon
f40e8537b5 Add the SITE_ROOT for pkgdb2 1.8.2 2014-05-22 23:24:48 +02:00
Kevin Fenzi
5e89f8edf2 Tweak selinux contexts for freemedia 2014-05-22 19:28:51 +00:00
Kevin Fenzi
bff07f007a Also we need to install php 2014-05-22 19:12:43 +00:00
janeznemanic
f2050a69ec Add freemedia role. 2014-05-22 19:05:42 +00:00
Kevin Fenzi
4a2db2ad3c Fix buffet0 in ansible too 2014-05-22 17:39:13 +00:00
Ralph Bean
b90bf85b3d Bump the zmq timeout on these nagios checks. 2014-05-22 14:56:48 +00:00
Kevin Fenzi
da642af5fd Fix up staging group 2014-05-22 01:09:49 +00:00
Kevin Fenzi
8bc7d8d773 Add gallery01.stg to the stg group 2014-05-22 01:00:28 +00:00
Stephen Smoogen
c087d147c7 Merge branch 'master' of /git/ansible 2014-05-21 22:48:45 +00:00
Stephen Smoogen
f6e1c1cb1c change the nfs option to have longer actimeo on dl servers 2014-05-21 22:48:39 +00:00
Kevin Fenzi
c6a38231ab Try adding arm04-builder22 back in 2014-05-21 21:53:41 +00:00
Stephen Smoogen
92072f0461 And now we are back to 5 download servers 2014-05-21 21:29:25 +00:00
Kevin Fenzi
e5ddbcea29 Set nrpe procs higher on the new download servers. 2014-05-21 20:47:25 +00:00
Ricky Elrod
d3291aaf85 Merge branch 'master' of /git/ansible 2014-05-21 19:48:55 +00:00
Ricky Elrod
5703b88f03 create /srv/web directory 2014-05-21 19:48:46 +00:00
Ralph Bean
a75f28b510 Remove busmon. 2014-05-21 19:00:37 +00:00
Stephen Smoogen
19ec8df9af Temp removing dl06 2014-05-21 18:45:26 +00:00
Stephen Smoogen
2858cce6f6 Merge branch 'master' of /git/ansible 2014-05-21 18:43:20 +00:00
Kevin Fenzi
af011162e3 Add db connect bool for mm frontend 2014-05-21 17:57:45 +00:00
Kevin Fenzi
8fc6694c5f Set some sebools on sundries. 2014-05-21 17:38:51 +00:00
Kevin Fenzi
3333d00a59 Just call this mirrormanager.conf 2014-05-21 17:28:36 +00:00
Kevin Fenzi
eb7371b560 Try this. 2014-05-21 17:22:07 +00:00
Kevin Fenzi
41d2bcc729 Fix end to endif 2014-05-21 17:07:59 +00:00
Kevin Fenzi
dd45f8c109 Fix stray = 2014-05-21 17:05:13 +00:00
Kevin Fenzi
317360d13b Fix template. 2014-05-21 16:59:25 +00:00
Kevin Fenzi
6bc2f3f623 Also add to playbook. 2014-05-21 16:51:24 +00:00
janeznemanic
829c097e9d Add mirrormanager role 2014-05-21 16:50:40 +00:00
Kevin Fenzi
1f92636069 This cron also has to be 644 2014-05-21 16:06:44 +00:00
Kevin Fenzi
21ba0ac487 Cron has to be 644 2014-05-21 16:01:48 +00:00
Kevin Fenzi
ec4b02c539 In staging, host_group is automagically staging, so use rsync_group instead here. 2014-05-21 15:47:07 +00:00
Ricky Elrod
8d3223e0dd Merge branch 'master' of /git/ansible 2014-05-21 13:06:22 +00:00
Ricky Elrod
02ef0ba713 Unhardcode path to rpm. Thanks ProT-0-TypE! 2014-05-21 13:06:17 +00:00
Pierre-Yves Chibon
27ed359f9a The /pkgdb/ is not needed 2014-05-21 09:36:01 +02:00
Pierre-Yves Chibon
06735a2f86 Add the SITE_URL configuration to pkgdb2 2014-05-21 09:29:37 +02:00
Kevin Fenzi
c441747d54 Add needs-reboot.py as a common script. 2014-05-20 20:09:47 +00:00
Ralph Bean
d6bd38f58c Make fedora-packages use staging urls where appropriate. 2014-05-20 20:08:41 +00:00
Ralph Bean
3eb1d43fe2 Point staging pkgdb urls at staging pkgdb2. 2014-05-20 18:49:47 +00:00
Stephen Smoogen
4e0d6d5991 Merge branch 'master' of /git/ansible 2014-05-20 16:56:14 +00:00
Kevin Fenzi
6944f0b8d4 We need a master sundries in stg too 2014-05-19 23:36:53 +00:00
Kevin Fenzi
3c4bed5b96 More easyfix tweaks. 2014-05-19 23:31:39 +00:00
Kevin Fenzi
0ba6c1244b Need python-bugzilla for easyfix 2014-05-19 23:26:30 +00:00
Kevin Fenzi
a41d855530 Add rsyncd setup for sundries so proxies can pull easyfix from it instead of apps 2014-05-19 23:17:42 +00:00
Kevin Fenzi
79f507271b And here too 2014-05-19 19:41:40 +00:00
Kevin Fenzi
efe74a6c90 Add admin.stg here. 2014-05-19 19:38:00 +00:00
Kevin Fenzi
929505850c Add a mailman01.stg hosts file with correct entries. 2014-05-19 18:57:53 +00:00
Kevin Fenzi
a47859cb26 Speeling is fun. 2014-05-19 18:24:41 +00:00
Kevin Fenzi
95733ac284 More missed accelerates 2014-05-19 18:21:11 +00:00
Kevin Fenzi
b1ac6680ba Missed an accelerated. 2014-05-19 17:29:12 +00:00
Kevin Fenzi
12090a21fd Update fas url for stg now that the cert is fixed. 2014-05-19 17:19:23 +00:00
Kevin Fenzi
06e12bdb8b Fix fedocal production hosts files. 2014-05-19 16:53:45 +00:00
Kevin Fenzi
fbebe1ebc2 Add a serverbeach resolv.conf skeleton 2014-05-19 15:42:48 +00:00
Kevin Fenzi
25dc54212b Set accelerate to false by default, override with -e acclerated=True for your playbook runs. 2014-05-19 15:22:24 +00:00
Kevin Fenzi
7ba907d5ce Move mirrorlist wsgi config to a template and set processes different for mirrorlist-serverbeach. 2014-05-19 14:48:57 +00:00
Ralph Bean
7b84ea9663 Also, improve the other two new fedmsg checks. 2014-05-19 14:26:38 +00:00
Ralph Bean
fb03577eea Make the fedmsg check producers/consumers check a little smarter. 2014-05-19 14:20:21 +00:00
Pierre-Yves Chibon
d3af060dfa Cut out accelerate from the sundries playbook 2014-05-19 12:32:28 +02:00
Pierre-Yves Chibon
d20ffe58ff Re-establish running the cron every Monday at 10am 2014-05-19 12:31:30 +02:00
Pierre-Yves Chibon
74706bf93a Update the fedora-owner-change.py script to the latest version from upstream
This makes it work with both pkgdb1 and pkgdb2 fedmsg messages
2014-05-19 12:29:04 +02:00
Stephen Smoogen
64478331da and before we run into another problem make sure apache can read the public file. 2014-05-16 23:54:35 +00:00
Stephen Smoogen
24ed0ae145 try to get some of the directories correct 2014-05-16 23:52:52 +00:00
Stephen Smoogen
2b464ac498 do we need a generic role for ssl? 2014-05-16 23:41:24 +00:00
Stephen Smoogen
7cbd6611fa ok lets try getting back to our original problem. 2014-05-16 23:23:16 +00:00
Stephen Smoogen
84839ad928 ok using a tmp inventory file was my problem. my bad. 2014-05-16 22:53:55 +00:00
Stephen Smoogen
d52f39215a flailing 2014-05-16 22:11:42 +00:00
Stephen Smoogen
f4fc902768 msg: Destination directory {{libdir | /usr/lib64}}/nagios/plugins does not exist 2014-05-16 21:56:12 +00:00
Stephen Smoogen
1a80191e6f ok this had better work.. maybe.. the books says so. 2014-05-16 21:51:48 +00:00
Stephen Smoogen
6c8f110b5a ok this had better work.. maybe. 2014-05-16 21:48:55 +00:00
Stephen Smoogen
963d0918ac try moving stuff down a tree 2014-05-16 21:08:14 +00:00
Kevin Fenzi
22b531e5b3 Clean up this some more. 2014-05-16 20:18:40 +00:00
Kevin Fenzi
51173a59b8 No d on nfs-idmap on fedora 2014-05-16 19:54:05 +00:00
Kevin Fenzi
ac17a003b7 Tweak nfs client role 2014-05-16 19:40:50 +00:00
Kevin Fenzi
47185c520d Make everything doing nfs mounts use the nfs_client role. 2014-05-16 19:35:56 +00:00
Kevin Fenzi
b22e1be972 Perhaps quotes are confusing it here. 2014-05-16 18:55:03 +00:00
Kevin Fenzi
bcca815b46 Make sure rsyncd log file exists 2014-05-16 18:47:10 +00:00
Kevin Fenzi
ae9210bd07 Try reordering this 2014-05-16 18:42:06 +00:00
Kevin Fenzi
e1a97d5d8d Also need libsemanage-python 2014-05-16 18:37:41 +00:00
Kevin Fenzi
e6ee48e002 need a state here. 2014-05-16 18:34:15 +00:00
Kevin Fenzi
44cd3f7423 Add another url to blacklist for paste. 2014-05-16 15:43:13 +00:00
Kevin Fenzi
061b5eb734 Make this task work with rhel and fedora releng hosts. 2014-05-16 15:27:40 +00:00
Kevin Fenzi
e01a829c2d Fix which virthost releng02 is on. 2014-05-16 15:20:45 +00:00
Kevin Fenzi
d830e268ae Add pyliblzma to releng machines to deal with rawhide repodata 2014-05-16 15:18:09 +00:00
Miroslav Suchý
3113ef2232 add pyliblzma so yum can handle packages xz compression 2014-05-16 12:10:29 +00:00
Ralph Bean
ab78ddd39a Use correct consumer name for datanommer. 2014-05-15 21:06:32 +00:00
Kevin Fenzi
75ccc28e69 Add port 80 here 2014-05-15 19:41:39 +00:00
Kevin Fenzi
4df7a8e3ad Add some vpn to docs-backend 2014-05-15 19:22:22 +00:00
Ralph Bean
fa3d33bbd4 Use correct pkgdb2 url for fmn. 2014-05-15 14:30:11 +00:00
Pierre-Yves Chibon
a8f610b17d Let's have pkgdb send email as pkgdb 2014-05-15 08:22:12 +02:00
Ricky Elrod
1dccbe021f Move custom vars to group_vars/download 2014-05-15 04:02:22 +00:00
Ricky Elrod
b5cbb782ec fix it this way instead 2014-05-15 03:50:14 +00:00
Ricky Elrod
f630159e9f udp_ports: [] 2014-05-15 03:47:55 +00:00
Ricky Elrod
943ab92f33 here too 2014-05-15 03:44:59 +00:00
Ricky Elrod
8d78731cc5 accelerate: False for now 2014-05-15 03:44:16 +00:00
Ricky Elrod
a2a2a98ec9 open ports 2014-05-15 03:36:43 +00:00
Ricky Elrod
989f4f1e6b More downloadXX fun 2014-05-15 03:31:02 +00:00
Kevin Fenzi
e5ed01f1ae It's base here. 2014-05-15 02:31:36 +00:00
Kevin Fenzi
d0708ab507 Add collectd to pkgdb instances too 2014-05-15 02:29:50 +00:00
Patrick Uiterwijk
e30907f145 Pkgdb now also uses openid 2014-05-14 22:14:18 +00:00
Ralph Bean
4c523d32c0 Use "pkgdb2" as a fedmsg key. 2014-05-14 22:08:31 +00:00
Pierre-Yves Chibon
bcf935d5fe Add scm-commits in Cc to all emails 2014-05-14 21:55:37 +00:00
Ralph Bean
50544699e0 Declare the pkgdb0* shell cert. 2014-05-14 21:44:49 +00:00
Kevin Fenzi
16daf5eae8 Try setting this for postfix 2014-05-14 21:37:30 +00:00
Pierre-Yves Chibon
954db292d1 Disable accelerate on the pkgdb playbook for now 2014-05-14 23:25:06 +02:00
Pierre-Yves Chibon
7c3ad83ce9 Active pkgdb2 email and don't check ssl cert on stg 2014-05-14 22:03:53 +02:00
Pierre-Yves Chibon
4bd31cf881 Allow pkgdb2 to send emails 2014-05-14 22:01:15 +02:00
Ralph Bean
1f8f67a12b Add koji to /etc/hosts for tagger. 2014-05-14 19:25:13 +00:00
Kevin Fenzi
d16754d38c Fix hosts on pkgdb01/02 2014-05-14 18:49:21 +00:00
Ralph Bean
26e208a47e Apparently tagger needs this for its cronjobs. 2014-05-14 18:02:42 +00:00
Kevin Fenzi
f7a48895a6 Add correct group to buildhw to get the right hosts file 2014-05-14 17:42:35 +00:00
Ralph Bean
9ce3c8f0cf Tell fmn to talk pkgdb2 api. 2014-05-14 16:09:22 +00:00
Ralph Bean
b30b347508 Tell badges to talk pkgdb2 api. 2014-05-14 16:09:13 +00:00
Ralph Bean
27b3cbc4eb One more spot for pkgdb in the fedmsg config. 2014-05-14 16:05:20 +00:00
Ralph Bean
afbe9406dc pkgdb2 fedmsg config. 2014-05-14 15:54:30 +00:00
Stephen Smoogen
bd09bf39fe Merge branch 'master' of /git/ansible 2014-05-13 22:41:48 +00:00
Stephen Smoogen
046f54a780 Add the extra download boxes 2014-05-13 22:41:41 +00:00
Kevin Fenzi
5e3229d410 Add pkgdb01/02 prod nodes 2014-05-13 20:34:07 +00:00
Kevin Fenzi
79a32d4581 Move old bc02 blades to all be buildhw 2014-05-13 17:27:29 +00:00
Pierre-Yves Chibon
edea554550 Add missing file for easyfix 2014-05-13 19:12:13 +02:00
Pierre-Yves Chibon
945cc29f8e Adjust the fedora-owner-change cron and script for testing in real condition 2014-05-13 18:38:44 +02:00
Pierre-Yves Chibon
ea0e074316 Run the fedora_owner_change cron on the sundry master 2014-05-13 18:37:07 +02:00
Pierre-Yves Chibon
14f0d2b628 Add the fedora_owner_change role 2014-05-13 18:35:49 +02:00
Pierre-Yves Chibon
6d11d19427 Have the sundries host run the easyfix cron 2014-05-13 12:40:21 +02:00
Pierre-Yves Chibon
4dd6ab1429 Simplify the copy instruction a little 2014-05-13 12:39:19 +02:00
Pierre-Yves Chibon
8cb2345e5d Add first work on the easyfix role
This still requires some work:
- It has no playbook
- It is missing the proxy bits
   - configuration of the proxies themselves
   - cron job copying the files from the app running the cron job onto
     the proxies
2014-05-13 12:36:57 +02:00
Pete Travis
212918325a busy repo merge, no conflicts, I promise 2014-05-12 17:38:10 -06:00
Pete Travis
3490c3a772 closing quotes 2014-05-12 17:36:47 -06:00
Pete Travis
846d8c9089 Here's to learning from foolish mistakes 2014-05-12 22:25:37 +00:00
Pete Travis
c5fcdc4cc2 Publican needs an empty sqlite db, or interactive setup that we aren't interested in performing 2014-05-12 16:21:20 -06:00
Pete Travis
0f96ffb42f when all you have is a hammer, all your horizontal line characters end up flattened 2014-05-12 22:14:00 +00:00
Pete Travis
c00f70f332 herding templates 2014-05-12 22:10:15 +00:00
Pete Travis
7de92cedc1 cronjobs need names 2014-05-12 22:06:49 +00:00
Pete Travis
f18010f21d herding files 2014-05-12 16:03:29 -06:00
Kevin Fenzi
d367982cba Move publican stuff to another play 2014-05-12 21:52:10 +00:00
Kevin Fenzi
092004acaa Tweak role 2014-05-12 21:46:28 +00:00
Kevin Fenzi
68e757521d Add hosts file for docs backend 2014-05-12 21:43:16 +00:00
Kevin Fenzi
b56f068125 virthost11 is no more. 2014-05-12 21:35:38 +00:00
Pete Travis
085acaa45f ansible_managed does not give away #s for free 2014-05-12 21:33:25 +00:00
Pete Travis
b1e67b8c58 fixing some sloppy quoting 2014-05-12 21:28:16 +00:00
Pete Travis
2b36f84bdd The shift key must have stuck. Yeah, that's it. 2014-05-12 21:25:03 +00:00
Pete Travis
87597c7fa6 Get fedwatch from epel, not copr 2014-05-12 21:19:52 +00:00
Pete Travis
6732449f55 colons for vars! 2014-05-12 21:16:21 +00:00
Pete Travis
5ed13b7bbc Courtesy merge; remember to pull before you commit, Pete! 2014-05-12 15:05:31 -06:00
Pete Travis
ae492e0402 Initial working configuration for docs backend 2014-05-12 15:05:03 -06:00
Ralph Bean
e87b4635b8 Cast to an int, otherwise error condition is never met. 2014-05-12 20:25:29 +00:00
Pierre-Yves Chibon
b8ef359849 Ask SELinux to let apache send emails 2014-05-12 20:05:44 +02:00
Ralph Bean
42fda730da Have to actually copy the new pieces out. 2014-05-12 17:26:22 +00:00
Kevin Fenzi
343932b96d Re-add these three socs 2014-05-12 17:21:08 +00:00
Ralph Bean
c96195506a Introduce new fedmsg nagios checks from Janez Nemanic.
See https://fedorahosted.org/fedora-infrastructure/ticket/4044
2014-05-12 16:43:09 +00:00
Pierre-Yves Chibon
78237338b3 re-disable accelerate in the nuancier playbook
This reverts commit bb74057acd.
2014-05-12 18:09:51 +02:00
Pierre-Yves Chibon
bb74057acd Revert "disable accelerate in the nuancier playbook"
This reverts commit d9b9af1ed5.
2014-05-12 17:46:18 +02:00
Kevin Fenzi
fcbbe7f339 Just 2 qa and packager socs 2014-05-11 19:36:56 +00:00
Kevin Fenzi
96427b693f Don't need statd 2014-05-11 16:11:13 +00:00
Kevin Fenzi
63f74db484 Adjust releng config a bit 2014-05-11 15:57:52 +00:00
Jamie Nguyen
20ec6c9a34 Fix link to badges fan. 2014-05-11 14:17:39 +00:00
Patrick Uiterwijk
573f54f9a8 This file seems to have been removed from upstream.
The file started with this in the last few releases:
 * This file contains ancient db-related functions that have been deprecated. Do
 * not use them. Please find the appropriate replacements.
2014-05-11 13:11:07 +00:00
Patrick Uiterwijk
5d089b9f0d Adding some icons back that weren't transferred over to ansible from app0* to wiki 2014-05-11 12:50:41 +00:00
Kevin Fenzi
ed01966260 Put buildvm-27 on the right virthost 2014-05-11 04:46:00 +00:00
Kevin Fenzi
340ca5c862 Update arm02 builders 2014-05-10 23:05:11 +00:00
Kevin Fenzi
e6f46c068b Fix arm packager sudoers 2014-05-10 22:45:24 +00:00
Kevin Fenzi
779d5d575e Move buildvm's to new blade buildvmhosts. 2014-05-10 18:20:37 +00:00
Kevin Fenzi
8110c03c1f This task moved to a role. 2014-05-10 17:35:23 +00:00
Dennis Gilmore
582aeca228 move the group the compose box is in 2014-05-10 04:09:14 +00:00
Dennis Gilmore
4e3c8fa62e add rawhide x86_64 compose config. update the others to include pungi 2014-05-10 03:54:49 +00:00
Kevin Fenzi
681febf884 Re-add fixed arm04 socs 2014-05-10 00:52:57 +00:00
Kevin Fenzi
023cbdc347 Add variables for arm retrace soc 2014-05-09 21:23:18 +00:00
Kevin Fenzi
136a023187 Don't need koji config here on retrace 2014-05-09 20:59:34 +00:00
Kevin Fenzi
2c5b326f75 Reorder this some. 2014-05-09 20:54:31 +00:00
Kevin Fenzi
60ff17bcea Add a arm-retrace playbook. 2014-05-09 20:42:29 +00:00
Kevin Fenzi
a28f4efc86 It's just arm-releng here. 2014-05-09 20:40:59 +00:00
Kevin Fenzi
ad8b1733cb Move things around a bit more. 2014-05-09 19:59:45 +00:00
Kevin Fenzi
0fb40d4ddd Adjust for new arm releng and retrace and fixed arm01 socs 2014-05-09 19:30:14 +00:00
Kevin Fenzi
72e2521a90 Bump serial up on backups 2014-05-09 01:44:38 +00:00
Ralph Bean
2856e06c0f This might just be fixed. 2014-05-08 21:24:47 +00:00
Ralph Bean
09b268e69c Debug fedmsg callback_plugin. 2014-05-08 21:21:35 +00:00
Kevin Fenzi
2d3bd45979 Move a bunch of vms to virthost16 2014-05-08 19:57:31 +00:00
Ricky Elrod
e9e8a1ab90 Start of download-server port to ansible. Still needs httpd config (esp. ssl certs) and rsync server stuff I think 2014-05-07 20:35:42 +00:00
Stephen Smoogen
929a4e2161 let us add virthost17 and virthost18. really this time 2014-05-05 20:00:12 +00:00
Miroslav Suchý
e41a87ada3 deploy /etc/hosts with internal IPs from Fedora Cloud 2014-05-05 13:19:13 +00:00
Patrick Uiterwijk
3349c7b8ac Revert "We now remove everyone from the whitelist for now."
This reverts commit 8b2961af2b.
2014-05-03 03:12:26 +00:00
Ralph Bean
602405b522 Update copr hotfix. 2014-05-03 01:44:20 +00:00
Ralph Bean
4e953c7f7d Wrong directory, there... 2014-05-03 01:23:02 +00:00
Ralph Bean
30aadc78c4 Hotfix copr-fe for Covert Redirect. 2014-05-03 01:21:02 +00:00
Patrick Uiterwijk
8b2961af2b We now remove everyone from the whitelist for now.
They will be re-enabled as we check the for vulnerability level to the covert redirect bug.
2014-05-02 22:41:49 +00:00
Pierre-Yves Chibon
d9b9af1ed5 disable accelerate in the nuancier playbook 2014-05-02 14:52:22 +00:00
Pierre-Yves Chibon
72f6fc5936 Enable email notifications on nuancier 2014-05-02 16:47:08 +02:00
Stephen Smoogen
8903ac17c2 what if we just all got along 2014-05-01 23:48:35 +00:00
Ralph Bean
5ea889e578 Playbook to free up port 5099 when it gets stuck. 2014-05-01 20:24:44 +00:00
Kevin Fenzi
22b56a5341 Make wiki instances 4gb mem in production. 2014-05-01 14:55:01 +00:00
Stephen Smoogen
0f551202dc turn off accelerate for initial run. 2014-04-30 23:25:16 +00:00
Stephen Smoogen
fa255c12a0 add a bunch of bvirthosts 2014-04-30 23:02:01 +00:00
Ralph Bean
a0f2968311 Also, monitor here. 2014-04-30 20:42:56 +00:00
Ralph Bean
4a229675ef Use fqdn, I guess.. 2014-04-30 19:32:35 +00:00
Ralph Bean
44fa065f03 Whoopsy-daisy. 2014-04-30 19:29:23 +00:00
Ralph Bean
21f6600811 Ridiculous, but collectd exec plugins cannot accept arguments.
So we have to template our script and "hardcode" the process we want to
monitor there.
2014-04-30 19:25:20 +00:00
Ralph Bean
b5f6044085 Stub of a collectd role for fedmsg process health. 2014-04-30 16:04:47 +00:00
Ricky Elrod
26b3dffd89 Add 3 missing packages to global_pkgs_inst, from global.pp in puppet 2014-04-29 23:39:20 +00:00
Ralph Bean
c6719dda6b A playbook for undoing yum history of certain packages. 2014-04-29 17:10:14 +00:00
Kevin Fenzi
641330e0ab Move mirrorlist-ibiblio over to ibiblio04 2014-04-28 20:47:22 +00:00
Kevin Fenzi
de4c869426 Move unbound-ib01 over to ibibli04 2014-04-28 19:29:57 +00:00
Ralph Bean
3f3e3d0529 Flip the switch. 2014-04-28 18:53:42 +00:00
Ralph Bean
88caeca291 Use fromaddress consistently. 2014-04-28 18:14:01 +00:00
Ralph Bean
b91249e215 Get the mail server name right.. 2014-04-28 18:01:42 +00:00
Ralph Bean
640c82d25e Little errors.. 2014-04-28 17:46:30 +00:00
Ralph Bean
6b422251b4 Ansible syntax... 2014-04-28 17:39:50 +00:00
Ralph Bean
9201c4ab58 Ensure we can write to our own log file. 2014-04-28 17:37:22 +00:00
Ralph Bean
93a8277bb3 We don't actually need all that junk. 2014-04-28 17:34:44 +00:00
Ralph Bean
1e72a96097 Try deploying this koji reminder email thing. 2014-04-28 17:26:38 +00:00
Ralph Bean
3b3614795c Use semicolon instead of colon here. 2014-04-28 17:13:04 +00:00
Ralph Bean
e85878d802 Use process name instead of pid for fedmsg monitoring socket filename. 2014-04-28 13:46:20 +00:00
Dennis Gilmore
c71162ec08 make sure the chroot for comoose includes the f21 buildroot 2014-04-28 05:53:20 +00:00
Kevin Fenzi
f92e040821 Correct path 2014-04-24 21:53:13 +00:00
Kevin Fenzi
aab9defc22 Use correct key here too 2014-04-24 21:48:05 +00:00
Kevin Fenzi
93bbd6331c Fix up ssl keys 2014-04-24 21:39:01 +00:00
Kevin Fenzi
1ec4774eb3 Fix stray with_items 2014-04-24 21:33:36 +00:00
Kevin Fenzi
52c9e9a08d Move keyserver to a role. Thanks misc! 2014-04-24 20:37:51 +00:00
Kevin Fenzi
0982cd46a9 Make nfs mount a variable and set it to use rw on wiki instances. 2014-04-24 19:21:59 +00:00
Ralph Bean
9216d087ea Add configuration for hub health monitoring. 2014-04-24 18:14:39 +00:00
Kevin Fenzi
f7fe96ff1e Also make iscsi client datacenter dependent 2014-04-24 03:15:54 +00:00
Kevin Fenzi
ed6908d6ee Add openvpn for non phx2 virthosts 2014-04-24 03:01:47 +00:00
Kevin Fenzi
560fd68cea Add ibiblio04 2014-04-24 01:58:21 +00:00
Kevin Fenzi
3909469705 Add collectd to paste 2014-04-23 20:35:38 +00:00
Kevin Fenzi
8dfb920b82 Add collectd to wiki and sundries. 2014-04-23 20:28:44 +00:00
Ralph Bean
dc715da4dd Gotta have the handlers here too.. also. 2014-04-23 15:14:44 +00:00
Ralph Bean
ad2a2f71c4 Gotta have the handlers here too.. 2014-04-23 14:48:34 +00:00
Ralph Bean
2a3edca20c And, yes, an seboolean too. 2014-04-23 13:36:15 +00:00
Ralph Bean
41d35aba00 Add some restart statements so things take effect how we want. 2014-04-23 13:32:16 +00:00
Ralph Bean
78a35fe77b Point wiki at new nfs mount dir.
Under the rule of puppet, the app servers mounted this nfs share at
/srv/web/attachments but the new ansible nfs_client role has us mounting it at
/mnt/web/attachments.  Here, I'm just adjusting the wiki config to look for
uploaded content at that new location.  This assumes we want to stick with /mnt/
over /srv/.
2014-04-23 13:27:23 +00:00
Ralph Bean
e551044685 Complain if we can't read the mirrormanager/mirroradmins list. 2014-04-22 23:14:13 +00:00
Kevin Fenzi
787621021c Fix dell vmhosts to not use multipath for local disk. 2014-04-22 21:38:48 +00:00
Kevin Fenzi
d90a53d4db Update keyserver ssl certs. 2014-04-22 20:34:23 +00:00
Kevin Fenzi
90ddd2da30 Add vpn to sundries servers 2014-04-22 18:59:32 +00:00
Kevin Fenzi
6f27363b3f We need python-paste-deploy apparently. 2014-04-22 18:41:11 +00:00
Kevin Fenzi
a7891e476c Add geoip-city-wsgi to sundries servers. Thanks janeznemanic. Ticket 4291 2014-04-22 17:22:44 +00:00
Ralph Bean
325f5e8205 Adjust fedmsg authz policy for new wiki hosts. 2014-04-22 16:18:48 +00:00
Ralph Bean
dd64cc79b6 Change cert declaration for the wiki over to the new host(s). 2014-04-22 16:11:19 +00:00
Kevin Fenzi
11c9418ffe Add fedmsg stuff to wiki instances 2014-04-22 15:46:11 +00:00
Kevin Fenzi
7d9eb0c836 Add vpn to wiki01/02 2014-04-22 15:21:42 +00:00
Kevin Fenzi
b82b1b17b5 Update nfs ip's on wiki instances 2014-04-22 15:01:24 +00:00
Kevin Fenzi
2675b647ee Try this to fix selinux. 2014-04-21 20:53:20 +00:00
Kevin Fenzi
c95974dad4 Try these bools 2014-04-21 20:42:07 +00:00
Kevin Fenzi
de075a961b Fix memcached for stg 2014-04-21 20:28:52 +00:00
Kevin Fenzi
0705cf0c67 Name the hosts file right. 2014-04-21 20:12:07 +00:00
Kevin Fenzi
5c3ffb40d0 We want the stg db in stg 2014-04-21 20:09:08 +00:00
Kevin Fenzi
6f792af873 Wants to be named -wiki there for the directory 2014-04-21 20:01:17 +00:00
Kevin Fenzi
c2f17158cd Fix typo 2014-04-21 19:56:29 +00:00
Kevin Fenzi
2b7871a813 It's both. 2014-04-21 19:52:08 +00:00
Kevin Fenzi
23d940f2d5 it's wikipath 2014-04-21 19:47:42 +00:00
Kevin Fenzi
ca2609625a Add wpath of w 2014-04-21 19:45:30 +00:00
Kevin Fenzi
12d40c6a7c This may not be needed. 2014-04-21 19:37:11 +00:00
Kevin Fenzi
6b4d986696 Fix template 2014-04-21 19:31:29 +00:00
Kevin Fenzi
1d314d184f Don't need this part 2014-04-21 19:28:57 +00:00
Kevin Fenzi
cdb9d3d187 And also rpcbind 2014-04-21 19:17:51 +00:00
Kevin Fenzi
35b98f114f And we need nfslock 2014-04-21 19:14:44 +00:00
Kevin Fenzi
f61c9d4d31 Need nfs-utils 2014-04-21 19:11:10 +00:00
Kevin Fenzi
5126c3a7b2 This is staging. Sheesh 2014-04-21 19:07:04 +00:00
Kevin Fenzi
2454e84d09 Stab at using nfs_client role for nfs mounts 2014-04-21 19:00:03 +00:00
Kevin Fenzi
c2b06a44fc mediawiki role for wiki servers. Thanks adimania. ticket 4257 2014-04-21 18:10:28 +00:00
Kevin Fenzi
fdc6e69e04 Add simple copy for datanommer db dump to public space on lockbox01 2014-04-17 20:29:06 +00:00
Kevin Fenzi
7ce3dfbe2a Set mirrorlists to only process requests on vpn or local network interface 2014-04-16 00:38:07 +00:00
Kevin Fenzi
805acea1a2 Another tweak 2014-04-15 23:27:36 +00:00
Kevin Fenzi
aacca4aeff Update inventory some. 2014-04-15 23:26:44 +00:00
Pierre-Yves Chibon
ef0eb23fc1 1.50 might requires quotes otherwise it's converted to 1.5 2014-04-15 17:01:35 +02:00
Pierre-Yves Chibon
c44160604e Update jenkins plugins 2014-04-15 16:45:25 +02:00
Kevin Fenzi
ff604a1414 Disable some little used languages in production askbot 2014-04-13 21:23:55 +00:00
Kevin Fenzi
18f7c28f9c Nuke some old postfix config for machines that no longer exist. 2014-04-13 20:54:36 +00:00
Pierre-Yves Chibon
4295ba9dc5 [pkgdb2] Remove the http to https apache rewrite rule, we don't use it 2014-04-11 16:52:52 +02:00
Miroslav Suchý
85539d014b with recent ansible this is in column 33
I should parse it more inteligent :(
2014-04-11 12:31:39 +00:00
Miroslav Suchý
4f92195d8a add SEND_MAIL variable so copr can send emails 2014-04-10 10:08:18 +00:00
Miroslav Suchý
6ac3dcc402 move common scripts lower in manifest 2014-04-10 06:59:40 +00:00
Kevin Fenzi
cd90b45b19 I should really get soom sleep sometime. 2014-04-09 20:10:26 +00:00
Kevin Fenzi
d36ceaefe0 Fix broken template 2014-04-09 20:05:23 +00:00
Kevin Fenzi
55c3d58b50 Make arm03-qa03 to packager00 2014-04-09 16:37:06 +00:00
Pierre-Yves Chibon
7da5071850 Use port 80 in elections 2014-04-09 18:42:22 +02:00
Kevin Fenzi
2081b7b47d Add apprentice to mirrorlists. 2014-04-09 02:17:28 +00:00
Pierre-Yves Chibon
7785aeefcc Try to fix login for elections in stg 2014-04-08 21:02:19 +02:00
Pierre-Yves Chibon
afd4a8c207 Try to fix login on pkgdb2 in stg 2014-04-08 20:56:08 +02:00
Kevin Fenzi
8835676e6d Port 80 needs open here, not 443. 2014-04-08 16:08:16 +00:00
Pierre-Yves Chibon
3f2a46e642 Fix link the wsgi in the apache config 2014-04-08 17:24:31 +02:00
Pierre-Yves Chibon
65e504604d Put the wsgi file at the right place 2014-04-08 17:16:35 +02:00
Pierre-Yves Chibon
83bfab900c Fix indentation 2014-04-08 16:25:54 +02:00
Pierre-Yves Chibon
f3ea75e128 Update the elections playbook to include the new elections role 2014-04-08 16:23:30 +02:00
Pierre-Yves Chibon
7843f7378e Add roles and hosts files for elections0{1,2,1.stg} 2014-04-08 16:23:06 +02:00
Kevin Fenzi
7853a77399 Fix typo 2014-04-07 21:19:37 +00:00
Kevin Fenzi
54ad91db96 Rename taskotron-dev01 to taskotron-stg01 and reinstall with f20 2014-04-07 21:17:36 +00:00
Kevin Fenzi
6362df7043 This is fedmsg/base 2014-04-07 19:52:21 +00:00
Kevin Fenzi
ec2c79b4fd Add new wiki instances. 2014-04-07 19:50:57 +00:00
Kevin Fenzi
42e03a1ab7 Don't install oz on ppc builders. 2014-04-07 18:20:37 +00:00
Kevin Fenzi
f3dc0330de Turns out, we do need cronie now with oz/imagefactory, etc 2014-04-07 16:52:16 +00:00
Andrea Veri
cb03e55b02 GNOME Backups: make sure pentagon.gimp.org has its own entry on ssh's config file 2014-04-07 13:50:11 +00:00
Ralph Bean
5b9a2bff2f sqlalchemy prefers "postgresql" to "postgres". 2014-04-06 16:54:39 +00:00
Dennis Gilmore
ef70c3164c add setup and packages needed for oz/imagefactory to work 2014-04-05 15:55:30 +00:00
Kevin Fenzi
ba3d99eb3a Add prod instances too 2014-04-04 17:25:36 +00:00
Kevin Fenzi
e5c3bda671 Add sundries staging server. 2014-04-04 17:02:16 +00:00
Tim Flink
cceec52e2f adding port 80 to lockbox-comm01.qa for ks hosting 2014-04-03 22:02:34 +00:00
Tim Flink
8d26c2ffe5 adding udp port 69 for tftp and tcp port 8000 for beaker on beaker lab controller group 2014-04-03 22:00:05 +00:00
Ralph Bean
8ccc0622dc New playbook to restart fedmsg services. 2014-04-02 01:35:16 +00:00
Ralph Bean
d837c5e263 Add a new group for hosts that have a fedmsg-hub running. 2014-04-02 01:33:59 +00:00
Dennis Gilmore
6d367db7a9 arm is primary arch now 2014-04-01 23:31:16 +00:00
Ralph Bean
7a0c7cd998 Add the i386 repo to sign_and_import. 2014-04-01 15:14:06 +00:00
Miroslav Suchý
51d3376a86 put chain CA cert in copr-be as well 2014-04-01 13:45:58 +00:00
Miroslav Suchý
aa38d2bfc0 only redefine restart httpd 2014-04-01 13:24:52 +00:00
Miroslav Suchý
dbe4180044 Revert "do not use common restart file"
This reverts commit d06a71182c.
2014-04-01 13:24:10 +00:00
Miroslav Suchý
d06a71182c do not use common restart file
otherwise we will get /usr/local/bin/conditional-restart.sh - No such file or directory
2014-04-01 13:18:46 +00:00
Miroslav Suchý
57963bdef1 put ssl chain in apache config 2014-04-01 13:13:10 +00:00
Miroslav Suchý
f21ccbac8b deploy ssl cert on copr-fe 2014-04-01 12:35:27 +00:00
Miroslav Suchý
eb0b8c4c2f those are strings
this is really python code, not ini file
2014-04-01 09:17:07 +00:00
Kevin Fenzi
a4db8800de Fix unbound name in the playbook. 2014-03-31 22:47:37 +00:00
Kevin Fenzi
384ff623b9 This shouldn't be starts with, but find 2014-03-31 19:32:04 +00:00
Kevin Fenzi
72e6cb43ef Add some exists whitelists for things we check but don't install on all machines. 2014-03-31 18:14:04 +00:00
Miroslav Suchý
2846ce5933 restart httpd after ssl cert are deployed 2014-03-31 12:42:50 +00:00
Miroslav Suchý
c3e084e6d6 install lokkit command 2014-03-31 12:29:02 +00:00
Miroslav Suchý
605a98ea04 install ssl cert to copr-fe-dev 2014-03-31 12:17:03 +00:00
Miroslav Suchý
b588b902db install latest version of packages 2014-03-31 12:17:02 +00:00
Miroslav Suchý
c4e510395e sync up copr-dev with copr 2014-03-31 12:17:02 +00:00
Kevin Fenzi
e90b54c764 Bump up nrpe limits on mirrorlists. 2014-03-29 18:38:03 +00:00
Kevin Fenzi
4542efa777 Add missing supervisord handler 2014-03-28 18:36:24 +00:00
Kevin Fenzi
fdbd65bce3 Sadly disable accelerate here since sb network is weird. 2014-03-28 18:26:34 +00:00
Kevin Fenzi
c6ef1dcc1f ok. This might work for sb installs. 2014-03-28 17:57:07 +00:00
Kevin Fenzi
f784401d10 Try this in case this is a dns issue 2014-03-28 17:26:18 +00:00
Kevin Fenzi
eee6c15e08 Add a mirrorlist-serverbeach. 2014-03-28 17:19:08 +00:00
Kevin Fenzi
3344263078 Perhaps this needs quotes 2014-03-28 15:07:34 +00:00
Kevin Fenzi
b26adb82f8 Try this. 2014-03-28 14:41:00 +00:00
Pierre-Yves Chibon
51fb9f824c Dia is not available on EL7 2014-03-28 13:33:28 +01:00
Pierre-Yves Chibon
ebd3b09fea Add dia to the jenkins builder 2014-03-28 13:29:21 +01:00
Ralph Bean
7f8fb37e7f New fmn.rules wants this config value. 2014-03-27 20:52:07 +00:00
Miroslav Suchý
8504ad36d5 check forgotten VM more often 2014-03-27 08:36:06 +00:00
Andrea Veri
99937ccc9a Add pentagon.gimp.org to the backups rotation 2014-03-26 16:30:59 +00:00
Ralph Bean
e3812c7ddb Correct a typo. 2014-03-24 19:30:09 +00:00
Ralph Bean
5e5bf675a6 Add new ftpsync certs. 2014-03-24 17:54:46 +00:00
Ralph Bean
8ed419da16 Make sure these are all owned by apache. 2014-03-24 17:51:07 +00:00
Nick Bebout
7410320e1b Update sks membership file 2014-03-23 13:24:17 +00:00
Nick Bebout
bf69b2db36 Update sks membership file 2014-03-23 13:04:44 +00:00
Nick Bebout
ae82fa466f Remove old sks servers from membership file for sks 2014-03-22 16:36:44 +00:00
Aurélien Bompard
502c8f60d3 HyperKitty: fix relative login URLs 2014-03-22 14:43:47 +00:00
Aurélien Bompard
188978aad6 Mailman: fix pg_hba perms and improve import script 2014-03-22 14:43:47 +00:00
Stephen Smoogen
750c09b4c9 OK Lets put it all back like it was. Do we go back to old error? 2014-03-21 22:30:07 +00:00
Stephen Smoogen
bd1fb61391 Well I can only break it worse. 2014-03-21 22:16:19 +00:00
Stephen Smoogen
5a056c05f0 Hey lets see if this fixes the stuff I broke. 2014-03-21 22:08:33 +00:00
Stephen Smoogen
e68eaf268e Hey lets see if this breaks stuff. 2014-03-21 21:59:56 +00:00
Aurélien Bompard
775df5a634 Mailman: also allow Arquillian 2014-03-21 21:29:15 +00:00
Aurélien Bompard
a1588faa10 Mailman: allow Apache to access the full-text index 2014-03-21 21:29:15 +00:00
Ralph Bean
6f64dc8195 Restart services here. 2014-03-21 18:30:56 +00:00
Ralph Bean
9c1a973c21 Use that new role. 2014-03-21 16:08:06 +00:00
Ralph Bean
cd4f128bc9 Whoops.. not a template. 2014-03-21 15:46:44 +00:00
Ralph Bean
47cea5b469 Add a role for collectd/fcomm-queue 2014-03-21 15:32:28 +00:00
Ralph Bean
655d015200 Add some hosts to collectd which were not there before. 2014-03-21 13:46:16 +00:00
Ralph Bean
573454af79 Renamespace the collectd role to collectd/base 2014-03-21 13:46:06 +00:00
Stephen Smoogen
670dc663a2 make a playbook just to run rkhunter for boxes which didnt before 2014-03-20 20:10:40 +00:00
Miroslav Suchý
017df9ea44 [frontend] let apache log in default location 2014-03-20 13:47:03 +00:00
Miroslav Suchý
8ab71b2fbf check daily for left over VM of builders an remove them 2014-03-19 13:17:40 +00:00
Kevin Fenzi
eb01713605 Tweak syntax 2014-03-18 18:44:05 +00:00
Kevin Fenzi
ea462e26dd taskbot is taskotron 2014-03-18 01:20:46 +00:00
Tim Flink
c3707ce75c fixing httpd group for kickstart serving dir and moving httpd package installation to a more appropriate place 2014-03-17 21:58:04 +00:00
Kevin Fenzi
b4a4b3f70a Add hosts there. 2014-03-17 21:49:52 +00:00
Tim Flink
e9290ad137 fixing syntax error in with_items variable 2014-03-17 21:45:41 +00:00
Tim Flink
116b6456cc adding local git repository creation, ansible working directory and ks hosting directory to lockbox group playbook, required variables for lockbox-comm01.qa 2014-03-17 21:22:39 +00:00
Tim Flink
76c9a0d6d4 adding ansible config to ansible-server role 2014-03-17 21:21:04 +00:00
Kevin Fenzi
5c0005b7c4 Add rsyncd to a bunch of app servers so we can archive their logs. 2014-03-17 16:31:27 +00:00
Kevin Fenzi
38f0c628ba Kinda need xinetd as well. 2014-03-17 16:11:23 +00:00
Kevin Fenzi
36cc6f7cb1 Tweak service 2014-03-17 16:09:11 +00:00
Kevin Fenzi
eef86d5b91 These should be named default. 2014-03-17 16:06:51 +00:00
Kevin Fenzi
32119b6bc1 Add iptables rules for rsync for logs. 2014-03-17 16:02:47 +00:00
Kevin Fenzi
7316ef1ca3 Add a rsyncd role. For now just to sync logs to log02, but can be extended to download later. 2014-03-17 15:55:26 +00:00
Miroslav Suchý
6e0c36316b more s removing 2014-03-17 14:50:29 +00:00
Miroslav Suchý
1f87116909 make > works
addressing:
NOTIFIED: [concate ssl certs] *************************************************
failed: [209.132.184.142] => {"changed": true, "cmd": ["cat", "/etc/lighttpd/coprs-be.fedoraproject.org.key", "/etc/lighttpd/coprs-be.fedoraproject.org.crt", ">", "/etc/lighttpd/coprs-be.fedoraproject.org.pem"], "delta": "0:00:00.004867", "end": "2014-03-17 14:03:52.702756", "rc": 1, "start": "2014-03-17 14:03:52.697889"}
stderr: cat: >: No such file or directory
2014-03-17 14:15:39 +00:00
Miroslav Suchý
ae3d4ec14a more s removing 2014-03-17 14:11:43 +00:00
Miroslav Suchý
b29072d04b no s and the path should work
addressing:
TASK: [copy httpd ssl certificates] *******************************************
failed: [209.132.184.142] => (item=coprs-be.fedoraproject.org.key) => {"failed": true, "item": "coprs-be.fedoraproject.org.key"}
msg: could not find src=/var/lib/puppet/git/configs/secure/httpd/coprs-be.fedoraproject.org.key
failed: [209.132.184.142] => (item=coprs-be.fedoraproject.org.crt) => {"failed": true, "item": "coprs-be.fedoraproject.org.crt"}
msg: could not find src=/var/lib/puppet/git/configs/secure/httpd/coprs-be.fedoraproject.org.crt
2014-03-17 14:01:12 +00:00
Miroslav Suchý
c10cf5c31a revert b4288cd9d3 as ssl should be now ok 2014-03-17 13:53:00 +00:00
Miroslav Suchý
53afc0ba6c include common scripts
required for fedmsg
2014-03-17 13:38:20 +00:00
Kevin Fenzi
d6661af88c No pyflakes on el7 either yet 2014-03-15 18:35:32 +00:00
Kevin Fenzi
edb5a411b3 Fix fedora conditional. 2014-03-15 18:13:42 +00:00
Kevin Fenzi
7600552d5a Move packages not available on el7 out to their own play 2014-03-15 18:07:02 +00:00
Pierre-Yves Chibon
363a1f6c16 Add the EL7-beta builder to jenkins 2014-03-15 18:58:45 +01:00
Kevin Fenzi
bff8babaeb Just switch to with_first_found. 2014-03-15 17:48:46 +00:00
Kevin Fenzi
3c02ad10f5 Strange 2014-03-15 17:42:13 +00:00
Kevin Fenzi
67e8e879f9 Another attempt 2014-03-15 17:41:17 +00:00
Kevin Fenzi
4d8b4349f8 Hum. 2014-03-15 17:39:25 +00:00
Kevin Fenzi
e9c7518fc4 Oh yeah, no :s in debugs 2014-03-15 17:35:40 +00:00
Kevin Fenzi
7271053a57 Debug a bit 2014-03-15 17:34:48 +00:00
Kevin Fenzi
657ef06046 What happens if we do this? 2014-03-15 17:31:04 +00:00
Kevin Fenzi
8949120a8d Typo 2014-03-15 16:48:51 +00:00
Kevin Fenzi
15eae91b61 Add el7b jenkins builder, clean up image names, etc 2014-03-15 16:43:35 +00:00
Kevin Fenzi
aa550d22e1 Second volume on jenkins instance 2014-03-15 16:26:36 +00:00
Ralph Bean
4aa5b04eb3 Path fixes. 2014-03-14 20:08:26 +00:00
Ralph Bean
ab1e54e54c Add some nagios client configuration for the new packages03,4 nodes. 2014-03-14 19:44:56 +00:00
Ralph Bean
08f98b1159 Also, remove these from inventory. 2014-03-14 19:18:06 +00:00
Ralph Bean
31c4afd59c Remove references to the old fedora-packages nodes. 2014-03-14 19:15:10 +00:00
Ralph Bean
5c65c352da Copy over an icon too. 2014-03-14 18:59:59 +00:00
Ralph Bean
5033c42e7d Turns out there's an selinux boolean for that. 2014-03-14 18:35:17 +00:00
Ralph Bean
95bba586ed Throw in policycoreutils-python for old hosts that don't have semanage from the kickstart yet. 2014-03-14 15:59:20 +00:00
Ralph Bean
9102d7a199 Renamespace the notifs roles. 2014-03-14 15:53:53 +00:00
Ralph Bean
b7ecaf2b6f Renamespace the badges role. 2014-03-14 15:52:42 +00:00
Ralph Bean
b3c2147230 Also, fedmsg-hub. 2014-03-14 15:49:18 +00:00
Ralph Bean
edbc9b21cf Renamespace the fedmsg module. 2014-03-14 15:47:11 +00:00
Ralph Bean
cd9ecb0e8b Add a newline to test conditional restart. 2014-03-14 15:36:14 +00:00
Ralph Bean
fb6ee8bd49 Try out this conditional restart stuff. 2014-03-14 15:30:32 +00:00
Ralph Bean
38126d44e5 Add a script to query selinux status of our inventory. 2014-03-14 14:35:33 +00:00
Ralph Bean
ea26aa434a Sigh.. point fedora-packages staging at pkgdb prod. 2014-03-14 14:21:59 +00:00
Ralph Bean
c327063a62 selinux fiddling. 2014-03-13 19:14:30 +00:00
Ralph Bean
2847eda4dd There is something wonky in the ansible directory logic here. 2014-03-13 19:08:36 +00:00
Ralph Bean
1f61dad229 Selinux stuff for fedora-packages. 2014-03-13 19:04:24 +00:00
Ralph Bean
9b5743fa91 This actually takes a hojillion years. 2014-03-13 18:48:57 +00:00
Ralph Bean
d7f9e610c8 A playbook for rebuilding the fedora-packages xapian search index. 2014-03-13 16:48:59 +00:00
Ralph Bean
8057e2231e Have staging fedora-packages actually slurp its build list from prod. 2014-03-13 16:27:51 +00:00
Ralph Bean
63c04540e8 Only try to mount the gluster dir if it doesn't already exist. Weird. 2014-03-13 15:59:22 +00:00
Ralph Bean
340455d65d Add hosts files for the new fedora-packages nodes. 2014-03-13 15:37:16 +00:00
Pierre-Yves Chibon
7f0589cf2c Move fedocal.wsgi to /var/www
This so that it does not conflict with the .wsgi file installed by
the RPM, so when we update the fedocal package we don't have to
re-run the complete playbook, restarting apache is enough
2014-03-13 16:01:52 +01:00
Pierre-Yves Chibon
e330f794ca Adjust task description to what the task does 2014-03-13 15:58:07 +01:00
Ralph Bean
0391c56cfd Beef up the new packages nodes to match the existing ones. 2014-03-13 13:32:04 +00:00
Ralph Bean
a86f60f6f1 Juggle some stuff in the packages role. 2014-03-13 13:32:04 +00:00
Kevin Fenzi
6ca7454715 More inventory tweaking 2014-03-13 00:54:14 +00:00
Kevin Fenzi
62f334cefc Update inventory 2014-03-13 00:23:46 +00:00
Ralph Bean
4d785e5f38 Syntax error.. 2014-03-12 21:04:33 +00:00
Ralph Bean
ea29d4887e Really, this should happen last. 2014-03-12 21:03:38 +00:00
Ralph Bean
aacd92b220 Split up gluster so that restart can happen inbetween. 2014-03-12 21:03:02 +00:00
Ralph Bean
51d941bab3 These should not be readable. 2014-03-12 20:55:25 +00:00
Ralph Bean
4cafa55c97 Open a port for glusterd. 2014-03-12 20:53:16 +00:00
Ralph Bean
2d8c481b0c Also, this. 2014-03-12 20:30:58 +00:00
Ralph Bean
3454717036 Setup gluster for fedora-packages new prod nodes, maybe? 2014-03-12 20:27:13 +00:00
Stephen Smoogen
49cb6d0bf8 a job to remove postfix not-so-zombie undead processes 2014-03-12 20:22:56 +00:00
Ralph Bean
f8fb27b666 Add the indexer configuration for new fedora-packages nodes. 2014-03-12 19:00:39 +00:00
Ralph Bean
f0e82d53af fedora-packages role 2014-03-12 18:44:30 +00:00
Kevin Fenzi
c00ab836f6 Drop local yum ansible module to test something. 2014-03-12 17:20:41 +00:00
Luke Macken
5bf9f736c1 Tag the bodhi matchpathcon command with 'config' to be consistent 2014-03-11 18:48:12 +00:00
Luke Macken
d9f82bdd7f Set the SELinux context of /var/tmp/bodhi-bz.cookie to httpd_tmp_t 2014-03-11 18:41:58 +00:00
Ralph Bean
1ca82167e0 Correct a typo in the packages03.stg host_vars file. 2014-03-11 18:36:29 +00:00
Ralph Bean
f9b650e43d Declare fedmsg certs for the new packages nodes. 2014-03-11 16:31:59 +00:00
Pierre-Yves Chibon
18ed279955 Comment out the packages01 and 02 for the moment 2014-03-11 17:22:45 +01:00
Ralph Bean
b59f049b32 playbook skeleton for the fedora-packages group. 2014-03-11 16:20:29 +00:00
Pierre-Yves Chibon
7b846b3b26 Add packages03 and 04 to the packages group and packages03.stg to packages-stg group 2014-03-11 17:19:44 +01:00
Pierre-Yves Chibon
100fef7a1f Update the packages group_vars to be more classic 2014-03-11 17:16:46 +01:00
Ralph Bean
c9fed9ac88 host_vars for the new fedora-packages nodes. 2014-03-11 16:16:07 +00:00
Pierre-Yves Chibon
2f214fbdda Add the packages-stg group_vars 2014-03-11 17:14:30 +01:00
Pierre-Yves Chibon
c91d623cb1 Fix the static folder 2014-03-10 20:46:13 +01:00
Pierre-Yves Chibon
0d22fb78f5 Fix the variable names in the alembic.ini of pkgdb2 2014-03-10 20:13:47 +01:00
Pierre-Yves Chibon
91e5fa6362 There are two files to fix... 2014-03-10 20:10:36 +01:00
Pierre-Yves Chibon
0eb6156492 Use the Third party user to connect to FAS and use fas.stg in stg 2014-03-10 20:06:30 +01:00
Pierre-Yves Chibon
cbd71c0156 Add pkgdb01.stg in the staging group 2014-03-10 19:16:20 +01:00
Pierre-Yves Chibon
df2763a613 The role is pkgdb2 not pkgdb 2014-03-10 19:14:50 +01:00
Pierre-Yves Chibon
fc2e48c4c9 Add first work on the pkgdb2 playbook and role 2014-03-10 19:12:22 +01:00
Pierre-Yves Chibon
e851ba528e Add hosts files for the pkgdb2 hosts 2014-03-10 18:51:35 +01:00
Ralph Bean
aaf6e48462 It just needs to exist with those perms. 2014-03-10 17:29:28 +00:00
Ralph Bean
194a7f8061 file expects dest, not path.. maybe? 2014-03-10 17:23:10 +00:00
Kevin Fenzi
6239babc5f Revert "Add smtp check for smtp-mm machines."
This reverts commit 79a60f2ffb.
2014-03-10 17:17:34 +00:00
Kevin Fenzi
3fab742355 Revert "Add config for check_smtp nrpe check"
This reverts commit ead7e91667.
2014-03-10 17:17:29 +00:00
Kevin Fenzi
ead7e91667 Add config for check_smtp nrpe check 2014-03-10 16:58:31 +00:00
Kevin Fenzi
79a60f2ffb Add smtp check for smtp-mm machines. 2014-03-10 16:40:02 +00:00
Pierre-Yves Chibon
96c7c81e9d Add group_vars and host_vars for pkgdb hosts 2014-03-10 17:07:47 +01:00
Ralph Bean
fdd13438e8 Two new fas badges. 2014-03-10 15:53:50 +00:00
Pierre-Yves Chibon
732ce7bd59 Add the pkgdb hosts 2014-03-10 15:45:00 +00:00
Pierre-Yves Chibon
99bf4903eb The pkgdb group should contain pkgdb hosts, pkgs is in pkgs 2014-03-10 15:43:37 +00:00
Ralph Bean
9187e936a6 Fix incorrect volgroup for tagger prod nodes. 2014-03-10 15:24:37 +00:00
Ralph Bean
4f5a36a9c4 Fix a fedoauth typo for staging. 2014-03-10 15:16:19 +00:00
Ralph Bean
870ff71cda Oh.. its a dict. This should do it. 2014-03-07 22:02:14 +00:00
Kevin Fenzi
9a540a7e5f Set the right selinux context on the bodhi bz cookie file 2014-03-07 21:44:23 +00:00
Ralph Bean
d853ff6f60 fedmsg config changes for tagger on new nodes. 2014-03-07 21:38:41 +00:00
Ralph Bean
2cc6cb4bc4 Other tagger things. 2014-03-07 21:12:31 +00:00
Kevin Fenzi
374b3c0213 So long openid01/02. Thanks for your service. 2014-03-07 21:01:35 +00:00
Ralph Bean
c56bf536c6 /etc/hosts entry for tagger_db 2014-03-07 21:00:53 +00:00
Ralph Bean
7eead0cc5b host_var for installing the tagger cronjob. 2014-03-07 21:00:35 +00:00
Ralph Bean
77206ad366 Include handlers for tagger. 2014-03-07 20:51:27 +00:00
Ralph Bean
f65142fdde Trying out a tagger role. 2014-03-07 20:41:36 +00:00
Luke Macken
f8213302ba Add /etc/hosts files for bodhi01 and bodhi02 2014-03-07 18:51:50 +00:00
Kevin Fenzi
08c90dc108 No need for hfs kmod on ppc 2014-03-07 17:42:40 +00:00
Ralph Bean
a9e1c949a1 Add bodhi01,2 to the fedmsg routing policy. 2014-03-07 15:51:26 +00:00
Ralph Bean
3c2c1d7e31 Move the fedmsg routing_policy into its own file just like we have in the puppet repo. 2014-03-07 15:47:09 +00:00
Ralph Bean
bd7ddf1184 Add bodhi02 to the fedmsg endpoints list. 2014-03-07 15:43:47 +00:00
Luke Macken
16a16f0128 Add bodhi02 to the fedmsg ssl.py 2014-03-05 21:43:41 +00:00
Kevin Fenzi
058b9b22ee Drop 2 of the 3 duplicate fedocal01.stg 2014-03-05 16:53:18 +00:00
Ralph Bean
ff89cb7831 Start adding new nodes for tagger. 2014-03-05 16:28:49 +00:00
Kevin Fenzi
a02183f703 Space, the final frontier 2014-03-04 19:48:17 +00:00
Kevin Fenzi
6b625f7d8c We should default to bastion as relayhost here. 2014-03-04 19:45:59 +00:00
Kevin Fenzi
e3f29de73e Fix volume group 2014-03-04 18:52:41 +00:00
Kevin Fenzi
7344502d02 Also update the is_fedora use 2014-03-04 18:49:00 +00:00
Kevin Fenzi
f927b0d907 Update this to use 'is defined' 2014-03-04 18:47:58 +00:00
Kevin Fenzi
8426c1d603 Revert "Is this a bool?"
This reverts commit 5f7adb7541.
2014-03-04 18:43:34 +00:00
Kevin Fenzi
5f7adb7541 Is this a bool? 2014-03-04 18:42:31 +00:00
Ralph Bean
5ef18adff1 Copy-pasta typo. 2014-03-04 18:36:55 +00:00
Kevin Fenzi
a6c0087034 Adjust this openvpn thing 2014-03-04 18:35:14 +00:00
Ralph Bean
d999ac12ff Actually, every other day is fine. 2014-03-04 18:35:07 +00:00
Ralph Bean
3981351bac Only run this cronjob once a day. 2014-03-04 18:34:10 +00:00
Ralph Bean
534e7e93f8 Add cache information for the badges backend. 2014-03-04 18:31:59 +00:00
Kevin Fenzi
c0e4d0705a Fix volume group 2014-03-04 17:43:17 +00:00
Pierre-Yves Chibon
59e309053e Restrict the fedocal cron job on fedocal02 and fedocal01.stg 2014-03-04 18:28:18 +01:00
Ralph Bean
7f0daf0108 Add the dg nodes to the staging list. they were forgotten. 2014-03-04 16:50:44 +00:00
Pierre-Yves Chibon
682fbe86e9 Specify the APP_URL in fedocal, and different for stg and prod 2014-03-04 13:14:05 +01:00
Pierre-Yves Chibon
68ccfbf89b Change yum clean expired-cache to yum clean all 2014-03-04 11:09:40 +01:00
Kevin Fenzi
d8a302bec0 comma comma 2014-03-04 00:57:23 +00:00
Kevin Fenzi
7b881308fb Fix up groups 2014-03-04 00:40:17 +00:00
Kevin Fenzi
148e644647 Use correct main.cf for smtp-mm 2014-03-04 00:32:51 +00:00
Kevin Fenzi
afc2c7cd09 No need to run iptables as a task, it's in base. 2014-03-04 00:22:38 +00:00
Kevin Fenzi
d76240de1d Don't need to redo this as there's a handler for it. 2014-03-04 00:17:24 +00:00
Kevin Fenzi
cab63ff16b Try cleaning this up some. 2014-03-04 00:08:48 +00:00
Kevin Fenzi
fcbc5ddd46 Collectd is now a role. 2014-03-03 20:10:49 +00:00
Kevin Fenzi
ba984fcb0b Fix inventory 2014-03-03 20:00:33 +00:00
Kevin Fenzi
a93685dadb This is on 02 2014-03-03 19:59:38 +00:00
Kevin Fenzi
ead7662594 Migrate smtp-mm machines over to ansible. Ticket 4219. Thanks janeznemanic! 2014-03-03 19:51:44 +00:00
Ralph Bean
98c6f2ed59 Move nuancier+fedmsg semanage port stuff over to the base fedmsg module. 2014-03-03 17:02:58 +00:00
Ralph Bean
dc9e28cd43 Update fedmsg selinux module to allow new logging stuff. 2014-03-03 16:49:34 +00:00
2043 changed files with 85612 additions and 3764 deletions

8
README
View File

@@ -81,7 +81,7 @@ m1.builder 5120 50 3
Setting up a new persistent cloud host:
1. select an ip:
source /srv/private/ansible/files/openstack/persistent-admin/ec2rc.sh
euca-describe-addresses
oeuca-describe-addresses
- pick an ip from the list that is not assigned anywhere
- add it into dns - normally in the cloud.fedoraproject.org but it doesn't
have to be
@@ -114,9 +114,9 @@ Contents should look like this (remove all the comments)
---
# 2cpus, 3GB of ram 20GB of ephemeral space
instance_type: m1.large
# image id
image: emi-B8793915
keypair: fedora-admin
# image id - see global vars. You can also use euca-describe-images to find other images as well
image: "{{ el6_qcow_id }}"
keypair: fedora-admin-20130801
# what security group to add the host to
security_group: webserver
zone: fedoracloud

View File

@@ -34,7 +34,7 @@ def getlogin():
class CallbackModule(object):
""" Publish playbook starts and stops to fedmsg. """
playbook = None
playbook_path = None
def __init__(self):
config = fedmsg.config.load_config()
@@ -43,7 +43,14 @@ class CallbackModule(object):
cert_prefix='shell',
active=True,
))
fedmsg.init(**config)
# It seems like recursive playbooks call this over and over again and
# fedmsg doesn't like to be initialized more than once. So, here, just
# catch that and ignore it.
try:
fedmsg.init(**config)
except ValueError:
pass
def playbook_on_play_start(self, pattern):
# This gets called once for each play.. but we just issue a message once
@@ -57,7 +64,7 @@ class CallbackModule(object):
if play.playbook.check:
return
if not self.playbook:
if not self.playbook_path:
fedmsg.publish(
modname="ansible", topic="playbook.start",
msg=dict(
@@ -69,17 +76,17 @@ class CallbackModule(object):
check=play.playbook.check,
),
)
self.playbook = path
self.playbook_path = path
def playbook_on_stats(self, stats):
if not self.playbook:
if not self.playbook_path:
return
results = dict([(h, stats.summarize(h)) for h in stats.processed])
fedmsg.publish(
modname="ansible", topic="playbook.complete",
msg=dict(
playbook=self.playbook,
playbook=self.playbook_path,
userid=getlogin(),
results=results,
),

View File

@@ -92,7 +92,7 @@ class LogMech(object):
res['task_args'] = task.module_args
if self.playbook_id == 'ansible-cmd':
res['task_userid'] = getlogin()
for k in ("delegate_to", "environment", "first_available_file",
for k in ("delegate_to", "environment", "with_first_found",
"local_action", "notified_by", "notify",
"register", "sudo", "sudo_user", "tags",
"transport", "when"):

View File

@@ -0,0 +1,40 @@
import time
class CallbackModule(object):
"""
A plugin for timing tasks
"""
def __init__(self):
self.stats = {}
self.current = None
def playbook_on_task_start(self, name, is_conditional):
"""
Logs the start of each task
"""
if self.current is not None:
# Record the running time of the last executed task
self.stats[self.current] = time.time() - self.stats[self.current]
# Record the start time of the current task
self.current = name
self.stats[self.current] = time.time()
def playbook_on_stats(self, stats):
"""
Prints the timings
"""
# Record the timing of the very last task
if self.current is not None:
self.stats[self.current] = time.time() - self.stats[self.current]
# Sort the tasks by their running time
results = sorted(self.stats.items(), key=lambda value: value[1], reverse=True)
# Just keep the top 10
results = results[:10]
# Print the timings
for name, elapsed in results:
print "{0:-<70}{1:->9}".format('{0} '.format(name), ' {0:.02f}s'.format(elapsed))

View File

@@ -0,0 +1,21 @@
pam_url:
{
settings:
{
url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch
returncode = "OK"; # The remote script/cgi should return a 200 http code and this string as its only results
userfield = "user"; # userfield name to send
passwdfield = "token"; # passwdfield name to send
extradata = "&do=login"; # extradata to send
prompt = "Password+Token: "; # password prompt
};
ssl:
{
verify_peer = true; # Should we verify SSL ?
verify_host = true; # Should we verify the CN in the SSL cert?
client_cert = "/etc/pki/tls/private/totpcgi.pem"; # file to use as client-side certificate
client_key = "/etc/pki/tls/private/totpcgi.pem"; # file to use as client-side key (can be same file as above if a single cert)
ca_cert = "/etc/pki/tls/private/totpcgi-ca.cert";
};
};

View File

@@ -0,0 +1,27 @@
pam_url:
{
settings:
{
{% if env == 'staging' %}
url = "https://fas-all.stg.phx2.fedoraproject.org:8443/"; # URI to fetch
{% elif datacenter == 'phx2' %}
url = "https://fas-all.phx2.fedoraproject.org:8443/"; # URI to fetch
{% else %}
url = "https://fas-all.vpn.fedoraproject.org:8443/"; # URI to fetch
{% endif %}
returncode = "OK"; # The remote script/cgi should return a 200 http code and this string as its only results
userfield = "user"; # userfield name to send
passwdfield = "token"; # passwdfield name to send
extradata = "&do=login"; # extradata to send
prompt = "Password+Token: "; # password prompt
};
ssl:
{
verify_peer = true; # Should we verify SSL ?
verify_host = true; # Should we verify the CN in the SSL cert?
client_cert = "/etc/pki/tls/private/totpcgi.pem"; # file to use as client-side certificate
client_key = "/etc/pki/tls/private/totpcgi.pem"; # file to use as client-side key (can be same file as above if a single cert)
ca_cert = "/etc/pki/tls/private/totpcgi-ca.cert";
};
};

20
files/common/epel7.repo Normal file
View File

@@ -0,0 +1,20 @@
[epel]
name=Extras Packages for Enterprise Linux $releasever - $basearch
baseurl=http://infrastructure.fedoraproject.org/pub/epel/7/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
[epel-testing]
name=Extras Packages for Enterprise Linux $releasever - $basearch
baseurl=http://infrastructure.fedoraproject.org/pub/epel/testing/7/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7
[epel-beta]
name=Extras Packages for Enterprise Linux beta $releasever - $basearch
baseurl=http://infrastructure.fedoraproject.org/pub/epel/beta/7/$basearch/
enabled=0
gpgcheck=1
gpgkey=http://infrastructure.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-7

View File

@@ -1,7 +1,7 @@
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/testing/$releasever/$basearch/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
@@ -10,7 +10,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/testing/$releasever/$basearch/debug/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
@@ -19,7 +19,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-testing-source]
name=Fedora $releasever - Test Updates Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/testing/$releasever/SRPMS/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/testing/$releasever/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1

View File

@@ -1,7 +1,7 @@
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/$releasever/$basearch/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
@@ -10,7 +10,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/$releasever/$basearch/debug/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/$releasever/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
@@ -19,7 +19,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/updates/$releasever/SRPMS/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/updates/$releasever/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1

View File

@@ -1,7 +1,7 @@
[fedora]
name=Fedora $releasever - $basearch
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/releases/$releasever/Everything/$basearch/os/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
enabled=1
metadata_expire=7d
@@ -11,7 +11,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/releases/$releasever/Everything/$basearch/debug/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
metadata_expire=7d
@@ -21,7 +21,7 @@ gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-$basearch
[fedora-source]
name=Fedora $releasever - Source
failovermethod=priority
baseurl=http://infrastructure.fedoraproject.org/pub/fedora-secondary/releases/$releasever/Everything/source/SRPMS/
baseurl=http://infrastructure.fedoraproject.org/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
#metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-source-$releasever&arch=$basearch
enabled=0
metadata_expire=7d

24
files/common/rhel7.repo Normal file
View File

@@ -0,0 +1,24 @@
[rhel7-dvd]
name = rhel7 base dvd
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/RHEL7-$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel7-base]
name = rhel7 base $basearch
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-7-server-rpms
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel7-optional]
name = rhel7 optional $basearch
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-7-server-optional-rpms
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel7-extras]
name = rhel7 extras $basearch
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-7-server-extras-rpms
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release
[rhel7-ha]
name = rhel7 ha $basearch
baseurl=http://infrastructure.fedoraproject.org/repo/rhel/rhel7/$basearch/rhel-ha-for-rhel-7-server-rpms/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release

28
files/copr/DigiCertCA.crt Normal file
View File

@@ -0,0 +1,28 @@
-----BEGIN CERTIFICATE-----
MIIEsTCCA5mgAwIBAgIQBOHnpNxc8vNtwCtCuF0VnzANBgkqhkiG9w0BAQsFADBs
MQswCQYDVQQGEwJVUzEVMBMGA1UEChMMRGlnaUNlcnQgSW5jMRkwFwYDVQQLExB3
d3cuZGlnaWNlcnQuY29tMSswKQYDVQQDEyJEaWdpQ2VydCBIaWdoIEFzc3VyYW5j
ZSBFViBSb290IENBMB4XDTEzMTAyMjEyMDAwMFoXDTI4MTAyMjEyMDAwMFowcDEL
MAkGA1UEBhMCVVMxFTATBgNVBAoTDERpZ2lDZXJ0IEluYzEZMBcGA1UECxMQd3d3
LmRpZ2ljZXJ0LmNvbTEvMC0GA1UEAxMmRGlnaUNlcnQgU0hBMiBIaWdoIEFzc3Vy
YW5jZSBTZXJ2ZXIgQ0EwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQC2
4C/CJAbIbQRf1+8KZAayfSImZRauQkCbztyfn3YHPsMwVYcZuU+UDlqUH1VWtMIC
Kq/QmO4LQNfE0DtyyBSe75CxEamu0si4QzrZCwvV1ZX1QK/IHe1NnF9Xt4ZQaJn1
itrSxwUfqJfJ3KSxgoQtxq2lnMcZgqaFD15EWCo3j/018QsIJzJa9buLnqS9UdAn
4t07QjOjBSjEuyjMmqwrIw14xnvmXnG3Sj4I+4G3FhahnSMSTeXXkgisdaScus0X
sh5ENWV/UyU50RwKmmMbGZJ0aAo3wsJSSMs5WqK24V3B3aAguCGikyZvFEohQcft
bZvySC/zA/WiaJJTL17jAgMBAAGjggFJMIIBRTASBgNVHRMBAf8ECDAGAQH/AgEA
MA4GA1UdDwEB/wQEAwIBhjAdBgNVHSUEFjAUBggrBgEFBQcDAQYIKwYBBQUHAwIw
NAYIKwYBBQUHAQEEKDAmMCQGCCsGAQUFBzABhhhodHRwOi8vb2NzcC5kaWdpY2Vy
dC5jb20wSwYDVR0fBEQwQjBAoD6gPIY6aHR0cDovL2NybDQuZGlnaWNlcnQuY29t
L0RpZ2lDZXJ0SGlnaEFzc3VyYW5jZUVWUm9vdENBLmNybDA9BgNVHSAENjA0MDIG
BFUdIAAwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cuZGlnaWNlcnQuY29tL0NQ
UzAdBgNVHQ4EFgQUUWj/kK8CB3U8zNllZGKiErhZcjswHwYDVR0jBBgwFoAUsT7D
aQP4v0cB1JgmGggC72NkK8MwDQYJKoZIhvcNAQELBQADggEBABiKlYkD5m3fXPwd
aOpKj4PWUS+Na0QWnqxj9dJubISZi6qBcYRb7TROsLd5kinMLYBq8I4g4Xmk/gNH
E+r1hspZcX30BJZr01lYPf7TMSVcGDiEo+afgv2MW5gxTs14nhr9hctJqvIni5ly
/D6q1UEL2tU2ob8cbkdJf17ZSHwD2f2LSaCYJkJA69aSEaRkCldUxPUd1gJea6zu
xICaEnL6VpPX/78whQYwvwt/Tv9XBZ0k7YXDK/umdaisLRbvfXknsuvCnQsH6qqF
0wGjIChBWUMo0oHjqvbsezt3tkBigAVBRQHvFwY+3sAzm2fTYS5yh+Rp/BIAV0Ae
cPUeybQ=
-----END CERTIFICATE-----

View File

@@ -2,12 +2,12 @@
# URL where are results visible
# default is http://copr
results_baseurl=http://copr-be.cloud.fedoraproject.org/results
results_baseurl=https://copr-be.cloud.fedoraproject.org/results
# ??? What is this
# default is http://coprs/rest/api
#frontend_url=http://copr-fe.cloud.fedoraproject.org/backend
frontend_url=http://172.16.5.6/backend
frontend_url=https://172.16.5.31/backend
# must have same value as BACKEND_PASSWORD from have frontend in /etc/copr/copr.conf
# default is PASSWORDHERE but you really should change it. really.
@@ -22,6 +22,8 @@ spawn_playbook=/home/copr/provision/builderpb.yml
# default is /etc/copr/terminate_playbook.yml
terminate_playbook=/home/copr/provision/terminatepb.yml
terminate_vars=vm_name
# directory where jobs are stored
# no defaults
jobsdir=/var/lib/copr/jobs
@@ -53,6 +55,25 @@ worker_logdir=/var/log/copr/workers/
#fedmsg_enabled=false
fedmsg_enabled=true
# minimum age for builds to be pruned
prune_days=14
# path to executable script to clean old build
prune_script=/usr/share/copr/copr_prune_old_builds.sh
# enable package signing, require configured
# signer host and correct /etc/sign.conf
do_sign={{ do_sign }}
# host or ip of machine with copr-keygen
# usually the same as in /etc/sign.conf
keygen_host={{ keygen_host }}
# Spawn builder in advance, before we get task?
# It save time, but consume resources even when
# nothing is in queue
spawn_in_advance={{ spawn_in_advance }}
[builder]
# default is 1800
timeout=3600

View File

@@ -51,6 +51,24 @@ worker_logdir=/var/log/copr/workers/
# default is false
#fedmsg_enabled=false
# minimum age for builds to be pruned
prune_days=14
# path to executable script to clean old build
prune_script=/usr/share/copr/copr_prune_old_builds.sh
# enable package signing, require configured
# signer host and correct /etc/sign.conf
do_sign={{ do_sign }}
# host or ip of machine with copr-keygen
# usually the same as in /etc/sign.conf
keygen_host={{ keygen_host }}
# Spawn builder in advance, before we get task?
# It save time, but consume resources even when
# nothing is in queue
spawn_in_advance={{ spawn_in_advance }}
[builder]
# default is 1800

View File

@@ -0,0 +1,5 @@
#!/usr/bin/bash
source /home/copr/cloud/ec2rc.sh
/home/copr/delete-forgotten-instances.pl

View File

@@ -0,0 +1,28 @@
#!/usr/bin/perl
# this scrip query for all running VM and terminate those
# which are not currently started by some ansible script
while (chomp($a = qx(ps ax |grep -v 'sh -c ps ax' |grep 'Task: ' | grep -v grep))) {
# we are starting some VM and could not determine correct list of running VMs
sleep 5;
}
#print qx(ps ax |grep ' 172.16.3.' |awk '{ print \$33 }');
@IPs = split('\s+', qx(ps ax |grep ' 172.16.3.' |awk '{ print \$33 }'));
#print "Running instances\n";
#print join(", ", @IPs), "\n";
for my $i (@IPs) {
$check{$i} = 1;
}
@instances = split('\n', qx(/bin/euca-describe-instances));
@TO_DELETE = ();
for my $i (@instances) {
my @COLUMNS = split('\s+', $i);
next if $COLUMNS[0] eq 'RESERVATION';
#print $COLUMNS[1], ", ", $COLUMNS[15], "\n";
push(@TO_DELETE, $COLUMNS[1]) unless $check{$COLUMNS[15]};
}
$id_merged = join(" ", @TO_DELETE);
qx|euca-terminate-instances $id_merged| if ($id_merged);

View File

@@ -3,15 +3,16 @@ DATA_DIR = '/var/lib/copr/data'
DATABASE = '/var/lib/copr/data/copr.db'
OPENID_STORE = '/var/lib/copr/data/openid_store'
WHOOSHEE_DIR = '/var/lib/copr/data/whooshee'
WHOSHEE_MIN_STRING_LEN = 2
SECRET_KEY = {{ copr_secret_key }}
BACKEND_PASSWORD = {{ copr_backend_password }}
SECRET_KEY = '{{ copr_secret_key }}'
BACKEND_PASSWORD = '{{ copr_backend_password }}'
# restrict access to a set of users
#USE_ALLOWED_USERS = False
#ALLOWED_USERS = ['bonnie', 'clyde']
SQLALCHEMY_DATABASE_URI = {{ copr_database_uri }}
SQLALCHEMY_DATABASE_URI = '{{ copr_database_uri }}'
# Token length, defaults to 30 (max 255)
#API_TOKEN_LENGTH = 30
@@ -28,3 +29,8 @@ SQLALCHEMY_ECHO = False
CSRF_ENABLED = True
WTF_CSRF_ENABLED = True
# send emails when user's perms change in project?
SEND_EMAILS = True
PUBLIC_COPR_HOSTNAME = '{{ copr_frontend_public_hostname }}'

View File

@@ -10,8 +10,8 @@ WSGISocketPrefix /var/run/wsgi
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
WSGIProcessGroup 127.0.0.1
ErrorLog logs/error_coprs
CustomLog logs/access_coprs common
#ErrorLog logs/error_coprs
#CustomLog logs/access_coprs common
<Directory /usr/share/copr>
WSGIApplicationGroup %{GLOBAL}
@@ -22,9 +22,10 @@ WSGISocketPrefix /var/run/wsgi
<VirtualHost *:443>
SSLEngine on
SSLProtocol all -SSLv2
#optimeize on speed
SSLCipherSuite RC4-SHA:AES128-SHA:HIGH:!aNULL:!MD5
# Use secure TLSv1.1 and TLSv1.2 ciphers
SSLCipherSuite ECDHE-RSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-SHA256:RC4-SHA:AES128-SHA:HIGH:!aNULL:!MD5
SSLHonorCipherOrder on
Header add Strict-Transport-Security "max-age=15768000"
SSLCertificateFile /etc/pki/tls/ca.crt
SSLCertificateKeyFile /etc/pki/tls/private/ca.key
@@ -35,8 +36,8 @@ WSGISocketPrefix /var/run/wsgi
WSGIScriptAlias / /usr/share/copr/coprs_frontend/application
WSGIProcessGroup 127.0.0.1
ErrorLog logs/error_coprs
CustomLog logs/access_coprs common
#ErrorLog logs/error_coprs
#CustomLog logs/access_coprs common
<Directory /usr/share/copr>
WSGIApplicationGroup %{GLOBAL}

View File

@@ -4,7 +4,7 @@ failovermethod=priority
#baseurl=http://copr-be.cloud.fedoraproject.org/results/msuchy/copr/fedora-19-x86_64/
# 172.16.5.4 is copr-be.cloud.fedoraproject.org
# see https://fedorahosted.org/fedora-infrastructure/ticket/4025
baseurl=http://172.16.5.4/results/msuchy/copr/fedora-19-x86_64/
baseurl=http://172.16.5.4/results/msuchy/copr/fedora-20-x86_64/
enabled=1
gpgcheck=0

3
files/copr/forward-dev Normal file
View File

@@ -0,0 +1,3 @@
msuchy+coprmachine@redhat.com
asamalik@redhat.com
vgologuz@redhat.com

7
files/copr/hosts Normal file
View File

@@ -0,0 +1,7 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
172.16.5.31 copr-fe.cloud.fedoraproject.org
172.16.5.31 copr.fedoraproject.org
172.16.5.4 copr-be.cloud.fedoraproject.org
172.16.5.5 copr-be-dev.cloud.fedoraproject.org
172.16.5.15 copr-fe-dev.cloud.fedoraproject.org

23
files/copr/keystonerc Normal file
View File

@@ -0,0 +1,23 @@
#!/bin/bash
# With the addition of Keystone, to use an openstack cloud you should
# authenticate against keystone, which returns a **Token** and **Service
# Catalog**. The catalog contains the endpoint for all services the
# user/tenant has access to - including nova, glance, keystone, swift.
#
# *NOTE*: Using the 2.0 *auth api* does not mean that compute api is 2.0. We
# will use the 1.1 *compute api*
export OS_AUTH_URL=http://172.23.0.2:5000/v2.0
# With the addition of Keystone we have standardized on the term **tenant**
# as the entity that owns the resources.
export OS_TENANT_ID={{ copr_tenant_id }}
export OS_TENANT_NAME="copr"
# In addition to the owning entity (tenant), openstack stores the entity
# performing the action as the **user**.
export OS_USERNAME=msuchy
# With Keystone you pass the keystone password.
export OS_PASSWORD={{ copr_nova_password }}

View File

@@ -448,8 +448,8 @@ server.upload-dirs = ( "/var/tmp" )
$SERVER["socket"] == ":443" {
ssl.engine = "enable"
ssl.pemfile = "/etc/lighttpd/coprs-be.fedoraproject.org.pem"
ssl.ca-file = "/etc/lighttpd/coprs-be.fedoraproject.org.crt"
ssl.pemfile = "/etc/lighttpd/copr-be.fedoraproject.org.pem"
ssl.ca-file = "/etc/lighttpd/DigiCertCA.crt"
ssl.disable-client-renegotiation = "enable"
ssl.cipher-list = "ECDHE-RSA-AES256-SHA384:AES256-SHA256:RC4-SHA:RC4:HIGH:!MD5:!aNULL:!EDH:!AESGCM"
}

View File

@@ -88,6 +88,6 @@ record_host_keys=False
# will result in poor performance, so use transport=paramiko on older platforms rather than
# removing it
ssh_args=-o PasswordAuthentication=no -o ControlMaster=auto -o ControlPersist=60s -o ControlPath=/tmp/ansible-ssh-%h-%p-%r
ssh_args=-o PasswordAuthentication=no -o ControlMaster=auto -o ControlPersist=60s

View File

@@ -1,3 +1,4 @@
#jinja2:variable_start_string:'[%' , variable_end_string:'%]'
---
- name: check/create instance
hosts: localhost
@@ -5,30 +6,37 @@
gather_facts: False
vars:
- keypair: buildsys
- image: ami-0000000e
- instance_type: m1.builder
- security_group: builder
- OS_AUTH_URL: http://172.23.0.2:5000/v2.0
- OS_TENANT_NAME: copr
- OS_USERNAME: msuchy
- OS_PASSWORD: [% copr_nova_password %]
# rhel 6.4 2013-02-21 x86_64 - ami
- image_id: cba0c766-84ac-4048-b0f5-6d4000af62f8
tasks:
- name: spin it up
local_action: ec2 keypair={{ keypair }} image={{ image }} type={{ instance_type }} wait=true group={{ security_group }}
register: inst_res
- name: generate builder name
local_action: command echo "Copr builder {{ 999999999 | random }}"
register: vm_name
- name: get its internal ip b/c openstack is sometimes stupid
local_action: shell euca-describe-instances {{ inst_res.instances[0].id }} | grep INSTANCE | cut -f 18
register: int_ip
- name: spin it up
local_action: nova_compute auth_url={{OS_AUTH_URL}} flavor_id=6 image_id={{ image_id }} key_name=buildsys login_password={{OS_PASSWORD}} login_tenant_name={{OS_TENANT_NAME}} login_username={{OS_USERNAME}} security_groups={{security_group}} wait=yes name="{{vm_name.stdout}}"
register: nova
# should be able to use nova.private_ip, but it does not work with Fedora Cloud.
- debug: msg="IP={{ nova.info.addresses.vlannet_3[0].addr }}"
- debug: msg="vm_name={{vm_name.stdout}}"
- name: add it to the special group
local_action: add_host hostname={{ int_ip.stdout }} groupname=builder_temp_group
local_action: add_host hostname={{ nova.info.addresses.vlannet_3[0].addr }} groupname=builder_temp_group
- name: wait for the host to be hot
local_action: wait_for host={{ int_ip.stdout }} port=22 delay=5 timeout=600
- debug: msg="IP={{ int_ip.stdout }}"
local_action: wait_for host={{ nova.info.addresses.vlannet_3[0].addr }} port=22 delay=5 timeout=600
- hosts: builder_temp_group
user: root
gather_facts: False
vars:
- files: files/
@@ -56,9 +64,16 @@
- mock
- createrepo
- yum-utils
- pyliblzma
- name: make sure newest rpm
action: yum name=rpm state=latest
action: yum name={{ item }} state=latest
with_items:
- rpm
- glib2
- ca-certificates
- yum: name=mock enablerepo=epel-testing state=latest
- name: mockbuilder user
action: user name=mockbuilder groups=mock
@@ -79,3 +94,4 @@
- fedora-20-i386.cfg
- epel-7-x86_64.cfg
- lineinfile: dest=/root/.bashrc line="ulimit -n 10240" insertafter=EOF

View File

@@ -1,28 +1,16 @@
config_opts['chroothome'] = '/builddir'
config_opts['basedir'] = '/var/lib/mock'
config_opts['root'] = 'epel-7-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'install bash bzip2 coreutils cpio diffutils findutils gawk gcc gcc-c++ grep gzip info make patch redhat-release-server redhat-rpm-config rpm-build sed shadow-utils tar unzip util-linux which xz'
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
config_opts['dist'] = 'el7' # only useful for --resultdir variable subst
config_opts['macros'] = {}
config_opts['macros']['%dist'] = '.el7'
config_opts['macros']['%rhel'] = '7'
config_opts['macros']['%el7'] = '1'
config_opts['macros']['%_topdir'] = '/builddir/build'
config_opts['macros']['%_rpmfilename'] = '%%{NAME}-%%{VERSION}-%%{RELEASE}.%%{ARCH}.rpm'
config_opts['releasever'] = '7'
config_opts['plugin_conf']['root_cache_enable'] = False
config_opts['plugin_conf']['yum_cache_enable'] = False
config_opts['plugin_conf']['ccache_enable'] = False
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
logfile=/var/log/yum.log
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
@@ -31,15 +19,42 @@ syslog_ident=mock
syslog_device=
# repos
[base]
name=BaseOS
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os
failovermethod=priority
[beta]
name=beta
baseurl=http://ftp.redhat.com/redhat/rhel/beta/7/x86_64/os/
[updates]
name=updates
enabled=1
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=updates
failovermethod=priority
[epel]
name=Extra Packages for Enterprise Linux 7 - $basearch
#baseurl=http://download.fedoraproject.org/pub/epel/7/$basearch
mirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-7&arch=$basearch
name=epel
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-7&arch=x86_64
failovermethod=priority
enabled=1
[extras]
name=extras
mirrorlist=http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=extras
failovermethod=priority
[testing]
name=epel-testing
enabled=0
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel7&arch=x86_64
failovermethod=priority
[local]
name=local
baseurl=http://kojipkgs.fedoraproject.org/repos/epel7-build/latest/x86_64/
cost=2000
enabled=0
[epel-debug]
name=epel-debug
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=epel-debug-7&arch=x86_64
failovermethod=priority
enabled=0
"""

View File

@@ -0,0 +1,63 @@
config_opts['root'] = 'fedora-21-i386'
config_opts['target_arch'] = 'i686'
config_opts['legal_host_arches'] = ('i386', 'i586', 'i686', 'x86_64')
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
config_opts['dist'] = 'fc21' # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['releasever'] = '21'
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[fedora]
name=fedora
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
failovermethod=priority
[updates]
name=updates
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
failovermethod=priority
[updates-testing]
name=updates-testing
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
[local]
name=local
baseurl=http://kojipkgs.fedoraproject.org/repos/f21-build/latest/i386/
cost=2000
enabled=0
[fedora-debuginfo]
name=fedora-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
failovermethod=priority
enabled=0
[updates-debuginfo]
name=updates-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
[updates-testing-debuginfo]
name=updates-testing-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
"""

View File

@@ -0,0 +1,63 @@
config_opts['root'] = 'fedora-21-x86_64'
config_opts['target_arch'] = 'x86_64'
config_opts['legal_host_arches'] = ('x86_64',)
config_opts['chroot_setup_cmd'] = 'install @buildsys-build'
config_opts['dist'] = 'fc21' # only useful for --resultdir variable subst
config_opts['extra_chroot_dirs'] = [ '/run/lock', ]
config_opts['releasever'] = '21'
config_opts['yum.conf'] = """
[main]
cachedir=/var/cache/yum
debuglevel=1
reposdir=/dev/null
logfile=/var/log/yum.log
retries=20
obsoletes=1
gpgcheck=0
assumeyes=1
syslog_ident=mock
syslog_device=
# repos
[fedora]
name=fedora
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-$releasever&arch=$basearch
failovermethod=priority
[updates]
name=updates
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-f$releasever&arch=$basearch
failovermethod=priority
[updates-testing]
name=updates-testing
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
[local]
name=local
baseurl=http://kojipkgs.fedoraproject.org/repos/f21-build/latest/x86_64/
cost=2000
enabled=0
[fedora-debuginfo]
name=fedora-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=fedora-debug-$releasever&arch=$basearch
failovermethod=priority
enabled=0
[updates-debuginfo]
name=updates-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-released-debug-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
[updates-testing-debuginfo]
name=updates-testing-debuginfo
metalink=https://mirrors.fedoraproject.org/metalink?repo=updates-testing-debug-f$releasever&arch=$basearch
failovermethod=priority
enabled=0
"""

View File

@@ -57,7 +57,7 @@
# NOTE: Some of the caching options can theoretically affect build
# reproducability. Change with care.
#
config_opts['plugin_conf']['package_state_enable'] = True
config_opts['plugin_conf']['package_state_enable'] = False
# config_opts['plugin_conf']['ccache_enable'] = True
# config_opts['plugin_conf']['ccache_opts']['max_cache_size'] = '4G'
# config_opts['plugin_conf']['ccache_opts']['compress'] = None

View File

@@ -1,16 +1,18 @@
#jinja2:variable_start_string:'[%' , variable_end_string:'%]'
---
- name: terminate instance
hosts: all
user: root
gather_facts: False
vars:
- OS_AUTH_URL: http://172.23.0.2:5000/v2.0
- OS_TENANT_NAME: copr
- OS_USERNAME: msuchy
- OS_PASSWORD: [% copr_nova_password %]
tasks:
- name: find the instance id from the builder
action: command curl -s http://169.254.169.254/latest/meta-data/instance-id
register: instanceid
- name: terminate it
local_action: command euca-terminate-instances {{ instanceid.stdout }}
local_action: nova_compute auth_url={{OS_AUTH_URL}} login_password={{OS_PASSWORD}} login_tenant_name={{OS_TENANT_NAME}} login_username={{OS_USERNAME}} name="{{copr_task.vm_name}}" state=absent

View File

@@ -0,0 +1,3 @@
# run twice daily rsync of download. but lock it
MAILTO=smooge@gmail.com
00 11,23 * * * root /usr/local/bin/lock-wrapper sync-up-downloads "/usr/local/bin/sync-up-downloads"

View File

@@ -0,0 +1,27 @@
#!/bin/bash
##
## This script is used to sync data from main download servers to
## secondary server at ibiblio.
##
RSYNC='/usr/bin/rsync'
RS_OPT="-avSHP --numeric-ids"
RS_DEADLY="--delete --delete-excluded --delete-delay --delay-updates"
ALT_EXCLUDES="--exclude deltaisos/archive --exclude 21_Alpha* --exclude 21-Alpha* --exclude 21_Beta* --exclude=F21a-TC1"
EPL_EXCLUDES=""
FED_EXCLUDES=""
SERVER=dl.fedoraproject.org
# http://dl.fedoraproject.org/pub/alt/stage/
${RSYNC} ${RS_OPT} ${RS_DEADLY} ${ALT_EXCLUDES} ${SERVER}::fedora-alt/stage/ /srv/pub/alt/stage/ | tail -n2 | logger -p local0.notice -t rsync_updates_alt_stg
# http://dl.fedoraproject.org/pub/alt/bfo/
${RSYNC} ${RS_OPT} ${RS_DEADLY} ${ALT_EXCLUDES} ${SERVER}::fedora-alt/bfo/ /srv/pub/alt/bfo/ | tail -n2 | logger -p local0.notice -t rsync_updates_alt_bfo
# http://dl.fedoraproject.org/pub/epel/
${RSYNC} ${RS_OPT} ${RS_DEADLY} ${EPL_EXCLUDES} ${SERVER}::fedora-epel/ /srv/pub/epel/ | tail -n2 | logger -p local0.notice -t rsync_updates_epel
# http://dl.fedoraproject.org/pub/fedora/
${RSYNC} ${RS_OPT} ${RS_DEADLY} ${FED_EXCLUDES} ${SERVER}::fedora-enchilada0/ /srv/pub/fedora/ | tail -n2 | logger -p local0.notice -t rsync_updates_fedora
# Let MM know I'm all up to date
#/usr/bin/report_mirror

View File

@@ -0,0 +1 @@
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCfk627wDgkJisjGl4RbrUS457WoPdSate1vzgZXApQeAkTG9LLEstAEyThphnJZzDWRYceId+DqZvyrwZttB6Tfptwqs9qwW60HelSVtvq6RDoiQO5yB1ffbeelM6ci5spvzA0b8llUmYpDlCmrbv/or5IXtO9ScAxK7S6Pp2XQYyHJepEclCqfUkmgOXqnoFPFhKhIdaNe7wXCDKnjHSL0HLQmpTREbJ98HNexI76DMdiuG+II7m42XbfToHZtDrsUfd5HGyWLqUWqFfLFoFSSrARE7Aqa2cS1zrLdKHTFnDitBezNeb2J4Go3/23bHe58LV8RfPdIQG9Z8hqYiD9 root@fed-cloud09.cloud.fedoraproject.org

13
files/fedora-cloud/hosts Normal file
View File

@@ -0,0 +1,13 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
# http://docs.openstack.org/trunk/install-guide/install/yum/content/basics-neutron-networking-controller-node.html
# controller
{{ controller_public_ip }} controller
# network
{{ network_public_ip }} network
# compute1
# compute1_public_ip compute1

View File

@@ -0,0 +1,9 @@
DEVICE=br-ex
DEVICETYPE=ovs
TYPE=OVSBridge
BOOTPROTO=static
IPADDR={{ network_public_ip }}
NETMASK={{ public_netmask }} # your netmask
GATEWAY={{ public_gateway_ip }} # your gateway
DNS1={{ public_dns }} # your nameserver
ONBOOT=yes

View File

@@ -0,0 +1,5 @@
export OS_USERNAME=msuchy
export OS_TENANT_NAME=copr
export OS_PASSWORD=TBD
export OS_AUTH_URL=http://209.132.184.9:5000/v2.0/
export PS1='[\u@\h \W(keystone_msuchy)]\$ '

View File

@@ -0,0 +1,4 @@
[client]
host=localhost
user=root
password={{ DBPASSWORD }}

View File

@@ -0,0 +1,502 @@
[general]
# Path to a Public key to install on servers. If a usable key has not
# been installed on the remote servers the user will be prompted for a
# password and this key will be installed so the password will not be
# required again
CONFIG_SSH_KEY=/root/.ssh/id_rsa.pub
# Set to 'y' if you would like Packstack to install MySQL
CONFIG_MARIADB_INSTALL=y
# Set to 'y' if you would like Packstack to install OpenStack Image
# Service (Glance)
CONFIG_GLANCE_INSTALL=y
# Set to 'y' if you would like Packstack to install OpenStack Block
# Storage (Cinder)
CONFIG_CINDER_INSTALL=y
# Set to 'y' if you would like Packstack to install OpenStack Compute
# (Nova)
CONFIG_NOVA_INSTALL=y
# Set to 'y' if you would like Packstack to install OpenStack
# Networking (Neutron)
CONFIG_NEUTRON_INSTALL=y
# Set to 'y' if you would like Packstack to install OpenStack
# Dashboard (Horizon)
CONFIG_HORIZON_INSTALL=y
# Set to 'y' if you would like Packstack to install OpenStack Object
# Storage (Swift)
CONFIG_SWIFT_INSTALL=y
# Set to 'y' if you would like Packstack to install OpenStack
# Metering (Ceilometer)
CONFIG_CEILOMETER_INSTALL=y
# Set to 'y' if you would like Packstack to install OpenStack
# Orchestration (Heat)
CONFIG_HEAT_INSTALL=n
# Set to 'y' if you would like Packstack to install the OpenStack
# Client packages. An admin "rc" file will also be installed
CONFIG_CLIENT_INSTALL=y
# Comma separated list of NTP servers. Leave plain if Packstack
# should not install ntpd on instances.
CONFIG_NTP_SERVERS=
# Set to 'y' if you would like Packstack to install Nagios to monitor
# OpenStack hosts
CONFIG_NAGIOS_INSTALL=n
# Comma separated list of servers to be excluded from installation in
# case you are running Packstack the second time with the same answer
# file and don't want Packstack to touch these servers. Leave plain if
# you don't need to exclude any server.
EXCLUDE_SERVERS=
# Set to 'y' if you want to run OpenStack services in debug mode.
# Otherwise set to 'n'.
CONFIG_DEBUG_MODE=n
# Set to 'y' if you want to use VMware vCenter as hypervisor and
# storageOtherwise set to 'n'.
CONFIG_VMWARE_BACKEND=n
# The IP address of the server on which to install MySQL
CONFIG_MARIADB_HOST={{ controller_public_ip }}
# Username for the MySQL admin user
CONFIG_MARIADB_USER=root
# Password for the MySQL admin user
CONFIG_MARIADB_PW={{ DBPASSWORD }}
# Set the server for the AMQP service
CONFIG_AMQP_BACKEND=rabbitmq
# The IP address of the server on which to install the AMQP service
CONFIG_AMQP_HOST={{ controller_public_ip }}
# Enable SSL for the AMQP service
CONFIG_AMQP_ENABLE_SSL=n
# Enable Authentication for the AMQP service
CONFIG_AMQP_ENABLE_AUTH=n
# The password for the NSS certificate database of the AMQP service
CONFIG_AMQP_NSS_CERTDB_PW={{ CONFIG_AMQP_NSS_CERTDB_PW }}
# The port in which the AMQP service listens to SSL connections
CONFIG_AMQP_SSL_PORT=5671
# The filename of the certificate that the AMQP service is going to
# use
CONFIG_AMQP_SSL_CERT_FILE=/etc/pki/tls/certs/amqp_selfcert.pem
# The filename of the private key that the AMQP service is going to
# use
CONFIG_AMQP_SSL_KEY_FILE=/etc/pki/tls/private/amqp_selfkey.pem
# Auto Generates self signed SSL certificate and key
CONFIG_AMQP_SSL_SELF_SIGNED=y
# User for amqp authentication
CONFIG_AMQP_AUTH_USER=amqp_user
# Password for user authentication
CONFIG_AMQP_AUTH_PASSWORD={{ CONFIG_AMQP_AUTH_PASSWORD }}
# The password to use for the Keystone to access DB
CONFIG_KEYSTONE_DB_PW={{ KEYSTONE_DBPASS }}
# The token to use for the Keystone service api
CONFIG_KEYSTONE_ADMIN_TOKEN={{ ADMIN_TOKEN }}
# The password to use for the Keystone admin user
CONFIG_KEYSTONE_ADMIN_PW={{ ADMIN_PASS }}
# The password to use for the Keystone demo user
CONFIG_KEYSTONE_DEMO_PW={{ DEMO_PASS }}
# Kestone token format. Use either UUID or PKI
CONFIG_KEYSTONE_TOKEN_FORMAT=PKI
# The password to use for the Glance to access DB
CONFIG_GLANCE_DB_PW={{ GLANCE_DBPASS }}
# The password to use for the Glance to authenticate with Keystone
CONFIG_GLANCE_KS_PW={{ GLANCE_PASS }}
# The password to use for the Cinder to access DB
CONFIG_CINDER_DB_PW={{ CINDER_DBPASS }}
# The password to use for the Cinder to authenticate with Keystone
CONFIG_CINDER_KS_PW={{ CINDER_PASS }}
# The Cinder backend to use, valid options are: lvm, gluster, nfs,
# vmdk
CONFIG_CINDER_BACKEND=lvm
# Create Cinder's volumes group. This should only be done for testing
# on a proof-of-concept installation of Cinder. This will create a
# file-backed volume group and is not suitable for production usage.
CONFIG_CINDER_VOLUMES_CREATE=n
# Cinder's volumes group size. Note that actual volume size will be
# extended with 3% more space for VG metadata.
CONFIG_CINDER_VOLUMES_SIZE=5G
# A single or comma separated list of gluster volume shares to mount,
# eg: ip-address:/vol-name, domain:/vol-name
CONFIG_CINDER_GLUSTER_MOUNTS=
# A single or comma seprated list of NFS exports to mount, eg: ip-
# address:/export-name
CONFIG_CINDER_NFS_MOUNTS=
# The IP address of the VMware vCenter datastore
CONFIG_VCENTER_HOST=
# The username to authenticate to VMware vCenter datastore
CONFIG_VCENTER_USER=
# The password to authenticate to VMware vCenter datastore
CONFIG_VCENTER_PASSWORD=
# A comma separated list of IP addresses on which to install the Nova
# Compute services
CONFIG_COMPUTE_HOSTS={{ controller_public_ip }}
# The IP address of the server on which to install the Nova Conductor
# service
CONFIG_NOVA_CONDUCTOR_HOST={{ controller_public_ip }}
# The password to use for the Nova to access DB
CONFIG_NOVA_DB_PW={{ NOVA_DBPASS }}
# The password to use for the Nova to authenticate with Keystone
CONFIG_NOVA_KS_PW={{ NOVA_PASS }}
# The overcommitment ratio for virtual to physical CPUs. Set to 1.0
# to disable CPU overcommitment
CONFIG_NOVA_SCHED_CPU_ALLOC_RATIO=16.0
# The overcommitment ratio for virtual to physical RAM. Set to 1.0 to
# disable RAM overcommitment
CONFIG_NOVA_SCHED_RAM_ALLOC_RATIO=1.5
# Private interface for Flat DHCP on the Nova compute servers
CONFIG_NOVA_COMPUTE_PRIVIF=lo
# The list of IP addresses of the server on which to install the Nova
# Nova network manager
CONFIG_NOVA_NETWORK_MANAGER=nova.network.manager.FlatDHCPManager
# Public interface on the Nova network server
CONFIG_NOVA_NETWORK_PUBIF={{ controller_public_ip }}
# Private interface for network manager on the Nova network server
CONFIG_NOVA_NETWORK_PRIVIF=lo
# IP Range for network manager
CONFIG_NOVA_NETWORK_FIXEDRANGE={{ internal_interface_cidr }}
# IP Range for Floating IP's
CONFIG_NOVA_NETWORK_FLOATRANGE={{ public_interface_cidr }}
# Name of the default floating pool to which the specified floating
# ranges are added to
CONFIG_NOVA_NETWORK_DEFAULTFLOATINGPOOL=external
# Automatically assign a floating IP to new instances
CONFIG_NOVA_NETWORK_AUTOASSIGNFLOATINGIP=y
# First VLAN for private networks
CONFIG_NOVA_NETWORK_VLAN_START=100
# Number of networks to support
CONFIG_NOVA_NETWORK_NUMBER=1
# Number of addresses in each private subnet
CONFIG_NOVA_NETWORK_SIZE=255
# The IP address of the VMware vCenter server
CONFIG_VCENTER_HOST=
# The username to authenticate to VMware vCenter server
CONFIG_VCENTER_USER=
# The password to authenticate to VMware vCenter server
CONFIG_VCENTER_PASSWORD=
# The name of the vCenter cluster
CONFIG_VCENTER_CLUSTER_NAME=
# The password to use for Neutron to authenticate with Keystone
CONFIG_NEUTRON_KS_PW={{ NEUTRON_PASS }}
# The password to use for Neutron to access DB
CONFIG_NEUTRON_DB_PW={{ NEUTRON_DBPASS }}
# A comma separated list of IP addresses on which to install Neutron
CONFIG_NETWORK_HOSTS={{ controller_public_ip }}
# The name of the bridge that the Neutron L3 agent will use for
# external traffic, or 'provider' if using provider networks
CONFIG_NEUTRON_L3_EXT_BRIDGE=provider
# The name of the L2 plugin to be used with Neutron
CONFIG_NEUTRON_L2_PLUGIN=ml2
# A comma separated list of IP addresses on which to install Neutron
# metadata agent
CONFIG_NEUTRON_METADATA_PW={{ NEUTRON_PASS }}
# A comma separated list of network type driver entrypoints to be
# loaded from the neutron.ml2.type_drivers namespace.
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=local,flat,gre
# A comma separated ordered list of network_types to allocate as
# tenant networks. The value 'local' is only useful for single-box
# testing but provides no connectivity between hosts.
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=gre
# A comma separated ordered list of networking mechanism driver
# entrypoints to be loaded from the neutron.ml2.mechanism_drivers
# namespace.
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
# A comma separated list of physical_network names with which flat
# networks can be created. Use * to allow flat networks with arbitrary
# physical_network names.
CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
# A comma separated list of <physical_network>:<vlan_min>:<vlan_max>
# or <physical_network> specifying physical_network names usable for
# VLAN provider and tenant networks, as well as ranges of VLAN tags on
# each available for allocation to tenant networks.
CONFIG_NEUTRON_ML2_VLAN_RANGES=
# A comma separated list of <tun_min>:<tun_max> tuples enumerating
# ranges of GRE tunnel IDs that are available for tenant network
# allocation. Should be an array with tun_max +1 - tun_min > 1000000
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=1:1000
# Multicast group for VXLAN. If unset, disables VXLAN enable sending
# allocate broadcast traffic to this multicast group. When left
# unconfigured, will disable multicast VXLAN mode. Should be an
# Multicast IP (v4 or v6) address.
CONFIG_NEUTRON_ML2_VXLAN_GROUP=
# A comma separated list of <vni_min>:<vni_max> tuples enumerating
# ranges of VXLAN VNI IDs that are available for tenant network
# allocation. Min value is 0 and Max value is 16777215.
CONFIG_NEUTRON_ML2_VNI_RANGES=
# The name of the L2 agent to be used with Neutron
CONFIG_NEUTRON_L2_AGENT=openvswitch
# The type of network to allocate for tenant networks (eg. vlan,
# local)
CONFIG_NEUTRON_LB_TENANT_NETWORK_TYPE=gre
# A comma separated list of VLAN ranges for the Neutron linuxbridge
# plugin (eg. physnet1:1:4094,physnet2,physnet3:3000:3999)
CONFIG_NEUTRON_LB_VLAN_RANGES=
# A comma separated list of interface mappings for the Neutron
# linuxbridge plugin (eg. physnet1:br-eth1,physnet2:br-eth2,physnet3
# :br-eth3)
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
# Type of network to allocate for tenant networks (eg. vlan, local,
# gre, vxlan)
CONFIG_NEUTRON_OVS_TENANT_NETWORK_TYPE=gre
# A comma separated list of VLAN ranges for the Neutron openvswitch
# plugin (eg. physnet1:1:4094,physnet2,physnet3:3000:3999)
CONFIG_NEUTRON_OVS_VLAN_RANGES=floatnet
# A comma separated list of bridge mappings for the Neutron
# openvswitch plugin (eg. physnet1:br-eth1,physnet2:br-eth2,physnet3
# :br-eth3)
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=floatnet:br-ex
# A comma separated list of colon-separated OVS bridge:interface
# pairs. The interface will be added to the associated bridge.
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-tun:eth1
# A comma separated list of tunnel ranges for the Neutron openvswitch
# plugin (eg. 1:1000)
CONFIG_NEUTRON_OVS_TUNNEL_RANGES=1:1000
# The interface for the OVS tunnel. Packstack will override the IP
# address used for tunnels on this hypervisor to the IP found on the
# specified interface. (eg. eth1)
CONFIG_NEUTRON_OVS_TUNNEL_IF=eth1
# VXLAN UDP port
CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789
# To set up Horizon communication over https set this to "y"
CONFIG_HORIZON_SSL=y
# PEM encoded certificate to be used for ssl on the https server,
# leave blank if one should be generated, this certificate should not
# require a passphrase
CONFIG_SSL_CERT=/etc/pki/tls/certs/fed-cloud09.pem
# PEM encoded CA certificates from which the certificate chain of the
# # server certificate can be assembled.
CONFIG_SSL_CACHAIN=/etc/pki/tls/certs/fed-cloud09.pem
# Keyfile corresponding to the certificate if one was entered
CONFIG_SSL_KEY=/etc/pki/tls/private/fed-cloud09.key
# The password to use for the Swift to authenticate with Keystone
CONFIG_SWIFT_KS_PW={{ SWIFT_PASS }}
# A comma separated list of IP addresses on which to install the
# Swift Storage services, each entry should take the format
# <ipaddress>[/dev], for example 127.0.0.1/vdb will install /dev/vdb
# on 127.0.0.1 as a swift storage device(packstack does not create the
# filesystem, you must do this first), if /dev is omitted Packstack
# will create a loopback device for a test setup
CONFIG_SWIFT_STORAGES=
# Number of swift storage zones, this number MUST be no bigger than
# the number of storage devices configured
CONFIG_SWIFT_STORAGE_ZONES=1
# Number of swift storage replicas, this number MUST be no bigger
# than the number of storage zones configured
CONFIG_SWIFT_STORAGE_REPLICAS=1
# FileSystem type for storage nodes
CONFIG_SWIFT_STORAGE_FSTYPE=ext4
# Shared secret for Swift
CONFIG_SWIFT_HASH={{ SWIFT_HASH }}
# Size of the swift loopback file storage device
CONFIG_SWIFT_STORAGE_SIZE=2G
# Whether to provision for demo usage and testing. Note that
# provisioning is only supported for all-in-one installations.
CONFIG_PROVISION_DEMO=n
# Whether to configure tempest for testing. Note that provisioning is
# only supported for all-in-one installations.
CONFIG_PROVISION_TEMPEST=n
# The CIDR network address for the floating IP subnet
CONFIG_PROVISION_DEMO_FLOATRANGE=
# The uri of the tempest git repository to use
CONFIG_PROVISION_TEMPEST_REPO_URI=https://github.com/openstack/tempest.git
# The revision of the tempest git repository to use
CONFIG_PROVISION_TEMPEST_REPO_REVISION=master
# Whether to configure the ovs external bridge in an all-in-one
# deployment
CONFIG_PROVISION_ALL_IN_ONE_OVS_BRIDGE=n
# The password used by Heat user to authenticate against MySQL
CONFIG_HEAT_DB_PW={{ HEAT_DBPASS }}
# The encryption key to use for authentication info in database
CONFIG_HEAT_AUTH_ENC_KEY={{ HEAT_AUTH_ENC_KEY }}
# The password to use for the Heat to authenticate with Keystone
CONFIG_HEAT_KS_PW={{ HEAT_PASS }}
# Set to 'y' if you would like Packstack to install Heat CloudWatch
# API
CONFIG_HEAT_CLOUDWATCH_INSTALL=n
# Set to 'y' if you would like Packstack to install Heat
# CloudFormation API
CONFIG_HEAT_CFN_INSTALL=n
# The IP address of the server on which to install Heat CloudWatch
# API service
CONFIG_HEAT_CLOUDWATCH_HOST={{ controller_public_ip }}
# The IP address of the server on which to install Heat
# CloudFormation API service
CONFIG_HEAT_CFN_HOST={{ controller_public_ip }}
# The IP address of the management node
CONFIG_CONTROLLER_HOST={{ controller_public_ip }}
# Secret key for signing metering messages.
CONFIG_CEILOMETER_SECRET={{ CEILOMETER_SECRET }}
# The password to use for Ceilometer to authenticate with Keystone
CONFIG_CEILOMETER_KS_PW={{ CEILOMETER_PASS }}
# The IP address of the server on which to install mongodb
CONFIG_MONGODB_HOST={{ controller_public_ip }}
# The password of the nagiosadmin user on the Nagios server
CONFIG_NAGIOS_PW=
# To subscribe each server to EPEL enter "y"
CONFIG_USE_EPEL=y
# A comma separated list of URLs to any additional yum repositories
# to install
CONFIG_REPO=
# To subscribe each server with Red Hat subscription manager, include
# this with CONFIG_RH_PW
CONFIG_RH_USER=
# To subscribe each server with Red Hat subscription manager, include
# this with CONFIG_RH_USER
CONFIG_RH_PW=
# To subscribe each server to Red Hat Enterprise Linux 6 Server Beta
# channel (only needed for Preview versions of RHOS) enter "y"
CONFIG_RH_BETA_REPO=n
# To subscribe each server with RHN Satellite,fill Satellite's URL
# here. Note that either satellite's username/password or activation
# key has to be provided
CONFIG_SATELLITE_URL=
# Username to access RHN Satellite
CONFIG_SATELLITE_USER=
# Password to access RHN Satellite
CONFIG_SATELLITE_PW=
# Activation key for subscription to RHN Satellite
CONFIG_SATELLITE_AKEY=
# Specify a path or URL to a SSL CA certificate to use
CONFIG_SATELLITE_CACERT=
# If required specify the profile name that should be used as an
# identifier for the system in RHN Satellite
CONFIG_SATELLITE_PROFILE=
# Comma separated list of flags passed to rhnreg_ks. Valid flags are:
# novirtinfo, norhnsd, nopackages
CONFIG_SATELLITE_FLAGS=
# Specify a HTTP proxy to use with RHN Satellite
CONFIG_SATELLITE_PROXY=
# Specify a username to use with an authenticated HTTP proxy
CONFIG_SATELLITE_PROXY_USER=
# Specify a password to use with an authenticated HTTP proxy.
CONFIG_SATELLITE_PROXY_PW=

View File

@@ -0,0 +1,32 @@
# Warning! Dangerous step! Destroys VMs
# if you do know what you are doing feel free to remove the line below to proceed
exit 1
# also if you really insist to remove VM, uncomment that vgremove near bottom
for x in $(virsh list --all | grep instance- | awk '{print $2}') ; do
virsh destroy $x ;
virsh undefine $x ;
done ;
# Warning! Dangerous step! Removes lots of packages, including many
# which may be unrelated to RDO.
yum remove -y nrpe "*openstack*" \
"*nova*" "*keystone*" "*glance*" "*cinder*" "*swift*" \
mysql mysql-server httpd "*memcache*" ;
ps -ef | grep -i repli | grep swift | awk '{print $2}' | xargs kill ;
# Warning! Dangerous step! Deletes local application data
rm -rf /etc/nagios /etc/yum.repos.d/packstack_* /root/.my.cnf \
/var/lib/mysql/* /var/lib/glance /var/lib/nova /etc/nova /etc/swift \
/srv/node/device*/* /var/lib/cinder/ /etc/rsync.d/frag* \
/var/cache/swift /var/log/keystone ;
umount /srv/node/device* ;
killall -9 dnsmasq tgtd httpd ;
#vgremove -f cinder-volumes ;
losetup -a | sed -e 's/:.*//g' | xargs losetup -d ;
find /etc/pki/tls -name "ssl_ps*" | xargs rm -rf ;
for x in $(df | grep "/lib/" | sed -e 's/.* //g') ; do
umount $x ;
done

View File

@@ -28,7 +28,9 @@ MACHINES='signal.gnome.org
view.gnome.org
puppet.gnome.org
accelerator.gnome.org
range.gnome.org'
range.gnome.org
pentagon.gimp.org
account.gnome.org'
BACKUP_DIR='/fedora_backups/gnome/'
LOGS_DIR='/fedora_backups/gnome/logs'

View File

@@ -3,6 +3,6 @@ Host live.gnome.org extensions.gnome.org puppet.gnome.org view.gnome.org drawabl
IdentityFile /usr/local/etc/gnome_backup_id.rsa
ProxyCommand ssh -W %h:%p bastion.gnome.org -F /usr/local/etc/gnome_ssh_config
Host *.gnome.org
Host *.gnome.org pentagon.gimp.org
User root
IdentityFile /usr/local/etc/gnome_backup_id.rsa

View File

@@ -1,10 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.85 db-datanommer db-datanommer
10.5.126.85 db-tahrir db-tahrir

View File

@@ -1,11 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-tahrir db-tahrir

View File

@@ -1,11 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-fedocal db-fedocal

View File

@@ -1,12 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-notifs db-notifs
10.5.126.85 db-datanommer db-datanommer

View File

@@ -1,12 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-notifs db-notifs
10.5.126.85 db-datanommer db-datanommer

View File

@@ -1,12 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-notifs db-notifs
10.5.126.85 db-datanommer db-datanommer

View File

@@ -1,11 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 nuancier_db nuancier_db

View File

@@ -1,11 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 nuancier_db nuancier_db

View File

@@ -1,12 +0,0 @@
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
10.5.126.89 admin.fedoraproject.org
10.5.126.88 proxy01.phx2.fedoraproject.org proxy1 proxy2 proxy3 proxy4 proxy01 proxy02 proxy03 proxy04 fedoraproject.org
10.5.126.86 fas01.phx2.fedoraproject.org fas1 fas2 fas01 fas02 fas03 fas-all
10.5.126.23 infrastructure.fedoraproject.org
10.5.125.44 pkgs.fedoraproject.org
10.5.126.81 memcached03 memcached03.stg app01 app01.stg
10.5.126.85 db-summershum db-summershum

View File

@@ -0,0 +1,13 @@
/var/log/httpd/*log {
daily
rotate 7
missingok
ifempty
compress
compresscmd /usr/bin/xz
uncompresscmd /usr/bin/xz
compressext .xz
dateext
sharedscripts
copytruncate
}

View File

@@ -17,12 +17,6 @@
# allow ssh - always
-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 22 -j ACCEPT
# for fireball mode - allow port 5099 from lockbox and it's ips
-A INPUT -p tcp -m tcp --dport 5099 -s 192.168.1.58 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5099 -s 10.5.126.23 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5099 -s 10.5.127.51 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5099 -s 209.132.181.6 -j ACCEPT
# for nrpe - allow it from nocs
-A INPUT -p tcp -m tcp --dport 5666 -s 192.168.1.10 -j ACCEPT
# FIXME - this is the global nat-ip and we need the noc01-specific ip

View File

@@ -29,12 +29,6 @@ COMMIT
# allow ssh - always
-A INPUT -m conntrack --ctstate NEW -m tcp -p tcp --dport 22 -j ACCEPT
# for fireball mode - allow port 5099 from lockbox and it's ips
-A INPUT -p tcp -m tcp --dport 5099 -s 192.168.1.58 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5099 -s 10.5.126.23 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5099 -s 10.5.127.51 -j ACCEPT
-A INPUT -p tcp -m tcp --dport 5099 -s 209.132.181.6 -j ACCEPT
# for nrpe - allow it from nocs
-A INPUT -p tcp -m tcp --dport 5666 -s 192.168.1.10 -j ACCEPT
# FIXME - this is the global nat-ip and we need the noc01-specific ip

View File

@@ -30,38 +30,6 @@ class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
<myViewsTabBar class="hudson.views.DefaultMyViewsTabBar"/>
<clouds/>
<slaves>
<slave>
<name>Fedora18</name>
<description></description>
<remoteFS>/mnt/jenkins/</remoteFS>
<numExecutors>2</numExecutors>
<mode>NORMAL</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
<launcher class="hudson.plugins.sshslaves.SSHLauncher"
plugin="ssh-slaves@0.21">
<host>172.16.5.12</host>
<port>22</port>
<credentialsId>d844d352-af1d-466b-9fc9-cbb19348103a</credentialsId>
</launcher>
<label></label>
<nodeProperties/>
</slave>
<slave>
<name>Fedora19</name>
<description></description>
<remoteFS>/mnt/jenkins/</remoteFS>
<numExecutors>2</numExecutors>
<mode>NORMAL</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
<launcher class="hudson.plugins.sshslaves.SSHLauncher"
plugin="ssh-slaves@0.21">
<host>172.16.5.12</host>
<port>22</port>
<credentialsId>d844d352-af1d-466b-9fc9-cbb19348103a</credentialsId>
</launcher>
<label></label>
<nodeProperties/>
</slave>
<slave>
<name>EL6</name>
<description></description>
@@ -94,6 +62,22 @@ class="jenkins.model.ProjectNamingStrategy$DefaultProjectNamingStrategy"/>
<label></label>
<nodeProperties/>
</slave>
<slave>
<name>EL7-beta</name>
<description></description>
<remoteFS>/mnt/jenkins/</remoteFS>
<numExecutors>2</numExecutors>
<mode>NORMAL</mode>
<retentionStrategy class="hudson.slaves.RetentionStrategy$Always"/>
<launcher class="hudson.plugins.sshslaves.SSHLauncher"
plugin="ssh-slaves@0.21">
<host>172.16.5.14</host>
<port>22</port>
<credentialsId>950d5dd7-acb2-402a-8670-21f152d04928</credentialsId>
</launcher>
<label></label>
<nodeProperties/>
</slave>
</slaves>
<quietPeriod>5</quietPeriod>
<scmCheckoutRetryCount>0</scmCheckoutRetryCount>

View File

@@ -1,6 +1,6 @@
[sbt-fedorapeople]
name=SBT Fedorapeople Repo
baseurl=http://repos.fedorapeople.org/repos/codeblock/sbt/fedora-18/RPMS/
enabled=1
skip_if_unavailable=1
[codeblock-sbt-extras]
name=Copr repo for sbt-extras owned by codeblock
baseurl=https://copr-be.cloud.fedoraproject.org/results/codeblock/sbt-extras/fedora-$releasever-$basearch/
skip_if_unavailable=True
gpgcheck=0
enabled=0

View File

@@ -51,9 +51,9 @@ NameVirtualHost *:443
ServerAlias keys01.fedoraproject.org
SSLEngine on
SSLCertificateFile /etc/pki/tls/wildcard-2013.fedoraproject.org.cert
SSLCertificateChainFile /etc/pki/tls/wildcard-2013.fedoraproject.org.intermediate.cert
SSLCertificateKeyFile /etc/pki/tls/wildcard-2013.fedoraproject.org.key
SSLCertificateFile /etc/pki/tls/wildcard-2014.fedoraproject.org.cert
SSLCertificateChainFile /etc/pki/tls/wildcard-2014.fedoraproject.org.intermediate.cert
SSLCertificateKeyFile /etc/pki/tls/wildcard-2014.fedoraproject.org.key
ProxyPass / http://localhost:11371/
ProxyPassReverse / http://localhost:11371/
SetEnv proxy-nokeepalive 1

View File

@@ -5,5 +5,5 @@ source /root/sshagent >>/dev/null
TMPDIR=`mktemp -d /tmp/backups.XXXX`
cd $TMPDIR
git clone http://infrastructure.fedoraproject.org/infra/ansible.git
git clone https://infrastructure.fedoraproject.org/infra/ansible.git
ansible-playbook -i ansible/inventory ansible/playbooks/rdiff-backup.yml

View File

@@ -1,7 +0,0 @@
Alias /openstack /srv/persist/openstack
<Directory "/srv/persist/openstack">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
</Directory>

View File

@@ -1,6 +0,0 @@
[releng]
name=Rel-Eng Packages from Fedora Infrastructure $releasever - $basearch
baseurl=http://infrastructure.fedoraproject.org/repo/releng/$releasever/$basearch/
enabled=1
gpgcheck=1
gpgkey=http://infrastructure.fedoraproject.org/repo/RPM-GPG-KEY-INFRASTRUCTURE

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# Confine ssh commands
case "$SSH_ORIGINAL_COMMAND" in
*\&*)
echo "Rejected"
;;
*\;*)
echo "Rejected"
;;
rsync\ --server\ --sender*)
$SSH_ORIGINAL_COMMAND
;;
*)
echo "Rejected"
;;
esac

View File

@@ -0,0 +1 @@
ACTION=="add", SUBSYSTEM=="module", KERNEL=="bridge", RUN+="/usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge"

View File

@@ -6,7 +6,7 @@
action: service name=auditd state=restarted
- name: restart apache
action: service name=httpd state=restarted
command: /usr/local/bin/conditional-restart.sh httpd httpd
- name: reload apache
action: service name=httpd state=reloaded
@@ -17,8 +17,20 @@
- name: restart crond
action: service name=crond state=restarted
- name: restart fedmsg-gateway
command: /usr/local/bin/conditional-restart.sh fedmsg-gateway fedmsg-gateway
- name: restart fedmsg-hub
command: /usr/local/bin/conditional-restart.sh fedmsg-hub fedmsg-hub
- name: restart fedmsg-irc
command: /usr/local/bin/conditional-restart.sh fedmsg-irc fedmsg-irc
- name: restart fedmsg-relay
command: /usr/local/bin/conditional-restart.sh fedmsg-relay fedmsg-relay
- name: restart httpd
action: service name=httpd state=restarted
command: /usr/local/bin/conditional-restart.sh httpd httpd
- name: reload httpd
action: service name=httpd state=reloaded
@@ -53,9 +65,18 @@
- name: restart ntpd
action: service name=ntpd state=restarted
- name: restart openvpn
- name: restart openvpn (Fedora)
when: ansible_distribution == "Fedora"
action: service name=openvpn@openvpn state=restarted
- name: restart openvpn (RHEL6)
when: ansible_distribution == "RedHat" and ansible_distribution_major_version == "6"
action: service name=openvpn state=restarted
- name: restart openvpn (RHEL7)
when: ansible_distribution == "RedHat" and ansible_distribution_major_version == "7"
action: service name=openvpn@openvpn state=restarted
- name: restart postfix
action: service name=postfix state=restarted
@@ -68,12 +89,6 @@
- name: restart rsyslog
action: service name=rsyslog state=restarted
- name: restart sks-db
action: service name=sks-db state=restarted
- name: restart sks-recon
action: service name=sks-recon state=restarted
- name: restart sshd
action: service name=sshd state=restarted
@@ -83,5 +98,46 @@
- name: restart netapproute
action: command /etc/sysconfig/network-scripts/ifup-routes eth1
- name: restart network
action: service name=network state=restarted
- name: restart unbound
action: service name=unbound state=restarted
- name: rebuild postfix transport
command: /usr/sbin/postmap /etc/postfix/transport
- name: restart glusterd
service: name=glusterd state=restarted
- name: restart supervisord
service: name=supervisord state=restarted
- name: run rkhunter
command: rkhunter --propupd
- name: restart moksha-hub
service: name=moksha-hub state=restarted
- name: restart dhcpd
service: name=dhcpd state=restarted
- name: restart memcached
service: name=memcached state=restarted
- name: reload systemd
command: systemctl daemon-reload
- name: restart nagios
shell: nagios -v /etc/nagios/nagios.cfg && systemctl restart nagios
- name: restart bridge
shell: /usr/lib/systemd/systemd-sysctl --prefix=/proc/sys/net/bridge
- name: hup libvirtd
command: pkill -HUP libvirtd
ignore_errors: true
when: inventory_hostname.startswith('buildhw')
- name: restart fcomm-cache-worker
service: name=fcomm-cache-worker state=restarted

19
inventory/backups Normal file
View File

@@ -0,0 +1,19 @@
#
# This is the list of clients we backup with rdiff-backup.
#
[backup_clients]
collab04.fedoraproject.org
db01.phx2.fedoraproject.org
db-datanommer02.phx2.fedoraproject.org
hosted04.fedoraproject.org
hosted-lists01.fedoraproject.org
lockbox01.phx2.fedoraproject.org
people03.fedoraproject.org
pkgs01.phx2.fedoraproject.org
log01.phx2.fedoraproject.org
qadevel.cloud.fedoraproject.org
db-qa01.qa.fedoraproject.org
db-koji01.phx2.fedoraproject.org
copr-be.cloud.fedoraproject.org
value01.phx2.fedoraproject.org
taskotron01.qa.fedoraproject.org

View File

@@ -28,16 +28,10 @@ buildvm-25.phx2.fedoraproject.org
buildvm-26.phx2.fedoraproject.org
buildvm-27.phx2.fedoraproject.org
[buildvm-stg]
buildvm-01.stg.phx2.fedoraproject.org
[buildvmhost]
buildvmhost-01.phx2.fedoraproject.org
buildvmhost-02.phx2.fedoraproject.org
buildvmhost-03.phx2.fedoraproject.org
buildvmhost-04.phx2.fedoraproject.org
buildvmhost-05.phx2.fedoraproject.org
buildvmhost-06.phx2.fedoraproject.org
buildvmhost-07.phx2.fedoraproject.org
buildvmhost-08.phx2.fedoraproject.org
buildvmhost-09.phx2.fedoraproject.org
buildvmhost-10.phx2.fedoraproject.org
buildvmhost-11.phx2.fedoraproject.org
buildvmhost-12.phx2.fedoraproject.org
@@ -46,6 +40,16 @@ buildvmhost-12.phx2.fedoraproject.org
[buildhw]
buildhw-01.phx2.fedoraproject.org
buildhw-02.phx2.fedoraproject.org
buildhw-03.phx2.fedoraproject.org
buildhw-04.phx2.fedoraproject.org
buildhw-05.phx2.fedoraproject.org
buildhw-06.phx2.fedoraproject.org
buildhw-07.phx2.fedoraproject.org
buildhw-08.phx2.fedoraproject.org
buildhw-09.phx2.fedoraproject.org
buildhw-10.phx2.fedoraproject.org
buildhw-11.phx2.fedoraproject.org
buildhw-12.phx2.fedoraproject.org
[buildppc]
buildppc-01.phx2.fedoraproject.org
@@ -64,8 +68,9 @@ arm04
# These are secondary arch builders.
#
[arm01]
arm01-builder00.arm.fedoraproject.org
arm01-builder01.arm.fedoraproject.org
# 00 and 01 are in use as releng and retrace instances
#arm01-releng00.arm.fedoraproject.org
#arm01-retrace01.arm.fedoraproject.org
arm01-builder02.arm.fedoraproject.org
arm01-builder03.arm.fedoraproject.org
arm01-builder04.arm.fedoraproject.org
@@ -84,7 +89,6 @@ arm01-builder16.arm.fedoraproject.org
arm01-builder17.arm.fedoraproject.org
arm01-builder18.arm.fedoraproject.org
arm01-builder19.arm.fedoraproject.org
# these are v5
arm01-builder20.arm.fedoraproject.org
arm01-builder21.arm.fedoraproject.org
arm01-builder22.arm.fedoraproject.org
@@ -173,11 +177,9 @@ arm04-builder16.arm.fedoraproject.org
arm04-builder17.arm.fedoraproject.org
arm04-builder18.arm.fedoraproject.org
arm04-builder19.arm.fedoraproject.org
# These are v5
arm04-builder20.arm.fedoraproject.org
arm04-builder21.arm.fedoraproject.org
# broken disk - kevin 2013-04-05
#arm04-builder22.arm.fedoraproject.org
arm04-builder22.arm.fedoraproject.org
arm04-builder23.arm.fedoraproject.org
[builders:children]

View File

@@ -19,22 +19,30 @@ tcp_ports: []
custom_rules: []
# defaults for virt installs
ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-6
ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL6-x86_64/
ks_url: http://infrastructure.fedoraproject.org/repo/rhel/ks/kvm-rhel-7
ks_repo: http://infrastructure.fedoraproject.org/repo/rhel/RHEL7-x86_64/
mem_size: 2048
num_cpus: 2
lvm_size: 20000
# default virt install command is for a single nic-device
# define in another group file for more nics (see buildvm)
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--disk {{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
"ksdevice=eth0 ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }}"
--network=bridge=br0 --autostart --noautoconsole
#virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
# --disk {{ volgroup }}/{{ inventory_hostname }}
# --vcpus={{ num_cpus }} -l {{ ks_repo }} -x
# "ksdevice=eth0 ks={{ ks_url }} ip={{ eth0_ip }} netmask={{ nm }}
# gateway={{ gw }} dns={{ dns }} console=tty0 console=ttyS0
# hostname={{ inventory_hostname }}"
# --network=bridge=br0 --autostart --noautoconsole
virt_install_command: virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
'ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none'
--network bridge=br0,model=virtio
--autostart --noautoconsole
# By default, nodes get no fedmsg certs. They need to declare them explicitly.
fedmsg_certs: []
@@ -43,8 +51,20 @@ fedmsg_certs: []
dbs_to_backup: []
# by default the number of procs we allow before we whine
nrpe_procs_warn: 175
nrpe_procs_crit: 200
nrpe_procs_warn: 250
nrpe_procs_crit: 300
# by default, the number of emails in queue before we whine
nrpe_check_postfix_queue_warn: 2
nrpe_check_postfix_queue_crit: 5
# env is staging or production, we default it to production here.
env: production
# nfs mount options, override at the group/host level
nfs_mount_opts: "ro,hard,bg,intr,noatime,nodev,nosuid"
# by default set sudo to false here We can override it as needed.
# Note that if sudo is true, you need to unset requiretty for
# ssh controlpersist to work.
sudo: false

View File

@@ -0,0 +1,28 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 8192
num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
custom_rules: [
# Need for rsync from log01 for logs.
'-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT',
'-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT',
]
# No other ports open. no web service running here.
#tcp_ports: []
fas_client_groups: sysadmin-noc
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
- service: anitya
owner: root
group: fedmsg

View File

@@ -0,0 +1,30 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 2048
num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
# 9940 is for the anitya public relay
tcp_ports: [ 80, 443, 9940 ]
custom_rules: [
# Need for rsync from log01 for logs.
'-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT',
'-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT',
# Need so that anitya-backend can talk fedmsg to our relay
'-A INPUT -p tcp -m tcp -s 140.211.169.230 --dport 9941 -j ACCEPT',
]
fas_client_groups: sysadmin-noc,sysadmin-web
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
- service: anitya
owner: root
group: apache

View File

@@ -1,6 +1,6 @@
---
fas_client_groups: packager
freezes: false
sudoers: "{{ private }}/files/sudo/arm-packager"
sudoers: "{{ private }}/files/sudo/arm-packager-sudoers"
sudoers_main: nopasswd
host_group: cloud

View File

@@ -1,4 +1,5 @@
---
host_group: releng
fas_client_groups: sysadmin-releng
freezes: false
#
@@ -6,3 +7,7 @@ freezes: false
#
libdir: /usr/lib
sudoers: "{{ private }}/files/sudo/arm-releng-sudoers"
# For the mock config
kojipkgs_url: kojipkgs.fedoraproject.org
kojihub_url: koji.fedoraproject.org/kojihub

View File

@@ -8,9 +8,12 @@ tcp_ports: [ 80, 443,
# These 8 ports are used by fedmsg. One for each wsgi thread.
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc,sysadmin-ask,fi-apprentice
# These are consumed by a task in roles/fedmsg_base/main.yml
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root

View File

@@ -8,9 +8,12 @@ tcp_ports: [ 80, 443,
# These 8 ports are used by fedmsg. One for each wsgi thread.
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc,sysadmin-ask,fi-apprentice
# These are consumed by a task in roles/fedmsg_base/main.yml
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root

View File

@@ -0,0 +1,9 @@
---
host_group: atomicbuilder
freezes: false
nrpe_procs_warn: 700
nrpe_procs_crit: 800
fas_client_groups: atomic,sysadmin-atomic
tcp_ports: [ 80, 443, 873 ]

View File

@@ -0,0 +1,11 @@
---
# Define resources for this group of hosts here.
lvm_size: 30000
mem_size: 2048
num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
fas_client_groups: sysadmin-releng
host_group: autosign

View File

@@ -7,11 +7,12 @@ freezes: false
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 3000 ]
tcp_ports: [ 3000, 3001, 3002, 3003,
3004, 3005, 3006, 3007 ]
fas_client_groups: sysadmin-noc,sysadmin-badges
# These are consumed by a task in roles/fedmsg_base/main.yml
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root

View File

@@ -7,11 +7,12 @@ num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 3000 ]
tcp_ports: [ 3000, 3001, 3002, 3003,
3004, 3005, 3006, 3007 ]
fas_client_groups: sysadmin-noc,sysadmin-badges
# These are consumed by a task in roles/fedmsg_base/main.yml
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root

View File

@@ -12,9 +12,12 @@ tcp_ports: [ 80, 443,
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc,sysadmin-badges
# These are consumed by a task in roles/fedmsg_base/main.yml
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root

View File

@@ -12,9 +12,12 @@ tcp_ports: [ 80, 443,
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc,sysadmin-badges
# These are consumed by a task in roles/fedmsg_base/main.yml
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root

View File

@@ -0,0 +1,39 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 8192
num_cpus: 4
#
# allow incoming openvpn and smtp
#
tcp_ports: [ 25, 1194 ]
udp_ports: [ 1194 ]
#
# drop incoming traffic from less trusted vpn hosts
#
custom_rules: [
'-A INPUT -s 192.168.100/24 -j REJECT --reject-with icmp-host-prohibited',
]
#
# allow a bunch of sysadmin groups here so they can access internal stuff
#
fas_client_groups: sysadmin-ask,sysadmin-web,sysadmin-main,sysadmin-cvs,sysadmin-build,sysadmin-noc,sysadmin-releng,sysadmin-dba,sysadmin-hosted,sysadmin-tools,sysadmin-spin,sysadmin-cloud,fi-apprentice,sysadmin-darkserver,sysadmin-badges,sysadmin-troubleshoot,sysadmin-qa,sysadmin-centos,sysadmin-ppc
#
# This is a postfix gateway. This will pick up gateway postfix config in base
#
postfix_group: gateway
postfix_transport_filename: transports.gateway
#
# Set this to get fasclient cron to make the aliases file
#
fas_aliases: true
#
# Sometimes there are lots of postfix processes
#
nrpe_procs_warn: 900
nrpe_procs_crit: 1000

View File

@@ -6,7 +6,10 @@ num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 80, 443 ]
tcp_ports: [ 80, 443, 8000 ]
udp_ports: [ 69 ]
fas_client_groups: sysadmin-qa
nrpe_procs_warn: 250
nrpe_procs_crit: 300
freezes: false

View File

@@ -15,9 +15,12 @@ tcp_ports: [ 80, 443,
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc
# These are consumed by a task in roles/fedmsg_base/main.yml
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root

View File

@@ -15,9 +15,12 @@ tcp_ports: [ 80, 443,
3000, 3001, 3002, 3003, 3004, 3005, 3006, 3007,
3008, 3009, 3010, 3011, 3012, 3013, 3014, 3015]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc
# These are consumed by a task in roles/fedmsg_base/main.yml
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root

View File

@@ -0,0 +1,21 @@
---
lvm_size: 20000
mem_size: 6144
num_cpus: 2
freezes: false
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 3000, 3001 ]
fas_client_groups: sysadmin-noc,sysadmin-datanommer
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
- service: bugzilla2fedmsg
owner: root
group: fedmsg

View File

@@ -0,0 +1,21 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 1024
num_cpus: 1
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 3000, 3001 ]
fas_client_groups: sysadmin-noc,sysadmin-datanommer
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin
- service: bugzilla2fedmsg
owner: root
group: fedmsg

View File

@@ -1,5 +1,3 @@
---
host_group: kojibuilder
freezes: true

View File

@@ -1,15 +1,15 @@
---
# common items for the buildvm-* koji builders
volgroup: /dev/BuildGuests
lvm_size: 150000
mem_size: 6144
num_cpus: 5
mem_size: 10240
num_cpus: 4
ks_url: http://10.5.126.23/repo/rhel/ks/buildvm-fedora-20
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/20/Fedora/x86_64/os/
nm: 255.255.255.0
gw: 10.5.125.254
eth1_gw: 10.5.127.254
dns: 10.5.126.21
volgroup: /dev/vg_host01
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x

View File

@@ -0,0 +1,24 @@
---
# common items for the buildvm-* koji builders
volgroup: /dev/vg_virthost16
lvm_size: 150000
mem_size: 10240
num_cpus: 4
ks_url: http://10.5.126.23/repo/rhel/ks/buildvm-fedora-20
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/20/Fedora/x86_64/os/
nm: 255.255.255.0
gw: 10.5.126.254
dns: 10.5.126.21
virt_install_command: /usr/sbin/virt-install -n {{ inventory_hostname }} -r {{ mem_size }}
--disk bus=virtio,path={{ volgroup }}/{{ inventory_hostname }}
--vcpus={{ num_cpus }} -l {{ ks_repo }} -x
"ksdevice=eth0 ks={{ ks_url }} console=tty0 console=ttyS0
hostname={{ inventory_hostname }} nameserver={{ dns }}
ip={{ eth0_ip }}::{{ gw }}:{{ nm }}:{{ inventory_hostname }}:eth0:none"
--network=bridge=br0,model=virtio --network=bridge=br1,model=virtio
--autostart --noautoconsole
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
host_group: kojibuilder
datacenter: staging

View File

@@ -0,0 +1,24 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 4096
num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [
3999, # The fedmsg-relay republishes here. Listeners need to connect.
9941, # The fedmsg-relay listens here. Ephemeral producers connect.
3998, # The fedmsg-relay listens here. VPN producers connect.
9940, # The fedmsg-gateway republishes here. Proxies need to connect.
9919, # The websocket server publishes here. Proxies need to connect.
]
fas_client_groups: sysadmin-noc,sysadmin-datanommer
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin

View File

@@ -0,0 +1,23 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 1024
num_cpus: 1
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [
3999, # The fedmsg-relay republishes here. Listeners need to connect.
9941, # The fedmsg-relay listens here. Ephemeral producers connect.
9940, # The fedmsg-gateway republishes here. Proxies need to connect.
9919, # The websocket server publishes here. Proxies need to connect.
]
fas_client_groups: sysadmin-noc,sysadmin-datanommer
# These are consumed by a task in roles/fedmsg/base/main.yml
fedmsg_certs:
- service: shell
owner: root
group: sysadmin

View File

@@ -0,0 +1,2 @@
---
virthost: true

View File

@@ -0,0 +1,6 @@
---
devel: false
_forward_src: "forward"
copr_backend_ips: "172.16.5.4"
resolvconf: "resolv.conf/cloud"

View File

@@ -0,0 +1,8 @@
---
_lighttpd_conf_src: "lighttpd/lighttpd.conf"
_copr_be_conf: "copr-be.conf"
do_sign: "false"
keygen_host: "copr-keygen.cloud.fedoraproject.org"
spawn_in_advance: "true"

View File

@@ -0,0 +1,8 @@
---
_lighttpd_conf_src: "lighttpd/lighttpd_dev.conf"
_copr_be_conf: "copr-be.conf-dev"
do_sign: "true"
keygen_host: "209.132.184.124"
spawn_in_advance: "true"

View File

@@ -0,0 +1,3 @@
---
copr_hostname: "copr-fe.cloud.fedoraproject.org"
copr_frontend_public_hostname: "copr.fedoraproject.org"

View File

@@ -0,0 +1,2 @@
---
copr_frontend_public_hostname: "copr-fe-dev.cloud.fedoraproject.org"

View File

@@ -0,0 +1,2 @@
---
tcp_ports: [80, 5167]

View File

@@ -0,0 +1,3 @@
---
copr_hostbase: copr-keygen-dev
tcp_ports: [80, 5167]

View File

@@ -0,0 +1,7 @@
---
devel: true
#_forward-src: "{{ files }}/copr/forward-dev"
_forward_src: "forward_dev"
copr_backend_ips: "172.16.5.5 172.16.5.4 172.16.5.24"
resolvconf: "resolv.conf/cloud"

View File

@@ -1,2 +1,16 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 2048
num_cpus: 2
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 80, 443, 6996 ]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc,sysadmin-datanommer,fi-apprentice
freezes: false

View File

@@ -0,0 +1,16 @@
---
# Define resources for this group of hosts here.
lvm_size: 20000
mem_size: 2048
num_cpus: 1
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 80, 443, 6996 ]
# Neeed for rsync from log01 for logs.
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.13 --dport 873 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 192.168.1.59 --dport 873 -j ACCEPT' ]
fas_client_groups: sysadmin-noc,sysadmin-datanommer,fi-apprentice
freezes: false

13
inventory/group_vars/dhcp Normal file
View File

@@ -0,0 +1,13 @@
---
# Define resources for this group of hosts here.
lvm_size: 10000
mem_size: 1024
num_cpus: 1
# for systems that do not match the above - specify the same parameter in
# the host_vars/$hostname file
tcp_ports: [ 68 ]
udp_ports: [ 69 ]
fas_client_groups: sysadmin-noc,fi-apprentice

Some files were not shown because too many files have changed in this diff Show More