Skip to content

Expansion fails if solution import is triggered in parallel #2941

Open
@thomasdanan

Description

@thomasdanan

Component:

'salt'

What happened:

If we trigger cluster expansion by deploying a new node and in parallel import a new solution in the cluster, the node will fail to deploy. Actually, when importing a solution the salt-master is restarted to mount the new image and due to this the node deployment job is failing.

What was expected:

We should not be able to trigger solution import if a node deployment going on. more generally speaking, all actions requiring a salt-master restart should be aborted if a node deployment is going on.

Steps to reproduce

Launch node deployment from the UI
Launch solution import right after

as a side note, after doing this, the UI was broken: the Node and Volume Pages were not displaying content anymore and some salt-api connection error was displayed in the console. The only way to get rid of this situation was to restart salt-api container.

Resolution proposal (optional):

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind:bugSomething isn't workingpriority:mediumMedium priority issues, should only be postponed if no other optionseverity:mediumMedium impact (usability) on live deploymentstopic:operationsOperations-related issuestopic:saltEverything related to SaltStack in our producttopic:uiUI-related issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions