Skip to content

Cannot pass auth_options to Operation.update() #130

@r4victor

Description

@r4victor

The nebius sdk release 0.3.0 introduced auth_options as a replacement for options_to_metadata. When migrating dstack to the new sdk, we noticed that Operation methods such as Operation.update() do not accept auth_options. If auth_options are not passed, the method can block fro 15 minutes if the credentials become invalid since the last call. Because of this, we cannot migrate to sdk 0.3.x.

Note: Operation.update() calls OperationServiceClient.get(), which does accept auth_options.

dstack PR: dstackai/dstack#3222

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions