Skip to content

fix: .sh gone when attempting 3 creates in a row #148

@ntorga

Description

@ntorga

The last container create returned the following error:

{
  "status": false,
  "body": "ReadFileInfoError: stat /tmp/ls-sitehere.sh: no such file or directory"
}

The .sh created by the API was likely removed by the the previous creation process. Need to check the .sh creation.

Also, since we're dealing with this, when retrying a create via the scheduled tasks, the .sh is no longer there. Maybe we should only remove the .sh when the creation is actually successful and allow an id on the name of the file so if we need to retry, it still exists. The housekeeper could remove the .sh after 24h.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    approved

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions