Bug 1076389

Summary: descriptor-only plugins are not deployed immediately but in the next scan
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: Core Server, UsabilityAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.11CC: hrupp
Target Milestone: GA   
Target Release: RHQ 4.11   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-07-21 10:13:39 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:
Bug Depends On:    
Bug Blocks: 1022943    

Description Lukas Krejci 2014-03-14 09:58:02 UTC
Description of problem:
This is not usually a problem in dev environment where we have 30s scan intervals but could be a problem in the production where it is 5 minutes (which I think is beyond the threshold of people assuming something is still happening).

Also usability-wise this is quite a strange behavior.

This also is a problem for BZ 1022943 which adds new remote API and REST endpoint for working with plugins. Having 2 different workflows for descriptor-only and "full" plugins would be very hard to explain to users.

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

How reproducible:
always

Steps to Reproduce:
1. create a dummy (but valid) plugin descriptor
2. deploy it to the server

Actual results:
Notice the log message saying that it will be deployed on the next scan.

Expected results:
Deployment of descriptor-only plugin works the same as for full plugin jars.

Additional info:

Comment 1 Lukas Krejci 2014-03-14 17:07:11 UTC
commit https://github.com/rhq-project/rhq/commit/fe43668a72392e68175b03b156cb2758a73ad8bc
Author: Lukas Krejci <lkrejci@redhat.com>
Date:   Fri Mar 14 17:30:15 2014 +0100

    [BZ 1076389] Jar-less plugin now deployed in one go, no need to wait
    for the next scan.

Comment 2 Heiko W. Rupp 2014-07-21 10:13:39 UTC
Bulk closing of RHQ 4.11 issues, now that RHQ 4.12 is out.

If you find an issue with those, please open a new BZ, linking to the old one.