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

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

2019-10-14 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: 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.27

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

2019-09-24 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

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

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 https://docs.okd.io/3.6/install_config/persistent_storage/persistent_storage_ceph_rbd.html

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 ___

答复: question about external load balancer

2018-05-18 Thread Yu Wei
Got that. I will have a look at F5 and netscalers to know more about that. Thank you very much. 发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用 发件人: Joel Pearson 发送时间: Saturday, May 19, 2018 10:18:34 AM 收件人: Yu Wei 抄

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 loa

Re: Install OpenShift Origin 3.9 failed on single node

2018-04-11 Thread Yu Wei
Got that. Thanks From: Michael Gugino Sent: Thursday, April 12, 2018 3:20 AM To: Yu Wei Cc: Charles Moulliard; Clayton Coleman; us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: Install OpenShift Origin 3.9 failed on single node Make

Re: Install OpenShift Origin 3.9 failed on single node

2018-04-11 Thread Yu Wei
hanges? Thanks again for help. From: Charles Moulliard 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 node I think that

Re: How to deploy openshift origin cluster on openstack?

2018-04-10 Thread Yu Wei
/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 origin cluster on openstack? Could I use magnum, heat or other components? Is there

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 de

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": "|faile

Source code for "openshift-deploy"

2018-01-04 Thread Yu Wei
Hi, I read the docker file https://github.com/openshift/origin/blob/master/images/deployer/Dockerfile I found stuff like "/usr/bin/openshift-deploy". Where could I find source code for "/usr/bin/openshift-deploy"? Is this also open sourced? Thanks, Jared, (韦煜) Software developer Intereste

Re: Several questions about authorization

2017-12-18 Thread Yu Wei
software, big data, Linux From: users-boun...@lists.openshift.redhat.com on behalf of Yu Wei Sent: Monday, December 18, 2017 11:48:46 PM To: Clayton Coleman Cc: us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com Subject: Re: Several questions

Re: Several questions about authorization

2017-12-18 Thread Yu Wei
ct on this server: "aura" Using project "aura". Where should I start to fix the problem? Any advice? Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux From: Clayton Coleman Sent: Monday, December 18,

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

Re: environment variables when running multiple containers in one pod

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

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 happ

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 w

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?

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 ___

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 Sent: Monday, November 13, 2017 4:41:00 PM To: Yu Wei Cc: us...@lists.openshift.redhat.com; dev

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 dev@lists.openshift.red

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

2017-10-23 Thread Yu Wei
2: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.service it helps. But t

Re: Network issues with openvswitch

2017-10-22 Thread Yu Wei
eksandar Lazic 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 written: > Hi, > I execute following command on work node

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

No route to host when trying to connect to services

2017-10-20 Thread Yu Wei
Hi guys, I setup openshift origin cluster 3.6 and deployed 3 zookeeper instances as cluster. I met error “no route to host" when trying to connect to one zookeeper via service. The detailed information is as below, zookeeper-1 172.30.64.134 2181/TCP,288

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: authentication required even for pulling images from private registry

2017-10-18 Thread Yu Wei
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 mailto:yu20...@hotmail.com>> wrote: Hi, I setup openshift origin cluster 3.6 and found a problem with private registry. Image was failed to be pulled by work nod

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 docker-cons

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: Problem about logging in openshift origin

2017-09-17 Thread Yu Wei
tante Sent: Friday, September 15, 2017 7:20:18 PM To: Yu Wei Cc: us...@lists.openshift.redhat.com; dev@lists.openshift.redhat.com; aos-int-services Subject: Re: Problem about logging in openshift origin On Fri, Sep 15, 2017 at 6:10 AM, Yu Wei mailto:yu20...@hotmail.com>> wrote: H

Re: Problem about logging in openshift origin

2017-09-17 Thread Yu Wei
From: Mateus Caruccio 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 (oc -n logging logs -f logging-es

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 t

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 sou

Re: Question about Openshift origin DNS

2017-08-21 Thread Yu Wei
in open source software, big data, Linux From: Scott Dodson 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.1.241.55 should be the IP a

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 s

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 = f

Re: questions about externalIP usage

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

Re: HAProxy not running on master

2017-08-15 Thread Yu Wei
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. OpenShift router are not really

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 observed

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 anythin

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 p

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 openshift?

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 not,

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

2017-07-23 Thread Yu Wei
Thanks for the information. I want to deploy redis cluster rather than single instance. Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux From: Graham Dumpleton Sent: Monday, July 24, 2017 11:36:08 AM To: Yu Wei Cc: us

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 dev@lists.openshift.re

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: [ho

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

2017-07-21 Thread Yu Wei
Thanks for the information. I missed this section when I read the documentation. Thanks, Jared, (韦煜) Software developer Interested in open source software, big data, Linux From: Scott Dodson Sent: Friday, July 21, 2017 9:52:57 PM To: Yu Wei Cc: Łukasz

Re: Etcd issue during openshift origin installation

2017-07-21 Thread Yu Wei
From: Scott Dodson 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 we've installed etcd so that

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

2017-07-21 Thread Yu Wei
Linux From: Scott Dodson 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 You have docker from the ups

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 fol

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 [d

Why openshift requires DNS server

2017-07-13 Thread Yu Wei
Hi, I'm learning OpenShift by setting up cluster with VMs. From the document, some content about DNS is as below, OpenShift Origin requires a fully functional DNS server in the environment. This is ideally a separate host running DNS software and can provide name resolution to hosts and contai