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

Re: Openshift Origin, cant create apps based on quickstarts.



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

That helped, i'm closer now.

I get mysql in the list of cartridges now, but when i attempt to add
it to a php application, i get:

Unexpected error: User does not exist in cgroups: 528e32b1516de2a4f0000011



On 11/21/2013 11:59 AM, Steve Morrissey wrote:
> After installing the mysql cartridge did you run this on the
> broker? [root broker ~]# oo-admin-broker-cache -c --console
> 
> I believe you need to do that in order for the broker to become
> aware of the newly installed cartridges. After doing that I was
> able to get the quickstarts working.
> 
> -Steve
> 
> 
> On Thu, Nov 21, 2013 at 10:53 AM, Nathan <lagern lafayette edu 
> <mailto:lagern lafayette edu>> wrote:
> 
> Thanks, still no good though.
> 
> No mariadb in /usr/libexec/openshift/cartridges, mysql is clearly 
> there though. [root strife cartridges]# pwd 
> /usr/libexec/openshift/cartridges [root strife cartridges]# ls -l 
> total 60 drwxr-xr-x.  4 root root 4096 Nov 21 00:10
> 10gen-mms-agent drwxr-xr-x.  5 root root 4096 Nov 21 00:06 cron 
> drwxr-xr-x.  8 root root 4096 Nov 21 00:07 diy drwxr-xr-x.  8 root
> root 4096 Nov 21 00:07 haproxy drwxr-xr-x.  7 root root 4096 Nov 21
> 00:10 jenkins drwxr-xr-x.  5 root root 4096 Nov 21 00:25
> jenkins-client drwxr-xr-x.  8 root root 4096 Nov 21 00:10 mongodb 
> drwxr-xr-x.  7 root root 4096 Nov 21 11:24 mysql drwxr-xr-x.  9
> root root 4096 Nov 20 21:18 nodejs drwxr-xr-x. 10 root root 4096
> Nov 21 00:28 perl drwxr-xr-x.  7 root root 4096 Nov 21 00:31 php 
> drwxr-xr-x.  7 root root 4096 Nov 21 00:07 phpmyadmin drwxr-xr-x.
> 9 root root 4096 Nov 21 00:06 postgresql drwxr-xr-x.  8 root root
> 4096 Nov 20 21:14 python drwxr-xr-x.  9 root root 4096 Nov 21 00:16
> ruby [root strife cartridges]#
> 
> No mariadb cartridge rpm installed, mysql is though.
> 
> [root strife cartridges]# rpm -qa | grep origin-cartridge 
> openshift-origin-cartridge-jenkins-client-1.17.1-1.git.0.d44b524.fc19.noarch
>
> 
openshift-origin-cartridge-perl-1.17.0-1.git.32.caadcbc.fc19.noarch
> openshift-origin-cartridge-mysql-1.19.0-1.git.37.caadcbc.fc19.noarch
>
> 
openshift-origin-cartridge-postgresql-1.18.0-1.git.58.bbe5a74.fc19.noarch
> openshift-origin-cartridge-mongodb-1.17.1-1.git.0.bf4143e.fc19.noarch
>
> 
openshift-origin-cartridge-cron-1.17.0-1.git.38.caadcbc.fc19.noarch
> openshift-origin-cartridge-haproxy-1.18.0-1.git.16.2070d75.fc19.noarch
>
> 
openshift-origin-cartridge-php-1.18.0-1.git.33.caadcbc.fc19.noarch
> openshift-origin-cartridge-ruby-1.18.0-1.git.34.caadcbc.fc19.noarch
>
> 
openshift-origin-cartridge-diy-1.16.1-1.git.0.ab38b95.fc19.noarch
> openshift-origin-cartridge-python-1.17.6-1.git.0.5bd5650.fc19.noarch
>
> 
openshift-origin-cartridge-10gen-mms-agent-1.29.1-1.git.0.cf31fb6.fc19.noarch
> openshift-origin-cartridge-nodejs-1.18.3-1.git.0.1ddaa30.fc19.noarch
>
> 
openshift-origin-cartridge-phpmyadmin-1.17.1-1.git.0.5836a90.fc19.noarch
> openshift-origin-cartridge-jenkins-1.16.1-1.git.0.4a9d30c.fc19.noarch
>
>  I ran the mentioned command. [root strife ~]#
> /usr/sbin/oo-admin-cartridge --recursive -a install -s
> /usr/libexec/openshift/cartridges/ succeeded [root strife ~]#
> 
> Still, when i attempt to add a database cartridge to an existing 
> application, it shows me maria, not mysql.  Also, i still cannot 
> create drupal/wordpress applications.
> 
> What did i miss?
> 
> 
> On 11/21/2013 11:35 AM, Juanje Ojeda Croissier wrote:
>> Ups, I forgot you have to update the Cartridges repo after you 
>> install or uninstall any cartrige. I didn't know either and I
>> run in the same issues. You need to run this command (I think it
>> was all I had to do...):
> 
> 
>> /usr/sbin/oo-admin-cartridge --recursive -a install -s 
>> /usr/libexec/openshift/cartridges/
> 
> 
>> Here is the part of the guide which exaplain it:
> 
> http://openshift.github.io/documentation/oo_deployment_guide_comprehensive.html#select-and-install-built-in-cartridges-to-be-supported
>
> 
> 
> 
>> On Thu, Nov 21, 2013 at 4:29 PM, Nathan <lagern lafayette edu
> <mailto:lagern lafayette edu>
>> <mailto:lagern lafayette edu <mailto:lagern lafayette edu>>>
>> wrote:
> 
>> This does not seem to be working out.
> 
>> I installed the openshift-origin-cartridge-mysql package via
>> yum.
> 
>> OO still does not show mysql as an available database.
> 
>> I removed the mariadb cartridge package, thinking there was a 
>> conflict here.
> 
>> Still no improvement, in fact, this did not remove mariadb from 
>> the available datbase cartridge list even.
> 
>> Can i somehow change the dependencies for drupal/wordpress to
>> use maria instead of mysql?  That seems like the right fix here.
> 
> 
> 
>> On 11/21/2013 07:38 AM, Lager, Nathan T. wrote:
>>> I had a hunch that was the problem.  Thanks. I'll try that.
> 
>>> Juanje Ojeda Croissier <juanje ojeda gmail com
> <mailto:juanje ojeda gmail com>
>> <mailto:juanje ojeda gmail com <mailto:juanje ojeda gmail com>>>
> wrote:
> 
>>> That has happened to me as well. Check if you have the Mysql 
>>> cartridge installed. In the default installation it did
>>> install me the Mariadb one, but no the Mysql one, so when I
>>> tried to create an app with the Wordpress it didn't match the
>>> requisites (Mysql).
> 
>>> I installed the mysql cartridge package and it started to be 
>>> working.
> 
>>> I hope this help you.
> 
> 
>>> On Thu, Nov 21, 2013 at 12:11 PM, Lager, Nathan T. 
>>> <lagern lafayette edu <mailto:lagern lafayette edu>
> <mailto:lagern lafayette edu <mailto:lagern lafayette edu>>>wrote:
> 
>>>> Update (yea, already), turns out that its not _all_ 
>>>> quickstarts, maybe just PHP based quickstarts.  I just made
>>>> a django application no problem (which is of course python).
>>>> 
>>>> 
>>>> ----- Original Message -----
>>>>> From: "Nathan T. Lager" <lagern lafayette edu
> <mailto:lagern lafayette edu>
>> <mailto:lagern lafayette edu <mailto:lagern lafayette edu>>> To:
>>>>> users lists openshift redhat com
> <mailto:users lists openshift redhat com>
>> <mailto:users lists openshift redhat com
> <mailto:users lists openshift redhat com>> Sent: Thursday,
> November
>> 21,
>>>>> 2013 7:07:57 AM Subject: Openshift Origin, cant create
>>>>> apps based on quickstarts.
>>>>> 
>>>>> So, i just flattened my OO intall on CentOS 6.4, in favor
>>>>> of a new
>>>> install on
>>>>> FC19.  What a difference this made in the install, much 
>>>>> smoother.  I
>>>> should
>>>>> have known.  ;) Anyway, It seems that I can now create 
>>>>> applications
>>>> based on
>>>>> standard gears, like, php, jenkins, things like that, but
>>>>> if i try to
>>>> build
>>>>> anything based on a quickstart (i.e., anything found in 
>>>>> /etc/openshift/quickstarts.json), I cant submit the new 
>>>>> appliction form!
>>>>> 
>>>>> 
>>>>> I havent found any errors in any logs, yet, im still 
>>>>> digging. But it
>>>> goes
>>>>> like this:
>>>>> 
>>>>> Click on the add application button from the applications 
>>>>> tab logged in
>>>> from
>>>>> the OO web interface. Select Wordpress (or drupal, or
>>>>> cake, or anything ive tried so far thats
>>>> a
>>>>> quickstart) Enter a name (cloud domain is already filled 
>>>>> in). Change nothing else, click create application
>>>>> 
>>>>> sometimes, it balks at the name i chose.  This time i left 
>>>>> the name at
>>>> the
>>>>> default it auto-filled "php" and it hilighted it, but
>>>>> didnt actually
>>>> tell me
>>>>> there was a problem with the name. So i changed it to 
>>>>> something else, and now when i click create appliction, it 
>>>>> simply does nothing.  No error, no action, to load time,
>>>>> just as if i had not clicked on the button.
>>>>> 
>>>>> What could this be?
>>>>> 
>>>>> 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
> <mailto:users lists openshift redhat com>
>> <mailto:users lists openshift redhat com
> <mailto:users lists openshift redhat com>>
>>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>>>
>>>>
>>>>
>>>>> 
_______________________________________________ users mailing
>>>> list users lists openshift redhat com
> <mailto:users lists openshift redhat com>
>> <mailto:users lists openshift redhat com
> <mailto:users lists openshift redhat com>>
>>>> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
>>>> 
> 
> 
> 
> 
> 
> 
> 
> 
>> -- Juanje
> 
>> http://about.me/juanje
> 
> 
> _______________________________________________ users mailing list 
> users lists openshift redhat com 
> <mailto:users lists openshift redhat com> 
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> 
> 
> 
> 
> -- Steve Morrissey Information Technology Systems & Services 
> University of Minnesota Duluth o: 218.726.8866

- -- 
- -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlKOPREACgkQsZqG4IN3sukd/wCeJusT3blrgzY2IRE043QNdAxa
9YwAoI6kHxQ4HifxN5HIWE0NPbw/AIxY
=i65a
-----END PGP SIGNATURE-----


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