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

config-tester doesn't find malformed resourceTypes

    XMLWordPrintable

Details

    • Backlog

    Description

      Customer environment failed to start with inscrutable eventd-related stack traces. 

      config-tester-a reported no errors. 

      datacollection-validation.sh reported no errors.

       

      One datacollection contained an incomplete resourceType stanza and would not validate when verified using `xmllint --schema`:

      kr_checkpoint.xml:8: element resourceType: Schemas validity error : Element '{http://xmlns.opennms.org/xsd/config/datacollection}resourceType': Missing child element(s). Expected is ( {http://xmlns.opennms.org/xsd/config/datacollection}persistenceSelectorStrategy ).
      
      kr_checkpoint.xml fails to validate
      

      Line 8:

      <resourceType name="vsxStatusEntry" label="Status Entry" resourceLabel="${index}"/>
      

      Our config verification tools really should catch these types of errors.

       

       

      Attachments

        Issue Links

          Activity

            People

              fchu Freddy Chu
              dino2gnt Dino Yancey
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.