[Satellite6] "No subscriptions are available from the pool with ID '11111111111111112222222222222222'" エラーが表示され、物理システムで複数のプールをサブスクライブできない
Issue
- Red Hat Enterprise Linux (物理または仮想) サブスクリプションの数量 1 のスタックを追加した後、RHEL 物理システムに適切なサブスクリプションまたはエンタイトルメントがありません。
- "No subscriptions are available from the pool with ID '11111111111111112222222222222222'" エラーが表示され、物理システムで複数のプールをサブスクライブできません。
- 実稼働環境のログのエラー:
2017-11-17 13:34:57 12749bf5 [app] [I] Started PUT "/api/v2/hosts/20/subscriptions/add_subscriptions" for 10.1.2.3 at 2017-11-17 13:34:57 -0600
2017-11-17 13:34:57 12749bf5 [app] [I] Processing by Katello::Api::V2::HostSubscriptionsController#add_subscriptions as JSON
2017-11-17 13:34:57 12749bf5 [app] [I] Parameters: {"id"=>"20", "subscriptions"=>[{"id"=>26, "quantity"=>0}, {"id"=>28, "quantity"=>0}], "api_version"=>"v2", "host_id"=>"20", "host_subscription"=>{"id"=>"20", "subscriptions"=>[{"id"=>26, "quantity"=>0}, {"id"=>28, "quantity"=>0}]}}
2017-11-17 13:34:58 [foreman-tasks/action] [E] No subscriptions are available from the pool with ID '11111111111111112222222222222222'. (Katello::Errors::CandlepinError) <== error
| /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.157/app/lib/actions/middleware/propagate_candlepin_errors.rb:21:in `rescue in propagate_candlepin_errors'
| /opt/theforeman/tfm/root/usr/share/gems/gems/katello-3.0.0.157/app/lib/actions/middleware/propagate_candlepin_errors.rb:19:in `propagate_candlepin_errors'
- 同じタイミングでの candlepin でのエラー:
2017-11-17 13:34:58,884 [thread=http-bio-8443-exec-1] [req=0133e7fe-dddc-4e4a-8dd8-e9c9646ff475, org=] INFO org.candlepin.common.filter.LoggingFilter - Request: verb=POST, uri=/candlepin/consumers/f8e0be7b-fbc8-4839-97fe-966e70c990fd/entitlements?pool=11111111111111112222222222222222 <================ pool
2017-11-17 13:34:58,935 [thread=http-bio-8443-exec-1] [req=0133e7fe-dddc-4e4a-8dd8-e9c9646ff475, org=ORGZ] INFO org.candlepin.resource.ConsumerResource - Checked if consumer has unaccepted subscription terms in 0ms
2017-11-17 13:34:58,946 [thread=http-bio-8443-exec-1] [req=0133e7fe-dddc-4e4a-8dd8-e9c9646ff475, org=ORGZ] INFO org.candlepin.controller.Entitler - Looking up pool to bind: 11111111111111112222222222222222
2017-11-17 13:34:58,946 [thread=http-bio-8443-exec-1] [req=0133e7fe-dddc-4e4a-8dd8-e9c9646ff475, org=ORGZ] INFO org.candlepin.controller.CandlepinPoolManager - Locking pool 11111111111111112222222222222222
2017-11-17 13:34:58,960 [thread=http-bio-8443-exec-1] [req=0133e7fe-dddc-4e4a-8dd8-e9c9646ff475, org=ORGZ] INFO org.candlepin.controller.CandlepinPoolManager - Running pre-entitlement rules.
2017-11-17 13:34:58,963 [thread=http-bio-8443-exec-1] [req=0133e7fe-dddc-4e4a-8dd8-e9c9646ff475, org=ORGZ] WARN org.candlepin.controller.CandlepinPoolManager - Entitlement not granted: [rulefailed.no.entitlements.available]
2017-11-17 13:34:58,965 [thread=http-bio-8443-exec-1] [req=0133e7fe-dddc-4e4a-8dd8-e9c9646ff475, org=ORGZ] INFO org.candlepin.common.filter.LoggingFilter - Response: status=403, content-type="application/json", time=81
Environment
- Red Hat Satellite 6.x
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.