*** caoyuan has joined #openstack-helm | 01: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 error | 02:32 |
osh-chatbot1 | <longfei.zhang> Error: release xxx failed: persistentvolumeclaims "xxx-xxx-storage" already exists | 02: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 created | 02:34 |
*** gagehugo has quit IRC | 02:40 | |
*** gagehugo has joined #openstack-helm | 02: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 PVs | 03: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 idea | 03: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 PVC | 03:27 |
*** SlickNik has quit IRC | 03:30 | |
*** SlickNik has joined #openstack-helm | 03:44 | |
*** SlickNik has quit IRC | 03:53 | |
*** SlickNik has joined #openstack-helm | 03:53 | |
openstackgerrit | Tin Lam proposed openstack/openstack-helm master: [WIP] Add validation to domain logic https://review.openstack.org/559619 | 04:23 |
openstackgerrit | Sean Eagan proposed openstack/openstack-helm master: Move to v0.3.1 of kubernetes-entrypoint https://review.openstack.org/557499 | 04:27 |
*** nguyenhai has quit IRC | 04:55 | |
*** nguyenhai has joined #openstack-helm | 04:56 | |
*** SlickNik has quit IRC | 06:05 | |
*** SlickNik has joined #openstack-helm | 06:15 | |
anticw | longfei.zhang: if you persist the pvc then you can't recreate it, you have to use a comment/setting to avoid that | 06:33 |
anticw | or use a statefulset | 06: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 first | 06:52 |
*** SlickNik- has joined #openstack-helm | 07:14 | |
*** SlickNik has quit IRC | 07:15 | |
*** unicell1 has joined #openstack-helm | 07:16 | |
*** unicell has quit IRC | 07:16 | |
*** SlickNik- has quit IRC | 07:19 | |
*** SlickNik has joined #openstack-helm | 07:20 | |
*** jistr is now known as jistr|dentist | 07:34 | |
*** MarkBaker has joined #openstack-helm | 07:54 | |
osh-chatbot1 | <vietwow> great, thanks @longfei.zhang :) | 07:57 |
*** caoyuan has quit IRC | 09:02 | |
*** jistr|dentist is now known as jistr | 09:02 | |
*** MarkBaker has quit IRC | 09:44 | |
*** caoyuan has joined #openstack-helm | 09:50 | |
*** caoyuan has quit IRC | 11:00 | |
*** mdih has joined #openstack-helm | 11:09 | |
*** pbourke_ has quit IRC | 11:45 | |
*** pbourke_ has joined #openstack-helm | 11:45 | |
*** julim has quit IRC | 12:00 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Helm-Toolkit: Kubernetes Entrypoint, simplify image dependencies https://review.openstack.org/558067 | 12:44 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: OSH-Infra: Update labels for chart components https://review.openstack.org/559171 | 12:46 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Add manifest for image_repo_sync job https://review.openstack.org/559177 | 12:47 |
*** mdih has quit IRC | 12:53 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: OSH-Infra: Update labels for chart components https://review.openstack.org/559171 | 12:55 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Add manifest for image_repo_sync job https://review.openstack.org/559177 | 12:55 |
*** caoyuan has joined #openstack-helm | 13:08 | |
*** julim has joined #openstack-helm | 13:09 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Helm-Toolkit: Kubernetes Entrypoint, simplify image dependencies https://review.openstack.org/558067 | 13:43 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: OSH-Infra: Update labels for chart components https://review.openstack.org/559171 | 13:52 |
*** felipemonteiro has joined #openstack-helm | 14:00 | |
openstackgerrit | Tin Lam proposed openstack/openstack-helm master: Add validation to domain logic https://review.openstack.org/559619 | 14:08 |
*** felipemonteiro_ has joined #openstack-helm | 14:09 | |
*** felipemonteiro has quit IRC | 14:12 | |
openstackgerrit | Tin Lam proposed openstack/openstack-helm master: Add validation to domain logic https://review.openstack.org/559619 | 14:15 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Add manifest for image_repo_sync job https://review.openstack.org/559177 | 14:18 |
rwellum | Hi - 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 |
portdirect | rwellum: 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-file | 14:23 |
portdirect | docker0 is the default for single nodes so devs can use laptops without pain | 14:24 |
portdirect | from here: https://github.com/openstack/openstack-helm-infra/blob/master/tools/gate/devel/local-vars.yaml#L17 | 14:24 |
openstackgerrit | Sean Eagan proposed openstack/openstack-helm master: Move to v0.3.1 of kubernetes-entrypoint https://review.openstack.org/557499 | 14:25 |
rwellum | portdirect: that's what I suspected. So probably best if I tear my setup down and now try running through the multinode. | 14:27 |
rwellum | portdirect: in the inventory file that comes before that, what should those ansible_host: params be set to - looks like three are needed? | 14:28 |
portdirect | just however many nodes you wish to provision | 14:29 |
portdirect | please note this is just our gate env documented | 14:29 |
rwellum | Ok so you have to know ahead of time, how many nodes you want to join? | 14:33 |
portdirect | if using the playbook, yes | 14:33 |
portdirect | but its just kubeadm | 14:34 |
rwellum | Ok 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-helm | 14:56 | |
*** julim_ has joined #openstack-helm | 14:58 | |
*** julim has quit IRC | 15:00 | |
SamYaple | does osh use fluentd for logging? | 15:07 |
SamYaple | if so, how well is that working out? | 15:07 |
SamYaple | i saw a spec fori t | 15:07 |
mattmceuen | Hey SamYaple -- yep we're using it now, some more info here: https://github.com/openstack/openstack-helm-infra/tree/master/fluent-logging | 15:08 |
SamYaple | working well? | 15:09 |
SamYaple | thanks mattmceuen looking | 15:10 |
mattmceuen | Yep, 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 today | 15:11 |
SamYaple | so are you using python logging.conf for the services now? | 15:13 |
SamYaple | or is this fluentd+stdout/stderr docker daemon logging? | 15:13 |
srwilkers | stdout/stderr | 15:14 |
SamYaple | how are youhandling things like neutron which pumps out multiple log files (dhcp, neutron-ns-metadataproxy per namespace, etcd)? | 15:15 |
*** felipemonteiro_ has quit IRC | 15:19 | |
*** felipemonteiro_ has joined #openstack-helm | 15:19 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Helm-Toolkit: Kubernetes Entrypoint, simplify image dependencies https://review.openstack.org/558067 | 15:40 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: OSH-Infra: Update labels for chart components https://review.openstack.org/559171 | 15:41 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Add manifest for image_repo_sync job https://review.openstack.org/559177 | 15:41 |
*** caoyuan has quit IRC | 15:48 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm master: Add local-registry image managment to OSH from OSH-Infra https://review.openstack.org/558064 | 15:55 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm master: Add local-registry image managment to OSH from OSH-Infra https://review.openstack.org/558064 | 16:02 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm master: WIP: remove helm-toolkit from OSH https://review.openstack.org/558065 | 16:14 |
*** felipemonteiro_ has quit IRC | 16:17 | |
*** yamamoto has joined #openstack-helm | 16:37 | |
*** yamamoto has quit IRC | 16:38 | |
openstackgerrit | Chris Wedgwood proposed openstack/openstack-helm master: MariaDB: Move all config to be directly values driven. https://review.openstack.org/557885 | 16:46 |
*** unicell1 has quit IRC | 17:01 | |
*** yamamoto has joined #openstack-helm | 17:16 | |
*** felipemonteiro has joined #openstack-helm | 17:24 | |
*** pbourke_ has quit IRC | 17:30 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Grafana: Update dashboards https://review.openstack.org/558615 | 17:38 |
openstackgerrit | Sean Eagan proposed openstack/openstack-helm master: Add image build for kubernetes-entrypoint https://review.openstack.org/558622 | 17:38 |
*** unicell has joined #openstack-helm | 17:38 | |
*** felipemonteiro_ has joined #openstack-helm | 17:42 | |
*** felipemonteiro has quit IRC | 17:46 | |
*** yamamoto has quit IRC | 17:57 | |
openstackgerrit | Pete Birley proposed openstack/openstack-helm master: Splitting ceph chart into mon, osd and client https://review.openstack.org/559199 | 18:00 |
openstackgerrit | Chris Wedgwood proposed openstack/openstack-helm master: [DNM] MariaDB: use 'unsafe defaults' to ease slow builders https://review.openstack.org/558895 | 18:22 |
*** MarkBaker has joined #openstack-helm | 18:57 | |
*** yamamoto has joined #openstack-helm | 19:18 | |
openstackgerrit | Chris Wedgwood proposed openstack/openstack-helm-addons master: [WIP] Jenkins chart https://review.openstack.org/544780 | 19:22 |
*** yamamoto has quit IRC | 19:33 | |
openstackgerrit | Pete Birley proposed openstack/openstack-helm master: Gate: Temp fix for zuul runner https://review.openstack.org/559821 | 19:40 |
*** jklare has quit IRC | 19:44 | |
*** jklare has joined #openstack-helm | 19:48 | |
*** renmak_ has joined #openstack-helm | 19:56 | |
*** renmak__ has joined #openstack-helm | 19:56 | |
*** MarkBaker has quit IRC | 20:08 | |
*** yamamoto has joined #openstack-helm | 20:09 | |
*** yamamoto has quit IRC | 20:18 | |
*** yamamoto has joined #openstack-helm | 20:19 | |
*** yamamoto has quit IRC | 20:22 | |
*** julim_ has quit IRC | 20:45 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: WIP/DNM: Move roles and playbooks to top level https://review.openstack.org/559836 | 20:45 |
*** renmak__ has quit IRC | 20:46 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm master: WIP/DNM: Fix osh gates https://review.openstack.org/559837 | 20:46 |
openstackgerrit | Chris Wedgwood proposed openstack/openstack-helm-addons master: [WIP] Jenkins chart https://review.openstack.org/544780 | 20:49 |
openstackgerrit | Pete Birley proposed openstack/openstack-helm master: Gate: Temp fix for zuul runner https://review.openstack.org/559821 | 21:15 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: WIP/DNM: Move roles and playbooks to top level https://review.openstack.org/559836 | 21:28 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm master: WIP/DNM: Fix osh gates https://review.openstack.org/559837 | 21:34 |
openstackgerrit | Chris Wedgwood proposed openstack/openstack-helm-addons master: [WIP] Jenkins chart https://review.openstack.org/544780 | 21:35 |
*** renmak_ has quit IRC | 22:08 | |
*** ianychoi has quit IRC | 22:10 | |
*** ianychoi has joined #openstack-helm | 22:11 | |
openstackgerrit | Chris Wedgwood proposed openstack/openstack-helm-addons master: [WIP] Jenkins chart https://review.openstack.org/544780 | 22:33 |
*** felipemonteiro_ has quit IRC | 22:36 | |
*** renmak_ has joined #openstack-helm | 22:39 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: WIP/DNM: Move roles and playbooks to top level https://review.openstack.org/559836 | 22:52 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Move roles and playbooks to top level https://review.openstack.org/559836 | 22:52 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm master: osh-gate: Move to use roles from openstack-helm-infra https://review.openstack.org/559837 | 22:53 |
*** julim has joined #openstack-helm | 22:54 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm master: osh-gate: Move to use roles from openstack-helm-infra https://review.openstack.org/559837 | 23:06 |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm master: osh-gate: Move to use roles from openstack-helm-infra https://review.openstack.org/559837 | 23:08 |
*** renmak_ has quit IRC | 23:17 | |
*** renmak_ has joined #openstack-helm | 23:20 | |
*** yamamoto has joined #openstack-helm | 23:22 | |
openstackgerrit | Steve Wilkerson proposed openstack/openstack-helm-infra master: Move roles and playbooks to top level https://review.openstack.org/559836 | 23:24 |
*** yamamoto has quit IRC | 23:26 | |
*** mdih has joined #openstack-helm | 23:32 | |
*** mdih has quit IRC | 23:38 |
Generated by irclog2html.py 2.15.3 by Marius Gedminas - find it at mg.pov.lt!