Ryan Barry has uploaded a new change for review. Change subject: RHN: start rhsmcertd in the right place ......................................................................
RHN: start rhsmcertd in the right place Configure...() is only called if a URL is passed (for satellite or something similar). Restart rhsmcertd after registration to Satellite or RHSM Change-Id: Ib74be30ce61e6e55182b3cf82620135439a7ee6a Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1269752 Signed-off-by: Ryan Barry <[email protected]> --- M src/ovirt/node/setup/rhn/rhn_model.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/48/53848/1 diff --git a/src/ovirt/node/setup/rhn/rhn_model.py b/src/ovirt/node/setup/rhn/rhn_model.py index 840b19b..598d9eb 100755 --- a/src/ovirt/node/setup/rhn/rhn_model.py +++ b/src/ovirt/node/setup/rhn/rhn_model.py @@ -370,7 +370,6 @@ try: process.check_call(ab.get_commandlist()) Config().persist("/etc/rhsm/rhsm.conf") - system.service("rhsmcertd", "start") except process.CalledProcessError: self.logger.debug("Calling subscription-manager with " "'%s' failed!" % ab.get_commandlist( @@ -470,6 +469,7 @@ # If we made it down here, we registered successfully else: + system.service("rhsmcertd", "start") configs = ["/var/lib/rhsm/cache/installed_products.json", "/var/lib/rhsm/facts/facts.json"] -- To view, visit https://gerrit.ovirt.org/53848 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib74be30ce61e6e55182b3cf82620135439a7ee6a Gerrit-PatchSet: 1 Gerrit-Project: ovirt-node Gerrit-Branch: master Gerrit-Owner: Ryan Barry <[email protected]> _______________________________________________ node-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/node-patches
