Bug 1012825

Summary: Provide a Resource Error when management user credentials have not been set (not just DOWN avail)
Product: [JBoss] JBoss Operations Network Reporter: Jan Stefl <jstefl>
Component: No ComponentAssignee: Michael Burman <miburman>
Status: CLOSED CURRENTRELEASE QA Contact: Armine Hovsepyan <ahovsepy>
Severity: medium Docs Contact:
Priority: high    
Version: JON 3.2CC: ahovsepy, jshaughn, lzoubek, mfoley, miburman, rhatlapa
Target Milestone: ER03   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-12-11 14:02:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
domain_no_credentials
none
standalone_no_credentials none

Description Jan Stefl 2013-09-27 08:34:52 UTC
Description of problem:
Red exclamation (right corner) identify some problems but no details are provided. I did not find them at least.

How reproducible:
Always

Steps to Reproduce (for example):
1. Start EAP server without management user.
2. Discover / import it on JON side.
3. Red exclamation appears after the while.

Actual results:
No details about not existing management user are provided.

Expected results:
Make exclamation clickable and provide details.

Additional info:
I give severity medium but please notice that fixing this makes everyday-work much comfortable.

Comment 1 Simeon Pinder 2013-11-08 14:41:12 UTC
Moving to unspecified target milestone as only JON 3.2.0 'blockers'(https://url.corp.redhat.com/bz-jon32-blockers-list-notmodified-nodocs) will make it into subsequent builds after ER5.

Comment 4 Jay Shaughnessy 2014-09-04 13:57:44 UTC
We should take a look at this and see if we can provide a Resource Error when the creds aren't set, and not just show DOWN avail (the red exclamation).  This would be for AS7 standalone/domain servers in the jboss-as-7 plugin, minimally.

Comment 5 Michael Burman 2014-09-08 10:55:12 UTC
We already have component error for this?

org.rhq.core.pluginapi.inventory.InvalidPluginConfigurationException: Failed to start component for Resource[id=11191, uuid=cdb162d6-f4a4-4545-a694-9f55e06cf9e7, type={JBossAS7}JBossAS7 Standalone Server, key=hostConfig: /home/miburman/projects/jboss-eap-6.3/standalone/configuration/standalone.xml, name=EAP (127.0.0.1:9990), parent=miranda, version=EAP 6.3.0.Beta1] - Credentials for plugin to connect to AS7 management interface are invalid - update Connection Settings with valid credentials.

It's shown in the component error list.

Comment 7 Michael Burman 2014-09-16 20:27:08 UTC
This should be fixed in JON 3.3 (the original bug was reported against 3.2.0) plugins. Testable in ER03.

Comment 8 Armine Hovsepyan 2014-09-17 14:26:10 UTC
Created attachment 938494 [details]
domain_no_credentials

Comment 9 Armine Hovsepyan 2014-09-17 14:26:45 UTC
Created attachment 938495 [details]
standalone_no_credentials

Comment 10 Armine Hovsepyan 2014-09-18 12:45:29 UTC
verified in JON 3.3 ER03