Skip to content

brave deploy from command line results in a network error #155

@idroz

Description

@idroz
failed to delete unit: cannot delete unit test due to mounted disks. Umount them and try again
2022/09/14 16:30:32 failed to attach network: Network not found
Ignats-MBP:bravetools (master) $ brave units
NAME      	STATUS 	IPV4	VOLUMES 	PORTS
local:test	Stopped	    	root:->/

To reproduce:

  1. Fresh install of Bravetools with Multipass backend. Local remote.
  2. brave base alpine/edge
  3. brave deploy brave-base-alpine-edge-1.0 --name test

In bravetools there's a check that prevents a unit being deleted if there's storage attached to it. Need to address as VOLUMES at the moment is reserved for mounted volumes rather than ZFS storage volumes.

Also for some reason local remove network is not fetched correctly when it isn't specified in the CLI. Default network name should be $USERbr0

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions