Closed Bug 1075822 Opened 10 years ago Closed 9 years ago

hgweb* hosts not configured to start httpd on startup

Categories

(Developer Services :: Mercurial: hg.mozilla.org, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hwine, Assigned: gps)

Details

(Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/655] )

Attachments

(2 files)

noticed during kernel upgrades:

[root@hgweb4.dmz.scl3 ~]# chkconfig | grep httpd
httpd          	0:off	1:off	2:off	3:off	4:off	5:off	6:off
[root@hgweb4.dmz.scl3 ~]#
Product: Release Engineering → Developer Services
I don't see anything obvious in puppet for making this happen when a host is installed/configured, but I *must* be missing something.

In any case, fixed on the current web heads:

sekrit$ for i in {1..10}; do ssh root@hgweb${i}.dmz.scl3.mozilla.com chkconfig --list httpd; done
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
httpd          	0:off	1:off	2:on	3:on	4:on	5:on	6:off
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/195]
Whiteboard: [kanban:engops:https://kanbanize.com/ctrl_board/6/195] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/655] [kanban:engops:https://kanbanize.com/ctrl_board/6/195]
Whiteboard: [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/655] [kanban:engops:https://kanbanize.com/ctrl_board/6/195] → [kanban:engops:https://mozilla.kanbanize.com/ctrl_board/6/655]
ansible/hg-web: configure httpd to run at system startup (bug 1075822); r=fubar
Attachment #8685542 - Flags: review?(klibby)
ansible/supervisor: configure supervisord to run at system startup (bug 1075822); r=fubar
Attachment #8685543 - Flags: review?(klibby)
Assignee: nobody → gps
Status: NEW → ASSIGNED
Comment on attachment 8685542 [details]
MozReview Request: ansible/hg-web: configure httpd to run at system startup (bug 1075822); r=fubar

https://reviewboard.mozilla.org/r/24821/#review22351

levels 2,3,4,5 appear to be the default for 'chkconfig on' but there's no harm in being explicit. shipit.
Attachment #8685542 - Flags: review?(klibby) → review+
Attachment #8685543 - Flags: review?(klibby) → review+
Comment on attachment 8685543 [details]
MozReview Request: ansible/supervisor: configure supervisord to run at system startup (bug 1075822); r=fubar

https://reviewboard.mozilla.org/r/24823/#review22353

lgtm
Should also do the same for cgconfig if we're still using it:

hgweb4.dmz.scl3# chkconfig --list | grep cgconfig
cgconfig       	0:off	1:off	2:off	3:off	4:off	5:off	6:off
hgweb4.dmz.scl3# service cgconfig status
Running
Yeah, I'll throw in cgconfig as well.
https://hg.mozilla.org/hgcustom/version-control-tools/rev/3ae92a099fd5a12f8fc5b8668fdcbb317f1bfea8
ansible/hg-web: configure httpd to run at system startup (bug 1075822); r=fubar

https://hg.mozilla.org/hgcustom/version-control-tools/rev/d055ee6e64535dfc647d0ea13e2f6f7366ffd196
ansible/hg-web: configure cgconfig to run at system start (bug 1075822)

https://hg.mozilla.org/hgcustom/version-control-tools/rev/bbf24abe9c15650336c9148d43116f75ebfb6815
ansible/supervisor: configure supervisord to run at system startup (bug 1075822); r=fubar
This will get deployed sometime today most likely.
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: