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

VMware Provisioning Error

    XMLWordPrintable

    Details

    • Sprint:
      Horizon - May 24th

      Description

      VMware provisioning stopped working after upgrading to 19.1.0

      vmwarereqtool output
      07:56:19.428 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Only non-reachable interfaces found, using first one for primary interface 'esx_ip'
      08:04:48.856 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Only non-reachable interfaces found, using first one for primary interface 'esx_ip'
      08:13:18.424 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Only non-reachable interfaces found, using first one for primary interface 'esx_ip'
      08:21:52.600 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Only non-reachable interfaces found, using first one for primary interface 'esx_ip'
      08:30:21.784 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Only non-reachable interfaces found, using first one for primary interface 'esx_ip'
      08:38:50.968 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Only non-reachable interfaces found, using first one for primary interface 'esx_ip'
      08:38:51.618 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Found reachable primary interface 'esx_ip'
      08:38:52.133 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Found reachable primary interface 'esx_ip'
      08:38:52.610 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Found reachable primary interface 'esx_ip'
      08:47:21.816 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Only non-reachable interfaces found, using first one for primary interface 'esx_ip'
      08:55:51.128 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Only non-reachable interfaces found, using first one for primary interface 'esx_ip'
      08:55:51.579 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Found reachable primary interface 'esx_ip'
      08:55:52.163 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Found reachable primary interface 'esx_ip'
      08:55:52.592 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Found reachable primary interface 'esx_ip'
      08:56:00.494 [Main] WARN  org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection - Problem getting input stream: '{}'
      java.lang.NullPointerException
              at java.net.URLEncoder.encode(URLEncoder.java:204) ~[?:1.8.0_60]
              at org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection.createRequisitionNode(VmwareRequisitionUrlConnection.java:521) ~[opennms-vmware-19.1.0.jar:?]
              at org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection.iterateVirtualMachines(VmwareRequisitionUrlConnection.java:766) ~[opennms-vmware-19.1.0.jar:?]
              at org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection.buildVMwareRequisition(VmwareRequisitionUrlConnection.java:615) ~[opennms-vmware-19.1.0.jar:?]
              at org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection.getInputStream(VmwareRequisitionUrlConnection.java:912) [opennms-vmware-19.1.0.jar:?]
              at org.opennms.netmgt.provision.service.vmware.VmwareRequisitionTool.main(VmwareRequisitionTool.java:109) [opennms-vmware-19.1.0.jar:?]
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_60]
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_60]
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_60]
              at java.lang.reflect.Method.invoke(Method.java:497) ~[?:1.8.0_60]
              at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:525) [opennms_bootstrap.jar:?]
              at java.lang.Thread.run(Thread.java:745) [?:1.8.0_60]
      java.lang.reflect.InvocationTargetException
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at org.opennms.bootstrap.Bootstrap$4.run(Bootstrap.java:525)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.apache.commons.io.IOExceptionWithCause: Problem getting input stream: java.lang.NullPointerException
              at org.opennms.netmgt.provision.service.vmware.VmwareRequisitionUrlConnection.getInputStream(VmwareRequisitionUrlConnection.java:966)
              at org.opennms.netmgt.provision.service.vmware.VmwareRequisitionTool.main(VmwareRequisitionTool.java:109)
              ... 6 more
      

        Attachments

          Activity

            People

            • Assignee:
              cpape Christian Pape
              Reporter:
              mmahacek Mark Mahacek
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: