for (nodegroupname,group_nodes) in groups_dict.iteritems():
print 'nodegroups:','dealing with nodegroup',nodegroupname,'on nodes',group_nodes
# first, check if the nodetagtype is here
- tag_types = self.apiserver.GetNodeTagTypes(auth,{'tagname':nodegroupname})
+ tag_types = self.apiserver.GetTagTypes(auth,{'tagname':nodegroupname})
if tag_types:
tag_type_id = tag_types[0]['node_tag_type_id']
else:
location = "/usr/share/plc_api/plcsh-stress-test.py"
remote="/vservers/%s/%s"%(self.vservername,location)
self.test_ssh.copy_abs("plcsh-stress-test.py",remote)
+ command = location
+ command += " -- --check"
if self.options.small_test:
- command=location + " -- --tiny"
- else:
- command=location
+ command += " --tiny"
return ( self.run_in_guest(command) == 0)
def gather_logs (self):