Bug 1482337 - Deployments created using ImageStreamTag have empty status
Summary: Deployments created using ImageStreamTag have empty status
Keywords:
Status: CLOSED DUPLICATE of bug 1481801
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Deployments
Version: 3.x
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Tomáš Nožička
QA Contact: zhou ying
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-17 04:26 UTC by Angel Misevski
Modified: 2017-08-22 08:02 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-22 08:02:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
yml files and script to setup example environment (1.61 KB, application/x-gzip)
2017-08-17 04:26 UTC, Angel Misevski
no flags Details

Description Angel Misevski 2017-08-17 04:26:09 UTC
Created attachment 1314526 [details]
yml files and script to setup example environment

Description of problem:

Creating a deployment based off an ImageStreamTag results in a Deployment with an empty status. Creating the same deployment but using the image the ImageStreamTag is based off of results in a deployment with status as expected. Issue appeared after 3.6 upgrade and does not reproduce on minishift 1.4.1 running 

OpenShift Master:
v3.6.0+c4dd4cf
Kubernetes Master:
v1.6.1+5115d708d7


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

OpenShift Master:
v3.6.173.0.5 (online version 3.5.0.20)
Kubernetes Master:
v1.6.1+5115d708d7

How reproducible:
Always

Steps to Reproduce:
I've included some yml files to demostrate the issue
1. Extract attached file
2. Run setup.sh script to create imagestream, imagestreamtags, and deployments. Wait until deployments are ready
3. Execute `oc get deployment -o yaml`. Output should resemble file oc-get-deployment.yml in attachment

Actual results:
Deployment created from ImageStreamTag has "status:{}"

Expected results:
Deployment created from ImageStreamTag has nonempty status, like normal deployment

Additional info:
Status being empty causes a NPE when deleting deployments in fabric8 kubernetes client

Comment 1 Tomáš Nožička 2017-08-22 08:02:14 UTC
duplicate after all; see https://bugzilla.redhat.com/show_bug.cgi?id=1481801#c14

*** This bug has been marked as a duplicate of bug 1481801 ***


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