badness in commit 0709298 (pmda scripts: deprecate forced_restart from Install scripts)

"Ken McDonell" <[email protected]>
Newsgroups gmane.comp.sysutils.pcp
Message-ID <[email protected]>
Over the past few weeks I've noticed some regressions (on some, not all QA hosts) where installation of the simple PMDA fails.

qa/110 proved to be an accurate indicator of the problem ... the symptom is the PMDA install (the second Unix socket case usually in qa/110) ends up with the simple PMDA installed and running, but "simple" is not in the PMNS ... like the SIGHUP after the PMNS cull made it to pmcd, but the second SIGHUP once the PMNS has been updated did not make it.

This fragment is from 110.out.bad and shows the problem:

Updating the Performance Metrics Name Space (PMNS) ...
Terminate PMDA if already installed ...
[...install files, make output...]
Updating the PMCD control file, and notifying PMCD ...
Check simple metrics have appeared ... 5 warnings, 5 metrics and 0 values
simple.numfetch: pmLookupDesc: Unknown or illegal metric identifier   <----- THIS SHOULD NOT HAPPEN
simple.color: pmLookupDesc: Unknown or illegal metric identifier
simple.now: pmLookupDesc: Unknown or illegal metric identifier
simple.time.user: pmLookupDesc: Unknown or illegal metric identifier
simple.time.sys: pmLookupDesc: Unknown or illegal metric identifier

After a bit of a struggle, git bisect claims

kenj@vm25:~/src/pcp$ git bisect good,07092983aaef3f31f16f8e518757c364a7f52d95 is the first bad commit
commit 07092983aaef3f31f16f8e518757c364a7f52d95
Author: Nathan Scott <[email protected]>
Date:   Thu Oct 6 16:52:16 2016 +1100

    pmda scripts: deprecate forced_restart from Install scripts

which certainly smells like it is in the right place.

Has anyone else seen this failure?

Perhaps this commit is worth a detailed review by someone.

I have a rock-solid failure environment should a fix/change be proposed.

-=-=-=-=-=-=-=-=-=-=-=-
pcp mailing list
[email protected]
https://groups.io/g/pcp/messages
-=-=-
Groups.io Links:

You receive all messages sent to this group.

View/Reply Online (#14608): https://groups.io/g/pcp/message/14608
View All Messages In Topic (1): https://groups.io/g/pcp/topic/2972831
Mute This Topic: https://groups.io/mt/2972831?uid=174580
New Topic: https://groups.io/g/pcp/post

Change Your Subscription: https://groups.io/g/pcp/editsub?uid=174580

Group Home: https://groups.io/g/pcp
Contact Group Owner: [email protected]

Terms of Service: https://groups.io/static/tos

Unsubscribe: https://groups.io/g/pcp/leave/354243/563757577/xyzzy
-=-=-=-=-=-=-=-=-=-=-=-
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.