Bug 610879

Summary: ant bundle distro file has a raw file but GUI still wants me to upload it
Product: [Other] RHQ Project Reporter: John Mazzitelli <mazz>
Component: ProvisioningAssignee: John Mazzitelli <mazz>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: high    
Version: 3.0.0CC: skondkar, sshinde
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 585306    
Attachments:
Description Flags
testbundle.zip none

Description John Mazzitelli 2010-07-02 16:32:45 UTC
I have my bundle distribution file which contains 2 entries. 1. deploy.xml and 2. subdir/test.properties

I am trying to upload this bundle distribution .zip file using the GUI.

It doesn't realize that subdir/test.properties exists in the bundle distro zip and its asking to upload it.

Need to fix the server-side ant bundle plugin so it doesn't report that it needs the file if it already exists in the bundle distro zip file.

Comment 1 Shashin Shinde 2010-07-02 16:39:50 UTC
I think in this case the problem is with the subdir/test.properties
If the file is present at the same level as deploy.xml file in my-bundle.zip the UI finds it correctly. If it is in some child directory, it is not found by the UI. Running it from the command line rhq-ant works fine.

Comment 2 John Mazzitelli 2010-12-23 16:11:04 UTC
git commit 9f1a09b854b0f21b66819f2906e7b6659347d2e7

Comment 3 John Mazzitelli 2010-12-23 16:12:17 UTC
Created attachment 470446 [details]
testbundle.zip

to test, if you can upload the attached "testbundle.zip" bundle distribution file to the RHQ server and a bundle is successfully created without it asking you to upload additional files, this bug is fixed.

Comment 4 Sunil Kondkar 2011-03-09 10:42:56 UTC
Verified on Build# 1083 ( Version: 4.0.0-SNAPSHOT Build Number: fbbf83c)

Uploaded the attached "testbundle.zip" bundle distribution file to the RHQ server. The bundle is successfully created without asking to upload additional files.

Marking the bug as verified.

Comment 5 Corey Welton 2011-05-24 01:12:58 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 6 Corey Welton 2011-05-24 01:12:58 UTC
Bookkeeping - closing bug - fixed in recent release.

Comment 7 Corey Welton 2011-05-24 01:13:08 UTC
Bookkeeping - closing bug - fixed in recent release.