Re: questions about externalIP usage

2017-08-15 Thread Yu Wei
it worked. Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux From: Erik Jacobs <ejac...@redhat.com> Sent: Wednesday, August 16, 2017 8:16:07 AM To: Yu Wei Cc: us...@lists.openshift.redhat.com; dev@lists.opensh

When should dnsmasq be disabled?

2017-08-16 Thread Yu Wei
Hi, I setup openshift origin cluster with dnsmasq enabled. I found that within cluster dns didn't function correctly. For example, within pod, "nameserver 172.30.0.1" was not added in /etc/resolv.conf. And service names, endpoints couldn't be resolved. After setting openshift_use_dnsmasq =

Re: HAProxy not running on master

2017-08-15 Thread Yu Wei
uesday, August 15, 2017 7:11:03 PM To: Yu Wei Cc: us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: HAProxy not running on master Hi Yui, the masters runs the OpenShift API and web console on port 8443. OpenShift CLI or nodes communicates with master on this port. Ope

Different behavior between installing openshift origin with openvswitch and flannel

2017-08-15 Thread Yu Wei
Hi guys, I tried to get external traffic into openshift origin cluster using nodeport/externalIPs. When I setup openshift cluster with flannel, exposing service with nodeport/externalIPs did not work. When switched to openvswitch, both worked. Is this expected behavior? Or did I miss

HAProxy not running on master

2017-08-15 Thread Yu Wei
Hi, I setup cluster with 1 lb, 2 masters and 2 work nodes. On host lb, haproxy service and openshift_loadbalancer was running. On master node, I found that haproxy was failed to start. And openshift/origin-haproxy-router was running with container name k8s_router.xxx. I also

questions about externalIP usage

2017-08-10 Thread Yu Wei
Hi guys, I deployed redis with replication controller successfully on openshift origin cluster. Then I tried to create service for external clients to connect. However, it seemed that it didn't work. How could I debug similar problem? Is there any guidance about using externalIP in

Only one node in cluster is accessible using nodeport

2017-08-11 Thread Yu Wei
Hi guys, I deployed service with nodeport to get external traffic into openshift origin cluster. On each node, I found that local port was listened. However, only one node could be accessed through nodeport by external client and it worked well. I compared configuration on each node. It's a

Etcd issue during openshift origin installation

2017-07-21 Thread Yu Wei
Hi guys, I tried to setup openshift origin cluster using "Advanced Installation". In file hosts, I added following variables, containerized=true osm_etcd_image=registry.access.redhat.com/rhel7/etcd Per my understanding, etcd will run in docker container. However, during installation, I got

Re: Docker related issues when installing openshift origin 1.5 on Redhat 7.2

2017-07-21 Thread Yu Wei
https://docs.openshift.com/container-platform/3.5/install_config/install/host_preparation.html#host-registration For Centos I think this will work, but the repo should be enabled by default already. yum-config-manager --enable extras On Fri, Jul 21, 2017 at 9:28 AM, Yu Wei <yu20...@hotmail.com<

Re: Docker related issues when installing openshift origin 1.5 on Redhat 7.2

2017-07-21 Thread Yu Wei
From: Scott Dodson <sdod...@redhat.com> Sent: Friday, July 21, 2017 9:07:01 PM To: Łukasz Strzelec Cc: Yu Wei; us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: Docker related issues when installing openshift origin 1.5 on Redhat 7.2 Yo

Re: Etcd issue during openshift origin installation

2017-07-21 Thread Yu Wei
From: Scott Dodson <sdod...@redhat.com> Sent: Friday, July 21, 2017 9:05:35 PM To: Yu Wei Cc: us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: Etcd issue during openshift origin installation etcd will run inside a container but in the past

How could I deploy redis cluster on openshift origin cluster?

2017-07-23 Thread Yu Wei
Hi, I want to deploy redis cluster on openshfit origin cluster. Is there any images, deployment that could be used? Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux ___ dev mailing list

Re: How could I deploy redis cluster on openshift origin cluster?

