Unable to use compiled_package_cache with bucket outside us-east-1
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.
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
@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.
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.
+1
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.
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.