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

Document that user must be in 'rest', 'provision' or 'admin' role for provision.pl to work

    XMLWordPrintable

    Details

    • Type: Enhancement
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 14.0.1
    • Fix Version/s: 15.0.0, Meridian-2015.1.0
    • Component/s: Documentation
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:

      Description

      Hello,
      like at the 1.12.9 opennms' version (http://issues.opennms.org/browse/NMS-7112), the provisioning script provision.pl just works if admin user credentials are used.

      If another administrator user is used, the provision.pl doesn't work and generate and "403 Access is denied" error:

      /opt/opennms/bin/provision.pl --username user --password pass node add "Router" 1.2.3.4 "ROUTERPC" 403 Access is denied at /opt/opennms/bin/provision.pl line 806.
      main::post('Router/nodes', 'XML::Twig::Elt=HASH(0x191be98)') called at /opt/opennms/bin/provision.pl line 322
      main::cmd_node('add', 'Router', 1.2.3.4, 'ROUTERPC') called at /opt/opennms/bin/provision.pl line 151

      Thanks in advance

      Best regards,
      Pablo

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              jpablo.marco Juan Pablo Marco Cardona
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: