Skip to content

Multiple instances with same name on provider #76

@maigl

Description

@maigl

As we put more load to garm we ran into a situation where garm created multiple (> 5 time) intances with the very same name on our (openstack) provider.

We think this might be happening here:
https://github.com/cloudbase/garm/blob/main/runner/pool/pool.go#L1045

In case the setInstanceStatus fails we simply continue creating the instance and at the same time we don't remember that we already tried to create the same instance. Probably we should use continue to skip creating this instance.
What do you think ?
As the error from setInstanceStaus is not logged we currently don't know why it failed.

Michael Kuhnt michael.kuhnt@mercedes-benz.com Mercedes-Benz Tech Innovation GmbH (ProviderInformation)

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