diff --git a/lxd/storage/utils.go b/lxd/storage/utils.go index cb428396c1cf..f966e53dc151 100644 --- a/lxd/storage/utils.go +++ b/lxd/storage/utils.go @@ -9,7 +9,6 @@ import ( "strings" "time" - "github.com/google/uuid" "golang.org/x/sys/unix" "github.com/canonical/lxd/lxd/apparmor" @@ -380,11 +379,6 @@ func BucketDBCreate(ctx context.Context, pool Pool, projectName string, memberSp bucket.Config = map[string]string{} } - // Ensure bucket has an UUID. - if bucket.Config["volatile.uuid"] == "" { - bucket.Config["volatile.uuid"] = uuid.New().String() - } - bucketVolName := project.StorageVolume(projectName, bucket.Name) bucketVol := drivers.NewVolume(pool.Driver(), pool.Name(), drivers.VolumeTypeBucket, drivers.ContentTypeFS, bucketVolName, bucket.Config, pool.Driver().Config())