Bug 1486285
Summary: | rhn-satellite-activate --manifest-info shows failed manifest | ||
---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Kenny Tordeurs <ktordeur> |
Component: | Other | Assignee: | Jan Dobes <jdobes> |
Status: | CLOSED ERRATA | QA Contact: | Lukáš Hellebrandt <lhellebr> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 580 | CC: | jdobes, lhellebr, tkasparek, tlestach |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | spacewalk-backend-2.5.3-154-sat | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-12-13 07:59:26 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1450111 |
Description
Kenny Tordeurs
2017-08-29 11:42:53 UTC
This is result of how rhn-satellite-activate works. First, it copies manifest to default location, then it tries to activate it, it doesn't care about result of activation. --manifest-info only reads last attempted manifest from default location. It worked same way for certificates in Sat < 5.8, however there wasn't such info feature so it wasn't noticeable. It could be improved by rewriting rhn-satellite-activate to store it here after activation succeeds or by storing manifest in DB table etc. @Jan according to man page it should be the currently activated manifest which can be misleading in that case. [root@ktordeur-sat58 ~]# rhn-satellite-activate --help | grep manifest-info --manifest-info show information about currently activated manifest This is true. I'll try to investigate how to fix it. fixed in spacewalk.git(master): 55e2af89e54ae3a0363f4f86230885ac8d18afc1 Verified with spacewalk-backend-2.5.3-157. Used reproducer from OP. After failing to activate with different manifest, the original manifest info is still shown. 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://access.redhat.com/errata/RHBA-2017:3445 |