Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-9900

Value of ${nodeLabel} for PSM services apparently not eagerly updated

    Details

    • Sprint:
      Horizon - April 18th 2018, Horizon - April 25th 2018, Horizon - May 2nd 2018, Horizon - May 9th 2018, Horizon - May 16th 2018

      Description

      One student had the label of his test node as my_local_host in the requisition. This broke the OpenNMS-Login PSM service because it includes virtual-host="${nodeLabel}". We changed the node label to a valid hostname and synchronized the requisition, then deleted the service and rescanned the node so that a poll would happen again right away. It should have gone green on that poll, but it failed again with the same message:

      ...because of the following condition: my_local_host

      Restarting OpenNMS caused the outage to resolve. This leads me to conclude that the value of at least nodeLabel is not updated eagerly by the poller. I'm thinking the poller should refresh its cache of node labels et al when it sees a nodeUpdated event, that should resolve the problem.

        Attachments

          Activity

            People

            • Assignee:
              patrick.schweizer Patrick Schweizer
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: