Mathieu Bridon
2e35fa64a3
distgit: Ensure the folder exists
...
We can't hard link the file if the folder containing the link
destination does not exist.
Hurray for testing in staging!
2015-05-29 11:59:57 +02:00
Mathieu Bridon
e570c2f271
distgit: Upload files to both the new and old path
...
Currently, the CGI script is set to upload files:
- to the old path if the upload uses md5
- to the new path if the upload uses sha512
The old path is as follows:
/%(srpmname)s/%(filename)s/%(hash)s/%(filename)s
The new path is:
/%(srpmname)s/%(filename)s/%(hashtype)s/%(hash)s/%(filename)s
This was meant to ensure compatibility with current fedpkg which
always downloads from the old path, but will eventually download from
the new path when we move to sha512.
However, working more on this, I now think it would make for a smoother
transition if we instead always stored the files at the new path, but
just hardlinked to the old path if the upload is using md5.
This is what this patch achieves.
With this deployed in production, fedpkg could be patched to try
downloading from the new path, and fallback to the old one if necessary,
which decouples the migration to the new path from the migration to the
new hash.
2015-05-29 11:24:24 +02:00
Kevin Fenzi
4c4ef28acc
This is sysadmin-dba, not sysadmin-db.
2015-05-28 20:28:05 +00:00
Kevin Fenzi
65638ef274
Drop the removing of ssh host keys. The persistent playbook should now handle this on reprovision cleanly.
2015-05-28 20:20:56 +00:00
Kevin Fenzi
e015807e72
Add the same logic as for virt hosts to cloud spin up. When new instance is made it gathers the key automatically.
2015-05-28 19:58:02 +00:00
Kevin Fenzi
b62619e9d3
Duh. Need to quote this because it's multiline
2015-05-28 19:42:53 +00:00
Kevin Fenzi
5b77fe91d2
Try |string
2015-05-28 19:23:46 +00:00
Kevin Fenzi
c495f031d3
ok, lets try |str filter here.
2015-05-28 19:05:46 +00:00
Kevin Fenzi
aed8829f96
I'm sure it can't be this easy, but will try adding a join filter here.
2015-05-28 18:19:54 +00:00
3d4129dd78
install libsemanage-python to set an sebool for collectd
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-28 18:09:03 +00:00
Kevin Fenzi
6ba003e4ea
Need this local keyscan action to be a command.
2015-05-28 17:49:23 +00:00
Kevin Fenzi
c1bb97974b
This is an attempt to gather initial ssh_host_key from new vms when they are made.
...
This avoids having to accept the key manually and allows playbooks making new
instances to complete without human intervention.
(If it works as desired)
2015-05-28 17:35:25 +00:00
67ef59bdfa
Merge branch 'master' of /git/ansible
2015-05-28 16:56:58 +00:00
a7e9f1dfbe
move nuancier01.stg and gallery01.stg to vh11
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-28 16:56:55 +00:00
Kevin Fenzi
906093d009
Merge branch 'master' of /git/ansible
2015-05-28 16:54:45 +00:00
d272588089
Merge branch 'missingcollectd'
2015-05-28 16:54:30 +00:00
Kevin Fenzi
de16c36fef
Set variable right for db03.stg mysql root pw
2015-05-28 16:54:29 +00:00
Valentin Gologuzov
e992281122
[copr][backend] bug in provision build pb
2015-05-28 18:35:35 +02:00
Kevin Fenzi
d5784d6eb8
Add db03 and db03.stg rhel7 mariadb hosts to take over for db02.stg and db05.
...
Note that all thats left that uses them is paste and wiki so once we are done
migrating those, we can retire these.
2015-05-28 16:34:10 +00:00
Ralph Bean
96050012d4
Update fedmenu (in prod).
2015-05-28 16:15:29 +00:00
Ralph Bean
fe6c002ec3
Latest fedmenu (for staging).
2015-05-28 16:10:31 +00:00
Kevin Fenzi
fcfee75a00
Drop qa01.qa from inventory, it's a beaker client.
...
Drop 209.132.184.150 as it's old copr and we don't care about it anymore.
Comment secondary-vault, it doesn't listen on ssh
Fix naming on ppc8 fsp nodes (they are in qa net).
2015-05-28 15:58:34 +00:00
ee1356bb16
updating taskotron yumrepoinfo now that f22 is released
2015-05-28 14:47:57 +00:00
Kevin Fenzi
c2e5f4597d
Add missing playbooks to master playbook. (mariadb, torrent, beaker-virthost, secondary)
...
Move logserver to groups. It's only one host, but there might be more someday.
Merge the copr new cloud playbooks to the normal names since we are mirgated now to the new cloud.
Drop junk02 playbook as we don't have a junk02 currently.
Add commented people playbook to master, it's not ready yet, but should be noted there for when it is.
2015-05-28 13:32:01 +00:00
Kevin Fenzi
1ed841d560
Fix things up here by moving blockerbugs-dev to it's own group and not have it be in stg
2015-05-28 12:57:58 +00:00
Kevin Fenzi
37d0c48865
blockerbugs-dev is in the cloud. Set this so it doesn't get phx2 resolv.conf and the like.
2015-05-28 12:54:27 +00:00
Kevin Fenzi
594be3aeb7
Don't try and run the create virt play on blockerbugs dev cloud instance.
2015-05-28 12:19:35 +00:00
dd440f21d1
update some docs redirects for F22
2015-05-27 22:55:33 -06:00
Stephen Smoogen
7a3dece193
and we make a yml
2015-05-28 03:42:58 +00:00
129f77f2b9
koji db was migrated too
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-28 03:07:06 +00:00
5b38e18b3a
oops, this is used for mysql dbs too...
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-28 03:05:20 +00:00
Kevin Fenzi
275f4b5203
Change all instances of ansible_distribution_major_version to filter to int for comparisons.
2015-05-27 22:27:39 +00:00
03633c8f0c
Merge branch 'master' of /git/ansible
2015-05-27 22:25:42 +00:00
c721c830e3
move over kerneltest and "db05" alias
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-27 22:25:32 +00:00
Kevin Fenzi
76a3f8ad74
Try this.
2015-05-27 22:09:03 +00:00
92b2c30086
Merge branch 'master' of /git/ansible
2015-05-27 22:06:59 +00:00
c2c58c6ab0
move fedocal01.stg to vh11
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-27 22:06:55 +00:00
Luke Macken
16d868f7f4
jenkins: Install python-createrepo_c on the workers for bodhi2
2015-05-27 21:55:58 +00:00
e35a2fee43
apparently this one was already migrated
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-27 21:51:48 +00:00
ce53299937
removing beaker-stg from master playbook until it's working properly
2015-05-27 21:44:36 +00:00
b5c33f4247
Merge branch 'master' of /git/ansible
2015-05-27 21:35:45 +00:00
4ef5f62040
move fedimg01.stg to vh11
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-27 21:35:39 +00:00
Kevin Fenzi
a9a3db1d3b
Fix this conditional to work right when ostree isn't defined.
2015-05-27 21:15:06 +00:00
fdb96c6194
move elections01.stg to vh11
...
Signed-off-by: Ricky Elrod <codeblock@fedoraproject.org>
2015-05-27 21:07:00 +00:00
Patrick Uiterwijk
87214c087d
Revert "Switch askbot and packages to use memcached01 for now"
...
This reverts commit e57926de93
.
2015-05-27 18:59:02 +00:00
Patrick Uiterwijk
e57926de93
Switch askbot and packages to use memcached01 for now
...
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
2015-05-27 16:58:23 +00:00
Kevin Fenzi
ae77a15521
Set release-notes default to f22.
2015-05-27 16:08:18 +00:00
Kevin Fenzi
fe70160e4c
Weed some more stuff from the epylog reports that we don't much care about.
2015-05-27 15:57:44 +00:00
Pierre-Yves Chibon
98ec14df6b
Adjust award-mirror-badge for MirrorManager2
2015-05-27 17:31:30 +02:00
Miroslav Suchý
afce0dc6dc
add flavors for Copr
2015-05-27 15:10:57 +02:00