Bug 1202499
Summary: | Unable to set max_allowed_packet for MySQL | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Brenton Leanhardt <bleanhar> |
Component: | ImageStreams | Assignee: | Jason DeTiberus <jdetiber> |
Status: | CLOSED ERRATA | QA Contact: | libra bugs <libra-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.2.0 | CC: | adellape, bparees, ctron, gpei, jokerman, libra-bugs, libra-onpremise-devel, mmccomas, pruan, wzheng |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | openshift-origin-cartridge-mysql-1.30.1.1-1.el6op | Doc Type: | Enhancement |
Doc Text: |
This enhancement adds the OPENSHIFT_MYSQL_MAX_ALLOWED_PACKET environment variable for the MySQL cartridge, which allows developers to optionally set the max_allowed_packet MySQL variable. After applying this update, a cartridge upgrade is required. Developers must also restart their application for any changes made using OPENSHIFT_MYSQL_MAX_ALLOWED_PACKET to take effect.
|
Story Points: | --- |
Clone Of: | 1197825 | Environment: | |
Last Closed: | 2015-04-06 17:06:39 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: | |||
Bug Depends On: | 1197825 | ||
Bug Blocks: |
Description
Brenton Leanhardt
2015-03-16 18:39:15 UTC
Verify this bug with openshift-origin-cartridge-mysql-1.30.1.1-1.el6op.noarch 1. Create an app with mysql5.5/5.1 embedded 2. SSH into the app and check the default configuration of value 'max_allowed_packet' mysql> show variables like 'max_allowed_packet' ; +--------------------+-----------+ | Variable_name | Value | +--------------------+-----------+ | max_allowed_packet | 209715200 | 3. rhc env set OPENSHIFT_MYSQL_MAX_ALLOWED_PACKET=512M -a rails 4. Restart app 5. SSH to app and check the value of max_allowed_packet: mysql> show variables like 'max_allowed_packet' ; +--------------------+-----------+ | Variable_name | Value | +--------------------+-----------+ | max_allowed_packet | 536870912 | 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://rhn.redhat.com/errata/RHBA-2015-0779.html |