Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias Import alias Import alias Import alias ImportFrom alias alias alias alias alias FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad NameLoad body If BoolOpAnd UnaryOpNot NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr orelse If BoolOpAnd NameLoad UnaryOpNot AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr Assign NameStore ListLoad Str Str Str If AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If NameLoad body Expr Call AttributeLoad NameLoad attr Str If CompareIsNot NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr ListLoad Str NameLoad If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad NameLoad If NameLoad body Expr Call NameLoad ListLoad Str Str If NameLoad body Assert AttributeLoad NameLoad attr orelse Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad ListLoad Str Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Expr Call NameLoad ListLoad Str Str Str NameLoad AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str body If CompareNotEq NameLoad NameLoad body Expr Call NameLoad NameLoad keyword NameLoad For NameStore Call AttributeLoad NameLoad attr Str body FunctionDef arguments args defaults body Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str Str Str Assign NameStore SubscriptLoad Call NameLoad NameLoad keyword NameLoad Index Num Assign NameStore ListLoad FunctionDef arguments args NameParam defaults body If CompareNotIn NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Expr Call NameLoad Str If AttributeLoad NameLoad attr body Expr Call NameLoad Str If CompareEq NameLoad NameLoad body Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Expr Call NameLoad Str Return NameLoad decorator_list Assign NameStore Call NameLoad For NameStore NameLoad body Raise Call AttributeLoad NameLoad attr BinOpAdd NameLoad BinOpMod Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str body If CompareNotEq NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr For NameStore Call AttributeLoad NameLoad attr Str body If CompareNotEq NameLoad NameLoad body Expr Call NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str Expr Call NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call NameLoad ListLoad Str Str decorator_list FunctionDef arguments args defaults body Expr Str Expr Call NameLoad ListLoad Str Str decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad Call AttributeLoad Call NameLoad NameLoad attr Call NameLoad ListLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr For NameStore NameLoad body Assign NameStore ListLoad Str Str Str NameLoad Expr Call NameLoad NameLoad Assign NameStore ListLoad Str Str Str NameLoad BinOpMod Str Call AttributeLoad Str attr Call NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Assign NameStore ListLoad Str Str Str NameLoad Str Str Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Num For NameStore SubscriptLoad Call AttributeLoad NameLoad attr Slice NameLoad body Assign TupleStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr Str Assign NameStore ListLoad Str Str NameLoad NameLoad NameLoad Expr Call NameLoad NameLoad If CompareEq Call AttributeLoad NameLoad attr Str body Assign NameStore ListLoad Str Str orelse Assign NameStore ListLoad Str Str Assign NameStore CompareNotIn AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad For NameStore NameLoad body Expr Call NameLoad ListLoad Str Str Str NameLoad NameLoad NameLoad NameLoad keyword NameLoad Assign NameStore ListLoad Str Str Str NameLoad Str Str Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad For NameStore Call AttributeLoad NameLoad attr body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr Str If BoolOpAnd CompareEq NameLoad NameLoad UnaryOpNot NameLoad body Expr Call NameLoad NameLoad Call AttributeLoad SubscriptLoad NameLoad Index Num attr orelse Expr Call NameLoad NameLoad NameLoad Assign NameStore CompareNotIn AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad ListLoad Expr Call NameLoad ListLoad Str Str NameLoad NameLoad NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise Call AttributeLoad NameLoad attr Str Expr Call NameLoad ListLoad Str Str Str AttributeLoad NameLoad attr Expr Call NameLoad ListLoad Str Str Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str If Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise Call AttributeLoad NameLoad attr Str Expr Call NameLoad ListLoad Str Str Str AttributeLoad NameLoad attr Expr Call NameLoad ListLoad Str Str Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr keyword ListLoad NameLoad NameLoad TryFinally body If Call AttributeLoad NameLoad attr NameLoad keyword NameLoad body Raise Call AttributeLoad NameLoad attr Str Expr Call NameLoad ListLoad Str Str Str BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad ListLoad Str Str Str BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr finalbody Expr Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore BinOpSub Call NameLoad NameLoad Num Expr Call NameLoad ListLoad Str Str BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str Str Str AttributeLoad NameLoad attr For NameStore ListLoad Str Str Str body For NameStore ListLoad Str Str body Expr Call NameLoad ListLoad Str Str Str BinOpMod Str TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr Expr Call NameLoad ListLoad Str Str Expr Call NameLoad ListLoad Str Str Str AttributeLoad NameLoad attr Expr Call NameLoad ListLoad Str Str BinOpMod Str AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad ListLoad Str Str Expr Call NameLoad ListLoad Str Str BinOpMod Str NameLoad If CompareGt Call NameLoad NameLoad NameLoad body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body If CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr body Expr Call NameLoad ListLoad Str Str Str Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword Num Return ListLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr ListLoad Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore AttributeLoad NameLoad attr Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign TupleStore NameStore NameStore NameStore NameStore Call NameLoad TryFinally body Expr Call NameLoad ListLoad Str Str Str BinOpMod Str NameLoad Expr Call NameLoad NameLoad Str Expr Call NameLoad ListLoad Str Str Str NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str Str Str NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad ListLoad Str Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad ListLoad Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad ListLoad Str Str Str Str Str Str NameLoad Expr Call NameLoad ListLoad Str Str Str Str NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str keyword NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr Dict Str NameLoad Expr Call NameLoad ListLoad Str Str Str NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad NameLoad Call AttributeLoad NameLoad attr ListLoad ListLoad Str Str ListLoad Str Str Expr Call NameLoad ListLoad Str Str NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str Expr Call NameLoad ListLoad Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad TryFinally body Expr Call NameLoad ListLoad Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad finalbody Expr Call NameLoad ListLoad Str Str Str Str NameLoad Expr Call NameLoad ListLoad Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad NameLoad Str Expr Call NameLoad ListLoad Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad TryFinally body Expr Call NameLoad ListLoad Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad finalbody Expr Call NameLoad ListLoad Str Str Str Str NameLoad Expr Call NameLoad ListLoad Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str keyword NameLoad Expr Call NameLoad NameLoad Str Expr Call NameLoad ListLoad Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad TryFinally body Expr Call NameLoad ListLoad Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad finalbody Expr Call NameLoad ListLoad Str Str Str Str NameLoad Expr Call NameLoad ListLoad Str Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str NameLoad keyword NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad Expr Call NameLoad ListLoad Str Str keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Str Assign NameStore BinOpMod Str NameLoad Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad keyword Num TryFinally body Expr Call NameLoad ListLoad Str Str Str BinOpMod Str NameLoad NameLoad Expr Call NameLoad ListLoad Str Str Str NameLoad Expr Call NameLoad NameLoad BinOpMod Str NameLoad finalbody Expr Call NameLoad ListLoad Str Str Str Str NameLoad Expr Call NameLoad ListLoad Str Str NameLoad NameLoad finalbody Expr Call NameLoad ListLoad Str Str Str Str Expr Call NameLoad ListLoad Str Str NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args defaults body Expr Str Expr Call AttributeLoad NameLoad attr Str Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr BinOpMod Str AttributeLoad NameLoad attr If NameLoad body Assign NameStore Call AttributeLoad NameLoad attr For NameStore NameLoad body TryExcept body Assign TupleStore NameStore NameStore NameStore NameStore NameStore NameStore Call AttributeLoad NameLoad attr handlers ExceptHandler type NameLoad body Raise Call AttributeLoad NameLoad attr BinOpMod Str NameLoad Expr Call NameLoad AttributeLoad NameLoad attr ListLoad NameLoad NameLoad keyword BinOpMod Str NameLoad orelse Expr Call NameLoad Call AttributeLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore ListLoad Str If CompareEq NameLoad Str body Expr Call AttributeLoad NameLoad attr ListLoad Str Str If UnaryOpNot Call AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr ListLoad Str BinOpMod Str NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Str For NameStore ListLoad Str Str body For NameStore TupleLoad NameLoad NameLoad Str body Expr Call NameLoad Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr keyword NameLoad decorator_list
N/A N/A Node-related QA tests.

 ganeti utils ganeti constants ganeti query ganeti serializer N/A qa_config N/A qa_error N/A qa_utils qa_utils AssertCommand AssertRedirectedCommand AssertEqual AssertIn GetCommandOutput NodeAdd N/A N/A node readd group N/A False None N/A N/A N/A N/A readd N/A node added N/A N/A N/A N/A qa_error Error N/A Node %s already in cluster N/A node primary N/A N/A N/A readd N/A N/A node added N/A N/A N/A N/A qa_error Error N/A Node %s not yet in cluster N/A node primary N/A cmd N/A gnt-node add --no-ssh-key-check N/A N/A node secondary N/A N/A N/A N/A cmd append N/A --secondary-ip=%s N/A node secondary N/A readd N/A N/A N/A N/A cmd append --readd N/A N/A group None N/A N/A N/A N/A cmd extend N/A --node-group group N/A N/A N/A N/A qa_config GetModifySshSetup N/A N/A N/A N/A cmd append --no-node-setup N/A N/A N/A cmd append N/A node primary N/A N/A AssertCommand cmd N/A readd N/A N/A N/A AssertRedirectedCommand N/A gnt-cluster verify N/A readd N/A N/A N/A node added N/A N/A N/A N/A node MarkAdded N/A NodeRemove N/A N/A node N/A N/A N/A N/A AssertCommand N/A gnt-node remove N/A node primary N/A N/A N/A node MarkRemoved N/A MakeNodeOffline N/A N/A node value N/A N/A N/A gnt-node modify --offline=value N/A N/A AssertCommand N/A gnt-node modify --offline value N/A node primary N/A TestNodeAddAll N/A N/A N/A N/A N/A Adding all nodes to cluster. N/A master N/A N/A qa_config GetMasterNode N/A node N/A N/A qa_config get nodes N/A N/A N/A node master N/A N/A N/A NodeAdd node readd False N/A node N/A N/A qa_config get nodes N/A GetNonStartDaemons N/A N/A N/A N/A N/A cmd N/A N/A utils ShellQuoteArgs N/A ps -Ao comm N/A prcs N/A N/A AssertCommand cmd node node N/A 1 N/A non_start_daemons N/A AddIfNotStarted N/A N/A daemon N/A N/A N/A N/A daemon prcs N/A N/A N/A N/A non_start_daemons append daemon N/A N/A N/A AddIfNotStarted ganeti-noded N/A N/A constants ENABLE_MOND N/A N/A N/A AddIfNotStarted ganeti-mond N/A N/A node master N/A N/A N/A AddIfNotStarted ganeti-wconfd N/A N/A AddIfNotStarted ganeti-rapi N/A N/A AddIfNotStarted ganeti-luxid N/A N/A AddIfNotStarted ganeti-maintd N/A non_start_daemons N/A N/A nsd N/A GetNonStartDaemons N/A daemon nsd N/A N/A N/A N/A qa_error Error N/A daemon N/A  is not running at %s N/A node primary N/A MarkNodeAddedAll N/A N/A N/A N/A N/A Mark all nodes as added.

  This is useful if we don't create the cluster ourselves (in qa).

   N/A master N/A N/A qa_config GetMasterNode N/A node N/A N/A qa_config get nodes N/A N/A N/A node master N/A N/A N/A N/A node MarkAdded N/A TestNodeRemoveAll N/A N/A N/A N/A N/A Removing all nodes from cluster. N/A master N/A N/A qa_config GetMasterNode N/A node N/A N/A qa_config get nodes N/A N/A N/A node master N/A N/A N/A NodeRemove node N/A TestNodeReadd N/A N/A node N/A N/A N/A gnt-node add --readd N/A N/A NodeAdd node readd True N/A TestNodeInfo N/A N/A N/A N/A N/A gnt-node info N/A N/A AssertCommand N/A gnt-node info N/A TestNodeVolumes N/A N/A N/A N/A N/A gnt-node volumes N/A N/A AssertCommand N/A gnt-node volumes N/A TestNodeStorage N/A N/A N/A N/A N/A gnt-node storage N/A master N/A N/A qa_config GetMasterNode N/A enabled_storage_types N/A N/A qa_config GetEnabledStorageTypes N/A testable_storage_types N/A list N/A N/A N/A set enabled_storage_types intersection N/A set N/A N/A constants ST_FILE N/A constants ST_LVM_VG N/A constants ST_LVM_PV N/A storage_type testable_storage_types N/A N/A cmd N/A gnt-node list-storage --storage-type storage_type N/A N/A AssertCommand cmd N/A cmd N/A gnt-node list-storage --storage-type storage_type N/A --output=%s N/A N/A , join N/A list N/A constants VALID_STORAGE_FIELDS N/A N/A AssertCommand cmd N/A cmd N/A gnt-node list-storage --storage-type storage_type --output=node,name,allocatable --separator=| --no-headers N/A output N/A N/A qa_utils GetCommandOutput N/A master primary N/A N/A utils ShellQuoteArgs cmd N/A testdevcount 2 N/A line N/A N/A N/A output splitlines N/A testdevcount N/A N/A N/A node_name st_name st_allocatable N/A N/A line split | N/A cmd N/A gnt-node modify-storage node_name storage_type st_name N/A N/A AssertCommand cmd N/A N/A N/A N/A st_allocatable lower y N/A N/A test_allocatable N/A no yes N/A N/A test_allocatable N/A yes no N/A fail N/A N/A constants SF_ALLOCATABLE N/A N/A N/A constants MODIFIABLE_STORAGE_FIELDS get storage_type N/A N/A i test_allocatable N/A N/A N/A AssertCommand N/A gnt-node modify-storage --allocatable i node_name storage_type st_name fail fail N/A cmd N/A gnt-node list-storage --storage-type storage_type --output=name,allocatable --separator=| --no-headers node_name N/A listout N/A N/A qa_utils GetCommandOutput N/A master primary N/A N/A utils ShellQuoteArgs cmd N/A line N/A N/A listout splitlines N/A N/A N/A vfy_name vfy_allocatable N/A N/A line split | N/A N/A N/A vfy_name st_name N/A fail N/A N/A N/A AssertEqual vfy_allocatable N/A N/A N/A i N/A 0 upper N/A N/A N/A AssertEqual vfy_allocatable st_allocatable N/A fail N/A N/A constants SO_FIX_CONSISTENCY N/A N/A N/A constants VALID_STORAGE_OPERATIONS get storage_type N/A N/A N/A AssertCommand N/A gnt-node repair-storage node_name storage_type st_name fail fail N/A TestNodeFailover N/A N/A node node2 N/A N/A N/A gnt-node failover N/A N/A N/A qa_utils GetNodeInstances node2 secondaries False N/A N/A N/A N/A qa_error UnusableNodeError Secondary node has at least one primary instance. This test requires it to have no primary instances. N/A N/A AssertCommand N/A gnt-node failover -f N/A node primary N/A N/A AssertCommand N/A gnt-node failover -f N/A node2 primary N/A TestNodeMigrate N/A N/A node node2 N/A N/A N/A gnt-node migrate N/A N/A N/A qa_utils GetNodeInstances node2 secondaries False N/A N/A N/A N/A qa_error UnusableNodeError Secondary node has at least one primary instance. This test requires it to have no primary instances. N/A N/A AssertCommand N/A gnt-node migrate -f N/A node primary N/A N/A AssertCommand N/A gnt-node migrate -f N/A node2 primary N/A TestNodeEvacuate N/A N/A node node2 N/A N/A N/A gnt-node evacuate N/A node3 N/A N/A qa_config AcquireNode exclude N/A node node2 N/A N/A N/A N/A N/A qa_utils GetNodeInstances node3 secondaries True N/A N/A N/A N/A qa_error UnusableNodeError Evacuation node has at least one secondary instance. This test requires it to have no secondary instances. N/A N/A AssertCommand N/A gnt-node evacuate -f N/A --new-secondary=%s N/A node3 primary N/A node2 primary N/A N/A AssertCommand N/A gnt-node evacuate -f N/A --new-secondary=%s N/A node2 primary N/A node3 primary N/A N/A N/A N/A node3 Release N/A TestNodeModify N/A N/A node N/A N/A N/A gnt-node modify N/A default_pool_size 10 N/A nodes N/A N/A qa_config GetAllNodes N/A test_pool_size N/A N/A len nodes 1 N/A N/A AssertCommand N/A gnt-cluster modify N/A --candidate-pool-size=%s test_pool_size N/A N/A AssertCommand N/A gnt-node modify --master-candidate=no --auto-promote N/A node primary N/A flag N/A master-candidate drained offline N/A N/A value N/A yes no N/A N/A N/A AssertCommand N/A gnt-node modify --force N/A --%s=%s N/A flag value N/A node primary N/A N/A AssertCommand N/A gnt-cluster verify N/A N/A AssertCommand N/A gnt-node modify --master-candidate=yes N/A node primary N/A N/A AssertCommand N/A gnt-node modify N/A --secondary-ip=%s N/A node secondary N/A node primary N/A N/A AssertRedirectedCommand N/A gnt-cluster verify N/A N/A AssertCommand N/A gnt-cluster modify N/A --candidate-pool-size=%s default_pool_size N/A N/A N/A len nodes default_pool_size N/A N/A master N/A N/A qa_config GetMasterNode N/A n nodes N/A N/A N/A N/A n primary N/A master primary N/A N/A N/A AssertCommand N/A gnt-node modify --master-candidate=no --auto-promote N/A n primary N/A _CreateOobScriptStructure N/A N/A N/A N/A N/A Create a simple OOB handling script and its structure. N/A master N/A N/A qa_config GetMasterNode N/A data_path N/A N/A qa_utils UploadData N/A master primary N/A verify_path N/A N/A qa_utils UploadData N/A master primary N/A exit_code_path N/A N/A qa_utils UploadData N/A master primary N/A oob_script N/A #!/bin/bash
