Bug 1126460
Summary: | deploying new app from subscription repo does nothing | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Armine Hovsepyan <ahovsepy> | ||||||||||
Component: | Content | Assignee: | RHQ Project Maintainer <rhq-maint> | ||||||||||
Status: | CLOSED EOL | QA Contact: | Mike Foley <mfoley> | ||||||||||
Severity: | low | Docs Contact: | |||||||||||
Priority: | unspecified | ||||||||||||
Version: | JON 3.3.0 | CC: | fbrychta, jshaughn, loleary, mfoley, tsegismo | ||||||||||
Target Milestone: | --- | ||||||||||||
Target Release: | JON 3.4.0 | ||||||||||||
Hardware: | Unspecified | ||||||||||||
OS: | Unspecified | ||||||||||||
Whiteboard: | |||||||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||||||
Doc Text: | Story Points: | --- | |||||||||||
Clone Of: | Environment: | ||||||||||||
Last Closed: | 2019-05-20 15:01:36 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
Armine Hovsepyan
2014-08-04 13:28:41 UTC
Created attachment 939192 [details]
agent.log
Created attachment 939193 [details]
server.log
Created attachment 939194 [details]
deploy_from_repo
Unable to deploy new war from content -- screenshot and logs attached. Re-assigning. Initial thought - issue is visible when another content repo is created during the bundle deployment. Created attachment 939196 [details]
agent-debug.log
Armine, I just tried, do you see nothing under the Content > History tab? I can't reproduce on a fresh master build. Please clarify the reproduction steps (in Comment 5 you mention another repo was created during bundle deployment?) For the record, the server log (attachment 939193 [details]) shows:
javax.persistence.NoResultException: No entity found for query
This happens in ContentManagerBean#createDeployRequest while executing:
========
Query packageVersionQuery = entityManager
.createNamedQuery(PackageVersion.QUERY_FIND_BY_PACKAGE_DETAILS_KEY_WITH_NON_NULL_RESOURCE_TYPE);
packageVersionQuery.setParameter("packageName", key.getName());
packageVersionQuery.setParameter("packageTypeName", key.getPackageTypeName());
packageVersionQuery.setParameter("architectureName", key.getArchitectureName());
packageVersionQuery.setParameter("version", key.getVersion());
packageVersionQuery.setParameter("resourceTypeId", resource.getResourceType().getId());
PackageVersion packageVersion = (PackageVersion) packageVersionQuery.getSingleResult();
========
To reproduce the issue, please follow steps below: 1. Deploy a bundle to eap server (domain or standalone) 2. Deploy an 'app' to eap standalone server 3. Create repository, upload 'new app' and subscribe to 'app' 4. Navigate to content/new page of 'app' 5. Click on 'new app' package (without deploying new app) (In reply to Armine Hovsepyan from comment #10) > To reproduce the issue, please follow steps below: > 1. Deploy a bundle to eap server (domain or standalone) Which bundle? Please attach it to the BZ > 2. Deploy an 'app' to eap standalone server Which application? Please attach it to the BZ > 3. Create repository, upload 'new app' and subscribe to 'app' > 4. Navigate to content/new page of 'app' > 5. Click on 'new app' package (without deploying new app) feel free to use bundles from BZ #1139767 and helloworld.war from #1118394 for 'app' and 'new app' (with just a smile change into existing war). JBoss ON is coming to the end of its product life cycle. For more information regarding this transition, see https://access.redhat.com/articles/3827121. This bug report/request is being closed. If you feel this issue should not be closed or requires further review, please create a new bug report against the latest supported JBoss ON 3.3 version. |