Commit graph

8237 commits

Author SHA1 Message Date
Pierre-Yves Chibon
cbeaa9437c Store the new version of the selinux policy for distgit 2015-06-04 09:33:10 +00:00
Pierre-Yves Chibon
c7678aed77 Require the types git_script_t and nfs_t 2015-06-04 09:29:26 +00:00
Mathieu Bridon
8cb0fa5632 Add a docstring to send_error 2015-06-04 10:58:50 +02:00
Mathieu Bridon
187de33c8a distgit: Improve error reporting to the client
There is a send_error method, which sends the error message back to the
client. (pyrpkg in our case)

Unfortunately, that method doesn't send back an error HTTP status code,
which I'm assuming must be interpreted as a "200 OK" status.

pyrpkg completely ignore the text sent back by the server, unless the
status code is not 200, which means all those errors are silently
ignored.

This commit makes sure the send_error method will always return an error
status ("500 Internal Server Error" by default), and moves all the error
handling code to use that method, specifying their own status code if
needed.
2015-06-04 10:58:50 +02:00
Pierre-Yves Chibon
3108b3b1fe Allow git_script_t to create link on NFS 2015-06-04 10:34:47 +02:00
Mathieu Bridon
0897e5d042 distgit: Don't raise, return the error to the client
Raising only sends the error to the logs, the client thinks everything
went fine.
2015-06-04 10:00:17 +02:00
Patrick Uiterwijk
6e8957be3b We never actually used OVS.....
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-06-04 06:13:06 +00:00
Kevin Fenzi
550ddfada1 Drop /s that cause permissions issues. 2015-06-04 04:24:34 +00:00
Patrick Uiterwijk
0d131dd600 IMPORTANT: We want OVS, NOT ML2!!!
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-06-04 03:46:15 +00:00
Kevin Fenzi
7ce8c25de5 This is db03, no idea why I put db02. I guess I must be getting tired. 2015-06-03 23:56:52 +00:00
Kevin Fenzi
a84163007e Adjust nagios for the db05 to db03 changes. 2015-06-03 23:51:06 +00:00
Kevin Fenzi
fff16d01d7 Switch things over from db05 to db03.
Backups and wiki and what dbs to backup on db03 to /backups.
2015-06-03 21:30:06 +00:00
Kevin Fenzi
61b62dcea3 Use the actual proper syntax for httpd here. Thanks httpd -t 2015-06-03 20:36:10 +00:00
Kevin Fenzi
1de95c38e7 Make kojipkgs use wide indexes so you can see full filenames. Fixes ticket 4773. 2015-06-03 20:32:43 +00:00
Martin Krizek
ff3873892e Use correct execdb server url 2015-06-03 06:34:36 +00:00
Stephen Smoogen
47a5f85b55 and we need to add this here so dns knows aobut it. 2015-06-02 20:20:47 +00:00
Kevin Fenzi
0ee5884ba0 Missing required argument name= 2015-06-02 19:16:18 +00:00
Kevin Fenzi
9e518ba490 Setup zodbot/ursabot to start on boot so we don't have to remember to manually start them after reboots. 2015-06-02 19:08:36 +00:00
Valentin Gologuzov
be3c88e08e [backend] hotfix for ignored extra buildroot packages 2015-06-02 19:00:15 +02:00
Kevin Fenzi
ba81dd126e Add a simple and basic check-for-updates playbook. 2015-06-02 15:44:17 +00:00
55f6bc08e5 add missing sebool toggle
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 15:22:15 +00:00
5f03112e68 Oh, right, Apache's config isn't _really_ xml
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 15:18:57 +00:00
1613f3dcbc comment out more things
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 15:17:37 +00:00
1670e38ba0 gravana-server
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 15:09:29 +00:00
af9c909c18 right port
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 15:07:46 +00:00
8fa651e92b a few fixes for graphite-web
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 15:03:53 +00:00
cb92cdfff7 actually define the handle. You know, it might be helpful, given that I told ansible to use it.
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 14:49:12 +00:00
bd9be282cd comment out a few roles for now, to make testing quicker
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 14:39:45 +00:00
f40f3c6f70 need zeromq3-devel
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 14:38:11 +00:00
50475a50aa slight speed up
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 14:25:41 +00:00
668c8bd5d9 chdir, not cwd
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 14:16:11 +00:00
Kevin Fenzi
af2f786498 Revert "Conditionalize this for fedora 22 which has only dnf, no yum."
Turns out we don't have facts gathered here, so this won't work.
Also, in the new cloud we don't need this task at all.

This reverts commit 69d865e7ff.
2015-06-02 13:44:32 +00:00
9e757aa0fb Merge branch 'master' of /git/ansible 2015-06-02 13:38:54 +00:00
430fa96fd9 grab cabal-install from copr for now.
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 13:38:47 +00:00
Kevin Fenzi
69d865e7ff Conditionalize this for fedora 22 which has only dnf, no yum. 2015-06-02 13:08:00 +00:00
0cac2fbb1b back to f21...now that I already deleted the instance ;)
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 13:04:49 +00:00
b206189208 rebuild it with an actual f22 image
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 12:55:57 +00:00
d043898941 fix typo in f22 image name
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 12:55:29 +00:00
cdec020f76 this is all going to fail miserably
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 12:51:55 +00:00
Kevin Fenzi
b3f7e90f8c Add final f22 cloud images to our cloud along with aliases for easy use. 2015-06-02 12:34:18 +00:00
c2102d8f3a Merge branch 'master' of /git/ansible 2015-06-02 11:28:41 +00:00
d402698c83 try this
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 11:28:36 +00:00
126e591a08 note that security_group must contain "default"
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 11:28:17 +00:00
Patrick Uiterwijk
d6a44c2bf4 Fix haproxy config in stg
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-06-02 09:01:41 +00:00
a84689a860 maybe the f22beta image is broken? we should import f22 final at some point I guess, too
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 05:56:36 +00:00
8917caa26b update ip here too
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 05:44:40 +00:00
87c07669fb change to wide-open for now
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 05:19:18 +00:00
81f3a0efd5 specify an image...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 05:17:13 +00:00
fc2f2f59ac Revert "add IP here so I can run the playbook until the DNS cache drops my messup"
This reverts commit dfd4748d34.
2015-06-02 05:14:22 +00:00
dfd4748d34 add IP here so I can run the playbook until the DNS cache drops my messup
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-06-02 05:12:46 +00:00