Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1132932

Summary: Process resources name becomes '?' permanently when importing process with piql or pid file when the resource is in offline
Product: [JBoss] JBoss Operations Network Reporter: Jeeva Kandasamy <jkandasa>
Component: Plugin -- OtherAssignee: Thomas Segismont <tsegismo>
Status: CLOSED NOTABUG QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.2.3CC: tsegismo
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-22 11:03:51 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:
Embargoed:
Attachments:
Description Flags
process-metrics-no-name none

Description Jeeva Kandasamy 2014-08-22 10:58:25 UTC
Created attachment 929539 [details]
process-metrics-no-name

Description of problem:
I imported a resource with pid file when the resource is offline. After import done I makes the process up and running. But the name of the process permanently showing as '?'. 

Version-Release number of selected component (if applicable):
JBoss Operations Network
Version : 3.2.0.GA Update 03
Build Number : bca1bc8:e19c43d
GWT Version : 2.5.0
SmartGWT Version : 3.0p

How reproducible:
always

Steps to Reproduce:
1. Shutdown a process that we would like to import.
2. Import the process with pid file
3. Shows the resource status as DOWN and name of the resource is '?'
4. Up and run the process (on step #1)
5. JON shows the process UP and showing the metrics however the name of the resource does not change. keep on showing '?' as a name.

Actual results:
process name doesn't change from '?' to real name of the process.

Expected results:
actual process name should be updated.

Additional info: Screen shot is attached

Comment 1 Thomas Segismont 2014-08-22 11:03:51 UTC
Yes, that's by design. The name cannot be auto-discovered as the process is not running. You need to change it manually after the resource is in inventory.