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

Nodes marked as deleted in the database still appear in the output of REST calls.

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • 1.10.1
    • REST
    • Security Level: Default (Default Security Scheme)
    • None

    Description

      Here is the procedure to reproduce the problem:

      1. Discover some nodes through Discoverd/Capsd.
      2. Then delete some nodes.
      3. After a little while add the nodes you've deleted from step 3 again.
      4. At this time you should be able to see only the new nodes in the WebUI.
      5. Execute a query to retrieve the node for a specific label, something like: /opennms/rest/nodes?label=myrouter.local
      6. You'll obtain two nodes: the correct one plus the old one marked as deleted.

      If the WebUI is not showing the deleted nodes, I guess that the REST API should respect the same rules.

      Attachments

        Activity

          People

            ranger Benjamin Reed
            agalue Alejandro Galue
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: