Re: v 21.0.0

Jonathan Heard <[email protected]>
Newsgroups gmane.network.opennms.general
Message-ID <[email protected]>
Hi Colin,

  If you're up for trying to help the community a bit with this, then I 
think it would be helpful to capture debug logs and some additional info 
to try and understand what's happening and why. Out of interest, have 
you changed any of the default settings in opennms.properties? In 
particular; the org.opennms.provisiond.repositoryImplementation setting, 
which has some experimental options that could misbehave.

I think it would be interesting to see which files exist (and their 
sizes, but no need to share the content) in /etc/foreign-sources and 
/etc/imports (plus the 'pending' directories), both at the point when 
the requisition contains all the hosts and after you've deleted them.

The other information I think would be invaluable would be to edit 
/etc/opennms/log4j2.xml and change the 'provisiond' setting from WARN to 
DEBUG - e.g.

<KeyValuePair key="provisiond"           value="DEBUG" />

Then wait a minute for Log4J to pick up the change (you can tail the 
/var/log/opennms/provisiond.log file to see if it's outputting messages 
with 'DEBUG'  in them) and then retry your deletion of the nodes and 
requisition. Once you've see them reappear in the Manage Provisioning 
Requisitions screen you can take a copy of 
/var/log/opennms/provisiond.log and revert the log4J config back to 'WARN'.

Please bear in mind that the debug log will contain hostnames and IP 
addresses  which you may wish to redact before sharing the log. 
Passwords, in theory, should not appear in this log.

Hopefully that log will provide some better insight into what is 
happening on your installation.

Regards
Jonathan

