| Summary: | RFE: matahari init script shouldn't allow multiple instances of the same agent | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dave Johnson <dajohnso> |
| Component: | matahari | Assignee: | Andrew Beekhof <abeekhof> |
| Status: | CLOSED ERRATA | QA Contact: | Dave Johnson <dajohnso> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | matahari-maint, rbryant, whayutin, zbitter |
| Target Milestone: | rc | Keywords: | FutureFeature |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | matahari-0.4.2-7.el6 | Doc Type: | Enhancement |
| Doc Text: |
No description required
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 11:39:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Dave Johnson
2011-08-17 16:30:09 UTC
Note that the preferred way to start a daemon is with "service matahari-<agent> start", since that should ensure a consistent environment. I can't reproduce this issue on Fedora 15 (haven't tried RHEL). Reproduced on RHEL A related patch has been committed upstream: https://github.com/beekhof/matahari/commit/d8d6ee9 [root@pcmk-1 ~]# killall -9 matahari-qmf-hostd [root@pcmk-1 ~]# /etc/init.d/matahari-host status matahari-qmf-hostd is stopped [root@pcmk-1 ~]# /etc/init.d/matahari-host start matahari-qmf-hostd is stopped Starting the matahari-host daemon: [ OK ] [root@pcmk-1 ~]# /etc/init.d/matahari-host start matahari-qmf-hostd (pid 1436) is running... [root@pcmk-1 ~]# ps axf | grep qmf-host 1446 pts/0 S+ 0:00 | \_ grep qmf-host 1436 ? Ssl 0:00 matahari-qmf-hostd --reconnect=yes --daemon good 2 go in v0.4.2-7 [root@hp-bl260cg5-01 init.d]# ./matahari-host start; ./matahari-network start; ./matahari-service start; ./matahari-sysconfig start matahari-qmf-hostd is stopped Starting the matahari-host daemon: [ OK ] matahari-qmf-networkd is stopped Starting the matahari-network daemon: [ OK ] matahari-qmf-serviced is stopped Starting the matahari-service daemon: [ OK ] matahari-qmf-sysconfigd is stopped Starting the matahari-sysconfig daemon: [ OK ] [root@hp-bl260cg5-01 init.d]# ./matahari-host start; ./matahari-network start; ./matahari-service start; ./matahari-sysconfig start matahari-qmf-hostd (pid 8965) is running... matahari-qmf-networkd (pid 8976) is running... matahari-qmf-serviced (pid 8987) is running... matahari-qmf-sysconfigd (pid 8999) is running... [root@hp-bl260cg5-01 init.d]# ./matahari-host start; ./matahari-network start; ./matahari-service start; ./matahari-sysconfig start matahari-qmf-hostd (pid 8965) is running... matahari-qmf-networkd (pid 8976) is running... matahari-qmf-serviced (pid 9072) is running... matahari-qmf-sysconfigd (pid 8999) is running... [root@hp-bl260cg5-01 init.d]# ps -ef | grep matahari root 8965 1 0 15:51 ? 00:00:01 matahari-qmf-hostd --reconnect=yes --broker ibm-x3650-02.ovirt.rhts.eng.bos.redhat.com --port 49000 --daemon root 8976 1 0 15:51 ? 00:00:00 matahari-qmf-networkd --reconnect=yes --broker ibm-x3650-02.ovirt.rhts.eng.bos.redhat.com --port 49000 --daemon root 8999 1 0 15:51 ? 00:00:00 matahari-qmf-sysconfigd --reconnect=yes --broker ibm-x3650-02.ovirt.rhts.eng.bos.redhat.com --port 49000 --daemon root 9072 1 0 15:53 ? 00:00:00 matahari-qmf-serviced --reconnect=yes --broker ibm-x3650-02.ovirt.rhts.eng.bos.redhat.com --port 49000 --daemon root 9102 8834 0 15:54 pts/0 00:00:00 grep matahari [root@hp-bl260cg5-01 init.d]#
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No description required
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1569.html |