Monday, 2018-04-09

*** caoyuan has joined #openstack-helm01:34
osh-chatbot1<longfei.zhang> Hi, I have a question about helm, say if i have a deployment which needs a Persistent Volume to keep user files, Now what i found is that I delete this chart and the PVC will be deleted and then the PV will deleted at last, how can i keep the PV and when install the chart again the pv can be re-used?02:31
osh-chatbot1<longfei.zhang> I know we have "helm.sh/resource-policy": keep annotation but when i install the chart again , will cause the error02:32
osh-chatbot1<longfei.zhang> Error: release xxx failed: persistentvolumeclaims "xxx-xxx-storage" already exists02:32
osh-chatbot1<longfei.zhang> also tried this https://kubernetes.io/docs/tasks/administer-cluster/change-pv-reclaim-policy/ but when install the chart again the new pv created02:34
*** gagehugo has quit IRC02:40
*** gagehugo has joined #openstack-helm02:48
osh-chatbot1<vietwow> @longfei.zhang I think you could change the chart to using statefulsets with volumeClaimTemplates, when using this, it won't delete the pv when you run helm delete ...03:12
osh-chatbot1<longfei.zhang> @vietwow yes I know that , but if i use multi-replicas there will have multi pv, and I have to sync the files between the PVs03:14
osh-chatbot1<vietwow> ah, got it your problem :)03:15
osh-chatbot1<longfei.zhang> any idea how to sync the files between PVs?03:15
osh-chatbot1<vietwow> sorry I have no idea03:16
osh-chatbot1<vietwow> anyone else can help ? :slightly_smiling_face:03:16
osh-chatbot1<longfei.zhang> oh maybe i can use the "helm.sh/resource-policy": keep annotation for PVC and when install the chart again i write a sh script to check the PVC , if PVC existed then no need to create the PVC03:27
*** SlickNik has quit IRC03:30
*** SlickNik has joined #openstack-helm03:44
*** SlickNik has quit IRC03:53
*** SlickNik has joined #openstack-helm03:53
openstackgerritTin Lam proposed openstack/openstack-helm master: [WIP] Add validation to domain logic  https://review.openstack.org/55961904:23
openstackgerritSean Eagan proposed openstack/openstack-helm master: Move to v0.3.1 of kubernetes-entrypoint  https://review.openstack.org/55749904:27
*** nguyenhai has quit IRC04:55
*** nguyenhai has joined #openstack-helm04:56
*** SlickNik has quit IRC06:05
*** SlickNik has joined #openstack-helm06:15
anticwlongfei.zhang: if you persist the pvc then you can't recreate it, you have to use a comment/setting to avoid that06:33
anticwor use a statefulset06:34
osh-chatbot1<longfei.zhang> @vietwow I found a way to handle my case, 1.add   annotations: "helm.sh/resource-policy": keep for the PVC yaml and add one more flag to values.yaml , like ```persistentVolume:   # If true will use an existing PVC instead of creating one   useExisting: false```06:49
osh-chatbot1<longfei.zhang> if user delete the chart and need to install again , he must make the choice to use the previous data user can do ```helm install XXX --namespace=openstack        --set persistentVolume.useExisting=True```06:51
osh-chatbot1<longfei.zhang> 2 to install a fresh one he can delete the PVC first06:52
*** SlickNik- has joined #openstack-helm07:14
*** SlickNik has quit IRC07:15
*** unicell1 has joined #openstack-helm07:16
*** unicell has quit IRC07:16
*** SlickNik- has quit IRC07:19
*** SlickNik has joined #openstack-helm07:20
*** jistr is now known as jistr|dentist07:34
*** MarkBaker has joined #openstack-helm07:54
osh-chatbot1<vietwow> great, thanks @longfei.zhang :)07:57
*** caoyuan has quit IRC09:02
*** jistr|dentist is now known as jistr09:02
*** MarkBaker has quit IRC09:44
*** caoyuan has joined #openstack-helm09:50
*** caoyuan has quit IRC11:00
*** mdih has joined #openstack-helm11:09
*** pbourke_ has quit IRC11:45
*** pbourke_ has joined #openstack-helm11:45
*** julim has quit IRC12:00
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Helm-Toolkit: Kubernetes Entrypoint, simplify image dependencies  https://review.openstack.org/55806712:44
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: OSH-Infra: Update labels for chart components  https://review.openstack.org/55917112:46
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Add manifest for image_repo_sync job  https://review.openstack.org/55917712:47
*** mdih has quit IRC12:53
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: OSH-Infra: Update labels for chart components  https://review.openstack.org/55917112:55
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Add manifest for image_repo_sync job  https://review.openstack.org/55917712:55
*** caoyuan has joined #openstack-helm13:08
*** julim has joined #openstack-helm13:09
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Helm-Toolkit: Kubernetes Entrypoint, simplify image dependencies  https://review.openstack.org/55806713:43
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: OSH-Infra: Update labels for chart components  https://review.openstack.org/55917113:52
*** felipemonteiro has joined #openstack-helm14:00
openstackgerritTin Lam proposed openstack/openstack-helm master: Add validation to domain logic  https://review.openstack.org/55961914:08
*** felipemonteiro_ has joined #openstack-helm14:09
*** felipemonteiro has quit IRC14:12
openstackgerritTin Lam proposed openstack/openstack-helm master: Add validation to domain logic  https://review.openstack.org/55961914:15
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Add manifest for image_repo_sync job  https://review.openstack.org/55917714:18
rwellumHi - I'm trying on a dev OSH running on a host VM, to 'join' another VM. I generate the join token from k8s running on the first VM, but a second VM, on the same subnet, is failing to connect successfully. One issue I see is that the token generated is using the ip addr from the docker bridge - not the host ip addr - which seems wrong to me, maybe an artifact that the dev method for bring up OSH uses a container.14:22
portdirectrwellum: for a multinode deployment, you need to spec the device that should be used for k8s to bind to: https://docs.openstack.org/openstack-helm/latest/install/multinode.html#create-an-environment-file14:23
portdirectdocker0 is the default for single nodes so devs can use laptops without pain14:24
portdirectfrom here: https://github.com/openstack/openstack-helm-infra/blob/master/tools/gate/devel/local-vars.yaml#L1714:24
openstackgerritSean Eagan proposed openstack/openstack-helm master: Move to v0.3.1 of kubernetes-entrypoint  https://review.openstack.org/55749914:25
rwellumportdirect: that's what I suspected. So probably best if I tear my setup down and now try running through the multinode.14:27
rwellumportdirect: in the inventory file that comes before that, what should those ansible_host: params be set to - looks like three are needed?14:28
portdirectjust however many nodes you wish to provision14:29
portdirectplease note this is just our gate env documented14:29
rwellumOk so you have to know ahead of time, how many nodes you want to join?14:33
portdirectif using the playbook, yes14:33
portdirectbut its just kubeadm14:34
rwellumOk so technically I could use the playbook to setup two nodes, but at that point the generated token is fine and I can join other nodes.14:36
*** spiette has joined #openstack-helm14:56
*** julim_ has joined #openstack-helm14:58
*** julim has quit IRC15:00
SamYapledoes osh use fluentd for logging?15:07
SamYapleif so, how well is that working out?15:07
SamYaplei saw a spec fori t15:07
mattmceuenHey SamYaple -- yep we're using it now, some more info here: https://github.com/openstack/openstack-helm-infra/tree/master/fluent-logging15:08
SamYapleworking well?15:09
SamYaplethanks mattmceuen looking15:10
mattmceuenYep, working well.  I believe srwilkers has thought about moving to an all-fluentbit setup at some point to optimize resources more, but fluentbit + fluentd is working well today15:11
SamYapleso are you using python logging.conf for the services now?15:13
SamYapleor is this fluentd+stdout/stderr docker daemon logging?15:13
srwilkersstdout/stderr15:14
SamYaplehow are youhandling things like neutron which pumps out multiple log files (dhcp, neutron-ns-metadataproxy per namespace, etcd)?15:15
*** felipemonteiro_ has quit IRC15:19
*** felipemonteiro_ has joined #openstack-helm15:19
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Helm-Toolkit: Kubernetes Entrypoint, simplify image dependencies  https://review.openstack.org/55806715:40
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: OSH-Infra: Update labels for chart components  https://review.openstack.org/55917115:41
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Add manifest for image_repo_sync job  https://review.openstack.org/55917715:41
*** caoyuan has quit IRC15:48
openstackgerritSteve Wilkerson proposed openstack/openstack-helm master: Add local-registry image managment to OSH from OSH-Infra  https://review.openstack.org/55806415:55
openstackgerritSteve Wilkerson proposed openstack/openstack-helm master: Add local-registry image managment to OSH from OSH-Infra  https://review.openstack.org/55806416:02
openstackgerritSteve Wilkerson proposed openstack/openstack-helm master: WIP: remove helm-toolkit from OSH  https://review.openstack.org/55806516:14
*** felipemonteiro_ has quit IRC16:17
*** yamamoto has joined #openstack-helm16:37
*** yamamoto has quit IRC16:38
openstackgerritChris Wedgwood proposed openstack/openstack-helm master: MariaDB: Move all config to be directly values driven.  https://review.openstack.org/55788516:46
*** unicell1 has quit IRC17:01
*** yamamoto has joined #openstack-helm17:16
*** felipemonteiro has joined #openstack-helm17:24
*** pbourke_ has quit IRC17:30
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Grafana: Update dashboards  https://review.openstack.org/55861517:38
openstackgerritSean Eagan proposed openstack/openstack-helm master: Add image build for kubernetes-entrypoint  https://review.openstack.org/55862217:38
*** unicell has joined #openstack-helm17:38
*** felipemonteiro_ has joined #openstack-helm17:42
*** felipemonteiro has quit IRC17:46
*** yamamoto has quit IRC17:57
openstackgerritPete Birley proposed openstack/openstack-helm master: Splitting ceph chart into mon, osd and client  https://review.openstack.org/55919918:00
openstackgerritChris Wedgwood proposed openstack/openstack-helm master: [DNM] MariaDB: use 'unsafe defaults' to ease slow builders  https://review.openstack.org/55889518:22
*** MarkBaker has joined #openstack-helm18:57
*** yamamoto has joined #openstack-helm19:18
openstackgerritChris Wedgwood proposed openstack/openstack-helm-addons master: [WIP] Jenkins chart  https://review.openstack.org/54478019:22
*** yamamoto has quit IRC19:33
openstackgerritPete Birley proposed openstack/openstack-helm master: Gate: Temp fix for zuul runner  https://review.openstack.org/55982119:40
*** jklare has quit IRC19:44
*** jklare has joined #openstack-helm19:48
*** renmak_ has joined #openstack-helm19:56
*** renmak__ has joined #openstack-helm19:56
*** MarkBaker has quit IRC20:08
*** yamamoto has joined #openstack-helm20:09
*** yamamoto has quit IRC20:18
*** yamamoto has joined #openstack-helm20:19
*** yamamoto has quit IRC20:22
*** julim_ has quit IRC20:45
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: WIP/DNM: Move roles and playbooks to top level  https://review.openstack.org/55983620:45
*** renmak__ has quit IRC20:46
openstackgerritSteve Wilkerson proposed openstack/openstack-helm master: WIP/DNM: Fix osh gates  https://review.openstack.org/55983720:46
openstackgerritChris Wedgwood proposed openstack/openstack-helm-addons master: [WIP] Jenkins chart  https://review.openstack.org/54478020:49
openstackgerritPete Birley proposed openstack/openstack-helm master: Gate: Temp fix for zuul runner  https://review.openstack.org/55982121:15
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: WIP/DNM: Move roles and playbooks to top level  https://review.openstack.org/55983621:28
openstackgerritSteve Wilkerson proposed openstack/openstack-helm master: WIP/DNM: Fix osh gates  https://review.openstack.org/55983721:34
openstackgerritChris Wedgwood proposed openstack/openstack-helm-addons master: [WIP] Jenkins chart  https://review.openstack.org/54478021:35
*** renmak_ has quit IRC22:08
*** ianychoi has quit IRC22:10
*** ianychoi has joined #openstack-helm22:11
openstackgerritChris Wedgwood proposed openstack/openstack-helm-addons master: [WIP] Jenkins chart  https://review.openstack.org/54478022:33
*** felipemonteiro_ has quit IRC22:36
*** renmak_ has joined #openstack-helm22:39
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: WIP/DNM: Move roles and playbooks to top level  https://review.openstack.org/55983622:52
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move roles and playbooks to top level  https://review.openstack.org/55983622:52
openstackgerritSteve Wilkerson proposed openstack/openstack-helm master: osh-gate: Move to use roles from openstack-helm-infra  https://review.openstack.org/55983722:53
*** julim has joined #openstack-helm22:54
openstackgerritSteve Wilkerson proposed openstack/openstack-helm master: osh-gate: Move to use roles from openstack-helm-infra  https://review.openstack.org/55983723:06
openstackgerritSteve Wilkerson proposed openstack/openstack-helm master: osh-gate: Move to use roles from openstack-helm-infra  https://review.openstack.org/55983723:08
*** renmak_ has quit IRC23:17
*** renmak_ has joined #openstack-helm23:20
*** yamamoto has joined #openstack-helm23:22
openstackgerritSteve Wilkerson proposed openstack/openstack-helm-infra master: Move roles and playbooks to top level  https://review.openstack.org/55983623:24
*** yamamoto has quit IRC23:26
*** mdih has joined #openstack-helm23:32
*** mdih has quit IRC23:38

Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!