echo "$@" > %s
cat %s
exit $(< %s)
 N/A N/A N/A utils ShellQuote verify_path N/A N/A utils ShellQuote data_path N/A N/A utils ShellQuote exit_code_path N/A oob_path N/A N/A qa_utils UploadData N/A master primary oob_script mode 448 N/A N/A oob_path verify_path data_path exit_code_path N/A _UpdateOobFile N/A N/A path data N/A N/A N/A Updates the data file with data. N/A master N/A N/A qa_config GetMasterNode N/A N/A N/A qa_utils UploadData N/A master primary data filename path N/A _AssertOobCall N/A N/A verify_path expected_args N/A N/A N/A Assert the OOB call was performed with expetected args. N/A master N/A N/A qa_config GetMasterNode N/A verify_output_cmd N/A N/A utils ShellQuoteArgs N/A cat verify_path N/A output N/A N/A qa_utils GetCommandOutput N/A master primary verify_output_cmd tty False N/A N/A AssertEqual expected_args N/A N/A output strip N/A TestOutOfBand N/A N/A N/A N/A N/A gnt-node power N/A master N/A N/A qa_config GetMasterNode N/A node N/A N/A qa_config AcquireNode exclude master N/A master_name N/A master primary N/A node_name N/A node primary N/A full_node_name N/A N/A qa_utils ResolveNodeName node N/A N/A oob_path verify_path data_path exit_code_path N/A _CreateOobScriptStructure N/A N/A N/A N/A AssertCommand N/A gnt-cluster modify --node-parameters N/A oob_program=%s oob_path N/A N/A _UpdateOobFile exit_code_path 0 N/A N/A AssertCommand N/A gnt-node power on node_name N/A N/A _AssertOobCall verify_path N/A power-on %s full_node_name N/A N/A AssertCommand N/A gnt-node power -f off node_name N/A N/A _AssertOobCall verify_path N/A power-off %s full_node_name N/A N/A AssertCommand N/A gnt-node power -f off master_name fail True N/A N/A AssertCommand N/A gnt-node power -f --ignore-status off master_name fail True N/A N/A AssertCommand N/A gnt-node modify -O no node_name fail True N/A N/A AssertCommand N/A gnt-node modify -O no --node-powered yes node_name N/A N/A AssertCommand N/A gnt-node power -f cycle node_name N/A N/A _AssertOobCall verify_path N/A power-cycle %s full_node_name N/A N/A AssertCommand N/A gnt-node power status node_name fail True N/A N/A _AssertOobCall verify_path N/A power-status %s full_node_name N/A N/A AssertCommand N/A gnt-node health node_name fail True N/A N/A _AssertOobCall verify_path N/A health %s full_node_name N/A N/A AssertCommand N/A gnt-node health fail True N/A N/A _UpdateOobFile data_path N/A N/A serializer DumpJson N/A powered True N/A N/A AssertCommand N/A gnt-node power status node_name N/A N/A _AssertOobCall verify_path N/A power-status %s full_node_name N/A N/A _UpdateOobFile data_path N/A N/A serializer DumpJson N/A N/A temp OK N/A disk0 CRITICAL N/A N/A AssertCommand N/A gnt-node health node_name N/A N/A _AssertOobCall verify_path N/A health %s full_node_name N/A N/A AssertCommand N/A gnt-node health N/A N/A AssertCommand N/A gnt-node power on node_name fail True N/A N/A _AssertOobCall verify_path N/A power-on %s full_node_name N/A N/A N/A N/A AssertCommand N/A gnt-node power -f off node_name fail True N/A N/A _AssertOobCall verify_path N/A power-off %s full_node_name N/A N/A N/A AssertCommand N/A gnt-node modify -O no node_name N/A N/A AssertCommand N/A gnt-node power -f cycle node_name fail True N/A N/A _AssertOobCall verify_path N/A power-cycle %s full_node_name N/A N/A _UpdateOobFile exit_code_path 1 N/A N/A AssertCommand N/A gnt-node power on node_name fail True N/A N/A _AssertOobCall verify_path N/A power-on %s full_node_name N/A N/A N/A N/A AssertCommand N/A gnt-node power -f off node_name fail True N/A N/A _AssertOobCall verify_path N/A power-off %s full_node_name N/A N/A N/A AssertCommand N/A gnt-node modify -O no node_name N/A N/A AssertCommand N/A gnt-node power -f cycle node_name fail True N/A N/A _AssertOobCall verify_path N/A power-cycle %s full_node_name N/A N/A AssertCommand N/A gnt-node power status node_name fail True N/A N/A _AssertOobCall verify_path N/A power-status %s full_node_name N/A N/A AssertCommand N/A gnt-node health node_name fail True N/A N/A _AssertOobCall verify_path N/A health %s full_node_name N/A N/A AssertCommand N/A gnt-node health fail True N/A N/A _UpdateOobFile data_path N/A N/A AssertCommand N/A gnt-node power on node_name fail True N/A N/A _AssertOobCall verify_path N/A power-on %s full_node_name N/A N/A N/A N/A AssertCommand N/A gnt-node power -f off node_name fail True N/A N/A _AssertOobCall verify_path N/A power-off %s full_node_name N/A N/A N/A AssertCommand N/A gnt-node modify -O no node_name N/A N/A AssertCommand N/A gnt-node power -f cycle node_name fail True N/A N/A _AssertOobCall verify_path N/A power-cycle %s full_node_name N/A N/A AssertCommand N/A gnt-node power status node_name fail True N/A N/A _AssertOobCall verify_path N/A power-status %s full_node_name N/A N/A AssertCommand N/A gnt-node health node_name fail True N/A N/A _AssertOobCall verify_path N/A health %s full_node_name N/A N/A AssertCommand N/A gnt-node health fail True N/A verify_path2 N/A N/A qa_utils UploadData N/A master primary N/A oob_script N/A #!/bin/sh
