Releases: seapath/ansible
v1.1.3
Full Changelog: v1.1.2...v1.1.3
Revert "snmp: include the get snmp data logic directly into the expose script"
The pass_persist external script is blocking for snmpd, which means that everytime the data is gathered (which takes 20 seconds or so every 5 min), snmpd becomes totally unresponsive.
This is unacceptable. We will go back to the previous way of gathering data (cron job outside of snmpd), and solve the problem this creates but a different way.
This reverts commit d8e7692.
snmp: make snmp data genation atomic
The problem with data gathering with a cron job is that it's not synchronised with the pass_persist "refresh" logic. If the refesh happens during the 20s of the data gathering, then it will read an uncomplete /tmp/snmpdata.txt file.
To solve this, we make the generation of this file atomic, by writing to a temporary file and only at the end of the script rename the file in an atomic way.
snmp: add timestamp to data file
v1.1.2
Full Changelog: v1.1.1...v1.1.2
fix file descriptor leak in vm_manager
snmp agent: reload after 1h
The perl snmp agent seems unstable after a few fays of running time. It still runs but does not update the snmp tree anymore.
We fix this by forcing snmpd to reload it after 1h, so that it stays fresh.
snmp: make virt-df.sh not chock on lvm snapshot volumes
expose snmp data: have a different interval than the cron job
If the cron job that get the snmp data and the expose script have the same interval (currently 300s = 5min), we encounter the risk that the generation of the snmp data file and the reading of that file always happen at the same time...
This commit set the interval of the expose script to 4min, so that we are sure those script don't run at the same time.
snmp: include the get snmp data logic directly into the expose script
If both logic use the same interval, there is the risk the interfere with each other.
If we set a different interval, sometime the expose script will run just after the getting of the data (and the exposed data will be fresh) or just before, in which case the data will be fresh again after 4+5min (9min).
For the data to be always fresh, it seems best to run the get_data script just before the expose refresh, so to include it in the script.
This makes the cron job useless, however since the expose script is run by snmp, we have to give the permission to the snmp user via sudo.
v1.1.1
Full Changelog: v1.1.0...v1.1.1
team0_x/OVS: move role and solves bug
This logic concerns all physical machines and not just hypervisor.
Plus, this commits adds Before= and After= condition for this logic to also work for a graceful host shutdown (before this commit, it only works for an ovs-vswitchd.service stop).
remove backup-restore on standalone
On standalone backup-restore does not make sense.
Revert "handlers: use udevadm trigger instead of restarting udev"
seapath/ansible-role-systemd-networkd#8
v1.1.0
Key features
- Remove
consolevm
script, now replaced byvm-mgr console
. - Add
nostart
options for VM deployment. - Update submodules to latest versions.
Bug fixes
- Playbooks improvements for ansible-lint.
- SEAPATH Debian: add missing capabilities for pacemaker service to fix live migration.
- SEAPATH Yocto: always keep systemd-resolved.service enable to prevent dnsmasq.service to fail
- Remove obsolete code.
API changes
Multiple variables are renamed with this release. Existing inventories should be updated accordingly:
- tmpdir --> configure_ha_tmpdir (role
configure_ha
) - ptp_network_transport --> timemaster_ptp_network_transport (role
timemaster
) - ptp_delay_mechanism --> timemaster_ptp_delay_mechanism (role
timemaster
) - hugepages --> yocto_hugepages (role
yocto/hugepages
) - on existing debian installations, you need to install 3 packages for v1.1 to work properly:
- python3-pip
- python3-wheel
- patch
you can get those packages from the debian website, upload them to your servers and install them manually with dpkg, or use apt if you have connectivity to a debian mirror.
Known issues
- SEAPATH Yocto: cukinia test "Check for file with no user and group" might fails #695
Changelog
- Bug fixs from CI testing by @yairpod in #678
- Switch setup_ovs installation to pip-based instead of the deprecated setup.py by @insatomcat in #704
- Ansible Lint: adapt to newest version by @insatomcat in #701
- bump cukinia submodule by @insatomcat in #705
- Switch vm_manager installation to pip-based instead of the deprecated setup.py by @insatomcat in #699
- debian hardening: add cap_setpcap to pacemaker by @insatomcat in #706
- .github/ISSUE_TEMPLATE by @eroussy in #707
- Debian: fix typo in initramfs rebuild handler by @insatomcat in #709
- ci_yocto: clean the log after update in the ARM CI by @dupremathieu in #712
- cqfd: add export flavor by @dupremathieu in #711
- role vmmgrapi: typo in variable name by @insatomcat in #713
- debian/pip: need --no-build-isolation by @insatomcat in #714
- configure_ha: rollback renaming enable_vmmgr_api_http by @insatomcat in #715
- vm template: use "q35" machine type by @insatomcat in #718
- systemd unit: add not "not-found" condition by @insatomcat in #719
- roles/network_resolved: do not disable systemd-resolved on Yocto by @Revalioli in #720
- playbooks: add detect_seapath_distro by @insatomcat in #725
- remove old ptpdocker reference by @insatomcat in #723
- Debian: remove latency testing by @insatomcat in #726
- timemaster: harmonize role variable names by @insatomcat in #727
- bump cukinia-tests by @insatomcat in #728
- bugfix and ABB SSC600SW example refactoring by @eroussy in #722
- ansible.cfg: run --skip-tags "package-install" by default by @dupremathieu in #729
- remove consolevm script by @dupremathieu in #732
- vm_manager: add no_start option to create/enable VM by @insatomcat in #733
Full Changelog: v1.0.0...v1.1.0
v1.0.0
Initial release
Key Features
- Configure a SEAPATH cluster with 3 machines, supporting two configurations
- Two hypervisors + one observer
- Three hypervisors
- Cluster features include:
- VM disk redundancy via Ceph shared storage
- Failover scenarios managed by Pacemaker
- Network redundancy ensured by Open vSwitch
- VM live migration across cluster machines
- Set up SEAPATH network configurations, including:
- Administration network
- Cluster network
- PTP network
- Inter-VM communication network
- Additional networks customized by the end user
- Configure time synchonisation
- PTP synchronisation
- NTP synchronisation
- Time forwarding to VMs
- Implement additional cyber hardening for Debian (Yocto hardening managed in meta-seapath).
- Provide a VM deployment interface for SEAPATH clusters or standalone machines, supporting:
- Configurable Libvirt XML files
- QCOW2 QEMU files
- ABB SSC600 SW compatibility