Closed alarmix closed 7 months ago
This is an issue with the argparse
library we are using to parse the arguments.
Your command gets parsed such that Aux/nodeLocation
as well as ngssd
being part of the --replicas-on-different
list of options, and argparse
is therefore complaining about the missing resource-group name.
So to make this command work, just ignore the order what argparse
tells you for the order of the arguments and use
linstor rg modify $rg_name --replicas-on-different $arg1
, i.e.:
linstor rg modify ngssd --replicas-on-different Aux/nodeLocation
we have 4 nodes in 2 datacenters I've created an Aux property for each node, the value is the DC the node is located in. Like this:
Then, I try to create placement restriction to avoid replicas in the same DC and get the following error:
What is/are the missing argument/s ?