Bug 1470851 - Image Pull Error is being marked as Success
Summary: Image Pull Error is being marked as Success
Keywords:
Status: CLOSED DUPLICATE of bug 1504927
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 3.7.0
Assignee: Jesus M. Rodriguez
QA Contact: Zhang Cheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-07-13 20:03 UTC by Shawn Hurley
Modified: 2017-11-03 13:34 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-11-03 13:33:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Shawn Hurley 2017-07-13 20:03:18 UTC
Description of problem:
When the broker is unable to pull the image from a registry it will incorrectly set the state to succeded.

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


How reproducible:
Always 

Steps to Reproduce:
1. Setup a service so that the APB can not be pulled from the registry and the broker always pulls.
2. Provision the service
3.

Actual results:
See that the service succeeded in the etcd job status like this:
{"action":"get","node":{"key":"/state/d6ad07d5-51b3-437b-afe8-870eb4ce5482/job","dir":true,"nodes":[{"key":"/state/d6ad07d5-51b3-437b-afe8-870eb4ce5482/job/4924d165-56fa-4236-b52d-506ded36572e","value":"{\"token\":\"4924d165-56fa-4236-b52d-506ded36572e\",\"state\":\"succeeded\",\"podname\":\"apb-f36b9efb-4c82-4c4f-9880-4eab6ffa5fb4\"}","modifiedIndex":9,"createdIndex":9}],"modifiedIndex":7,"createdIndex":7}}

You should also see the create console screen say that the service was provisioned correctly.

Expected results:
The job should be marked as a failure or in progress if additional attempts at pull are going to be made.

Additional info:

Comment 1 Jesus M. Rodriguez 2017-10-23 16:15:28 UTC
This is related to https://bugzilla.redhat.com/show_bug.cgi?id=1504927

Comment 2 Jesus M. Rodriguez 2017-11-02 21:44:44 UTC
Fixed by PR 534: https://github.com/openshift/ansible-service-broker/pull/534

Comment 3 Jesus M. Rodriguez 2017-11-03 13:33:34 UTC

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


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