From 9b4b9eaa8daa6370e4a743813d23d7f2dfda47fd Mon Sep 17 00:00:00 2001 From: Liping Xue Date: Thu, 9 Nov 2023 13:58:07 -0800 Subject: [PATCH 1/3] Document change. Signed-off-by: Liping Xue --- docs/known_issues.md | 21 +++++++++++++++++++++ docs/supervisor-notes.md | 3 +++ 2 files changed, 24 insertions(+) diff --git a/docs/known_issues.md b/docs/known_issues.md index 6fb9395e..9a8ad105 100644 --- a/docs/known_issues.md +++ b/docs/known_issues.md @@ -64,3 +64,24 @@ Users might require ways to provide registry credentials when deploying velero a ## Volume Expansion Not Supported when there are Snapshots If upload fails during a backup, the local snapshot will not be deleted. Velero vSphere Plugin will keep retrying the upload. If the user wants to expand volume, it will fail because volume expansion is not supported when there are snapshots on the volume. + +## Backup and Restore with vSphere with IPV6 + +Users may hit the following error `too many colons in address` if they specify VC IP in IPV6 format in `csi-vsphere.conf` file and create `velero-vsphere-config-secret` from this file when deploying Velero Plugin for vSphere. + +``` +time="2023-11-06T10:53:21Z" level=error msg="Failed at copying to remote repository" Local PEID="ivd:fdc85e45-7c61-453f-9487-b7e47d020cd9:a6183167-d52d-4a83-932f-77104fac93e3" error="dial tcp: address 2620:124:6020:c304:0:a:0:763:443: too many colons in address" logSource="/go/src/github.com/vmware-tanzu/velero-plugin-for-vsphere/pkg/dataMover/data_mover.go:120" +``` +The workaround to this problem is to use VC FQDN instead of IPV6 format in `csi-vsphere.conf` file. See the following example. + +``` +[Global] +cluster-id = "cluster0" + +[VirtualCenter "sc2-04-dhcpv6-v2623-0763.ipv6.eng.vmware.com"] +insecure-flag = "true" +user = "user@vsphere.local" +password = "password" +port = "443" +datacenters = "dc0" +``` diff --git a/docs/supervisor-notes.md b/docs/supervisor-notes.md index e46d8f6c..54387d7b 100644 --- a/docs/supervisor-notes.md +++ b/docs/supervisor-notes.md @@ -16,6 +16,8 @@ Below is the networking diagram of velero-plugin-for-vsphere in vSphere with Tan Certain resources with the **vSphere with Tanzu** Supervisor Cluster need to be created by the Supervisor Cluster and cannot be restored. The **Velero Plugin for vSphere** blocks backup and restore of these resources and will generate errors if an attempt is made to backup or restore these resources and the backup or restore will be marked as "Partially Failed". +Similarly, certain resources with the **Tanzu Kubernetes Grid** multicloud (TKGm) need to be created by the TKGm cluster and cannot be restored. The **Velero Plugin for vSphere** blocks backup and restore of these resources and will generate errors if an attempt is made to backup or restore these resources and the backup or restore will be marked as "Partially Failed". + A configmap named `velero-vsphere-plugin-blocked-resources-list` will be created in the namespace where you install velero during **Velero Plugin for vSphere** installation. Exclude the resources in the configmap from your backups to avoid these errors. After the plugin is deployed, users can edit the configmap to remove resources from being blocked, or add more resources to be blocked. Users should not delete the configmap. **Note**: The configmap `velero-vsphere-plugin-blocked-resources-list` will be reset to the default list only when user try to reboot velero pod. @@ -32,6 +34,7 @@ The default list of blocked resources in configmap is: certificaterequests.cert-manager.io certificates.cert-manager.io challenges.acme.cert-manager.io + clusterclasses.cluster.x-k8s.io clusterissuers.cert-manager.io clusternetworkinfos.nsx.vmware.com clusterresourcesetbindings.addons.cluster.x-k8s.io From cd11d18307f21331688e114a3abdaee85c635b38 Mon Sep 17 00:00:00 2001 From: Liping Xue Date: Mon, 13 Nov 2023 09:59:38 -0800 Subject: [PATCH 2/3] Address comment from Xing. Signed-off-by: Liping Xue --- .DS_Store | Bin 0 -> 10244 bytes 1 | 18 ++++++++++++++++++ 2 | 13 +++++++++++++ docs/.DS_Store | Bin 0 -> 10244 bytes docs/known_issues.md | 2 +- set-unit-env.sh | 10 ++++++++++ 6 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 .DS_Store create mode 100644 1 create mode 100644 2 create mode 100644 docs/.DS_Store create mode 100644 set-unit-env.sh diff --git a/.DS_Store b/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..088cd0d4e9a7d8043e6ec3a32cb5a0ebb2999c7d GIT binary patch literal 10244 zcmeHMYi!&^5T0>DV>fQ&gq9}2kt->sg1nmoZJ}KAD5TA!%3a=};qGh_6Q6yYeV3N1 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+# with '#' will be ignored, and an empty message aborts the commit. +# +# On branch lipingx-disable-image-push-ci +# Changes to be committed: +# modified: .github/workflows/ci.yml +# +# Untracked files: +# .DS_Store +# .libs/ +# 2 +# docs/.DS_Store +# set-unit-env.sh +# diff --git a/2 b/2 new file mode 100644 index 00000000..86070410 --- /dev/null +++ b/2 @@ -0,0 +1,13 @@ +Update Snapshot and upload CRD status in doc. +# Please enter the commit message for your changes. Lines starting +# with '#' will be ignored, and an empty message aborts the commit. +# +# On branch lipingx-doc-update-July-24 +# Changes to be committed: +# modified: docs/vanilla.md +# +# Untracked files: +# .DS_Store +# docs/.DS_Store +# set-unit-env.sh +# diff --git a/docs/.DS_Store b/docs/.DS_Store new file mode 100644 index 0000000000000000000000000000000000000000..758edacc26d6f57fa1a2b9ec2ad6862afab87555 GIT binary patch literal 10244 zcmeHMyKWOf6upzAhzKtQ@dyZT0VvHz;SmH>27v@MJ>b|*u;Q2eh(m*1BJl%M)O7p? zpTH+jQKt*%+*v2H>zy@0icK*q&EE0u-q)EsckYZu#60U)?urydWD$+@{At`WF1}|Q zyXN92w?Pf~Mf%c~NIFuL?%3DiK|mlN5D*9m1Ox&C{{sS8vw1BpSsLyEfq+0j;1B`k zhXNXDF{VRHHFe;oTL91nJk|?+>;sgi5Yu8zhn6ZUWZK<>iCIm&#W0o~?+g4Kv>4N& zrIuZcWfv1`Ht`O{sCMub^m8#qOT#@N5D*wgfP43AvMD7g%T8kd-jkN@WfW9B-V#4o*R7PUs!H0#m>i8qT31)GrFOp_qU!27kFT4G zX$i9Hz^4hz83o=rG-n-@&mpeKF~I$;`psDJa5G90+!wvvZ{;qKT1VSM8=nstn}npR zu(t~Px8MO|dK>oGNG28?cvQnXB4fuZLnb3GA@j20!g*SPyefF>=rL|NV@ep&HY6f) zGc80snvV`r7s1C_lpeK;TEr;f49u{LahQ;_;gwW{d}fgkuy6p|dWfP3l-AON2pDwm zzJXpFy&7V56u&%I+{P2muMQ++Sfb)cEKxgQdItSuwM5_ zndEbRmWVVav%GkMS@q58KR7`Dr1amzsQC2nJNkXu=J@I2r8<=E>2F9c2QWUAS^^&UP?YnF~GRKKE#Z-Xn)_bh9A~(R}W{6#&(S{$)7_4~4GY0Fp8n7Mnjrb&F-#NDIKD67M z&6=wTWLZ~d=pv2@T{odCX*pMhzSd+-_`zLX8Gf;yy|EFkCP!$je2uvFRv+(@&^Jma%JeqmdUO; Date: Wed, 15 Nov 2023 09:14:32 -0800 Subject: [PATCH 3/3] Remove files that are not needed for this change. Signed-off-by: Liping Xue --- .DS_Store | Bin 10244 -> 0 bytes 1 | 18 ------------------ 2 | 13 ------------- docs/.DS_Store | Bin 10244 -> 0 bytes set-unit-env.sh | 10 ---------- 5 files changed, 41 deletions(-) delete mode 100644 .DS_Store delete mode 100644 1 delete mode 100644 2 delete mode 100644 docs/.DS_Store delete mode 100644 set-unit-env.sh diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 088cd0d4e9a7d8043e6ec3a32cb5a0ebb2999c7d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10244 zcmeHMYi!&^5T0>DV>fQ&gq9}2kt->sg1nmoZJ}KAD5TA!%3a=};qGh_6Q6yYeV3N1 zC(MK^q_tAP^w1hyeS22-D4I#HR~_@}CZB_z{3;IkEXg z&vXvpI$@tie7YbgS0$U`^nku9`bP{D>NFl^;zT1pT@X~L0}6FOe`fSgD9C3gy)YLC zj0hUE0RjO6OA%ma_X?N>hn?ID&+krxMp!cKrn~u1e$f*^C3M0t^g*qg<*1t?Un zV1s#+PX8}>11u) z<+@QZAS<#mt<@bqytTcpG2GtKailSPxUF?-Yh(EOt?fsSDDwJ-mYqY>b5_cB7}Rv3 zzw^Kv(O+zj($k{j)=XP8>7>$pbo=>}MPqKROE_EBn|JnX-dSaJrMf0GHa;<_-Zo|? z9Xo2?ZA@!bE_vKb-TfION1l!*9V?r%-D#~l8Ml&IEAAP)EsF^gugXnk9Lw78xTa@1 z_V}1*9Q5*riiXA}Tqomoabwe(mUWFGgKU{Oqnj*}sTwxhV49h6M~sY1v?0*Qu9`=1kX2SjO`Vs<=boUW;@yY#ZlL!naXyp^$R!n`YMdWW~YaF`X1)m9Xr6NQE5stq&uZK;fs_{z5{vRe13}P-^u6Z{9hC4`Q;O={?^{T`_ye0 ze1d(omZj9i>(*bgA$-*}Egd)9)VUaSB2M$6Ss3y>%8PP?M>!9J((n|yr`8Ws8W;yx zN+gM+(NtBzS+uByIYGssp3fJA%NL}8qTkg`mRLr~{~p`_7};OISvUtjz)$ciuEI*xupYNyGj>oU z@4;Isn)|SyqInD_a1y7`z!^00PKs?0b9fLB;oW#2-j5IBL-;U7_LKM&K8?@e3l!Zi zQ+yx8*YOQJjwkSa`~W}1kMLt2=U?JE{H`Q!`-|fizb}m2l+)eq?}GC0A2zRlwB;nL zP!{7l<>>!7o}Mk(bZ+D`E$Zf?8QXH~8RD`WlBt$B$m;>Ns~bypYTE3IcIs8M?>oGP za+cJ1v_`zApnk~9x>PNsmZ=m9Wy^UrNR>{p9IKOxY*tX6*-O<~4^?zg=qZtAt1YxD zLqGY(YAU~?DwgLJ&-tPi4^XYhYCW2vM3&Vyg|cN-k - -# Please enter the commit message for your changes. Lines starting -# with '#' will be ignored, and an empty message aborts the commit. -# -# On branch lipingx-disable-image-push-ci -# Changes to be committed: -# modified: .github/workflows/ci.yml -# -# Untracked files: -# .DS_Store -# .libs/ -# 2 -# docs/.DS_Store -# set-unit-env.sh -# diff --git a/2 b/2 deleted file mode 100644 index 86070410..00000000 --- a/2 +++ /dev/null @@ -1,13 +0,0 @@ -Update Snapshot and upload CRD status in doc. -# Please enter the commit message for your changes. Lines starting -# with '#' will be ignored, and an empty message aborts the commit. -# -# On branch lipingx-doc-update-July-24 -# Changes to be committed: -# modified: docs/vanilla.md -# -# Untracked files: -# .DS_Store -# docs/.DS_Store -# set-unit-env.sh -# diff --git a/docs/.DS_Store b/docs/.DS_Store deleted file mode 100644 index 758edacc26d6f57fa1a2b9ec2ad6862afab87555..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 10244 zcmeHMyKWOf6upzAhzKtQ@dyZT0VvHz;SmH>27v@MJ>b|*u;Q2eh(m*1BJl%M)O7p? zpTH+jQKt*%+*v2H>zy@0icK*q&EE0u-q)EsckYZu#60U)?urydWD$+@{At`WF1}|Q zyXN92w?Pf~Mf%c~NIFuL?%3DiK|mlN5D*9m1Ox&C{{sS8vw1BpSsLyEfq+0j;1B`k zhXNXDF{VRHHFe;oTL91nJk|?+>;sgi5Yu8zhn6ZUWZK<>iCIm&#W0o~?+g4Kv>4N& zrIuZcWfv1`Ht`O{sCMub^m8#qOT#@N5D*wgfP43AvMD7g%T8kd-jkN@WfW9B-V#4o*R7PUs!H0#m>i8qT31)GrFOp_qU!27kFT4G zX$i9Hz^4hz83o=rG-n-@&mpeKF~I$;`psDJa5G90+!wvvZ{;qKT1VSM8=nstn}npR zu(t~Px8MO|dK>oGNG28?cvQnXB4fuZLnb3GA@j20!g*SPyefF>=rL|NV@ep&HY6f) zGc80snvV`r7s1C_lpeK;TEr;f49u{LahQ;_;gwW{d}fgkuy6p|dWfP3l-AON2pDwm zzJXpFy&7V56u&%I+{P2muMQ++Sfb)cEKxgQdItSuwM5_ zndEbRmWVVav%GkMS@q58KR7`Dr1amzsQC2nJNkXu=J@I2r8<=E>2F9c2QWUAS^^&UP?YnF~GRKKE#Z-Xn)_bh9A~(R}W{6#&(S{$)7_4~4GY0Fp8n7Mnjrb&F-#NDIKD67M z&6=wTWLZ~d=pv2@T{odCX*pMhzSd+-_`zLX8Gf;yy|EFkCP!$je2uvFRv+(@&^Jma%JeqmdUO;