Closed
Bug 788147
Opened 13 years ago
Closed 13 years ago
supervisor fails to reload itself on first installation
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: rail, Assigned: rail)
Details
(Whiteboard: [puppet])
Attachments
(1 file)
|
867 bytes,
patch
|
dustin
:
review+
rail
:
checked-in+
|
Details | Diff | Splinter Review |
e.g.:
ue Sep 04 05:49:04 -0700 2012 /Stage[main]/Supervisord::Base/Service[supervisord] (err): Failed to call refresh: Could not restart Service[supervisord]: Execution of '/usr/bin/supervisorctl reload' returned 2: at /etc/puppet/production/modules/supervisord/manifests/base.pp:47
That suggests either that the start is failing, or that puppet's not using "status" correctly.
Comment 1•13 years ago
|
||
This is causing failures - albiet one-time failures - on all of the HP's right now.
Comment 2•13 years ago
|
||
> info: /Stage[main]/Supervisord::Base/File[/etc/supervisord.conf]: Scheduling refresh of Service[supervisord]
> debug: Service[supervisord](provider=redhat): Executing '/sbin/service supervisord status'
> debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig supervisord'
> debug: Service[supervisord](provider=redhat): Executing '/sbin/service supervisord start'
> debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig supervisord'
> debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig supervisord on'
> notice: /Stage[main]/Supervisord::Base/Service[supervisord]/ensure: ensure changed 'stopped' to 'running'
> debug: /Stage[main]/Supervisord::Base/Service[supervisord]: The container Class[Supervisord::Base] will propagate my refresh event
> debug: Service[supervisord](provider=redhat): Executing '/sbin/service supervisord status'
> debug: Service[supervisord](provider=redhat): Executing '/usr/bin/supervisorctl reload'
> err: /Stage[main]/Supervisord::Base/Service[supervisord]: Failed to call refresh: Could not restart Service[supervisord]: Execution of '/usr/bin/supervisorctl reload' returned 2: at /etc/puppet/production/modules/supervisord/manifests/base.pp:47
So it is correctly starting it, but the reload isn't working:
[root@relabs08 ~]# /usr/bin/supervisorctl reload
error: <class 'socket.error'>, [Errno 2] No such file or directory: file: <string> line: 1
Possibly related:
[root@relabs08 ~]# supervisorctl
unix:///var/tmp/supervisor.sock no such file
So I think this is not preventing production right now, but will hurt next time you change supervisord settings, as it won't reload correctly.
I suspect the problem is in supervisord.conf -- the socket should be specified in [unix_http_server]:file, not [supervisord]:http_port
Assignee: nobody → rail
Comment 3•13 years ago
|
||
that parameter changed names between supervisord 2.x and 3.x
| Assignee | ||
Comment 4•13 years ago
|
||
I managed to connect to the supervisord server via supervisorctl with this change.
Attachment #658152 -
Flags: review?(dustin)
Updated•13 years ago
|
Attachment #658152 -
Flags: review?(dustin) → review+
| Assignee | ||
Comment 5•13 years ago
|
||
Comment on attachment 658152 [details] [diff] [review]
supervisord config
http://hg.mozilla.org/build/puppet/rev/7e8fd836f973
Attachment #658152 -
Flags: checked-in+
| Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•12 years ago
|
Product: mozilla.org → Release Engineering
You need to log in
before you can comment on or make changes to this bug.
Description
•