You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug in v1.47.0 after allowing default bucket to be specified by the user #1174
@andremoeller thank you for the quick fix!
I am afraid this feature (#1168) introduced a bug :/ And now by default the SDK tries to create the bucket all the time
changed the title [-]Bug in 1.47 after allowing default bucket to be specified by a user[/-][+]Bug in v1.47.0 after allowing default bucket to be specified by a user[/+]on Dec 16, 2019
changed the title [-]Bug in v1.47.0 after allowing default bucket to be specified by a user[/-][+]Bug in v1.47.0 after allowing default bucket to be specified by the user[/+]on Dec 16, 2019
While we push a revert out, I believe a workaround is to specify the session with the custom bucket name as part of the session you pass in to .get_execution_role().
i.e.:
my_session = Session(..., default_bucket="my_custom_bucket")
role = sagemaker.get_execution_role(sagemaker_session=my_session)
Alternatively, you can also downgrade to a previous version to unblock yourself.
In the meantime, we're working on a version of this fix that doesn't create the bucket on init.
Activity
[-]Bug in 1.47 after allowing default bucket to be specified by a user[/-][+]Bug in v1.47.0 after allowing default bucket to be specified by a user[/+][-]Bug in v1.47.0 after allowing default bucket to be specified by a user[/-][+]Bug in v1.47.0 after allowing default bucket to be specified by the user[/+]andremoeller commentedon Dec 16, 2019
@elvinx
Thanks for reporting this! We're looking into this now.
knakad commentedon Dec 16, 2019
While we push a revert out, I believe a workaround is to specify the session with the custom bucket name as part of the session you pass in to .get_execution_role().
i.e.:
Alternatively, you can also downgrade to a previous version to unblock yourself.
In the meantime, we're working on a version of this fix that doesn't create the bucket on init.
ajaykarpur commentedon Dec 16, 2019
Hi @elvinx, we've merged in the fix for this bug. We'll have a release out soon.
ajaykarpur commentedon Dec 17, 2019
The bugfix has been released. Please feel free to reach out if you have any further questions.