Subversion Repositories havirt

Rev

Rev 26 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
47 rodolico 1
20260103 v1.3.2
2
- **cluster.pm**: Fixed balance() function to properly evacuate all domains from nodes in maintenance mode before performing normal balancing operations
3
- **cluster.pm**: Fixed moveThings() function node selection logic to prevent maintenance nodes from being selected as migration targets
4
- **cluster.pm**: Maintenance nodes are now evacuated at the start of balance(), ensuring safe node maintenance workflow
5
- **havirt.pm**: Fixed critical logic errors in diffArray() function - now properly handles array comparison and returns all non-matching elements from first array
6
- **havirt.pm**: diffArray() now correctly processes remaining elements when second array is exhausted
7
- **Documentation**: Complete rewrite of README.md with comprehensive sysadmin-focused content including quick start, common tasks, safety features, and troubleshooting
8
- **Documentation**: Complete rewrite of INSTALL.md with step-by-step installation guide, prerequisites checklist, verification procedures, and detailed troubleshooting
9
- **Documentation**: Complete rewrite of USAGE.md with detailed command reference, examples, workflows, best practices, and debugging instructions
10
 
11
20260102 v1.2.4
12
- **havirt.pm**: Created centralized execute() function for all command execution with debug logging support
13
- **havirt.pm**: Refactored all 7 command execution points in havirt.pm to use execute() for consistency and easier debugging
14
- **domain.pm**: Refactored 3 command execution points to use execute() (hostname, virsh dumpxml, uuidgen)
15
- **cluster.pm**: Refactored 3 command execution points to use execute() (iscsiadm commands)
16
- **node.pm**: Refactored 1 command execution point to use execute() (virsh nodeinfo)
17
- **havirt.pm**: Added --testing flag support in getDomainsOnNode() to read from test files instead of executing SSH commands
18
- **havirt.pm**: Modified executeAndWait() to return 1 on success, 0 on timeout for better error handling
19
- **havirt**: Fixed module loading to use absolute paths from $FindBin::RealBin, allowing execution from any directory
20
- **havirt**: Override config paths after YAML read to use script directory for conf/, var/, and status files
21
- **Testing**: Created comprehensive test suite with test_havirt_safe.sh, test_havirt.sh, and test_integration.pl
22
- **Testing**: Created tests/ directory structure with test data files for safe testing without affecting production
23
- **Testing**: Created testing status database (status.yaml.testing) and node scan test files
24
- **Testing**: Added TESTING.md documentation for test suite usage
25
 
26 rodolico 26
20240827 v1.2.0
27
- migration now works
28
- when a node is placed in maintenance mode, will attempt to migrate any domains currently running on it.
29
- Removed --yes parameter, relying on --dryrun (-n)
30
- Added config file, auto-generated if it doesn't exist with defaults
31
- Checks resources on start/migrate to ensure RAM and CPU's do not overpower system
32
- findDomain moved to havirt.pm, set to rescan system (unless paranoid mode set)
33
- Added a lot of code to enhance --verbose flag