Closed albebeto closed 3 years ago
Hello @albebeto,
First of all I'm sorry I missed that you created issue in July.
Let me try to help you, so let's go step by step:
First use the same openstack credentials that you defined in kubernetes secret to make sure you can execute command below and check that there is a bucket with name velero
:
$ swift list
velero
$ swift list velero
...
Second in velero log you should see message Authentication successful
. This will tell us that authentication is OK also from plugin side.
Noe: you can simplify the deployment yaml to have this to load all env. vars from secret like this:
envFrom:
- secretRef:
name: openstack-cloud-credentials
One reason can be that the Member role is not enough for velero to create and upload objects into a specific bucket. Can you try to create some object in the bucket from swift
CLI? Something like this to ensure you have correct rights:
$ echo "hello" > velero-test
$ swift upload velero velero-test
$ rm velero-test
$ swift download velero velero-test
$ cat velero-test
hello
If nothing helps, can you please recreate the backup, wait until it fails again and then print either whole log as a file or just grep
error
from the log?
$ kubectl logs velero-<POD_ID> | grep -i -e "error" -e "fail"
Closed because of no response from issue reporter.
Hi,
we would like to use Velero on Kubernetes clusters built on our OpenStack cloud platfort, where the object storage is based Ceph radosgw.
We have done the following:
We have checked that with this set of credentials we manage to authenticate to the project using both openstack and swift client.
The setup looks OK, however velero backups fail:
In particular, velero manages to make snapshots of the persistent volumes, but cannot write into the object store.
Among the velero logs we found these messages:
It looks like velero can read the container: we uploaded a test object on the container and found that velero complains about it:
Can you help us understanding why velero cannot use the object store to complete the backups?
Thank you in advance,
Alberto