janelia-flyem / dvid

Distributed, Versioned, Image-oriented Dataservice
http://dvid.io
Other
196 stars 33 forks source link

gbucket driver: Adhere to bucket naming guidelines #268

Open stuarteberg opened 6 years ago

stuarteberg commented 6 years ago

The gbucket driver creates an auxiliary bucket for each repo. The formula for creating these buckets doesn't comply with Google's bucket naming guidelines.

In our case, Steve tracked down the error to:

Error 400: Use of this bucket name is restricted: 'ahrens-grayscale-z1833b-dvidrepo-b2be653d80ad40e6b749a9336f392ab8', invalid

That name is invalid because it is 65 characters long, and the naming guidelines say:

Bucket names must contain 3 to 63 characters.