2017-07-24 Thread Yu Wei
:36:08 AM To: Yu Wei Cc: us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: How could I deploy redis cluster on openshift origin cluster? See: https://github.com/sclorg/redis-container The image can be found at: https://hub.docker.com/r/centos/redis-32-centos7/

Docker related issues when installing openshift origin 1.5 on Redhat 7.2

2017-07-19 Thread Yu Wei
Hi guys, I tried to install openshift origin 1.5 on Redhat with docker 1.12.6 installed on each host. However, it seeded that ansible tried to install docker 1.9 instead of using 1.12.6. Is this expected behavior? If not, how could I fix such problem? The detailed error is as below, TASK

openshift origin 1.2 doesn't compatible with docker 1.9

2017-07-22 Thread Yu Wei
Hi guys, I tried to setup openshift origin cluster 1.2 with docker 1.9. However, it seemed they're not compatible. The failure is as below, RUNNING HANDLER [openshift_node : restart node] *** fatal:

Question about router usage

2017-08-01 Thread Yu Wei
Hi guys, How could I expose services using TCP/UDP protocols to external clients? Could router be used? For example, I want to deploy redis cluster in openshift cluster. Redis cluster is using TCP protocol and listening on port 6379. Could I expose redis service port 6379 with router? If

Problem about logging in openshift origin

2017-09-15 Thread Yu Wei
Hi, I setup OpenShift origin 3.6 cluster successfully and enabled metrics and logging. Metrics worked well and logging didn't worked. Pod logging-es-data-master-lf6al5rb-5-deploy in logging frequently crashed with below logs, --> Scaling logging-es-data-master-lf6al5rb-5 to 1 --> Waiting up

Re: Problem about logging in openshift origin

2017-09-18 Thread Yu Wei
From: Mateus Caruccio <mateus.caruc...@getupcloud.com> Sent: Friday, September 15, 2017 6:19:36 PM To: Yu Wei Cc: dev@lists.openshift.redhat.com; users Subject: Re: Problem about logging in openshift origin You can look into two places for clues. The pod's log itself

Question about Openshift origin DNS

2017-08-21 Thread Yu Wei
Hi, I setup Openshift Origin 1.5 with openvswitch network plugin. It seemed that dns server setup was not properly within pod. services, endpoints couldn't be reached by name. Within pod, /etc/resolv.conf contains following content, root@sb-2017-redis-master-w7g44:/data# cat /etc/resolv.conf

Is that possible to deploy openshift on existing k8s cluster?

2017-08-22 Thread Yu Wei
Hi, Now we have existing k8s cluster running workloads. We also want to make use of features provided by Openshift Origin, for example DevOps etc. Is that possible to integrate openshift origin with our existing k8s? Any advice? Thanks, Jared, (韦煜) Software developer Interested in open

Re: Question about Openshift origin DNS

2017-08-21 Thread Yu Wei
in open source software, big data, Linux From: Scott Dodson <sdod...@redhat.com> Sent: Monday, August 21, 2017 9:10:44 PM To: Yu Wei Cc: us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: Question about Openshift origin DNS 10

Mount failed with dynamic provisioned persistent storage glusterfs

2017-09-27 Thread Yu Wei
Hi, When trying to provision persistent storage dynamically, below errors was caught, Events: FirstSeenLastSeenCountFromSubObjectPathType ReasonMessage --- --

回复: Re: authentication required even for pulling images from private registry

2017-10-18 Thread Yu Wei
trying to run the pod in project b In that scenario you need to grant some sort of permissions (image-pull or something). On Thu, 19 Oct 2017 at 4:32 am, Yu Wei <yu20...@hotmail.com<mailto:yu20...@hotmail.com>> wrote: Hi, I setup openshift origin cluster 3.6 and found a problem wit

authentication required even for pulling images from private registry

2017-10-18 Thread Yu Wei
Hi, I setup openshift origin cluster 3.6 and found a problem with private registry. Image was failed to be pulled by work node with error as below, rpc error: code = 2 desc = unauthorized: authentication required However, the registry works well and I also could find the image via

Network issues with openvswitch