On 16/11/17 11:02, Colin Bell via opennms-discuss wrote:
>
> Thanks for the advice,  I did just use the GUI to create the 
> requisition but following Ronny’s instructions the same thing 
> happens.  I choose remove and the devices disappear from the 
> requisition.  I then choose Synchronize requisition, and get the 
> options Yes, DB Only, No and Cancel.  Doesn’t matter if I choose Yes 
> or DB only and get the same results, The devices do not appear back in 
> the requisition, it says 0 Nodes defined, 0 Nodes in Database. Now I 
> chose to delete requisition and it disappears.
>
> BUT
>
> When I go back to the admin area and Manage Provisioning requisitions 
> the Requisition has reappeared and the Nodes are defined again.
>
> I will see how I get on with your additional instructions Jonathan
>
> *Colin Bell*/
> Senior Solutions Architect (Technology)/
>
> /Enterprise Architect Team/
>
> /IT/
>
> /Renfrewshire House, Cotton Street, Paisley, PA1 1HY/ 
> <http://maps.renfrewshire.gov.uk/LocalView/Sites/MyCouncil/?identifyitem=layer1:0:OBJECTID:13&scale=2500&layers=layer1:0>/
> Mobile: 07796941786
> Desk: 0141 618 4848/
>
> /Email: /[email protected] 
> <mailto:[email protected]>/
> Web: //Renfrewshire Council Website/ <http://www.renfrewshire.gov.uk/>//
>
> *From:*Jonathan Heard [mailto:[email protected]]
> *Sent:* 15 November 2017 15:24
> *To:* [email protected]
> *Subject:* Re: [opennms-discuss] v 21.0.0
>
> Hi Colin,
>
>   I agree that what Ronny has suggested should work - However, if 
> you're using any kind of automatic provisioning such as from VMWare 
> ESXi or DNS (as would be configured in provisiond-configuration.xml) 
> then deleted requisitions would be rediscovered every time the 
> automatic provisioning runs until you disable it.
>
> Assuming you just used the GUI to create a requisition and then add 
> some hosts you should be able to get rid of it using Ronny's 
> instructions. However as a last resort, you could stop the opennms 
> service and delete /etc/import/<fs>.xml , /etc/import/pending/<fs>.xml 
> , /etc/foreign-sources/<fs>.xml and 
> /etc/foreign-sources/pending/<fs>.xml  (The 'pending' directories 
> should be empty but I mention them in case they aren't)... Then when 
> you restart OpenNMS the requisition should be complete gone.
>
> Good Luck :-)
>
> Jonathan
>
> On 15/11/17 11:03, Ronny Trommer wrote:
>
>     Hi Colin,
>
>     first of all delete all nodes in the requisition. Synchronise the
>     empty requisition and make sure you have 0 nodes in the database
>     from your requisition. Afterwards you can delete the empty
>     requisition.
>
>     Do you just use the Web UI to generate them?
>
>         On 15. Nov 2017, at 11:12, Colin Bell via opennms-discuss
>         <[email protected]
>         <mailto:[email protected]>> wrote:
>
>         Can anyone help with this? Is this actually a bug?
>
>         *Colin Bell*/
>         Senior Solutions Architect (Technology)/
>
>         /Enterprise Architect Team/
>
>         /IT/
>
>         /Renfrewshire House, Cotton Street, Paisley, PA1 1HY/
>         <http://maps.renfrewshire.gov.uk/LocalView/Sites/MyCouncil/?identifyitem=layer1:0:OBJECTID:13&scale=2500&layers=layer1:0>/
>         Mobile: 07796941786
>         Desk: 0141 618 4848/
>
>         /Email:/[email protected]
>         <mailto:[email protected]>/
>         Web://Renfrewshire Council Website/
>         <http://www.renfrewshire.gov.uk/>
>
>         *From:*Colin Bell via opennms-discuss
>         [mailto:[email protected]]
>         *Sent:*13 November 2017 14:12
>         *To:*General OpenNMS Discussion
>         <[email protected]
>         <mailto:[email protected]>>
>         *Cc:*Colin Bell <[email protected]
>         <mailto:[email protected]>>
>         *Subject:*Re: [opennms-discuss] v 21.0.0
>
>         Where to I find this synchronize? Once I delete the
>         requisition there is no option to synchronize.  Also after
>         choosing the “remove all nodes”  the pop up says nodes have
>         been removed and the requisition has been synchronized.
>
>         Why does the requisition keep re-appearing?  Along with the
>         nodes?
>
>         Hi Colin,
>
>         you have to synchronize it. There is a button in the menu.
>
>         --
>
>          Marcel
>
>         Am 10.11.2017 um 11:31 schrieb Colin Bell via opennms-discuss:
>
>         > 
>
>         > Im setting up a new OpenNMS environment for the first time.
>
>         > 
>
>         > I had created a new requisitioning but I would like to remove it.
>
>         > From the Admin section in the GUI I choose Manage Provisioning
>
>         > Requisitions, I then remove all nodes and deleted requisition.
>
>         > 
>
>         > When I leave and come back to this page, the requisition returns.
>
>         > What am I missing?
>
>         > 
>
>         > *Colin Bell*/
>
>         *Colin Bell*/
>         Senior Solutions Architect (Technology)/
>
>         /Enterprise Architect Team/
>
>         /IT/
>
>         /Renfrewshire House, Cotton Street, Paisley, PA1 1HY/
>         <http://maps.renfrewshire.gov.uk/LocalView/Sites/MyCouncil/?identifyitem=layer1:0:OBJECTID:13&scale=2500&layers=layer1:0>/
>         Mobile: 07796941786
>         Desk: 0141 618 4848/
>
>         /Email:/[email protected]
>         <mailto:[email protected]>/
>         Web://Renfrewshire Council Website/
>         <http://www.renfrewshire.gov.uk/>
>
>         ------------------------------------------------------------------------------
>         Check out the vibrant tech community on one of the world's most
>         engaging tech sites, Slashdot.org <http://Slashdot.org>!
>         http://sdm.link/slashdot_______________________________________________
>         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
>
>
>
>
>     ------------------------------------------------------------------------------
>
>     Check out the vibrant tech community on one of the world's most
>
>     engaging tech sites, Slashdot.org!http://sdm.link/slashdot
>
>
>
>
>     _______________________________________________
>
>     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
>
> Renfrewshire Council Website -http://www.renfrewshire.gov.uk
>
> This email and any files transmitted with it are confidential and 
> intended solely for the use of the individual or entity to whom they 
> are addressed. If you have received this email in error please notify 
> the system manager. Renfrewshire Council may, in accordance with the 
> Telecommunications(Lawful Business Practice) (Interception of 
> Communications) Regulations 2000, intercept e-mail messages for the 
> purpose of monitoring or keeping a record of communications on the 
> Council's system. If a message contains inappropriate dialogue it will 
> automatically be intercepted by the Council's Internal Audit section 
> who will decide whether or not the e-mail should be onwardly 
> transmitted to the intended recipient(s).
>
> Paisley2021 Facebook <http://www.paisley2021.co.uk/>
>
> Paisley2021 Facebook /paisley2021 
> <https://www.facebook.com/paisley2021/> 	Paisley2021 
> Twitter @Paisley2021 <https://twitter.com/paisley2021> 
> Paisley2021 /paisley2021 <https://www.instagram.com/paisley2021/>
>
> Renfrewshire Council is decommissioning all gcsx email between now and 
> November 2017. The Council email domain will change to 
> @renfrewshire.gov.uk. My new email address will still allow me to send 
> email to you securely as it meets the UK Government’s Secure Email 
> Blueprint (SEB)
>
>
>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
>
>
> _______________________________________________
> 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

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.