Bug 1536046 - Service Catalog Item custom images does not replicate to global region
Summary: Service Catalog Item custom images does not replicate to global region
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Replication
Version: 5.8.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: GA
: 5.9.0
Assignee: Brandon Dunne
QA Contact: Alex Newman
URL:
Whiteboard:
Depends On: 1532286
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-01-18 14:23 UTC by Satoe Imaishi
Modified: 2021-06-10 14:15 UTC (History)
4 users (show)

Fixed In Version: 5.9.0.18
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1532286
Environment:
Last Closed: 2018-03-01 13:23:59 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0380 0 normal SHIPPED_LIVE Moderate: Red Hat CloudForms security, bug fix, and enhancement update 2018-03-01 18:37:12 UTC

Comment 2 CFME Bot 2018-01-18 17:46:00 UTC
New commit detected on ManageIQ/manageiq-schema/gaprindashvili:
https://github.com/ManageIQ/manageiq-schema/commit/70713628790d5cb649e5b5a5c4587a64f4c797ab

commit 70713628790d5cb649e5b5a5c4587a64f4c797ab
Author:     Jason Frey <fryguy9>
AuthorDate: Thu Jan 18 12:21:35 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jan 18 12:44:33 2018 -0500

    Merge pull request #158 from bdunne/move_pictures
    
    Delete the dangling blob when there is a blob without a picture
    (cherry picked from commit c976cfa3491706daa0ae23d92f1074af636dfce8)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1536046

 ...180111162442_move_pictures_blobs_to_pictures.rb |  2 +-
 ...1162442_move_pictures_blobs_to_pictures_spec.rb | 23 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletion(-)

Comment 3 CFME Bot 2018-01-18 17:46:05 UTC
New commit detected on ManageIQ/manageiq-schema/gaprindashvili:
https://github.com/ManageIQ/manageiq-schema/commit/6faac0b77f8d0ca90015ad6be847fcd52f4987e0

commit 6faac0b77f8d0ca90015ad6be847fcd52f4987e0
Author:     Jason Frey <fryguy9>
AuthorDate: Wed Jan 17 16:21:22 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jan 18 12:44:03 2018 -0500

    Merge pull request #153 from bdunne/move_pictures
    
    Migrate Picture content from BinaryBlobs to Pictures table
    (cherry picked from commit 91b0fc0430a7ebe601960be693ffeddf2ce842b2)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1536046

 ...180111162442_move_pictures_blobs_to_pictures.rb |  52 ++++++++++
 ...1162442_move_pictures_blobs_to_pictures_spec.rb | 106 +++++++++++++++++++++
 2 files changed, 158 insertions(+)
 create mode 100644 db/migrate/20180111162442_move_pictures_blobs_to_pictures.rb
 create mode 100644 spec/migrations/20180111162442_move_pictures_blobs_to_pictures_spec.rb

Comment 4 CFME Bot 2018-01-18 17:51:55 UTC
New commit detected on ManageIQ/manageiq/gaprindashvili:
https://github.com/ManageIQ/manageiq/commit/23dcbbc737c26d5322d539ef56528f4a4b436f65

commit 23dcbbc737c26d5322d539ef56528f4a4b436f65
Author:     Gregg Tanzillo <gtanzill>
AuthorDate: Wed Jan 17 16:53:40 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jan 18 12:47:23 2018 -0500

    Merge pull request #16810 from bdunne/move_pictures
    
    Picture content is moving to the pictures table.
    (cherry picked from commit beebb2daa65182d9f087df786eca130f4ca65e34)
    
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1536046

 app/models/picture.rb       | 25 +++----------------------
 spec/factories/picture.rb   |  4 +---
 spec/models/picture_spec.rb | 31 -------------------------------
 3 files changed, 4 insertions(+), 56 deletions(-)

Comment 5 CFME Bot 2018-01-18 22:55:17 UTC
New commit detected on ManageIQ/manageiq-schema/gaprindashvili:
https://github.com/ManageIQ/manageiq-schema/commit/0e711b563fe28068a34cc893c48ac81f5240b6c6

commit 0e711b563fe28068a34cc893c48ac81f5240b6c6
Author:     Jason Frey <fryguy9>
AuthorDate: Thu Jan 18 16:37:55 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jan 18 17:51:16 2018 -0500

    Merge pull request #159 from bdunne/more_pictures_edge_cases
    
    Handle cases where a Picture with that id doesn't exist
    (cherry picked from commit 40c5ced8ebbbdf72c86759b8d504c673076244b9)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1536046

 ...180111162442_move_pictures_blobs_to_pictures.rb |  2 +-
 ...1162442_move_pictures_blobs_to_pictures_spec.rb | 26 +++++++++++++++++++++-
 2 files changed, 26 insertions(+), 2 deletions(-)

Comment 6 CFME Bot 2018-01-18 23:16:18 UTC
New commit detected on ManageIQ/manageiq-api/gaprindashvili:
https://github.com/ManageIQ/manageiq-api/commit/06ed58fba03e40b0f4afaa02ca8b2daf1e786dcf

commit 06ed58fba03e40b0f4afaa02ca8b2daf1e786dcf
Author:     Jason Frey <fryguy9>
AuthorDate: Thu Jan 18 15:55:33 2018 -0500
Commit:     Satoe Imaishi <simaishi>
CommitDate: Thu Jan 18 18:04:45 2018 -0500

    Merge pull request #292 from jntullo/picture_content_create
    
    Do not return picture content on create
    (cherry picked from commit ea3b327503f144d37ee29000d8a61a6ff53633b3)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1536046

 app/controllers/api/pictures_controller.rb |   3 +-
 spec/requests/picture_spec.rb              | 272 +++++++++++++++--------------
 2 files changed, 142 insertions(+), 133 deletions(-)

Comment 7 Satoe Imaishi 2018-01-23 15:13:02 UTC
The fix for this BZ caused Service Catalog not to work in SUI, which was fixed (backported to cfme-5.9) in https://github.com/ManageIQ/manageiq-api/pull/294

Comment 10 errata-xmlrpc 2018-03-01 13:23:59 UTC
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.

https://access.redhat.com/errata/RHSA-2018:0380


Note You need to log in before you can comment on or make changes to this bug.