diff --git a/tools/regression.exp b/tools/regression.exp index 525474f80f..2e8575d36f 100644 --- a/tools/regression.exp +++ b/tools/regression.exp @@ -1,802 +1,769 @@ Setting up shadow instance A new shadow instance was created. To begin using it paste the following into your shell: CIB_shadow=tools-regression ; export CIB_shadow The supplied command is considered dangerous. To prevent accidental destruction of the cluster, the --force flag is required in order to proceed. -usage: cibadmin [V?o:QDUCEX:t:Srwlsh:MmBfbRx:pP5N:A:unc] command - where necessary, XML data will be obtained using -X, -x, or -p options -Options - --obj_type (-o) object type being operated on - Valid values are: nodes, resources, constraints, crm_config, status - --xpath (-A) Supply a valid XPath to use instead of an obj_type - --verbose (-V) turn on debug info. additional instance increase verbosity - --help (-?) this help message - -Commands - --erase (-E) Erase the contents of the whole CIB - --query (-Q) - --create (-C) - --md5-sum (-5) Calculate an XML file's digest. Requires either -X, -x or -p - --replace (-R) Recursivly replace an object in the CIB - --modify (-M) Find the object somewhere in the CIB's XML tree and update it - --delete (-D) Delete the first object matching the supplied criteria - Eg. - The tagname and all attributes must match in order for the element to be deleted - --bump (-B) - --is-master (-m) - --sync (-S) - -XML data - --xml-text (-X) Retrieve XML from the supplied string - --xml-file (-x) Retrieve XML from the named file - --xml-pipe (-p) Retrieve XML from STDIN - -Advanced Options - --host (-h) send command to specified host. Applies to query and sync commands only - --local (-l) command takes effect locally on the specified host - --no-bcast (-b) command will not be broadcast even if it altered the CIB - --sync-call (-s) wait for call to complete before returning * Passed: cibadmin - Require --force for CIB erasure * Passed: cibadmin - Allow CIB erasure with --force * Passed: cibadmin - Query CIB * Passed: crm_attribute - Set cluster option * Passed: cibadmin - Query new cluster option * Passed: cibadmin - Query cluster options * Passed: cibadmin - Delete nvpair Call failed: The object already exists * Passed: cibadmin - Create operaton should fail with: -21, The object already exists * Passed: cibadmin - Modify cluster options section * Passed: cibadmin - Query updated cluster option * Passed: crm_attribute - Set duplicate cluster option Please choose from one of the matches above and suppy the 'id' with --attr-id * Passed: crm_attribute - Setting multiply defined cluster option should fail with -216, Could not set cluster option * Passed: crm_attribute - Set cluster option with -s Deleted crm_config option/attribute: id=(null) name=cluster-delay * Passed: crm_attribute - Delete cluster option with -i * Passed: cibadmin - Create node entry * Passed: cibadmin - Create node status entry * Passed: crm_attribute - Create node attribute * Passed: cibadmin - Query new node attribute Digest: * Passed: cibadmin - Digest calculation Call failed: Update was older than existing configuration * Passed: cibadmin - Replace operation should fail with: -45, Update was older than existing configuration Query failed for attribute standby (section=nodes, node=clusterNode-UUID, set=, xpath=//cib/configuration/nodes//node[@id='clusterNode-UUID']//nvpair[@id='standby-clusterNode-UUID' and @name='standby']): The object/attribute does not exist Query failed for attribute standby (section=nodes, node=, set=clusterNode-UUID): The object/attribute does not exist Query failed for attribute standby (section=status, node=clusterNode-UUID, set=, xpath=//cib/status//node_state[@id='clusterNode-UUID']//nvpair[@id='transient-standby-clusterNode-UUID' and @name='standby']): The object/attribute does not exist Query failed for attribute standby (section=status, node=, set=clusterNode-UUID): The object/attribute does not exist scope=status value=off * Passed: crm_standby - Default standby value * Passed: crm_standby - Set standby status scope=nodes value=true * Passed: crm_standby - Query standby value Deleted status option/attribute: id=(null) name=standby Deleted nodes option/attribute: id=(null) name=standby * Passed: crm_standby - Delete standby value * Passed: cibadmin - Create a resource * Passed: crm_resource - Create a resource meta attribute * Passed: crm_resource - Create a resource attribute dummy (ocf::pacemaker:Dummy) Stopped * Passed: crm_resource - List the configured resources * Passed: crm_resource - Set a resource's fail-count Resource dummy not migrated: not-active and no prefered location specified. Error performing operation: cib object missing * Passed: crm_resource - Require a destination when migrating a resource that is stopped Error performing operation: i.dont.exist is not a known node Error performing operation: The object/attribute does not exist * Passed: crm_resource - Don't support migration to non-existant locations * Passed: crm_resource - Migrate a resource * Passed: crm_resource - Un-migrate a resource