Bug 1871085

Summary: It creates two pods when you create a deployment from container image
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Christoph Jerolimov <cjerolim>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.6CC: aos-bugs, nmukherj
Target Milestone: ---   
Target Release: 4.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-27 16:30:14 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 Christoph Jerolimov 2020-08-21 09:57:51 UTC
Description of problem:
It creates two different ReplicaSets, the second one was created because the ImageStream was changed. The dev console UI should wait for the first ImageStream update before creating the Deployment.

Version-Release number of selected component (if applicable):
Build: 4.4.0-0.ci-2020-02-26-022458

How reproducible:
Always

Steps to Reproduce:
1. Go to +Add -> Container Image
2. Enter 'openshift/hello-openshift' in the Image name from external registry field
3. Click on the create button
4. Wait until node appears on the topology and immediately hover over the node and you will observe that the status is '1 Pending and 1 running' or '2 pending'. The status depends on the time you take to hover over the node.
5. Let the deployment finishes and now go to sidebar by clicking on the node and you will observe that there is only one pod running.

Actual results:
It creates two ReplicaSets and two Pods.

Expected results:
Just one ReplicaSet and Pod should be created.

Additional info:

Comment 1 Christoph Jerolimov 2020-08-21 09:58:47 UTC
Jira issue: https://issues.redhat.com/browse/ODC-3175
PR: https://github.com/openshift/console/pull/6138

Comment 5 Gajanan More 2020-09-08 11:03:10 UTC
I have validated the bugzilla on:

Build Version: 4.6.0-0.nightly-2020-09-07-224533

Browser: Google Chrome Version 84.0.4147.89

Marking this as verified. 

I don't see the status of '1 Pending and 1 running' or '2 pending' when I hover over the node immediately when I created the deployment.

Comment 7 errata-xmlrpc 2020-10-27 16:30:14 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 (OpenShift Container Platform 4.6 GA Images), 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-2020:4196