Bug 158566 - Web site manages config file quota differently than rhncfg-manager
Web site manages config file quota differently than rhncfg-manager
Status: CLOSED WONTFIX
Product: Red Hat Network
Classification: Red Hat
Component: RHN/Web Site (Show other bugs)
rhn400
All Linux
medium Severity medium
: ---
: ---
Assigned To: Shannon Hughes
Red Hat Satellite QA List
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-05-23 12:31 EDT by John Wregglesworth
Modified: 2008-10-16 11:12 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2008-10-16 11:12:00 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description John Wregglesworth 2005-05-23 12:31:09 EDT
Description of problem: I've been working on bug 138749, which is about
rhncfg-manager being able to upload files without them counting against the
quota. I've noticed that the web side and the command-line side don't behave the
same way.

If you upload the same file into the same channel repeatedly through the web
interface without any changes to the file, the revision of the file gets bumped
up and the size of the file gets counted against the quota every time it gets
uploaded.

Using rhncfg-manager in 'add' mode, if you upload the same file (even with a
different filename) repeatedly, it only gets counted against the quota the first
time you upload it, and the revision doesn't get bumped up unless some changes
have been made. If you make some changes to the file and then upload it again,
the size of the file is counted against the quota and the revision number is
bumped up, which is correct. This happens because the md5 sum of the file is
stored in the db, and the file is counted against the quota only if the md5 sum
isn't already present in the db.

The web site should handle uploaded config files the same way rhncfg-manager
handles them.
Comment 1 Amanda Carter 2008-10-16 11:12:00 EDT
This bug has been closed due to inactivity.  Please open a new bug with specific details if this problem is still occurring or if an enhancement is needed.

Note You need to log in before you can comment on or make changes to this bug.