bosh icon indicating copy to clipboard operation
bosh copied to clipboard

Unable to use compiled_package_cache with bucket outside us-east-1

Open aristotelesneto opened this issue 10 years ago • 6 comments

It appears that the s3cli blobstore client expects to see options[region], but region is not passed in via the spec to the director, to be used in the compiled_package_cache.

aristotelesneto avatar Jul 14 '16 14:07 aristotelesneto

Sorry, my bad.

Looks like it uses a property outside compiled_package_cache block, which was unexpected: https://github.com/cloudfoundry/bosh/blob/master/release/jobs/director/templates/director.yml.erb.erb#L216

aristotelesneto avatar Jul 14 '16 14:07 aristotelesneto

@cppforlife, this seems like poor UX. Would we be willing to accept a PR for a new property with something like p('compiled_package_cache.options.region', p('blobstore.s3_region', nil)) for sane behavior but maintaining existing unexpectedness. Since compiled package cache could be a separate bucket, it seems like region should be independently configurable.

@aristotelesneto, nice investigation.

dpb587-pivotal avatar Jul 14 '16 16:07 dpb587-pivotal

i think this would make sense.

Sent from my iPhone

On Jul 14, 2016, at 9:00 AM, @dpb587 [email protected] wrote:

@cppforlife, this seems like poor UX. Would we be willing to accept a PR for a new property with something like p('compiled_package_cache.options.region', p('blobstore.s3_region', nil)) for sane behavior but maintaining existing unexpectedness. Since compiled package cache could be a separate bucket, it seems like region should be independently configurable.

@aristotelesneto, nice investigation.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.

cppforlife avatar Jul 14 '16 23:07 cppforlife

+1

sbaxter avatar Jul 18 '16 18:07 sbaxter

This issue was marked as Stale because it has been open for 21 days without any activity. If no activity takes place in the coming 7 days it will automatically be close. To prevent this from happening remove the Stale label or comment below.

bosh-admin-bot avatar Aug 03 '21 16:08 bosh-admin-bot

This issue was closed because it has been labeled Stale for 7 days without subsequent activity. Feel free to re-open this issue at any time by commenting below.

bosh-admin-bot avatar Aug 10 '21 16:08 bosh-admin-bot