OpenShift PaaS Weekly Tips and Tricks – December 16, 2012

Platform-as-a-service makes deploying applications to the cloud fast and easy. But, to get the most out of the OpenShift PaaS, it helps to stay abreast of the interesting technical issues plus their workarounds and solutions. We’ve made this easy with a weekly tips and tricks blog.

We’re pushing an update to production this week
We’re planning an upgrade this week. Feel free to subscribe to get notifications early and often so that you can plan around it. Don’t forget to update your rhc clients too.

Tips on how to get around Disk Quota exceeded errors on your app
Here’s the forum thread that covers the issue and suggested workarounds. You will often need to stop the app when it gets into this state prior to running ‘rhc app tidy {appName}’.Platform-as-a-service makes deploying applications to the cloud fast and easy. But, to get the most out of the OpenShift PaaS, it helps to stay abreast of the interesting technical issues plus their workarounds and solutions. We’ve made this easy with a weekly tips and tricks blog.

We’re pushing an update to production this week
We’re planning an upgrade this week. Feel free to subscribe to get notifications early and often so that you can plan around it. Don’t forget to update your rhc clients too.

Tips on how to get around Disk Quota exceeded errors on your app
Here’s the forum thread that covers the issue and suggested workarounds. You will often need to stop the app when it gets into this state prior to running ‘rhc app tidy {appName}’.

Tips on how to troubleshoot Python/Flask apps
Here’s a thread that covers how to troubleshoot Flask applications with the debug flag enabled. The tricky part is that debug errors won’t be printed to the app logs unless you hit the app’s apache server by logging onto the gear and running:

curl http://$OPENSHIFT_INTERNAL_IP:$OPENSHIFT_INTERNAL_PORT’

How to access each gear on scalable apps
Along the same lines of debugging flask applications, what if you need to hit the web server for a specific gear (e.g., bypassing haproxy)? Based on a great question from @omnifacesha, we added comments to this FAQ: How to access your gears. I should also mention gear access using Filezilla – way cool!

Common tips and tricks for JBoss applications
There has been an increase in JBoss inquiries which is awesome. Here are some threads about database connectivity and compilation issues.

Special thanks to all Community users who helped report these issues on IRC, Forums and the mailing list. Without you, we won’t know what we have to fix nor how we can improve. So please keep the questions coming!!

Thank you!

Nam Duong – Customer Enablement
Product Marketing Manager
OpenShift | PaaS by Red Hat

http://openshift.redhat.com
Twitter: @openshift, @NamDuong_rh

Categories
JBoss, News, OpenShift Online, Python
Tags
, , , , ,
Comments are closed.