Bug 594453 - Manually removing a VirtualHost in conf and re-adding causes multiple instances to appear in UI
Summary: Manually removing a VirtualHost in conf and re-adding causes multiple instanc...
Status: CLOSED CURRENTRELEASE
Alias: None
Product: RHQ Project
Classification: Other
Component: Inventory   
(Show other bugs)
Version: 1.4
Hardware: All
OS: Linux
low
medium vote
Target Milestone: ---
: ---
Assignee: Filip Drabek
QA Contact: Mike Foley
URL:
Whiteboard:
Keywords:
Depends On:
Blocks: jon24-apache jon30-bugs
TreeView+ depends on / blocked
 
Reported: 2010-05-20 17:44 UTC by Corey Welton
Modified: 2013-09-02 07:24 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-09-02 07:24:09 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Snippet of UI now showing two instances where there should only be one. (11.24 KB, image/png)
2010-05-20 17:45 UTC, Corey Welton
no flags Details

Description Corey Welton 2010-05-20 17:44:27 UTC
Description of problem:
I manually removed a virtualhost in my conf file via cmdline.  I then removed said service from inventory.  When I readded and checked config/invetory etc., old one was re-added, along with a new one.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. Create a virtualhost in httpd.con, akin to

<VirtualHost dhcp231-107.rdu.redhat.com:8888>
    ServerAdmin webmaster@dhcp231-107.rdu.redhat.com
    DocumentRoot /var/www/html/vhost
    ServerName dhcp231-107.rdu.redhat.com
    ErrorLog logs/dhcp231-107.rdu.redhat.com-error_log
    CustomLog logs/dhcp231-107.rdu.redhat.com-access_log common
</VirtualHost>

Assure there are no other reference to '8888' in doc.
2.  Trigger a syntax check or something in the UI that causes this resource to appear in inventory.
3.  Manually remove said instance via cmdline.  
4. Remove this resource from inventory in UI.
5. Re-add the resource via cmdline.
6. Trigger syntax check.
7. Check once again to make sure there is only one reference to the vhost on port 8888
  
Actual results:
Two instances appear in inventory.

Expected results:
Only one.

Additional info:
Screenshot to be attached.

Comment 1 Corey Welton 2010-05-20 17:45:27 UTC
Created attachment 415480 [details]
Snippet of UI now showing two instances where there should only be one.

Comment 2 Filip Drabek 2010-08-26 08:36:45 UTC
I can not reproduce the problem. 
Can you please test if the problem still occures on your environment?

Comment 3 Sunil Kondkar 2011-06-14 10:36:37 UTC
Verified on build#123 (Version: 4.1.0-SNAPSHOT Build Number: a6d2d56)

Followed the steps and verified that only one instance of virtual host appears in the inventory.

Marking as verified.

Comment 4 Heiko W. Rupp 2013-09-02 07:24:09 UTC
Bulk closing of issues that were VERIFIED, had no target release and where the status changed more than a year ago.


Note You need to log in before you can comment on or make changes to this bug.