Description of problem: manifest will load as scheduled, even if katello-jobs is not running when user submit the request fails when tried with cli commands. Same scenario works fine if tried in UI. The import manifests keeps loading unless the katello-jobs is restarted Version-Release number of selected component (if applicable): # rpm -qa |grep katello katello-cli-common-1.2.1-12h.el6_3.noarch katello-headpin-1.2.1-15h.el6_3.noarch katello-cli-1.2.1-12h.el6_3.noarch katello-configure-1.2.3-3h.el6_3.noarch katello-common-1.2.1-15h.el6_3.noarch katello-headpin-all-1.2.1-15h.el6_3.noarch katello-certs-tools-1.2.1-1h.el6_3.noarch katello-selinux-1.2.1-2h.el6_3.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-glue-candlepin-1.2.1-15h.el6_3.noarch katello-repos-1.3.2-1.el6.noarch How reproducible: #yum install -y katello-headpin-all #katello-configure --deployment=sam Steps to Reproduce: 1.# service katello-jobs stop 2.# service katello-jobs status delayed_job is not running. delayed_job_monitor is not running. 3.# headpin -u admin -p admin provider import_manifest --name "Red Hat" --org ACME_Corporation --file '/tmp/stack-manifest.zip' Manifest imported 4.# echo $? 0 5.# service katello-jobs status delayed_job is not running. delayed_job_monitor is not running. 6.Log in to UI . Navigate to Contents -> Subscriptions -> Red Hat Subscriptions List of subscriptions visible. Actual results: Manifests import succeded . Expected results: The manifest import should be successful only after katello-jobs is restarted. Additional info:
The CLI now uses an async job to import the manifest; it will not complete without katello-jobs running.
SNAP0 contains these bug fixes. Moving to ON_QA.
VERIFIED : # rpm -qa | grep katello katello-selinux-1.4.4-2.el6sat.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-certs-tools-1.4.2-2.el6sat.noarch katello-cli-common-1.4.3-5.el6sat.noarch katello-cli-1.4.3-5.el6sat.noarch katello-common-1.4.3-6.el6sam_splice.noarch katello-configure-1.4.4-2.el6sat.noarch katello-glue-elasticsearch-1.4.3-6.el6sam_splice.noarch katello-headpin-all-1.4.3-6.el6sam_splice.noarch katello-glue-candlepin-1.4.3-6.el6sam_splice.noarch signo-katello-0.0.10-2.el6sat.noarch katello-headpin-1.4.3-6.el6sam_splice.noarch # service katello-jobs stop # service katello-jobs status delayed_job is not running. delayed_job_monitor is not running. # headpin -u admin -p admin provider import_manifest --org test --name 'Red Hat' --file '/root/manifest_refresh.zip' Provider [ Red Hat ] manifest import complete # service katello-jobs restart Stopping katello-jobs: [FAILED] Starting katello-jobs: [ OK ] The manifests uploading keeps loading until the service is started using other terminal
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. http://rhn.redhat.com/errata/RHEA-2013-1390.html