Project

General

Profile

Actions

Bug #20638

closed

Manifest import indicates success; however, there are no subscriptions available

Added by Brad Buckingham over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Category:
Subscriptions
Target version:
Fixed in Releases:
Found in Releases:

Description

- latest katello dev environment (as of 8/17)
- candlepin-2.0.40-1.el7.noarch

- have an official manifest created earlier this week
- via the UI, import the manifest
- UI reports that the manifest was successfully imported

- after completion, there are no Subscriptions or Products available

irb(main):003:0* Katello::Subscription.all
=> #<ActiveRecord::Relation []>
irb(main):004:0> Katello::Product.all
=> #<ActiveRecord::Relation []>

- in addition, there are no errors in the task output:

Id: 75f425cc-307b-46a3-8ba8-634ecfcfee2f
Label: Actions::Katello::Organization::ManifestImport
Status: stopped
Result: success
Started at: 2017-08-17 20:36:12 UTC
Ended at: 2017-08-17 20:36:43 UTC

3: Actions::Candlepin::Owner::Import (success) [ 4.31s / 4.31s ]
Started at: 2017-08-17 20:36:12 UTC
Ended at: 2017-08-17 20:36:17 UTC
Real time: 4.31s
Execution time (excluding suspended state): 4.31s

Input:

---
label: Default_Organization
path: "/home/vagrant/foreman/tmp/import_c2d8a76e07727f2faebe.zip" 
force: 
remote_user: admin
remote_cp_user: admin
locale: en
Output:

---
response: '{"id":"4028f9305df15e9a015df1e92d461268","status":"SUCCESS","statusMessage":"Default_Organization
  file imported successfully.","fileName":"import_c2d8a76e07727f2faebe.zip","generatedBy":"candlepin_admin","generatedDate":"2017-08-15T15:33:50+0000","upstreamConsumer":{"id":"4028f9305df15e9a015df1e92d461269","uuid":"3b1727fc-bf1a-4203-9f85-4b7135a9abbd","name":"bbuckingham-test","type":{"id":"4028f9305df15e9a015df1c926ab0005","label":"satellite","manifest":true,"created":"2017-08-17T20:01:17+0000","updated":"2017-08-17T20:01:17+0000"},"ownerId":"4028f9305df15e9a015df1651c930001","contentAccessMode":null,"webUrl":"access.redhat.com/management/distributors/","apiUrl":"https://subscription.rhn.redhat.com/subscription/consumers/","created":"2017-08-17T20:36:16+0000","updated":"2017-08-17T20:36:16+0000"},"created":"2017-08-17T20:36:16+0000","updated":"2017-08-17T20:36:16+0000"}'

5: Actions::Candlepin::Owner::ImportProducts (success) [ 26.48s / 26.48s ]
Started at: 2017-08-17 20:36:17 UTC
Ended at: 2017-08-17 20:36:43 UTC
Real time: 26.48s
Execution time (excluding suspended state): 26.48s

Input:

---
organization_id: 1
remote_user: admin
remote_cp_user: admin
locale: en
Output:

--- {}


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #20482: Refresh or upload new manifest is not working anymore after upgrade to 3.4Duplicate08/02/2017Actions
Actions #1

Updated by Eric Helms about 7 years ago

  • Translation missing: en.field_release set to 286
Actions #2

Updated by Brad Buckingham about 7 years ago

Confirmed that manifest import on current Katello 3.4.4 production build is able to import the manifest and show subscriptions correct.

Production env included: tfm-rubygem-katello-3.4.4-1.el7.noarch, candlepin-2.0.40-1.el7.noarch

Actions #3

Updated by Brad Buckingham about 7 years ago

  • Translation missing: en.field_release changed from 286 to 250
Actions #4

Updated by Brad Buckingham about 7 years ago

  • Assignee set to Brad Buckingham
Actions #5

Updated by The Foreman Bot about 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6922 added
Actions #6

Updated by Brad Buckingham about 7 years ago

  • Translation missing: en.field_release changed from 250 to 286
Actions #7

Updated by Brad Buckingham about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #8

Updated by The Foreman Bot about 7 years ago

  • Pull request https://github.com/Katello/katello/pull/6926 added
Actions #9

Updated by Justin Sherrill about 7 years ago

  • Has duplicate Bug #20482: Refresh or upload new manifest is not working anymore after upgrade to 3.4 added
Actions

Also available in: Atom PDF