Bug 1579381
| Summary: | CV publish can publish puppet before yum, causing provisioning issues | |||
|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Chris Duryee <cduryee> | |
| Component: | Content Views | Assignee: | Chris Duryee <cduryee> | |
| Status: | CLOSED ERRATA | QA Contact: | ||
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 6.3.1 | CC: | andrew.schofield, jhutar, kabbott, pcreech, rplevka | |
| Target Milestone: | Unspecified | Keywords: | FieldEngineering, PrioBumpField, Triaged | |
| Target Release: | Unused | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | tfm-rubygem-katello-3.7.0.rc1-0.1.rc1,tfm-rubygem-katello-3.4.5.75-1 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1596348 (view as bug list) | Environment: | ||
| Last Closed: | 2018-08-22 20:07:12 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
|
Description
Chris Duryee
2018-05-17 13:49:06 UTC
Upstream bug assigned to cduryee Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/23672 has been resolved. VERIFIED on sat6.3.3-2 - one can see the subtasks are reorganized now by looking into a dynflow execution plan. - no regression to our automation was detected - i also tried the following: #1 I defined a simple module which ensures the latest version of a package from a yum repo. #2 I registered a managed host to a CV that doesn't have any relevant puppet nor yum repos exposed. #3 then I published a new version of the CV with added the puppet module + yum repo. at the same time i executed the following loop on a host to keep it applying the catalog compiled on satellite during the whole process of a cv publish: <pre> # while : do if [[ $(curl -sku admin:changeme https://sat6.com/foreman_tasks/api/tasks/e0f67bbe-76df-4ba1-b200-fbdeaab39343 | grep "state\":\"running") ]]; then puppet agent --test; fi sleep 10; done </pre> output: <pre> Info: Retrieving plugin Info: Loading facts Info: Caching catalog for lora-sellai.foo.com Info: Applying configuration version '1533230095' Notice: Finished catalog run in 0.10 seconds Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts ... Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for lora-sellai.foo.com Info: Applying configuration version '1533230365' Notice: Finished catalog run in 0.07 seconds ^C # puppet agent --test Info: Retrieving pluginfacts Info: Retrieving plugin Info: Loading facts Info: Caching catalog for lora-sellai.foo.com Info: Applying configuration version '1533239975' Notice: /Stage[main]/Walrus/Package[walrus]/ensure: created Notice: Finished catalog run in 4.25 seconds </pre> - there wasn't any iteration where the updated module would be triggerred without the appropriate yum repo being available. - running the puppet again after the publish task finished, one can see the module got properly picked up and successfully installed the package from the new repo 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/RHBA-2018:2550 |