Issue #21580 has been reported by Andrew Parker.

----------------------------------------
Bug #21580: RHEL init scripts unable to distinguish properly between agent and 
master
https://projects.puppetlabs.com/issues/21580

* Author: Andrew Parker
* Status: Accepted
* Priority: Normal
* Assignee: Matthaus Owens
* Category: 
* Target version: 
* Affected Puppet version: 
* Keywords: 
* Branch: 
----------------------------------------
The init scripts on EL systems are mis-identifying the master process when the 
agent is running. The following interaction seems to show that the master is 
being recognized simply as `puppet`, which is causing it problems when getting 
the status of the master when it isn't running.

<pre>
[root@rhel6-64-puppet-3 ~]# service puppet status
puppet is stopped
[root@rhel6-64-puppet-3 ~]# service puppetmaster status
puppet is stopped
[root@rhel6-64-puppet-3 ~]# service puppet start
Starting puppet agent:                                     [  OK  ]
[root@rhel6-64-puppet-3 ~]# service puppetmaster status
puppet dead but subsys locked
[root@rhel6-64-puppet-3 ~]# service puppetmaster start
Starting puppetmaster:                                     [  OK  ]
[root@rhel6-64-puppet-3 ~]# service puppetmaster status
puppet (pid  1885) is running...
[root@rhel6-64-puppet-3 ~]# service puppet status
puppet (pid  1855) is running...
[root@rhel6-64-puppet-3 ~]# service puppet stop
Stopping puppet agent:                                     [  OK  ]
[root@rhel6-64-puppet-3 ~]# service puppet status
puppet is stopped
[root@rhel6-64-puppet-3 ~]# service puppetmaster status
puppet (pid  1885) is running...
[root@rhel6-64-puppet-3 ~]# service puppetmaster stop
Stopping puppetmaster:                                     [  OK  ]
[root@rhel6-64-puppet-3 ~]# service puppet status
puppet is stopped
[root@rhel6-64-puppet-3 ~]# service puppetmaster status
puppet is stopped
</pre>

The output shows that when the agent is running, the master status is 
incorrect. When the agent is not running then the master status identifies the 
process as simply `puppet` instead of the `puppetmaster`.


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to