JON resource configuration returned by API method getResourceConfiguration does not reflect latest configuration

Solution Verified - Updated -

Issue

  • Wrong offset information retrieved
  • We need to know the offset used by the already existing groups
  • The value returned by Configuration.getSimpleValue is not always the correct value for a unknown reason
  • We have to execute many times the script to have a correct value in some cases
  • The getResourceConfiguration method returns empty or out-of-date configuration

Environment

  • Red Hat JBoss Operations Network (ON) 3.1.2
  • Using the JBoss ON remote API or command-line interface (CLI)
    • Calling getResourceConfiguration from ConfigurationManager OR Resource
  • The impacted resource's configuration is new or has changed
  • The JBoss ON agent's configuration-discovery interval has not yet elapsed

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.