Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1326523 - [RFE] Add max_allowed_packet as an Environment Variable to the MySQL Images
[RFE] Add max_allowed_packet as an Environment Variable to the MySQL Images
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: RFE (Show other bugs)
3.1.0
Unspecified Unspecified
low Severity high
: ---
: ---
Assigned To: Ben Parees
Wenjing Zheng
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-12 18:18 EDT by Eric Jones
Modified: 2017-03-08 13 EST (History)
6 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
This bug fix adds the MYSQL_MAX_ALLOWED_PACKET environment variable to the MySQL image, for setting the maximum size of one packet or any generated or intermediate string (default: 200M).
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-06-27 11:06:02 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-2016:1343 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 3.2.1.1 bug fix and enhancement update 2016-06-27 15:04:05 EDT

  None (edit)
Description Eric Jones 2016-04-12 18:18:18 EDT
- What is the nature and description of the request? 
As an developer I require the ability to persistently modify the `max_allowed_packet` variable in a MySQL image.

- Why does the customer need this? (List the business requirements here) 
So that they have persistent control over the max_allowed_packets in MySQL.

- How would the customer like to achieve this? (List the functional requirements here) 
Add the variable to the template [0] that we build our image off of.

[0] https://github.com/openshift/mysql/blob/master/5.6/root/usr/share/container-scripts/mysql/my-paas.cnf.template

- For each functional requirement listed, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.
Deploy a MySQL pod and use `oc env` to specify that variable.

- Is there already an existing RFE upstream or in Red Hat Bugzilla?
Not that I could find.
Comment 2 Ben Parees 2016-05-05 18:34:32 EDT
this is done now:
https://github.com/openshift/mysql/commit/7b777d5703781ae29db02b2ab8bfa502b63904e7#diff-fcfa02ed838e2c5a90404c032384ffa0R30

will be in the next spin of the rhel images, but it's in centos already.
Comment 10 errata-xmlrpc 2016-06-27 11:06:02 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-2016:1343

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