-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
data manager will not start in vSphere 8.0 with Tanzu #521
Comments
Can you take a look of step 3 here https://github.com/vmware-tanzu/velero-plugin-for-vsphere/blob/main/docs/velero-vsphere-operator-user-manual.md#installing-velero-on-supervisor-cluster, did you create a configmap? |
Yes:
It was created in the velero namespace just prior to running Looking at what I have, I see that I have extra parametrs, |
It shouldn't be there. Try without the extra params. |
Did a |
Can you share the logs https://github.com/vmware-tanzu/velero-plugin-for-vsphere/blob/main/docs/troubleshooting.md#project-pacific looking for:
|
I re-did the configuration on a system where it had not been previously configured with the suspect configmap and got the same results. I'm attaching the velero and operator logs. |
And if it would help, I could grant you direct access to the environment. |
As a very quick workaround, I was able to create the missing token/secret and the container in the data manager VM came up. velero-token.yaml:
On the data manager VM:
I'll test doing stateful backup later but this is obviously much farther along than I was getting previously. |
Stateful backup of a vSphere pod/pvc was successful. |
Describe the bug
After deploying and configuring the Velero data manager (ova, vSphere 8 with Tanzu), the velero-datamgr.service fails to start as it can't find the velero-token secret in the velero namespace
To Reproduce
Starting with a vSphere 8.0b with Tanzu (NSX-T 4.1) environment with Workload Management enabled.
Installed Velero Operator 1.3.0 as a Supervisor Service
Created velero supervisor namespace and assigned permissions and storage.
Created velero-vsphere-plugin-config configmap in velero namespace:
Installed velero-vsphere 1.4.2 binary
Ran
velero-vsphere install
Everything seemed to be up and running as expected at this point.
Deployed the 1.4.2 data manager OVA to vsphere.
Configured the advanced parameters as needed for my environment.
Powered on the data manager VM
I tested a backup that included a pvc and noticed that the upload never left the new state.
I logged in to the data manager VM and saw that the velero-datamgr.service service had crashed with the following output:
An examination of the
/bin/velero-vsphere-plugin-datamgr.sh
script showed that a secret with name containing "velero-token" was expected in the velero namespace. The following are the secrets present in the velero namespace:Expected behavior
I'm not sure if the issue is with the data manager or velero-vsphere (and/or the operator), but there should either be a velero-token secret present or the datamanager should be looking for something else.
Troubleshooting Information
I checked the same process on vSphere 7 U3 with Tanzu and it works as expected. The velero operator version is 1.1, the velero-vsphere version is 1.1, the data manager ova version is 1.1, verlero version is 1.5.1, velero-plugin-for-aws version is 1.1.
The following were the secrets present in the velero namespace in 7.0U3:
The text was updated successfully, but these errors were encountered: