Bug 970784
Summary: | Provisioning/deployment of new applications are not adapted into the inventory | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Peter Larsen <plarsen> | ||||||||||||
Component: | Provisioning | Assignee: | Michael Burman <miburman> | ||||||||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Armine Hovsepyan <ahovsepy> | ||||||||||||
Severity: | medium | Docs Contact: | |||||||||||||
Priority: | unspecified | ||||||||||||||
Version: | JON 3.1.2 | CC: | ahovsepy, hrupp, jshaughn, lzoubek, mazz, mfoley, miburman, plarsen | ||||||||||||
Target Milestone: | ER04 | ||||||||||||||
Target Release: | JON 3.3.0 | ||||||||||||||
Hardware: | x86_64 | ||||||||||||||
OS: | Linux | ||||||||||||||
Whiteboard: | |||||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||||
Doc Text: | Story Points: | --- | |||||||||||||
Clone Of: | Environment: | ||||||||||||||
Last Closed: | 2014-12-11 14:04:46 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
Peter Larsen
2013-06-04 21:30:21 UTC
Created attachment 756955 [details]
Sample small app for deployment
Peter, is your report especially about bundles and EAP6 (I know that this is a general issue)? (In reply to Heiko W. Rupp from comment #2) > Peter, > is your report especially about bundles and EAP6 (I know that this is a > general issue)? Heiko, I have not tested on multiple versions of EAP - but the problem looks generic to me when it comes to bundle deployments. Since the bundle has a <deploy> function, it does not make sense I have to scan for new applications when an application is deployed this way. This is well known but still not done, we should kick off a discovery after deploying a bundle. Let's see if we can do this for 3.3.0. This is now PR #123 *** Bug 714785 has been marked as a duplicate of this bug. *** Fixed in master: commit 0648f50f8c09590a2446ad48eed9a5a5d6e21371 Merge: 213427f 436fe78 Author: Michael Burman <yak> Date: Tue Sep 23 19:57:58 2014 +0300 Merge pull request #123 from burmanm/BZ970784 [BZ 970784] After successful deployment, initiate discovery scan for affected resources on the agent side. Add new column DEPLOYMENT_DELAY_IN_SECONDS to BundleDeployment Add new message view_bundle_deployWizard_discoveryDelay Allow changing the discoveryDelay from recipe (org.rhq.discoveryDelay property) as well as from the UI. If previous liveDeployment had a different v Allow recipe to override values also when using the CLI commit 436fe78abebad925ebc6e8159f582e6636987a17 Author: Michael Burman <miburman> Date: Sat Sep 6 12:10:03 2014 +0300 [BZ 970784] After successful deployment, initiate discovery scan for affected resources on the agent side. Add new column DEPLOYMENT_DELAY_IN_SECONDS to BundleDeployment Add new message view_bundle_deployWizard_discoveryDelay Allow changing the discoveryDelay from recipe (org.rhq.discoveryDelay property) as well as from the UI. If previous liveDeployment had a different v Allow recipe to override values also when using the CLI branch: release/jon3.3.x link: https://github.com/rhq-project/rhq/commit/03d0f99ba time: 2014-09-24 14:52:21 +0200 commit: 03d0f99ba46b84148c03217cf8fd361465a20b62 author: Michael Burman - miburman message: [BZ 970784] After successful deployment, initiate discovery scan for affected resources on the agent side. Add new column DEPLOYMENT_DELAY_IN_SECONDS to BundleDeployment Add new message view_bundle_deployWizard_discoveryDelay Allow changing the discoveryDelay from recipe (org.rhq.discoveryDelay property) as well as from the UI. If previous liveDeployment had a different value, use that one. Allow recipe to override values also when using the CLI (cherry picked from commit 436fe78abebad925ebc6e8159f582e6636987a17) Signed-off-by: Libor Zoubek <lzoubek> Conflicts: modules/core/client-api/intentional-api-changes-since-4.12.0.xml modules/core/dbutils/pom.xml db.version changed in modules/core/dbutils/src/main/scripts/dbupgrade/db-upgrade.xml from 2.162 to 2.161 since 3.3x is 1 point behind master Moving to ON_QA as available for test with build: https://brewweb.devel.redhat.com/buildinfo?buildID=388959 Created attachment 944893 [details]
delay
Created attachment 944896 [details]
auto-discovery
verified in JON 3.3 ER04 auto-discovery scan takes part after deploymentDelay, default delay=30sec if deploymentDelay is 0 -- auto-discovery scan performed simultaneously with deployment Created attachment 944921 [details]
discovery-scan-0-delay
|