[prev in list] [next in list] [prev in thread] [next in thread] 

List:       opennms-discuss
Subject:    Re: [opennms-discuss] VMWare imports - Provisiond
From:       Slobodan_Aleksić <lists () aleksic ! de>
Date:       2016-09-18 13:24:53
Message-ID: e4377866-8a8e-1682-01ef-cf2fa720c241 () aleksic ! de
[Download RAW message or body]

Ok the provisioning works to!
I had just to wait a bit for the requisition to be created!


Many thanks, Ronny!



On 09/18/2016 03:22 PM, Slobodan Aleksić wrote:
> The scripts work now without errors!
> But the provisioning is just failing :
> 
> 
> ___________________________________________________________________________
> 2016-09-18 15:17:00,066 ERROR [importExecutor-1]
> o.o.n.p.p.FasterFilesystemForeignSourceRepository:
> importResourceRequisition: can't save cached requisition associated with
> URL [vmware://host.domain.com/VCenterImport?key=monitoring;value=yes]
> java.io.FileNotFoundException: there is no file called
> 'VCenterImport?key=monitoring;value=yes' in directory
> /opt/opennms/etc/imports
> at
> org.opennms.netmgt.provision.persist.DirectoryWatcher.getContents(DirectoryWatcher.java:257)
>  ~[opennms-provision-persistence-18.0.1.jar:?]
> at
> org.opennms.netmgt.provision.persist.FasterFilesystemForeignSourceRepository.importResourceRequisition(FasterFilesystemForeignSourceRepository.java:84)
>  [opennms-provision-persistence-18.0.1.jar:?]
> at
> org.opennms.netmgt.provision.persist.FusedForeignSourceRepository.importResourceRequisition(FusedForeignSourceRepository.java:97)
>  [opennms-provision-persistence-18.0.1.jar:?]
> at
> org.opennms.netmgt.provision.service.DefaultProvisionService.loadRequisition(DefaultProvisionService.java:1024)
>  [opennms-provisiond-18.0.1.jar:?]
> ___________________________________________________________________________
> 
> I tried with and without a key value ...
> 
> Thanks for your actions!
> 
> 
> 
> 
> On 09/18/2016 03:04 PM, Ronny Trommer wrote:
> > Can you please try this ones? I've just copied them from the merged pull
> > request and I've verified them in the Vagrant CentOS 7 environment.
> > 
> > vmwareconfigbuilder:
> > http://paste.opennms.eu/?8d557609723bf213#UH2kqGw4HM7UoA4IBzKKEFOi9kzvkEsuCbi2wNNS6pE=
> >  
> > vmwarecimquery:
> > http://paste.opennms.eu/?dbf3c28dad625e2c#uU1r6Z8cewdanwHQitGR5Eoi3QN+YpCy6gf6XDMU79U=
> >  
> > Vagrant file
> > http://paste.opennms.eu/?ceca804090f2279e#+VeJBHhmfF1G9FMMCxnMtL4/9yDYwMdryOrj55qdZi0=
> >  
> > Greetings Ronny
> > 
> > > On 18.09.2016, at 14:51, Slobodan Aleksić <lists@aleksic.de
> > > <mailto:lists@aleksic.de>> wrote:
> > > 
> > > correct .
> > > 
> > > On 09/18/2016 02:37 PM, Ronny Trommer wrote:
> > > > You run on CentOS 7, right?
> > > > 
> > > > > On 18.09.2016, at 13:15, Slobodan Aleksić <lists@aleksic.de
> > > > > <mailto:lists@aleksic.de>
> > > > > <mailto:lists@aleksic.de>> wrote:
> > > > > 
> > > > > 
> > > > > http://paste.opennms.eu/?b0ee3c99f621f279#vXD9vvvsdIllQDjXIE3Jn7A4wjIRZQXUcUhEZ9jQa8E=
> > > > >  
> > > > > http://paste.opennms.eu/?7bc7af268f5d8b4c#jCl1YdiYqtJGhDIevwOzzY1tvCWDGznaELDlj3/F2FE=
> > > > >  
> > > > > 
> > > > > It is vmwareconfigbuilder which is throwing the error not vmwarecimquey.
> > > > > CIMQuery is doing fine, only a warning :
> > > > > 
> > > > > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
> > > > > SLF4J: Defaulting to no-operation (NOP) logger implementation
> > > > > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for
> > > > > further details.
> > > > > 
> > > > > 
> > > > > Configbuilder error:
> > > > > 
> > > > > Error: Could not find or load main class
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > 
> > > > > On 09/18/2016 01:02 PM, Ronny Trommer wrote:
> > > > > > Hi,
> > > > > > 
> > > > > > can you drop the file you executed? You can use something
> > > > > > like http://pastebin.com <http://pastebin.com/>
> > > > > > <http://pastebin.com/> or http://paste.opennms.eu
> > > > > > <http://paste.opennms.eu/>
> > > > > > <http://paste.opennms.eu/>
> > > > > > 
> > > > > > Thank you in advance
> > > > > > 
> > > > > > > On 18.09.2016, at 12:08, Slobodan Aleksić <lists@aleksic.de
> > > > > > > <mailto:lists@aleksic.de>
> > > > > > > <mailto:lists@aleksic.de>
> > > > > > > <mailto:lists@aleksic.de>> wrote:
> > > > > > > 
> > > > > > > 
> > > > > > > I found the patch from Ronny Trommer (NMS-8718) and tested it, but
> > > > > > > something is wrong with the classpath. When executing
> > > > > > > vmwarecimquery it
> > > > > > > throws the error : "Error: Could not find or load main class".
> > > > > > > 
> > > > > > > On 09/17/2016 09:58 PM, Slobodan Aleksić wrote:
> > > > > > > > Hi all,
> > > > > > > > 
> > > > > > > > On OpenNMS Horizon 16.x the guide on
> > > > > > > > https://wiki.opennms.org/wiki/Featurebranch/feature-vmware
> > > > > > > > works as expected.
> > > > > > > > 
> > > > > > > > On 18.0.1 I got errors with missing .jar files when executing the
> > > > > > > > vmwareconfigbuilder script :
> > > > > > > > vijava*.jar
> > > > > > > > slf4j*.jar
> > > > > > > > 
> > > > > > > > I copied the missing files over from a version 16 installation to the
> > > > > > > > 18.0.1 .
> > > > > > > > Everything looked good, the script worked.
> > > > > > > > 
> > > > > > > > But when proviosnd tried to create the requisition it fails
> > > > > > > > (provisiond.log)  with :
> > > > > > > > "..importResourceRequisition: can't save cached requisition
> > > > > > > > associated
> > > > > > > > with URL [vmware://....]
> > > > > > > > 
> > > > > > > > 
> > > > > > > > I tried several things out like creating a requisition with same name
> > > > > > > > and other stuff but I am not able to get the thing flying ?
> > > > > > > > 
> > > > > > > > Any ideas ?
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > --
> > > > > > > > Slobodan
> > > > > > > > 
> > > > > > > > 
> > > > > > > > 
> > > > > > > > ------------------------------------------------------------------------------
> > > > > > > >  _______________________________________________
> > > > > > > > Please read the OpenNMS Mailing List FAQ:
> > > > > > > > http://www.opennms.org/index.php/Mailing_List_FAQ
> > > > > > > > 
> > > > > > > > opennms-discuss mailing list
> > > > > > > > 
> > > > > > > > To *unsubscribe* or change your subscription options, see the bottom
> > > > > > > > of this page:
> > > > > > > > https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> > > > > > > > 
> > > > > > > 
> > > > > > > 
> > > > > > > ------------------------------------------------------------------------------
> > > > > > >  _______________________________________________
> > > > > > > Please read the OpenNMS Mailing List FAQ:
> > > > > > > http://www.opennms.org/index.php/Mailing_List_FAQ
> > > > > > > 
> > > > > > > opennms-discuss mailing list
> > > > > > > 
> > > > > > > To *unsubscribe* or change your subscription options, see the bottom
> > > > > > > of this page:
> > > > > > > https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> > > > > > 
> > > > > > 
> > > > > > 
> > > > > > ------------------------------------------------------------------------------
> > > > > >  
> > > > > > 
> > > > > > 
> > > > > > _______________________________________________
> > > > > > Please read the OpenNMS Mailing List FAQ:
> > > > > > http://www.opennms.org/index.php/Mailing_List_FAQ
> > > > > > 
> > > > > > opennms-discuss mailing list
> > > > > > 
> > > > > > To *unsubscribe* or change your subscription options, see the bottom
> > > > > > of this page:
> > > > > > https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> > > > > > 
> > > > > 
> > > > > 
> > > > > ------------------------------------------------------------------------------
> > > > >  _______________________________________________
> > > > > Please read the OpenNMS Mailing List FAQ:
> > > > > http://www.opennms.org/index.php/Mailing_List_FAQ
> > > > > 
> > > > > opennms-discuss mailing list
> > > > > 
> > > > > To *unsubscribe* or change your subscription options, see the bottom
> > > > > of this page:
> > > > > https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> > > > 
> > > > 
> > > > 
> > > > ------------------------------------------------------------------------------
> > > >  
> > > > 
> > > > 
> > > > _______________________________________________
> > > > Please read the OpenNMS Mailing List FAQ:
> > > > http://www.opennms.org/index.php/Mailing_List_FAQ
> > > > 
> > > > opennms-discuss mailing list
> > > > 
> > > > To *unsubscribe* or change your subscription options, see the bottom
> > > > of this page:
> > > > https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> > > > 
> > > 
> > > 
> > > ------------------------------------------------------------------------------
> > > _______________________________________________
> > > Please read the OpenNMS Mailing List FAQ:
> > > http://www.opennms.org/index.php/Mailing_List_FAQ
> > > 
> > > opennms-discuss mailing list
> > > 
> > > To *unsubscribe* or change your subscription options, see the bottom
> > > of this page:
> > > https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> > 
> > 
> > 
> > ------------------------------------------------------------------------------
> > 
> > 
> > 
> > _______________________________________________
> > Please read the OpenNMS Mailing List FAQ:
> > http://www.opennms.org/index.php/Mailing_List_FAQ
> > 
> > opennms-discuss mailing list
> > 
> > To *unsubscribe* or change your subscription options, see the bottom of this \
> > page: https://lists.sourceforge.net/lists/listinfo/opennms-discuss
> > 
> 


------------------------------------------------------------------------------
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-discuss mailing list

To *unsubscribe* or change your subscription options, see the bottom of this page:
https://lists.sourceforge.net/lists/listinfo/opennms-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic