Skip to content

[Bug]: master CLI incompatible with older servers during in-place update #3206

@jvstme

Description

@jvstme

Steps to reproduce

Set up master CLI and server 0.19.33. Apply the configuration:

type: service
name: test-compat
image: nginx:1.24
port: 80

Then apply the updated configuration:

type: service
name: test-compat
image: nginx:1.25
port: 80

Actual behaviour

Active run test-compat already exists. Detected changes that can be updated in-place:
- Configuration properties:
  - image

Update the run? [y/n]: y
Server validation error: 
{'detail': [{'loc': ['body', 'plan', 'current_resource', 'next_triggered_at'],
             'msg': 'extra fields not permitted',
             'type': 'value_error.extra'}]}

Expected behaviour

No response

dstack version

master

Server logs

Additional information

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmajor

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions