[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Openshift Origin drupal and wordpress cartridges?



Thanks! 

>From the mcollective log, i found out that it seems like a problem when building the mysql cartridge. 

The error i'm seeing is: 

E, [2013-10-07T09:33:25.329128 #1265] ERROR -- : openshift.rb:295:in `rescue in with_container_from_args' CLIENT_ERROR: The initial build for the application failed: Shell command '/sbin/runuser -s /bin/sh 5252b7ab8d01c6f43a00001a -c "exec /usr/bin/runcon 'unconfined_u:system_r:openshift_t:s0:c0,c502' /bin/sh -c \"gear postreceive >> /tmp/initial-build.log 2>&1\""' returned an error. rc=255

Then there are a pile of CLIENT_ERROR: lines, which seem to refer to the drupal install, which end in errors about mysql going away, seems related to the mysql error above. 

CLIENT_ERROR: PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: UPDATE {system} SET bootstrap=:db_update_placeholder_0


As far as I can tell, that first error above is the start of the cascade effect of problems during the build. 

Now, as i mentioned earlier, I can build wordpress with no problem, which uses the mysql cartridge as well.  So i have trouble believing its a cartridge problem, what else could it be though?


----- Original Message -----
> From: "Luke Meyer" <lmeyer redhat com>
> To: "Nathan" <lagern lafayette edu>
> Cc: users lists openshift redhat com, "Clayton Coleman" <ccoleman redhat com>
> Sent: Friday, October 4, 2013 11:28:07 AM
> Subject: Re: Openshift Origin drupal and wordpress cartridges?
> 
> If the debug message there is just a stack trace, it's probably not too
> helpful. Node execution error just means something went wrong on the node,
> so you need to look there to see what happened.
> 
> Look on the node at /var/log/mcollective.log (the entry point for commanding
> the node) as well as /var/log/openshift/node/*.log where execution errors
> log to.
> 
> ----- Original Message -----
> From: "Nathan" <lagern lafayette edu>
> To: "Clayton Coleman" <ccoleman redhat com>
> Cc: "Luke Meyer" <lmeyer redhat com>, users lists openshift redhat com
> Sent: Friday, October 4, 2013 11:22:42 AM
> Subject: Re: Openshift Origin drupal and wordpress cartridges?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> So, i'm still having issues with the drupal quickstart.
> 
> At first it was a git problem, i changed the git url for drupal7 to
> the one i found on public openshift.redhat, this got past the git
> error, but now i get a rather generic:
> 
> Unable to complete the requested operation due to: Node execution
> failure (error getting result from node).. Reference ID:
> 7b99b557b14fe331d26d7cbb868960db
> 
> When i try to create a drupal7 gear.
> 
> Wordpress works, so i think this is drupal7 related.
> 
> I poked around the logs, and found things like this:
> 
> 2013-10-04 11:10:11.679 [ERROR] Node execution failure (error getting
> result from node). (pid:4504)
> There's a very long debug message after this which i can post if
> needed.  I didnt want to clutter up the thread with giant walls of
> text that may not be useful.
> 
> 
> 
> On 10/04/2013 09:50 AM, Clayton Coleman wrote:
> > It should have been documented in the conf.  I'll open a bug to
> > track that.
> > 
> >> On Oct 4, 2013, at 9:37 AM, Luke Meyer <lmeyer redhat com>
> >> wrote:
> >> 
> >> Origin doesn't even mention this in its default conf.
> >> 
> >> Looks like it's set to https://www.openshift.com/api/ for Online,
> >> which is presumably the base of the URL.
> >> 
> >> ----- Original Message ----- From: "Nathan T. Lager"
> >> <lagern lafayette edu> To: "Clayton Coleman"
> >> <ccoleman redhat com> Cc: users lists openshift redhat com Sent:
> >> Friday, October 4, 2013 6:56:26 AM Subject: Re: Openshift Origin
> >> drupal and wordpress cartridges?
> >> 
> >> So, it seems that i do not have COMMUNITY_QUICKSTARTS_URL set.
> >> 
> >> Where should it point to if i want to use public quickstarts
> >> rather than a local config?
> >> 
> >> 
> >> Thanks!
> >> 
> >> ----- Original Message -----
> >>> From: "Clayton Coleman" <ccoleman redhat com> To: "Nathan T.
> >>> Lager" <lagern lafayette edu> Cc:
> >>> users lists openshift redhat com Sent: Thursday, October 3,
> >>> 2013 9:01:22 PM Subject: Re: Openshift Origin drupal and
> >>> wordpress cartridges?
> >>> 
> >>> It's actually a quickstart - if you have
> >>> COMMUNITY_QUICKSTARTS_URL set in your broker.conf then it will
> >>> pull from openshift.com.  Otherwise it'll read
> >>> /etc/openshift/quickstarts.json.
> >>> 
> >>> ----- Original Message -----
> >>>> I'm having a problem with the Drupal7 cartridge on OpenShift
> >>>> origin.
> >>>> 
> >>>> The git url it pulls appears to be incorrect.  I'm trying to
> >>>> update it, but cant figure out how.
> >>>> 
> >>>> I cant find any reference to the drupal cartridge, or the
> >>>> wordpress cartridge, anywhere on my system.  Where is the
> >>>> data for these mysterious cartridges held?
> >>>> 
> >>>> Thanks!
> >>>> 
> >>>> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Nathan Lager,
> >>>> RHCSA, RHCE, RHCVA (#110-011-426) System Administrator 11
> >>>> Pardee Hall Lafayette College, Easton, PA 18042
> >>>> 
> >>>> 
> >>>> _______________________________________________ users mailing
> >>>> list users lists openshift redhat com
> >>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> >> 
> >> _______________________________________________ users mailing
> >> list users lists openshift redhat com
> >> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> 
> - --
> - -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> Nathan Lager, RHCSA, RHCE, RHCVA (#110-011-426)
> System Administrator
> 11 Pardee Hall
> Lafayette College, Easton, PA 18042
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.14 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
> 
> iEYEARECAAYFAlJO3UIACgkQsZqG4IN3sumkVwCdEN8U89qo3R+2jCBJxblgn/Hj
> S6kAoIfwLOS7AHigFC4oYTbQD08vebnI
> =7Zz8
> -----END PGP SIGNATURE-----
> 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]