Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1541265 - Update mediaWiki site name cause asb segment fault
Update mediaWiki site name cause asb segment fault
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Service Broker (Show other bugs)
3.9.0
Unspecified Unspecified
high Severity high
: ---
: 3.9.0
Assigned To: Jesus M. Rodriguez
Zihan Tang
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-02 01:57 EST by Zihan Tang
Modified: 2018-03-28 10:26 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Inadvertent access to a pointer that could be nil. Consequence: During update jobs if there were no extracted credentials, we would access a nil pointer causing the broker to panic. Fix: Check the pointer for nil before accessing it, similar to the other 2 jobs that did the exact same thing. Result: Updates work without fear of a broker panic.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-28 10:25:43 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 None None None 2018-03-28 10:26 EDT

  None (edit)
Comment 1 Jesus M. Rodriguez 2018-02-02 14:31:25 EST
We missed a nil check in the update_job. We have it in provision and bind.

https://github.com/openshift/ansible-service-broker/pull/724
Comment 2 Jesus M. Rodriguez 2018-02-02 14:33:44 EST
[2018-02-02T19:25:02.106Z] [INFO] - Watch pod [ apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b ] tick 2
[2018-02-02T19:25:02.113Z] [DEBUG] - Pod [ apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b ] Running
[2018-02-02T19:25:07.113Z] [INFO] - Watch pod [ apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b ] tick 3
[2018-02-02T19:25:07.123Z] [DEBUG] - Pod [ apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b ] completed
[2018-02-02T19:25:07.123Z] [INFO] - Destroying APB sandbox...
[2018-02-02T19:25:07.134Z] [DEBUG] - Deleting namespace dh-mediawiki-apb-upda-289tc
[2018-02-02T19:25:07.154Z] [DEBUG] - Deleting rolebinding apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b, namespace dh-mediawiki-apb-upda-289tc
[2018-02-02T19:25:07.168Z] [NOTICE] - Successfully deleted rolebinding apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b, namespace dh-mediawiki-apb-upda-289tc
[2018-02-02T19:25:07.168Z] [DEBUG] - Deleting rolebinding apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b, namespace blog-project
[2018-02-02T19:25:07.174Z] [NOTICE] - Successfully deleted rolebinding apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b, namespace blog-project
[2018-02-02T19:25:07.175Z] [DEBUG] - Deleting network policy for pod: apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b to grant network access to ns: blog-project
[2018-02-02T19:25:07.181Z] [DEBUG] - Successfully deleted network policy for pod: apb-f99a9e54-982e-4659-9c6a-c8eb93075d1b to grant network access to ns: blog-project
[2018-02-02T19:25:07.181Z] [DEBUG] - Running post sandbox destroy hooks
[2018-02-02T19:25:07.181Z] [DEBUG] - received update message from buffer
[2018-02-02T19:25:09.929Z] [DEBUG] - service_id: f6c4486b7fb0cdac4b58e193607f7011
[2018-02-02T19:25:09.929Z] [DEBUG] - plan_id: 76b2bdf5381b809657c90350726595e5
[2018-02-02T19:25:09.929Z] [DEBUG] - operation:  9de811d4-8cb4-4200-94e1-0bd7d1e0d2e3
[2018-02-02T19:25:09.929Z] [DEBUG] - state: succeeded
172.17.0.7 - - [02/Feb/2018:19:25:09 +0000] "GET /ansible-service-broker/v2/service_instances/38655ab2-6a56-4ad9-87ba-041422085156/last_operation?operation=9de811d4-8cb4-4200-94e1-0bd7d1e0d2e3&plan_id=76b2bdf5381b809657c90350726595e5&service_id=f6c4486b7fb0cdac4b58e193607f7011 HTTP/1.1" 200 27
Comment 3 Jesus M. Rodriguez 2018-02-02 14:34:20 EST
Comment #2 shows the update succeeds and that the broker does not panic.
Comment 6 Zhang Cheng 2018-02-06 03:50:13 EST
Changing status to "MODIFIED" since downstream image not ready for test.
Comment 8 Zihan Tang 2018-02-10 21:52:06 EST
Downstream image ready for test, so change to ON_QA
Comment 12 errata-xmlrpc 2018-03-28 10:25:43 EDT
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:0489

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