Bug 1866901 - Deployment strategy for BMO allows multiple pods to run at the same time
Summary: Deployment strategy for BMO allows multiple pods to run at the same time
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Bare Metal Hardware Provisioning
Version: 4.6
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.7.0
Assignee: Zane Bitter
QA Contact: Sasha Smolyak
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-08-06 18:33 UTC by Doug Hellmann
Modified: 2021-02-24 15:15 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-24 15:15:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift cluster-baremetal-operator pull 89 0 None closed Bug 1866901: Don't do rolling updates of metal3 Deployment 2021-01-11 22:02:14 UTC
Red Hat Product Errata RHSA-2020:5633 0 None None None 2021-02-24 15:15:49 UTC

Description Doug Hellmann 2020-08-06 18:33:45 UTC
Description of problem:

The Deployment created by the MAO for the BMO does a rolling update when it is changed, which means there may be 2 pods running at once. We never want more than 1 pod running, so we should look at the settings available to control that behavior. https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#recreate-deployment

Version-Release number of selected component (if applicable): 4.6


How reproducible: mostly comes up when working with the MAO but may occur in other scenarios


Steps to Reproduce:
1. Modify the metal3 Deployment
2. Watch a second pod launch before the existing one is deleted
3.

Actual results:


Expected results:


Additional info:

Comment 4 Sasha Smolyak 2020-12-14 15:13:21 UTC
In openshift-machine-api namespace observed the pods, found one metal3 pod. Found cluster-baremetal-operator deploy, observed it, modified it, verified that the deploy has been modified. After modification observed the pods, the same single metal3 pod remained

Comment 7 errata-xmlrpc 2021-02-24 15:15:21 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 (Moderate: OpenShift Container Platform 4.7.0 security, bug fix, and enhancement update), 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-2020:5633


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