Project

Profile

Help

Issue #4014

closed

UpdateCollections/UpdateCollectionPackages are synced/stored incorrectly

Added by ttereshc over 5 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 43
Quarter:

Description

Sync a fixture repo https://repos.fedorapeople.org/pulp/pulp/fixtures/rpm-unsigned/
All collections belong to the same UpdateRecord, all packages belong to the same UpdateCollection.

pulp=# select * from pulp_rpm_updaterecord;
 content_ptr_id |   errata_id    |    updated_date     |    description     |     issued_date     |      fromstr      | status |       title        | summary | version | update_type | severity | solution | release | rights | pushcount |                              digest            

----------------+----------------+---------------------+--------------------+---------------------+-------------------+--------+--------------------+---------+---------+-------------+----------+----------+---------+--------+-----------+------------------------------------------------
------------------
              1 | RHEA-2012:0055 | 2012-01-27 16:08:06 | Sea_Erratum        | 2012-01-27 16:08:06 | errata@redhat.com | stable | Sea_Erratum        |         | 1       | security    |          |          | 1       |        |           | 4dd3dc7e29acd84b3ecca0b37bb2178c4a0576198e7260a
47b0673b1819ad2fc
              2 | RHEA-2012:0056 | 2013-02-27 17:00:00 | ParthaBird_Erratum | 2013-01-27 16:08:08 | errata@redhat.com | stable | Bird_Erratum       |         | 1       | security    |          |          | 1       |        |           | 260f532cc7c96ff59b6bf339d3b86b1a5d3bc85db76322f
0c181ec37f7514397
              3 | RHEA-2012:0057 | 2013-01-27 16:08:05 | Bear_Erratum       | 2013-01-27 16:08:05 | errata@redhat.com | stable | Bear_ErratumPARTHA |         | 1       | security    |          |          | 1       |        |           | 7807b0b0ff228aeeb09b3cc773baf4df2c6d9912ed69d74
8450435e628f1c73f
              4 | RHEA-2012:0058 | 2014-07-20 06:00:01 | Gorilla_Erratum    | 2013-01-27 16:08:09 | errata@redhat.com | stable | Gorilla_Erratum    |         | 1       | enhancement |          |          | 1       |        |           | 2640dbd5fecbf5d49053c2659cc7f4ae0270838a4b406ae
eeb17084139fb7d9f
(4 rows)
pulp=# select * from pulp_rpm_updatecollection;
 id | name | shortname | update_record_id 
----+------+-----------+------------------
  1 | 1    |           |                4
  2 | 1    |           |                4
  3 | 1    |           |                4
  4 | 1    |           |                4
  5 | 1    |           |                4
  6 | 1    |           |                4
  7 | 1    |           |                4
  8 | 1    |           |                4
  9 | 1    |           |                4
 10 | 1    |           |                4
 11 | 1    |           |                4
 12 | 1    |           |                4
 13 | 1    |           |                4
 14 | 1    |           |                4
 15 | 1    |           |                4
 16 | 1    |           |                4
(16 rows)
pulp=# select * from pulp_rpm_updatecollectionpackage;
 id  |  arch  | epoch |          filename          |  name   | reboot_suggested | release |             src              | sum | sum_type | version | update_collection_id 
-----+--------+-------+----------------------------+---------+------------------+---------+------------------------------+-----+----------+---------+----------------------
   1 | noarch | 0     | walrus-5.21-1.noarch.rpm   | walrus  | f                | 1       | http://www.fedoraproject.org |     |          | 5.21    |                   16
   2 | noarch | 0     | penguin-0.9.1-1.noarch.rpm | penguin | f                | 1       | http://www.fedoraproject.org |     |          | 0.9.1   |                   16
   3 | noarch | 0     | shark-0.1-1.noarch.rpm     | shark   | f                | 1       | http://www.fedoraproject.org |     |          | 0.1     |                   16
   4 | noarch | 0     | crow-0.8-1.noarch.rpm      | crow    | f                | 1       | http://www.fedoraproject.org |     |          | 0.8     |                   16
   5 | noarch | 0     | stork-0.12-2.noarch.rpm    | stork   | f                | 2       | http://www.fedoraproject.org |     |          | 0.12    |                   16
   6 | noarch | 0     | duck-0.6-1.noarch.rpm      | duck    | f                | 1       | http://www.fedoraproject.org |     |          | 0.6     |                   16
   7 | noarch | 0     | bear-4.1-1.noarch.rpm      | bear    | f                | 1       | http://www.fedoraproject.org |     |          | 4.1     |                   16
   8 | noarch | 0     | gorilla-0.62-1.noarch.rpm  | gorilla | f                | 1       | http://www.fedoraproject.org |     |          | 0.62    |                   16
   9 | noarch | 0     | walrus-5.21-1.noarch.rpm   | walrus  | f                | 1       | http://www.fedoraproject.org |     |          | 5.21    |                   16
  10 | noarch | 0     | penguin-0.9.1-1.noarch.rpm | penguin | f                | 1       | http://www.fedoraproject.org |     |          | 0.9.1   |                   16
  11 | noarch | 0     | shark-0.1-1.noarch.rpm     | shark   | f                | 1       | http://www.fedoraproject.org |     |          | 0.1     |                   16
  12 | noarch | 0     | crow-0.8-1.noarch.rpm      | crow    | f                | 1       | http://www.fedoraproject.org |     |          | 0.8     |                   16
  13 | noarch | 0     | stork-0.12-2.noarch.rpm    | stork   | f                | 2       | http://www.fedoraproject.org |     |          | 0.12    |                   16
  14 | noarch | 0     | duck-0.6-1.noarch.rpm      | duck    | f                | 1       | http://www.fedoraproject.org |     |          | 0.6     |                   16
  15 | noarch | 0     | bear-4.1-1.noarch.rpm      | bear    | f                | 1       | http://www.fedoraproject.org |     |          | 4.1     |                   16
  16 | noarch | 0     | gorilla-0.62-1.noarch.rpm  | gorilla | f                | 1       | http://www.fedoraproject.org |     |          | 0.62    |                   16
  17 | noarch | 0     | walrus-5.21-1.noarch.rpm   | walrus  | f                | 1       | http://www.fedoraproject.org |     |          | 5.21    |                   16
  18 | noarch | 0     | penguin-0.9.1-1.noarch.rpm | penguin | f                | 1       | http://www.fedoraproject.org |     |          | 0.9.1   |                   16
  19 | noarch | 0     | shark-0.1-1.noarch.rpm     | shark   | f                | 1       | http://www.fedoraproject.org |     |          | 0.1     |                   16
Actions #1

Updated by ttereshc over 5 years ago

  • Sprint/Milestone set to Pulp 3 RPM MVP
  • Triaged changed from No to Yes
  • Sprint set to Sprint 43
  • Tags Pulp 3 added

Added by ttereshc over 5 years ago

Revision 61201ddb | View on GitHub

Store temporary data for UpdateRecord at the instance level

closes #4014 https://pulp.plan.io/issues/4014

Actions #2

Updated by ttereshc over 5 years ago

  • Status changed from NEW to POST
  • Assignee set to ttereshc
Actions #3

Updated by ttereshc over 5 years ago

  • Status changed from POST to MODIFIED
Actions #4

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)
Actions #5

Updated by ttereshc over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF