Stream

Join this community to post or comment

Balakrishnan S

Howtos and Guides  - 
 
OpenShift Origin StackOverflow Documentation Proposal

http://stackoverflow.com/documentation/openshift-origin/commit

1
Add a comment...

Balakrishnan S

Howtos and Guides  - 
 
I have created a project and deployed Gogs with persistent volume and everything is working perfectly.
I have crated a account for Gogs and added some repositories in it.
Then I deleted the OpenShift project.

Now! I want to deploy Gogs again and use the same persistent volume i.e.like restore the old.

Gogs had two pods, one is MySQL and other is Gogs itself. And `pvc` configuration for both are same.

I just wanna know how to make MySQL pod choose the existing MySQL volume and Gogs choose the existing Gogs volume?
1
Add a comment...

Balakrishnan S

Howtos and Guides  - 
 
Please help me solve this issue.

>> I did:
1:
`oc cluster up --host-data-dir=/home/linux/_my/_apps/origin-host-config-dir --use-existing-config`
2: created a project web "gogs" with "mysql-ephemeral".
3: Went to http://gogs.machine-ip.xip.io(service route) and populated and data.
4: Every thing worked fine. I restarted the system.
5: Now used the same command
`oc cluster up --host-data-dir=/home/linux/_my/_apps/origin-host-config-dir --use-existing-config`

>> Expected:
gogs.machine-ip.xip.io to run with the populated data.

>> Actually this is what happened:
http://gogs.machine-ip.xip.io works!!!
But!!! what it actually did is that it destroyed all the containers that it created and recreated it again.
So, now I lost my data.

>> Questions:
Is is a bug or a feature?
How can I prevent the containers being destroyed and have persistent data but without persistent volume?


1
JML Crucciata's profile photoBalakrishnan S's profile photo
2 comments
 
+JML Crucciata thanks
Add a comment...

Ambica Uday Kishore

Suggestions and Ideas  - 
 
Hi. Need some urgent help on Openshift Connections. Please help me ASAP.
1
Add a comment...
 
Hi. Need some urgent help on Openshift Connections. Please help me ASAP.
1
colin mcdermott's profile photo
 
You need to post with details. Otherwise forget it.
Add a comment...

JML Crucciata

Discussion  - 
 
Using 1.2.0 Containerised, I get this type of msg while deploying some pods : any clue ?
Error syncing pod, skipping: failed to "TeardownNetwork" for "testnode-2-build_default" with TeardownNetworkError: "Failed to teardown network for pod \"49e7b17f-2824-11e6-92bb-005056833635\" using network plugins \"redhat/openshift-ovs-subnet\": exit status 1"
1
Saurabh Tandon's profile photoJML Crucciata's profile photo
2 comments
 
I got another answer that the docker install was fixed by a new ansible script in recent days and effectivelly this worked for me.
I invite you to go to the webchat webchat.freenode.net on the openshift-dev community that is quite useful to get answers. The old chats are searcheable as well.
Enjoy.
Jean Marc
Add a comment...

Leonardo Pareja

Discussion  - 
 
If have OpenShift Origin. What i need to migra to Openshift Enterprise?
1
Add a comment...

Gao Azure

Discussion  - 
 
Hi, I have set up openshift origin with 1 master and two slaves by following advanced install wiki on AWS, everything looks very good. however, when i run "oc get nodes" to verify the install, I can only see three colums, NAME, STATUS and AGE, but I am not able to see the colum LABELS, Am i missing anything?
BTW, I used #Single Master and Multiple Nodes Inventory File# as my /etc/ansible/hosts and ran ansible-playbook to install as root
1
Christoph Görn's profile photo
 
Ja, --show-labels
Add a comment...

Diane Mueller

Discussion  - 
 
Fresh from +OpenStack Summit in Austin - here's a great +OpenShift and +Kubernetes talk by +Mark Lamourine 
4
Add a comment...

About this community

Welcome to the official OpenShift Origin community. Want to run your own open-source PaaS? Interested in developing your own plugins or cartridges for OpenShift Origin? This community is a place for you to meet other developers, share your development tips and tricks and challenges, and to stay up-to-date on the OpenShift Origin platform. If you are interested in the OpenShift from a users perspective, check out the OpenShift page (http://goo.gl/KnT03) See Also: GitHub Project: http://goo.gl/Rud1O irc.freenode.org: - #openshift - #openshift-dev twitter: - @openshift - #openshift
https://openshift.redhat.com/community/open-source

Divya Bandaru

Development  - 
 
Hi.I need small help.
I deployed Hello world application in openshift and when
I was trying to deploy geoserver war in the application,i got stuck.
I tried many ways by creating diy app,pushing war file in webapps directory.But none of them worked.
Please help me in publishing geoserver war in tomcat.
1
Add a comment...

Balakrishnan S

Howtos and Guides  - 
 
I found out that Origin's Router only supports HTTP and HTTPS. In that case how to access MySQL service from external system via client like HeideSQL?
1
Balakrishnan S's profile photo

Ambica Uday Kishore

Suggestions and Ideas  - 
 
Hi. Need some urgent help on Openshift Connections. Please help me ASAP.
1
Add a comment...
 
Hi. Need some urgent help on Openshift Connections. Please help me ASAP.
1
Add a comment...

James Yuan

Howtos and Guides  - 
 
Hello, do OpenShift Origin support the private git repository, not github?
1
Sean V. Thompson's profile photoJames Yuan's profile photo
2 comments
Add a comment...

JML Crucciata

Discussion  - 
 
DNS behavior in Origin.
How is the dns behaving when an application calls an external URL ?
Is the skydns involved, or the host/docker dns resolv.conf ?
We experience long delay to resolve some URLs and wonder whether we have an issue somewhere.
Thx
1
Michael Lang's profile photo
 
DNS and URLs are only related in the "domain" part meaning, the content between the protocol specification (everythin before ://) and the first slash / ...
example http://www.google.com/?gfe_rd=cr&ei=64lEV-6APajb8AeeqbGgDA

only www.google.com. will be taken into consideration for DNS resolution, and so to verify if DNS resolution works you would call

dig @8.8.8.8-t a www.google.com.

as far as I've seen skydnet dns is responsible for resolving services through SRV records like

dig @8.8.8.8-t srv _ldap._tcp.google.com.

if you can tell which application calls what you can eliminate DNS issues in that way.

please ensure to replace 8.8.8.8 with the DNS server you've configured
Add a comment...

Leonardo Pareja

Discussion  - 
 
Hello, i understand that openshift comes with his own kubernetes and etcd. But i have alredy intalled kubernetes and etcd. What should i do?? what is the differences between Openshift kubernetes an googles?? Thanks
1
Add a comment...

Eric Nicholls

Howtos and Guides  - 
 
Can you install OpenShift Origin on CentOS 7 running from GCE?
1
Eric Rich's profile photo
 
Yes
Add a comment...

Balakrishnan S

Howtos and Guides  - 
 
Hi, I've installed "All-In-One Origin Virtual Machine (Version 1.1.6)" and deployed WordPress
https://github.com/openshift/origin/tree/master/examples/wordpress
Also created NFS storage
https://github.com/openshift/origin/blob/master/examples/wordpress/nfs/README.md

I have three questions.

Question 1:
When I `ls` in to `/home/data/pv0002` it show MySQL files as expected. And in the directory `/home/data/pv0001` there is nothing isn't the WordPress files have to be there?

Question 2:
When I try to upload media in WordPress it show an error message
```
Unable to create directory wp-content/uploads/2016/05. Is its parent directory writable by the server?
```
What do I have to do to fix this?

Question 3:
When I try to install new theme it ask for ftp credentials. What do I have to do to get that?
1
Diane Mueller's profile photoBalakrishnan S's profile photo

Samarth Mahajan

Howtos and Guides  - 
 
Is there any documentation/video/tutorial on DBaaS with OpenShift.
Pardon me very new to this field.
1
Add a comment...