Bug 1056357

Summary: Unable to complete the requested operation due to: Failed to correctly execute all parallel operations - ["RestartCompOp"]
Product: OpenShift Online Reporter: Martin Poropat <martin_poropat>
Component: ImageAssignee: Jakub Hadvig <jhadvig>
Status: CLOSED CURRENTRELEASE QA Contact: libra bugs <libra-bugs>
Severity: high Docs Contact:
Priority: unspecified    
Version: 2.xCC: bmeng, dmcphers, jhadvig, mfojtik
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: 2014-02-26 19:09:54 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 Flags
cmd none

Description Martin Poropat 2014-01-22 03:22:36 UTC
Created attachment 853573 [details]
cmd

Description of problem:

Command "rhc cartridge restart -a (appname) -c mysql-5.1"

Similar message to bug 1053113. (attached file)
Can't restart from console too.

Reference ID: f3fd8a4ee7869904ec91bd3e46c89483

From browser:
PDOException: SQLSTATE[HY000] [2013] Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in lock_may_be_available() (line 167 of /var/lib/openshift/522e184ae0b8cddbe90000c5/app-root/data/downloads/drupal-7.23/includes/lock.inc).


quota seems ok

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


How reproducible:


Steps to Reproduce:
1. run command "rhc app start -d (appname)"
2.
3.

Actual results:


Expected results:
Expect app to restart

Additional info:

Comment 1 Jakub Hadvig 2014-01-22 12:05:40 UTC
Hi Martin,
thank you for reporting this issue.

I wasn't able to reproduce this bug.

Could you please provide more info, maybe what kind of primary cartridge are you using, or what kind of quickstart.

Thank you

-Jakub

Comment 2 Jakub Hadvig 2014-01-22 12:31:09 UTC
Sorry, found out from your comment that you are using Drupal.

Nevertheless I wasn't able to reproduce the issue.
I tried scaled and non-scaled Drupal apps to perform both:
   rhc cartridge restart -a (appname) -c mysql-5.1
   rhc app start -d (appname)

and both finished with successfully started cartridges and running application. 

Could you please provide more info, so we could reproduce the issue.

Thank you

-Jakub

Comment 3 Martin Poropat 2014-01-22 12:34:32 UTC
My cartridges:
PHP 5.3
MySQL 5.1 
phpMyAdmin 4.0 

I tried to restart separately and it's only the MySQL cartridge that can't restart.

Comment 4 Jakub Hadvig 2014-01-22 12:53:08 UTC
Hi Martin,

thanks for response.

Was trying reproduce also on openshift online, but without luck.

Could you maybe check you database configuration, if everything is set correctly, because the reason of the error above is database configuration only.
If you by accident didn't changed something.

Thank you

-Jakub

Comment 5 Meng Bo 2014-02-12 07:05:33 UTC
root@openshift-ubuntu1310:~/openshifttestdir# rhc cartridge restart mysql-5 -a drupal
Using mysql-5.1 (MySQL 5.1) for 'mysql-5'
Restarting mysql-5.1 ... done
root@openshift-ubuntu1310:~/openshifttestdir# rhc app restart drupal
RESULT:
drupal restarted


both the app and mysql cartridge can be start.