2017-10-22 Thread Yu Wei
Hi, I execute following command on work node of openshift origin cluster 3.6. [root@host-10-1-130-32 ~]# traceroute docker-registry.default.svc traceroute to docker-registry.default.svc (172.30.22.28), 30 hops max, 60 byte packets 1 bogon (10.130.2.1) 3005.715 ms !H 3005.682 ms !H 3005.664

How could I use oc client to search images in integrated docker-registry?

2017-11-13 Thread Yu Wei
Hi, How could I list images pushed into integrated docker-registry? Could oc client be used? Or any other options? Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux ___ dev mailing list

Re: How could I use oc client to search images in integrated docker-registry?

2017-11-13 Thread Yu Wei
Hi Graham, Thanks very much for your help. Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux From: Graham Dumpleton <gdump...@redhat.com> Sent: Monday, November 13, 2017 4:41:00 PM To: Yu Wei

Re: environment variables when running multiple containers in one pod

2017-11-27 Thread Yu Wei
Claim: claimName: ocai-claim Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux From: Vyacheslav Semushin <vsemu...@redhat.com> Sent: Monday, November 27, 2017 9:52:50 PM To: Yu Wei Cc: us...@lists.openshift.r

environment variables when running multiple containers in one pod

2017-11-27 Thread Yu Wei
Hi, When running mysql with other containers within one pod, it seemed that environment variable "MYSQL_ROOT_PASSWORD" didn't work as expected. Password set in "MYSQL_ROOT_PASSWORD" couldn't be used for connecting to mysql. But empty password works. If only running mysql in pod, the variable

question about persistent volume

2017-11-27 Thread Yu Wei
Hi, Could I create several persistent volume from one real storage volume? Could several pvc share the same endpoint/svc? What's the relationship between pvc and endpoint? In my openshift origin cluster, I found pvc related endpoints were destroyed unexpectedly. How could I find what's

Several questions about authorization

2017-12-18 Thread Yu Wei
Hi, I have several questions about user and authorization management. 1, How could I remove user from project? [root@host-10-1-236-92 gpu-test]# oc login -u test1 -p test1 Login successful. You have access to the following projects and can switch between them with 'oc project ': * aura

Where could I find api for service catalog?

2017-11-14 Thread Yu Wei
Hi, I setup openshift origin cluster with service-catalog enabled. Where could I find api for service catalog? I checked github and did not find detailed information. Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux

question about openshift origin deployer

2017-11-19 Thread Yu Wei
Hi, How does openshift origin deployer start another container? I checked docker file about deployer and found stuff as "/usr/bin/openshift-deploy"? How is /usr/bin/openshift-deploy implemented? Does it call docker api? Is "/usr/bin/openshift-deploy" also open sourced? Where could I find it?

question about external load balancer

2018-05-15 Thread Yu Wei
Hi guys, I tried to setup openshift origin cluster with multiple masters for HA. I read the doc in https://github.com/redhat-cop/openshift-playbooks/blob/master/playbooks/installation/load_balancing.adoc. Any other advice for external load balancer? Which solution should I select for external

答复: question about external load balancer

2018-05-18 Thread Yu Wei
18:34 AM 收件人: Yu Wei 抄送: dev@lists.openshift.redhat.com; us...@lists.openshift.redhat.com 主题: Re: question about external load balancer OpenShift already has some support for F5 load balancer’s as a router. So maybe given the choice between F5 or netscalers, then F5’s might make sense. But either wi

Which branch of ansible playbook should be used when installing openshift origin 3.6?

2017-10-20 Thread Yu Wei
Hi, I'm a little confused about which branch should be used during "advanced installation". From document in https://github.com/openshift/openshift-ansible, it seemed branch 3.6 should be used. From doc

Re: No route to host when trying to connect to services

2017-10-23 Thread Yu Wei
Monday, October 23, 2017 2:32:05 PM To: Yu Wei Cc: us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: No route to host when trying to connect to services Hello mate;) Did you solve this issue? I have pretty much the same problem. I noticed that when I restart origin-node.s

Re: Network issues with openvswitch

2017-10-22 Thread Yu Wei
___ From: Aleksandar Lazic <al...@me2digital.eu> Sent: Monday, October 23, 2017 2:34:13 AM To: Yu Wei; us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: Network issues with openvswitch Hi Yu Wei. on Sonntag, 22. Oktober 2017 at 19:13 was wri

