openshift

rhc ssh [No system SSH available] error

独自空忆成欢 提交于 2019-12-18 12:00:03
问题 I want view my openshift application log in my cmd. I did try : rhc ssh appname that time i am getting: No system SSH available. Please use the --ssh option to specify the path to your SSH executable, or install SSH. My system have already ssh key.so how can i solve that problem? 回答1: You need to make sure: you are in a cmd session where HOME is define (type set HOME to check its value: it must be C:\Users\yourLogin , because ssh needs to look for keys in %HOME%\.ssh ) your ssh.exe parent

Not able to set options in JAVA_OPTS in JBoss openshift

倾然丶 夕夏残阳落幕 提交于 2019-12-18 09:51:29
问题 I want to change the server running timezone. So I want to add timezone option in JAVA_OPTS. (-Duser.timezone=GMT). I have tried to edit '/var/lib/openshift/548c33cce0b8cd44d3000083/jbossas/bin/standalone.conf' in JBoss cartridge of openshift, but failed because of Permission denied. I have referred one solution mentioned in https://forums.openshift.com/how-to-pass-jvm-options-to-jboss-7as. That is to add "export JAVA_OPTS="$JAVA_OPTS -Duser.timezone=GMT" in 'pre_start_jbossas' file in action

Suppress “Ambiguous class resolution” warning on composer dump-autoload -o

混江龙づ霸主 提交于 2019-12-18 09:25:40
问题 I'm in the follwoing situation: I want to deploy a php-app via "git push" on openshift. Dependencies are resolved via composer. The composer.lock file (locking the dependencies to the specific wanted version) is part of the repository. Dependencies are loaded using the deploy hook script using: ${PHP_DIR}/bin/php $OPENSHIFT_DATA_DIR/composer.phar update --prefer-dist --no-dev -n ${PHP_DIR}/bin/php $OPENSHIFT_DATA_DIR/composer.phar dump-autoload --optimize -n One of the dependencies

Web socket disconnecting on OpenShift (with WildFly 8.2.1)

人盡茶涼 提交于 2019-12-18 09:17:06
问题 I am using OpenShift and WildFly 8.2.1 final to implement the new HTML5 websocket. I used this tutorial to set this project up. Whenever I open my MyTest.html, this is what the JavaScript logs: JS: Server Connected... JS: Server Disconnected... The server connects and then immediately disconnects. Why? What am I doing wrong? Is there something that I am missing? Here is mode code --> serverendpoint.java package testing; import javax.websocket.OnClose; import javax.websocket.OnError; import

Getting 404 though my app is deployed

谁都会走 提交于 2019-12-18 09:09:23
问题 Jenkins shows that the build was successful (see log below) and I can see the war in /app-root/runtime/repo/target/0.1-MVP The tomcat webapps (jwboss/webapps) contains only ROOT.war. How I can navigate to my deployed app? I am using the tomcat gear. Is there a server manager UI? (something like tomcat manager) Don't know if it matters but I using Spring for my application I tried: <openshift_application_name>.rhcloud.com/<MY REST PATH> <openshift_application_name>.rhcloud.com/<myWebAppName>/

Trying to run PhantomJS on OpenShift: cannot patch GhostDriver so that it can bind on the server IP address

纵然是瞬间 提交于 2019-12-18 07:09:36
问题 tl;dr How to solve version 'GLIBCXX_3.4.15' not found when I cannot be root on the Linux server? I'm tring to use PhantomJS on OpenShift. As explained in this article, PhantomJS GhostDriver binds on localhost only, while on OpenShift, you cannot bind anything on localhost (you need to specify the machine IP address). Paolo Bernardi (the author of the article) shares a patch that fixes PhantomJS, so that it's possible to bind on an IP address. The problem is that the provided patch does not

Share persistent volume claims amongst containers in Kubernetes/OpenShift

老子叫甜甜 提交于 2019-12-18 03:17:50
问题 This may be a dumb question but I haven't found much online and want to clarify this. Given two deployments A and B, both with different container images: They're deployed in two different pods(different rc, svc etc.) in a K8/OpenShift cluster. They both need to access the same volume to read files (let's leave locking out of this for now) or at least the same directory structure in that volume. Mounting this volume using a PVC (Persistent Volume Claim) backed by a PV (Persistent Volume)

Looking for PaaS providers recommendations [closed]

好久不见. 提交于 2019-12-17 22:09:22
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 7 years ago . I want to develop our new project using a PaaS provider. I'll be developing primary in PHP, but would like that the service can provide other languages too (and add-ons available too, like MongoDB, Memcached, redis, etc). I've seem some PaaS as PHPfog (and AppFog), dotCloud, orchestra.io, Red Hat's OpenShift,

Openshift: How to remote access MySQL?

99封情书 提交于 2019-12-17 21:47:39
问题 So I just finished setting up a JBoss application server gear on Openshift and I attached a MySQL and phpmyadmin cartridges. My question is if there is a way to remote access to the database server using an app like MySQL Workbench ? 回答1: You can use rhc port-forward to forward ports from your database to your local machine. Check out the tutorial here. The basic idea of port forwarding in this context is that you can forward ports on your local machine to ones on the gear. So in your case,

Pandas on OpenShift v3

青春壹個敷衍的年華 提交于 2019-12-17 14:54:10
问题 Now that OpenShift Online V2 has announced its end of service, I am looking to migrate my Python application to OpenShift Online V3, aka OpenShift NextGen. Pandas is a requirement (and listed in requirements.txt ) It already has been non-trivial to get pandas installed in v2 but V3 does not allow manual interaction in the build process (or does it?). When I try to build my app the build process stops after an hour. pip has downloaded and installed the contents of the requirements.txt and is