Bug 1233991
Summary: | Creation and group association of bundle fails with IllegalArgumentException: Token did not result in valid file | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [JBoss] JBoss Operations Network | Reporter: | Larry O'Leary <loleary> | ||||||
Component: | Provisioning | Assignee: | Michael Burman <miburman> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Sunil Kondkar <skondkar> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | JON 3.3.1 | CC: | fbrychta, miburman, skondkar, spinder | ||||||
Target Milestone: | CR01 | Keywords: | Triaged | ||||||
Target Release: | JON 3.3.3 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1251503 (view as bug list) | Environment: | |||||||
Last Closed: | 2015-07-30 16:43:42 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
Larry O'Leary
2015-06-20 00:18:59 UTC
Actually, this does not seem to have anything to do with file size. Even a 15K bundle archive fails in the same manner. It works as rhqadmin because the same method is not called - it would cause the same error in this case. Right, the issue is in createBundle(BundleManagerBean:256), where we check for the user rights and check if they have the right to create a bundle or create a bundle for the group. However, selecting the group happens after the bundle has been uploaded.. so an empty list is sent to the method and it fails. I'll need to ask around a bit what has been the intention of this - I doubt this has ever worked. Fixed in the master: commit d7d9c5b6f971b7d495a94ba9fbf1b2905a3c60ac Author: Michael Burman <miburman> Date: Tue Jul 14 11:44:00 2015 +0300 [BZ 1233991] Fix the viaToken method by fetching the file from correct temp-directory Available for test with following build: https://brewweb.devel.redhat.com/buildinfo?buildID=448923 *Note: jon-server-patch-3.3.0.GA.zip maps to CR01 build of jon-server-3.3.0.GA-update-03.zip. Verified on Version :3.3.0.GA Update 03 Build Number : edc324f:119e8f4 Followed the steps and verified that the bundle is created successfully by user 'TestUser01' without any error in UI or server.log. Please refer the attached screenshots. Created attachment 1056659 [details]
CreateBundle_SuccessMsg
Created attachment 1056660 [details]
CreateBundle_Summary
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHSA-2015-1525.html |