Bug 1008043
Summary: | drupal sql errors after 2.0.33 migration. | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Online | Reporter: | Wesley Hearn <whearn> | ||||
Component: | Containers | Assignee: | Dan McPherson <dmcphers> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 2.x | CC: | chunchen, dmcphers, xtian | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2013-09-19 16:51:27 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: | |||||||
Attachments: |
|
Description
Wesley Hearn
2013-09-13 23:55:13 UTC
Some errors in mysql log: 130916 3:20:13 InnoDB: Initializing buffer pool, size = 16.0M 130916 3:20:13 InnoDB: Completed initialization of buffer pool InnoDB: Error: log file ./ib_logfile0 is of different size 0 5242880 bytes InnoDB: than specified in the .cnf file 0 8388608 bytes! 130916 3:20:13 [ERROR] Plugin 'InnoDB' init function returned error. 130916 3:20:13 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed. 130916 3:20:13 [Note] Event Scheduler: Loaded 0 events 130916 3:20:13 [Note] /usr/libexec/mysqld: ready for connections. Version: '5.1.69' socket: '/var/lib/openshift/5236a5ee41c5cf0aa0000033/mysql//socket/mysql.sock' port: 3306 Source distribution Seems related to this change: https://github.com/openshift/origin-server/pull/3599/ If change the following line back to 5M in mysql/conf/my.cnf.erb.hidden file and restart the app, the migrated drupal app will be back to normal. innodb_log_file_size = <%= ENV['OPENSHIFT_APP_DNS'] == ENV['OPENSHIFT_GEAR_DNS'] ? 5 : 24 %>M Created attachment 798200 [details]
broker log
If leave the log size unchanged for the existing app, but set the storage engine env, mysql and the app failed to restart after setting it, broker log is attached, not sure if it's a related bug.
[root@ip-10-179-2-148 conf]# rhc env set OPENSHIFT_MYSQL_DEFAULT_STORAGE_ENGINE=innodb -a drupalapp
Setting environment variable(s) ... done
[root@ip-10-179-2-148 conf]# rhc cartridge-restart -c mysql-5.1 -a drupalapp
Restarting mysql-5.1 ...
Unable to complete the requested operation due to: Failed to correctly execute all parallel operations.
Reference ID: fc96d4a8fb56672dca3bb20b12345b0d
Fix pushed with: https://github.com/openshift/origin-server/commit/6b9312228370b54fd26aeadd1721d5f2e70e82f1 Will be in devenv-stage_474 Fix pushed with: https://github.com/openshift/origin-server/commit/6b9312228370b54fd26aeadd1721d5f2e70e82f1 Will be in devenv-stage_474 *** Bug 1007779 has been marked as a duplicate of this bug. *** It's fixed, verified on devenv_stage_465 to devenv_stage_475. |