How to deploy openshift origin cluster on openstack?

2018-04-10 Thread Yu Wei
Hi, How to deploy openshift origin cluster on openstack? Could I use magnum, heat or other components? Is there any document about this? Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux ___ dev mailing list

Re: Install OpenShift Origin 3.9 failed on single node

2018-04-11 Thread Yu Wei
hanks again for help. From: Charles Moulliard <cmoul...@redhat.com> Sent: Tuesday, April 10, 2018 8:24 PM To: Clayton Coleman Cc: Yu Wei; us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: Install OpenShift Origin 3.9 failed on single no

Install OpenShift Origin 3.9 failed on single node

2018-04-10 Thread Yu Wei
Hi, I tried to install openshift origin 3.9 on a single machine and encountered problems as below, TASK [openshift_node : Install Node package, sdn-ovs, conntrack packages] * fatal: [host-10-1-241-74]: FAILED! => {"msg":

Re: How to deploy openshift origin cluster on openstack?

2018-04-10 Thread Yu Wei
stall_config/configuring_openstack.html [3] https://docs.openshift.org/latest/install_config/persistent_storage/persistent_storage_cinder.html [4] https://github.com/openshift/openshift-ansible-contrib/tree/master/playbooks/provisioning/openstack On 10/04/18 11:27, Yu Wei wrote: Hi, How to deploy openshift or

when delete deployment via rest api, corresponding rs and pod not deleted

2018-12-25 Thread Yu Wei
Hi, By calling rest api to delete deployment, deployment was deleted successfully, however, corresponding replica set and pods were not deleted. How could I delete deployment via rest api? -- Thanks Jared Interested in big data, cloud computing ___

Could supplemental Groups be used for ceph rbd?

2019-03-30 Thread Yu Wei
Hi, I setup ceph rbd with openshift origin 3.6. I read document about ceph volume and volume security. https://docs.okd.io/3.6/install_config/persistent_storage/pod_security_context.html#supplemental-groups

How could I config calico for openshift-sdn?

2019-09-03 Thread Yu Wei
Hi guys, I want to setup old cluster with calico plugin. How could I configure it? Is there any doc about this? Thanks, Jared ___ dev mailing list dev@lists.openshift.redhat.com http://lists.openshift.redhat.com/openshiftmm/listinfo/dev

Re: Pods stuck on 'ContainerCreating' when redhat/openshift-ovs-multitenant enabled

2019-10-15 Thread Yu Wei
p calico root 88872 87388 0 23:15 ?00:00:00 /opt/cni/bin/calico root 88975 74601 0 23:15 pts/000:00:00 grep --color=auto calico [root@buzz1 openshift-ansible]# It seemed that calico is extra here. Then using the same inventory file, OCP 3.11 could be deployed on a clean VM

Re: Pods stuck on 'ContainerCreating' when redhat/openshift-ovs-multitenant enabled

2019-10-16 Thread Yu Wei
16, 2019, at 1:09 AM, Dan Williams mailto:d...@redhat.com>> wrote: On Tue, 2019-10-15 at 06:18 +0000, Yu Wei wrote: I found the root cause for this issue. In my machine, I firstly deployed cop with calico. It works well. Then run uninstall playbook and reinstall with sdn openshift-ovs- multi

master api failed to connect to etcd when installing open shift-enterprise 3.11

2019-09-25 Thread Yu Wei
Hi, I tried to install openshift enterprise 3.11 on one single node with two NICs. Etcd and master-controller started and master-api failed to start due to connection to etcd refused. Log from master-api container as below, I0924 22:58:20.297828 1 plugins.go:84] Registered admission plugin

Re: master api failed to connect to etcd when installing open shift-enterprise 3.11

2019-09-25 Thread Yu Wei
PM, Toni Schmidbauer > wrote: > > > Yu Wei writes: >> F0924 22:58:50.301065 1 start_api.go:68] dial tcp 172.16.211.60:2379: >> connect: connection refused > > the api tries to contact etcd on 172.16.211.60:2379 but > >> 2019-09-24 20:34:26