Skip to content

incus file mount and incus storage volume file mount don’t perform enough checks #2944

@bensmrs

Description

@bensmrs

Is there an existing issue for this?

  • There is no existing issue for this bug

Is this happening on an up to date version of Incus?

  • This is happening on a supported version of Incus

Incus system details

HEAD

Instance details

No response

Instance log

No response

Current behavior

incus file mount and incus storage volume file mount don’t check whether instances, storage pools or storage volumes exist.

Expected behavior

An error if the instance, the storage pool or the storage volume don’t exist.

Steps to reproduce

> incus file mount xxxxxx
SSH SFTP listening on 127.0.0.1:54786
Login with username "QmfQk43Y" and password "e7sXMtza"
^C
> incus storage volume file mount xxxxxx yyyyyy
SSH SFTP listening on 127.0.0.1:54843
Login with username "ZMPIZdxS" and password "XU1rnoTz"

Metadata

Metadata

Assignees

No one assigned

    Labels

    EasyGood for new contributors

    Type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions