Welcome to the Linux Foundation Forum!

Lab 21.1 Buckets already created

Hello,
There is a step in Lab 21.1 that says to create buckets in SeaweedFS with a 'for...' loop. This step gives this error:

<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyExists</Code><Message>The requested bucket name is not available. The bucket name can not be an existing collection, and the bucket namespace is shared by all users of the system. Please select a different name and try again.</Message><Resource>/cortex-blocks</Resource><RequestId>1755256131994812366</RequestId><BucketName>cortex-blocks</BucketName></Error><?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyExists</Code><Message>The requested bucket name is not available. The bucket name can not be an existing collection, and the bucket namespace is shared by all users of the system. Please select a different name and try again.</Message><Resource>/cortex-ruler</Resource><RequestId>1755256132011234860</RequestId><BucketName>cortex-ruler</BucketName></Error><?xml version="1.0" encoding="UTF-8"?>
<Error><Code>BucketAlreadyExists</Code><Message>The requested bucket name is not available. The bucket name can not be an existing collection, and the bucket namespace is shared by all users of the system. Please select a different name and try again.</Message><Resource>/cortex-alertmanager</Resource><RequestId>1755256132023018999</RequestId><BucketName>cortex-alertmanager</BucketName></Error>

It looks like that running docker compose up seaweedfs -d --wait automatically calls script seaweedfs-init.sh that creates the three buckets. So, seems that the 'for...' loop is not needed.
Best Regards
F.

Categories

Upcoming Training