Red Hat Bugzilla – Bug 437998
Trying to reuse a download in rhn-download-manager does not work
Last modified: 2013-01-10 04:58:00 EST
rhn-download-manager server side has logic to check your csv against what is in
the db and, if one of your downloads already exists in the db but is just
disabled, reuse that row. This logic causes ISEs. (the row seems to be inserted
again, rather than updated, and with missing columns)
added user story to accepted backlog
* Get the list of downloads for a channel:
rhn-download-manager --server webdev --list --show-all rhel-i386-server-5 -o
(make sure at least one of these isos actually exists on the filer. if not,
get jbowes to copy it over.)
* Remove all of the existing lines except the iso that actually exists.
* for that iso, set it to be disabled by changing the download type field from
'iso' to 'disabled'
* Upload this info to the server:
rhn-download-manager --server webdev --upload my.csv
(you should not get a 500 error here)
* just for fun, try with --commit as well.
so now in dev when i click on the iso I get a 500 error-- shouldn't it just not
500 error should be fixed. (x-repcon was disabled on the proxy)
So, regarding reusing a download, the only thing you can really change is if its
an iso, or disabled. if you change anything else, if makes a new row. This is
why the link to source disc 1 still shows up, because the db contains a new row
for the Amy source disc, which is properly disabled.
ok looks good
disabled and put back to iso-- disc 1...