Closed dskvr closed 1 year ago
capacity is only a valid variable in the target flags, not amount flag
filters are only supported against tags atm
@alexbosworth Thanks for your response!
I was confused because the README seems to imply it is available for the --amount
flag, and I've noticed that --amount
seems to behave as a target, not fixed. More to learn I suppose :)
rebalance
Rebalance defines additional variables for --amount:
capacity: The total of inbound and outbound
Thanks for clarifying filter limitations!!!!
yeah ideally it would allow for specifying capacity in amount and filters would apply to all nodes, it's just not implemented yet
capacity would need a new variable name though because which side capacity are you talking about
capacity would need a new variable name though because which side capacity are you talking about
Yeah, makes sense.
As a sidenote, why not just apply tag "all" by default to every node on first run, and then logical changes would be minimal
i think it's probably simpler to just make it work against all nodes rather than adjust tags on run, but work on that hasn't been completed
Note: I would generally run this by either explicitly setting
--in
and/or--out
or using--in-filters
and/or--out-filters
but have omitted these details while attempting to figure this out since I get this error regardless of inclusion of the aforementioned argsAnother note: I have tried all possible variations:
--amount "capacity/2"
,--amount capacity/2
,--amount "CAPACITY/2"
,--amount CAPACITY/2
as well as using=
for all the above combinations:--amount=...
to rule out argument formatting issuesFrom
README.md
From
bos rebalance -h
Two questions:
CAPACITY
orcapacity
or is it case insensitive?I am also having issues with
--in-filter
and--out-filter
as they are always returningNoPeerMatchesFoundToSatisfyOutboundFilter
orNoPeerMatchesFoundToSatisfyInboundFilter
, despite knowing 100% that there should be peers that satisfy the filters. I assume this is due to me missing something about formulas, or misunderstanding their purpose entirely.