Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1194784 - Content View update - needs to be dynflow'ed
Content View update - needs to be dynflow'ed
Status: CLOSED ERRATA
Product: Red Hat Satellite 6
Classification: Red Hat
Component: Content Management (Show other bugs)
6.0.4
Unspecified Unspecified
unspecified Severity medium (vote)
: Unspecified
: Unused
Assigned To: Brad Buckingham
jcallaha
http://projects.theforeman.org/issues...
: Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-02-20 12:56 EST by Brad Buckingham
Modified: 2017-02-23 15:27 EST (History)
5 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-08-12 01:26:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Foreman Issue Tracker 9416 None None None 2016-04-22 12:13 EDT
Red Hat Product Errata RHSA-2015:1592 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 05:04:35 EDT

  None (edit)
Description Brad Buckingham 2015-02-20 12:56:43 EST
In certain scenarios, performing a content view update will initiate a reindex of association objects (e.g. repositories) during an update.  As a result, this action should be dynflow'ed as has been done for similar update actions on other objects.
Comment 1 Brad Buckingham 2015-02-20 12:56:45 EST
Created from redmine issue http://projects.theforeman.org/issues/9416
Comment 3 jaudet 2015-02-20 16:45:45 EST
> In certain scenarios, performing a content view update will initiate a reindex of association objects

What are these "certain scenarios" that will cause a dynflow task to kick off? Will a dynflow task kick off when:

* An update of any kind is made to any content view?
* An update of any kind is made to a content view that is associated with one or more repositories?
* An update to any field other than "name" is made to any content view?
* Something else?

Without knowing this, I can only guess as to which actions should kick off a dynflow action, and my guess is likely to be wrong. I did try experimenting manually, but I could not trigger any dynflow tasks. I created a content view and associated it with two repositories, one with a content type of yum and another with a content type of docker. I then updated that content view's name and description, one after the other. Neither update caused a dynflow task to be created.
Comment 4 Brad Buckingham 2015-02-20 16:52:41 EST
With this change a dynflow task will be initiated any time a content view update is performed (e.g. PUT /content_view/:id).  This includes changes to things like name, description, repositories...etc.  Similar to other 'update' requests that have been dynflow'ed the API call will be blocked until the update is completed (vs returning a 202 with a task).

Also, I don't think you will see the change in behavior yet.  It was just merged upstream today; therefore, it is not yet in nightly or a downstream compose.
Comment 8 jcallaha 2015-02-26 12:08:03 EST
Verified in Satellite 6.1.0 snap 4 compose 2.

Version tested:
RHEL 66
RHEL 71
Comment 9 Bryan Kearney 2015-08-11 09:34:03 EDT
This bug is slated to be released with Satellite 6.1.
Comment 10 errata-xmlrpc 2015-08-12 01:26:54 EDT
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-2015:1592

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