Deploy new supervisor RPM to releng Yum repo

RESOLVED FIXED

Status

Release Engineering
Platform Support
P2
normal
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: jhopkins, Assigned: rail)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

5 years ago
Source RPM and binary RPM available at:

 http://people.mozilla.org/~jhopkins/bug772446/

Built on bld-centos6-hp-005.

How it was built:
- I started with the spec file from http://fr2.rpmfind.net//linux/RPM/fedora/16/x86_64/supervisor-3.0-0.5.a10.fc16.noarch.html 
- updated the spec file to point at the .tar.gz from ftp://ftp.cc.uoc.gr/mirrors/linux/fedora/linux/development/rawhide/source/SRPMS/s/supervisor-3.0-0.9.a12.fc19.src.rpm
- edited version, packager, changelog, and %doc list
- built the source rpm, basically as follows:
$ rpmbuild -bs *spec
- built the binary rpm using mock
$ mock -r epel-6-x86_64 SRPMS/supervisor-3.0-0.10.a12.el6.src.rpm
Dustin, do the steps above match our expectations with puppetAgain rpms?
The description above sounds fine.

The landing will need to follow
  https://wiki.mozilla.org/ReleaseEngineering/PuppetAgain/HowTo/Hack_on_PuppetAgain#Custom_Packages
including moving it to packages::mozilla::supervisord (or supervisor)

I assume this is just to get a more modern version of supervisord than is available via CentOS/EPEL?  Some comments to that end in the patch would help, so in a year we're not wondering why we needed this exact version of supervisord, and afraid to upgrade it.
(Reporter)

Comment 3

5 years ago
The version of supervisor currently in our repo has a bug where the supervisord CPU usage goes to 100%.  This newer version of supervisor addresses the problem.
(Assignee)

Updated

5 years ago
Assignee: nobody → rail
OS: Mac OS X → Linux
Priority: -- → P2
Hardware: x86 → x86_64
(Assignee)

Comment 4

5 years ago
Created attachment 656010 [details] [diff] [review]
supervisor puppet manifests + spec

* spec file by jhopkins
* renamed packages::supervisord to packages::mozilla::supervisor (to match package name)
Attachment #656010 - Flags: review?(dustin)
(Assignee)

Comment 5

5 years ago
src.rpm and noarch.rpm files are at http://people.mozilla.org/~jhopkins/bug772446/
Attachment #656010 - Flags: review?(dustin) → review+
(Assignee)

Comment 6

5 years ago
# at releng-puppet1.srv.releng.scl3
$ wget http://people.mozilla.org/~jhopkins/bug772446/supervisor-3.0-0.10.a12.el6.noarch.rpm
$ wget http://people.mozilla.org/~jhopkins/bug772446/supervisor-3.0-0.10.a12.el6.src.rpm
$ chmod 644 *.rpm
$ sudo chown puppetagainsync:puppetagainsync *.rpm
$ sudo mv -vi *.rpm /data/repos/yum/releng/public/CentOS/6/noarch/
`supervisor-3.0-0.10.a12.el6.noarch.rpm' -> `/data/repos/yum/releng/public/CentOS/6/noarch/supervisor-3.0-0.10.a12.el6.noarch.rpm'
`supervisor-3.0-0.10.a12.el6.src.rpm' -> `/data/repos/yum/releng/public/CentOS/6/noarch/supervisor-3.0-0.10.a12.el6.src.rpm'
$ sudo -u puppetagainsync createrepo --update /data/repos/yum/releng/public/CentOS/6/noarch
2/2 - supervisor-3.0-0.10.a12.el6.src.rpm                                       
Saving Primary metadata
Saving file lists metadata
Saving other metadata
(Assignee)

Comment 7

5 years ago
Comment on attachment 656010 [details] [diff] [review]
supervisor puppet manifests + spec

http://hg.mozilla.org/build/puppet/rev/b3b4f8f35688
Attachment #656010 - Flags: checked-in+
(Assignee)

Updated

5 years ago
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Product: mozilla.org → Release Engineering
You need to log in before you can comment on or make changes to this bug.