openshift

OpenShift Origin and Jenkins --> Permission denied

这一生的挚爱 提交于 2019-12-11 05:48:50
问题 I get the following error with a Jenkins Pipeline Java / Maven job on OpenShift Origin: [workspace] $ /var/lib/jenkins/tools/hudson.tasks.Maven_MavenInstallation/Maven-3.5.0/bin/mvn clean package Error: dl failure on line 893 Error: failed /var/lib/jenkins/tools/hudson.model.JDK/jdk- 8/jre/lib/i386/server/libjvm.so, because /var/lib/jenkins/tools/hudson.model.JDK/jdk-8/jre/lib/i386/server/libjvm.so: cannot restore segment prot after reloc: Permission denied Build step 'Invoke top-level Maven

Add second cname for openshift

僤鯓⒐⒋嵵緔 提交于 2019-12-11 05:46:12
问题 I have successfully customize domain with rhc alias add tutorial reboltutorial.net rhc alias add tutorial www.reboltutorial.net Problem is I cannot add CNAME .reboltutorial.net tutorial-rebol.rhcloud.com to my current DNS records A reboltutorial.net 198.XXX.YYY.ZZZ NA 3600 CNAME www.reboltutorial.net tutorial-rebol.rhcloud.com So is it possible to add both domain.com and www.domain.com to Openshift ? Update : well finally even without adding 2nd Cname reboltutorial.net works though I don't

Strimzi - Connecting external clients

眉间皱痕 提交于 2019-12-11 05:40:50
问题 Following on discussion here, I used the following steps to enable an external client (based on kafkajs) connect to Strimzi on OpenShift. These steps are from here. Enable external route The kafka-persistent-single.yaml is edited to as shown below. apiVersion: kafka.strimzi.io/v1beta1 kind: Kafka metadata: name: my-cluster spec: kafka: version: 2.3.0 replicas: 1 listeners: plain: {} tls: {} external: type: route config: offsets.topic.replication.factor: 1 transaction.state.log.replication

Deploying Vaadin App in Openshift

给你一囗甜甜゛ 提交于 2019-12-11 05:29:12
问题 I just created my first Vaadin application. The application works fine on my local server. I want to upload this app to Openshift. I followed the instructions here: https://www.openshift.com/kb/kb-e1088-how-to-deploy-pre-compiled-java-applications-war-and-ear-files-onto-your-openshift-gear The app has been uploaded, but the only thing that is displayed is text. No panels or CSS or anything. Does anyone have any idea why this is happening? Thank you! Console: Jul 01, 2014 8:39:50 AM com.vaadin

DNS Entry for an OpenShift V3

拜拜、爱过 提交于 2019-12-11 04:57:58
问题 I've recently bought a domain name, and I'm trying to redirect this domain name to an OpenShift v3 web app. (It is my first time setting up things like this, so bear with my ignorance.) Normally, OpenShift provides a hostname, something like: myapp-myproject.preview.openshiftapps.com Based on conversation with support of my domain name registry company (not GoDaddy), I need to have some static IP from my Web Hosting provider to add to the DNS Entry or NameServer to link to my domain name (in

What can I do as OpenShift user?

╄→гoц情女王★ 提交于 2019-12-11 03:33:22
问题 I'm currently using a virtual server and want to try OpenShift out. But I'm not really getting yet, how it works. Do I get a root access to my "webspace"? Can I set up the server OS (e.g. Debian 7)? Can I install/uninstall software (nginx, PHP 5.5, PHP Code Sniffer PEAR package etc.)? Can I use one gear for multiple websites? 回答1: It not clear by your line of questioning what portion of OpenShift you are not understanding, so I will try and lay out the architecture and provide documentation

Django: ImportError: No module named quiz.views

痴心易碎 提交于 2019-12-11 03:28:31
问题 I'm trying to deploy my app to the OpenShift, but I have some troubles. I tried to add my files to the default django-example project and that's what I've got (my app is in 'quiz' folder, copied from local project): From settings.py: INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', 'django.contrib.messages', 'django.contrib.staticfiles', 'quiz', ... ROOT_URLCONF = 'quiz.urls' From urls.py: from django.conf.urls import

Access-Control-Allow-Origin on OpenShift using Node.js, express, and socket.io

不羁岁月 提交于 2019-12-11 03:25:32
问题 As the title suggests, I'm having trouble remotely accessing my node.js instance hosted on OpenShift. The error I keep getting in my browser's console looks like this: XMLHttpRequest cannot load http://app-domain.rhcloud.com:8000/socket.io/?EIO=3&transport=polling&t=1430117973290-2. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:8383' is therefore not allowed access. The response had HTTP status code 503. (08:59:33:579 | error,

gofabric8> Unable to unzip /Users/apple/.fabric8/bin/oc.zip zip: not a valid zip

拈花ヽ惹草 提交于 2019-12-11 02:44:46
问题 I'm trying to set up environment for microservices. I'm using fabric8 to do that. I'm using mvn fabric8:cluster-start -Dfabric8.cluster.kind=openshift command. while executing i'm getting following error... [INFO] gofabric8> Downloading https://github.com/openshift/origin/releases/download/v1.3.1/openshift-origin-client-tools-v1.3.1-dad658de7465ba8a234a4fb40b5b446a45a4cee1-mac.zip... [INFO] gofabric8> **Unable to unzip /Users/apple/.fabric8/bin/oc.zip zip: not a valid zip fileUnable to

Socket.io and node on OpenShift

痴心易碎 提交于 2019-12-11 02:39:31
问题 I have read that OpenShift listening on port 8080 server side. I have also read that they force web sockets to connect to port 8000 client side. Nowhere have I read that I need to mention port 8000 server side, since apparently OpenShifts apache reverseProxy is supposed to route 8000 to 8080 (and it is up to the application to decide what type of connection it is?) I have read a whole lot, tried everything, and I really just can't figure this shite out. Site runs fine in local host when