Update velia
New features:
* Faster sysfs hwmon reading of data in our PSU and PDU.
* Reporting systemd unit failures via sysrepo (ietf-alarms).
This also needs a migration because the original code ignored failures
of systemd-journal-upload service. Let's keep it that way.
Change-Id: I4464aa2ffe254cc50bca844b891c78c00f5597e3
diff --git a/package/czechlight-cfg-fs/migrations/0003_ietf-alarms_shelve-journal-upload.json b/package/czechlight-cfg-fs/migrations/0003_ietf-alarms_shelve-journal-upload.json
new file mode 100644
index 0000000..7ce6b7e
--- /dev/null
+++ b/package/czechlight-cfg-fs/migrations/0003_ietf-alarms_shelve-journal-upload.json
@@ -0,0 +1,23 @@
+{
+ "ietf-alarms:alarms": {
+ "control": {
+ "alarm-shelving": {
+ "shelf": [
+ {
+ "name": "systemd journal upload",
+ "description": "Ignore systemd-journal-upload.service failures",
+ "resource": [
+ "systemd-journal-upload.service"
+ ],
+ "alarm-type": [
+ {
+ "alarm-type-id": "velia-alarms:systemd-unit-failure",
+ "alarm-type-qualifier-match": ""
+ }
+ ]
+ }
+ ]
+ }
+ }
+ }
+}
diff --git a/package/czechlight-cfg-fs/migrations/0003_shelve_alarms.sh b/package/czechlight-cfg-fs/migrations/0003_shelve_alarms.sh
new file mode 100644
index 0000000..c679ebb
--- /dev/null
+++ b/package/czechlight-cfg-fs/migrations/0003_shelve_alarms.sh
@@ -0,0 +1,9 @@
+#!/bin/bash
+
+# Ignore failures from systemd-journal-upload.service
+# ---------------------------------------------------
+# After migration to ietf-alarms based health state reporting we should
+# keep the current settings, i.e., ignore alarms coming from this particular
+# systemd-journal-upload.service
+#
+sysrepocfg --datastore=startup --format=json --module=ietf-alarms --import="${MIGRATIONS_DIRECTORY}/0003_ietf-alarms_shelve-journal-upload.json"