DO NOT MERGE YET - Work in Progress
Signed-off-by: Pedro Moura pmoura@redhat.com
Great start. I like what is there so far. :)
I'd like to flesh out the prod section some more.
In prod builders are usually done per bvmhost at a time:
Some special info:
buildvm-s390x-01 to buildvm-s390x-14 are zvm instances, they have to be updated with dnf --releasever N distro-sync, they cannot be re-installed easily.
I think thats pretty much it, can you merge that into the pr and I'll review again and see if I can think of anything I forgot?
1 new commit added
added production section
Hey @kevin, I updated the PR, but got some doubts: * On 3rd and 4th step what "in a loop" means? Because in the beginning, it is said that it should be done one host at a time.
I couldn't find buildvm playbook in ansible repository, is it somewhere else?
On 6th step, when you say "destroy them as above and reinstall the builders" it is done like in staging? Running virt-inst-dest?
virt-inst-dest
What do you think of replacing "N" in this example dnf --releasever N distro-sync for something like and the same on 5th step with this example koji free-task NNNNN, just to keep the pattern?
dnf --releasever N distro-sync
koji free-task NNNNN
Yeah, so by that I mean:
for i in seq -w 01 35 do echo $i koji disable-host buildvm-s390x-$i.s390.fedoraproject.org done
seq -w 01 35
So, it will disable each host in the range 01 to 35... one at a time.
Should be in playbooks/group/buildvm.yml
Yes. You can use virt-inst-dest.
Sure, that works. or perhaps NAME to make it clear it's a vaiable?
added code as example
Hey @kevin, added the changes.
Is there anything more we should add or fix in that SOP?
rebased onto 42d42428cf6ef2c8951cc58b930fd34633e6532d
I think it looks good! Lets merge.
Pull-Request has been merged by kevin
Update Koji SOP
DO NOT MERGE YET - Work in Progress
Changes Description
Related Issues
Signed-off-by: Pedro Moura pmoura@redhat.com