Bug 222497
Summary: | rhnpush does package channel associations even if md5sums mismatch | ||
---|---|---|---|
Product: | [Retired] Red Hat Network | Reporter: | Pradeep Kilambi <pkilambi> |
Component: | RHN/Backend | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rhn500 | CC: | rhn-bugs |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | rhn500h | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-13 17:42:32 UTC | 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: | 166615, 173427 |
Description
Pradeep Kilambi
2007-01-12 21:59:45 UTC
test plan: - push a package to a custom channel $ rhnpush --server=rlx-0-20.rhndev.redhat.com --username=admin --password=dog8code --channel=test-rhnpush yum-2.9.1-1.rhn.2.noarch.rpm -vvv - repackage the rpm so that it has a different md5sum - before pushing this rpm, goto webui and remove the previous rpm pushing from the channel. - now repush the pkg(diff md5sum one) $ rhnpush --server=rlx-0-20.rhndev.redhat.com --username=admin --password=dog8code --channel=test-rhnpush /usr/src/redhat/RPMS/noarch/yum-2.9.1-1.rhn.2.noarch.rpm -vvv Connecting to http://rlx-0-20.rhndev.redhat.com/APP url is http://rlx-0-20.rhndev.redhat.com/PACKAGE-PUSH Result codes: 200 OK Computing md5sum and package Info .This may take sometime ... Package /usr/src/redhat/RPMS/noarch/yum-2.9.1-1.rhn.2.noarch.rpm mismatch -- Skipping Upload (use --force to force upload) you should see that error. - go back to webui and the channel association for that package should not have happened and the channel should still not show that package. without the fix even with md5sum mismatch error, the channel-package association happens. which should be fixed not. from my machine [whayutin@whayutin rhnpush]$ rhnpush --server=rhn.webqa.redhat.com -cclone-rhel-i386-as-4 -uadmin -pdog8code -vvv tora-1.3.15-1.rhn.rhel4.i386.rpm --nosig Unable to load module rhnpush No module named rhnpush.rhnpush from my test box.. [root@fjs-0-06 rhnpush]# rhnpush --server=rhn.webqa.redhat.com -cclone-rhel-i386-as-4 -uadmin -pdog8code -vvv tora-1.3.15-1.rhn.rhel4.i386.rpm --nosig Connecting to http://rhn.webqa.redhat.com/APP this never returns.. I need to get w/ Brandon to figure this out.. your server is incorrect. you need to push your package to scripts.back-webqa.redhat.com/APP and not rhn.webqa.redhat.com. cool.. rhnpush now can see the differnce and reject the same package w/ a different md5sum.. good work Closed in rhn500h Release. Closed in rhn500h release. |