Bug 837449
Summary: | Apache httpd VirtualHost ServerName value should be used for resource's name in inventory | ||||||
---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | ||||
Component: | Plugin -- Apache, Usability | Assignee: | Michael Burman <miburman> | ||||
Status: | CLOSED NEXTRELEASE | QA Contact: | Sunil Kondkar <skondkar> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | medium | ||||||
Version: | JON 3.2.3 | CC: | lkrejci, loleary, mazz, mfoley, miburman, mshirley, myarboro, skondkar, spinder | ||||
Target Milestone: | --- | Keywords: | Triaged | ||||
Target Release: | One-off release | ||||||
Hardware: | All | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | 835312 | ||||||
: | 1127874 (view as bug list) | Environment: | |||||
Last Closed: | 2015-04-29 22:20:51 UTC | Type: | Support Patch | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | 835312 | ||||||
Bug Blocks: | 1127874 | ||||||
Attachments: |
|
Description
Larry O'Leary
2012-07-03 22:52:49 UTC
This is a usability issue that makes it difficult to identify a virtual host in the resource list as we do not retain the virtual host name as the resource name in the even the virtual host name is not resolvable. Apache does not require the server name to be resolvable as it is a "virtual" name and not a "logical" name. The fix for this should be relatively easy with no impact. As per 8/20 triage 8/20 pushing to JON312 Fixed in the master. This change does not touch the resourceKey format, only resourceName. commit 33ce700d3c3d9c657e0d5b98511c178e797e48bb Author: burmanm <miburman> Date: Tue Aug 5 21:17:47 2014 +0300 [BZ 837449] Change behaviour of apache plugin to select ServerName + VirtualHost combination as first priority for resourceName and fall back to server commit to release/jon3.2.x : bb173ddb263775f7c4dd3abf91ffa2559d425ea6 Moving to ON_QA as this is available for test in JON 3.2.3 ER01 build: http://jon01.mw.lab.eng.bos.redhat.com:8042/dist/release/jon/3.2.3.GA/8-14-14/ Tested on Version : 3.2.0.GA Update 03 Build Number :bca1bc8:e19c43d Added below virtual host entry to httpd.conf with unresolvable ServerName value: Listen 8080 <VirtualHost *:8080> ServerName myunresolvablehost:8080 </VirtualHost> - Started httpd instance - After discovery navigated to httpd's virtual host children - Observed that he newly added virtual host resource name has the format "<hostname>:8080" Please refer the attached screenshot. Created attachment 928313 [details]
screenshot
This issue was fixed and released in JWS management plug-in for JBoss ON 3.3 per BZ-1127874. Please upgrade to JBoss ON 3.3 to receive this fix. |