echo "$@" > %s
 verify_path2 N/A oob_path2 N/A N/A qa_utils UploadData N/A master primary oob_script mode 448 N/A N/A N/A N/A AssertCommand N/A gnt-node modify --node-parameters N/A oob_program=%s oob_path2 node_name N/A N/A AssertCommand N/A gnt-node power on node_name N/A N/A _AssertOobCall verify_path2 N/A power-on %s full_node_name N/A N/A N/A AssertCommand N/A gnt-node modify --node-parameters oob_program=default node_name N/A N/A AssertCommand N/A rm -f oob_path2 verify_path2 N/A N/A N/A AssertCommand N/A gnt-cluster modify --node-parameters oob_program= N/A N/A AssertCommand N/A rm -f oob_path verify_path data_path exit_code_path N/A TestNodeList N/A N/A N/A N/A N/A gnt-node list N/A N/A N/A qa_utils GenericQueryTest gnt-node N/A N/A N/A query NODE_FIELDS keys N/A TestNodeListFields N/A N/A N/A N/A N/A gnt-node list-fields N/A N/A N/A qa_utils GenericQueryFieldsTest gnt-node N/A N/A N/A query NODE_FIELDS keys N/A TestNodeListDrbd N/A N/A node is_drbd N/A N/A N/A gnt-node list-drbd N/A master N/A N/A qa_config GetMasterNode N/A result_output N/A GetCommandOutput N/A master primary N/A gnt-node list-drbd --no-header %s N/A node primary N/A is_drbd N/A N/A per_disk_info N/A N/A result_output splitlines N/A line per_disk_info N/A N/A N/A N/A N/A drbd_node _ _ _ _ drbd_peer N/A N/A line split N/A N/A N/A ValueError N/A N/A N/A N/A qa_error Error N/A Could not examine list-drbd output: expected a single row of 6 entries, found the following: %s line N/A N/A AssertIn N/A node primary N/A drbd_node drbd_peer msg N/A The output %s does not contain the node line N/A N/A N/A AssertEqual N/A N/A result_output strip N/A _BuildSetESCmd N/A N/A action value node_name N/A N/A N/A cmd N/A gnt-node N/A N/A action add N/A N/A N/A N/A cmd extend N/A add --readd N/A N/A N/A N/A qa_config GetModifySshSetup N/A N/A N/A N/A cmd append --no-node-setup N/A N/A N/A N/A cmd append modify N/A N/A N/A cmd extend N/A --node-parameters N/A exclusive_storage=%s value node_name N/A cmd N/A TestExclStorSingleNode N/A N/A node N/A N/A N/A gnt-node add/modify cannot change the exclusive_storage flag.

   N/A action N/A add modify N/A N/A value N/A True False default N/A N/A N/A AssertCommand N/A _BuildSetESCmd action value N/A node primary fail True N/A