Openshift deoployments through JBDS not working properly

Solution Verified - Updated -

Issue

  • When deploying the Openshift Cartridges through JBDS(JBOSS Developer Studio). We can use the following commands to deploy our application onto Openshift from commandline (and this works):
rhc create-app APP_NAME jbosseap-6 mysql-5.5 -g large -e LOAD_DATA=true
cd APP_NAME
git remote add upstream APP_GITHUB_REPO
git pull -s recursive -X theirs upstream master
git push
- We are trying to do the same thing from JBDS, from create a new Openshift Application:

~~~ 
Name: APP_NAME 
Type: jbosseap-6
Gear: large
Embedded Cartridges: MySQL 5.5
Advanced >> Source Code: APP_GITHUB_REPO
Advanced >> Environment Variables: We are setting LOAD_DATA=true
...
Failed to execute: 'control start' for /var/lib/openshift/546b9b859e531ce349000138/mysql
ERROR 1130 (HY000): Host '127.11.116.130' is not allowed to connect to this MySQL server
...
~~~

- In case we are not setting LOAD_DATA the application is getting created with no data loaded in it. However when we do load data

Environment

  • OpenShift Enterprise 2.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.