in mds_add() command, both "num" and "hosts" are optional, so they
should have default values of "None". this change was introduced in
c35db383.
Signed-off-by: Kefu Chai <kchai@redhat.com>
"name=num,type=CephInt,req=false "
"name=hosts,type=CephString,n=N,req=false",
'Create an MDS service')
- def _mds_add(self, fs_name, num, hosts):
+ def _mds_add(self, fs_name, num=None, hosts=None):
spec = orchestrator.StatelessServiceSpec(
fs_name,
placement=orchestrator.PlacementSpec(nodes=hosts),