Open VinayVamsi143 opened 1 year ago
Velero wouldn't create a bucket automatically, Is the bucket you created before?
Actually, the bucket was not created; rather, I just provided a name for a non-existent bucket in the backup storage location configuration. A minute or so later, the same-named bucket is created automatically by velero, and the velero service will use it.
could you show me the details of your Velero installation? the plugins used by Velero and the environment @VinayVamsi143
We were facing this issue with the only latest version of Velero v1.11.0 and it is getting installed as a helm chart in k8s 1.24.* version on SLES OS 15. we have not encountered these issues with earlier versions of velero such as v1.10.2.
Plugins Used: initContainers:
image: velero-plugin-for-aws:v1.7.0 imagePullPolicy: IfNotPresent name: velero-plugin-for-aws resources: {} volumeMounts:
apiVersion: velero.io/v1
kind: BackupStorageLocation
metadata:
name: default
namespace: test-ns
spec:
accessMode: ReadWrite
config:
profile: default
region: local
s3ForcePathStyle: "true"
s3Url: https://
@VinayVamsi143 I've tried Velero 1.11.0
and velero-plugin-for-aws:v1.7.0
, when I'm using one not exist bucket, the BLS status will be Unavailable.
could you open the debug log of Velero pod and provide me with the logs for debugging?
bsl-issue.txt Hello - i have added the log file, please validate logs
did we find anything on the issue?
@VinayVamsi143 It's a bug indeed. We will set the Phase of BSL to be Unavailable, but the bucket it's still be created. we'll try to fix it
Please do confirm once issue is fixed, thanks.
When a PUT request is sent with an incorrect or non-existent bucket name to the velero, Velero automatically creates a bucket name in a Minio S3 location and makes it accessible.
Expected: Velero shouldn't make a bucket in the Minio, as expected. veleor should make BSL unavailable for valid S3 locations. Actual: Velero is creating a bucket in minio if bucket is not existing and making it available for valid S3 locations
Velero verison used: V1.11.1 K8s verison:1.24.4