Description of problem (please be detailed as possible and provide log snippests): In section 6.3.2 if u execute the following, you will get an error ./noobaa backingstore create s3-compatible rgw_resource --access-key=<access key> --secret-key=<secret key> --target-bucket=<buket name> --endpoint=<endpoint> INFO[0000] ✅ Exists: NooBaa "noobaa" PANI[0000] ☠️ Panic Attack: [Invalid] BackingStore.noobaa.io "rgw_resource" is invalid: metadata.name: Invalid value: "rgw_resource": a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*') panic: (*logrus.Entry) (0x1944160,0xc000264540) Version of all relevant components (if applicable): 4.2 Does this issue impact your ability to continue to work with the product (please explain in detail what is the user impact)? Is there any workaround available to the best of your knowledge? No Rate from 1 - 5 the complexity of the scenario you performed that caused this bug (1 - very simple, 5 - very complex)? 1 Can this issue reproducible? Yes Can this issue reproduce from the UI? No tried If this is a regression, please provide more details to justify this: Steps to Reproduce: Follow steps the ocs admin guide 6.3.2 Actual results: Backing store creation failed Expected results: Backing store creation should suceed Additional info:
BackingStore naming takes the same convention as S3 Buckets (https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html) "Bucket names must not contain uppercase characters or underscores." You also have a clear error message showing you exactly what is permitted: a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' or '.', and must start and end with an alphanumeric character (e.g. 'example.com', regex used for validation is '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*') (The target bucket which would be created by the creation of a backing store would have the same name, so customers would be able to easily associate one with another, and as you know a bucket name has certain limitations due to the virtual host option). Doc instruction should be changed to "rgw-resource" (as you can see, the output box in .iv refers to "rgw-resource")
(In reply to Nimrod Becker from comment #2) > BackingStore naming takes the same convention as S3 Buckets > (https://docs.aws.amazon.com/AmazonS3/latest/dev/BucketRestrictions.html) > "Bucket names must not contain uppercase characters or underscores." > > You also have a clear error message showing you exactly what is permitted: > a DNS-1123 subdomain must consist of lower case alphanumeric characters, '-' > or '.', and must start and end with an alphanumeric character (e.g. > 'example.com', regex used for validation is > '[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*') > > (The target bucket which would be created by the creation of a backing store > would have the same name, so customers would be able to easily associate one > with another, and as you know a bucket name has certain limitations due to > the virtual host option). > > Doc instruction should be changed to "rgw-resource" (as you can see, the > output box in .iv refers to "rgw-resource") Exactly. I meant the same, In section 6.3.2 step 1 uses rgw_resource instead of rgw-resource. I opened bug to change that.