systemd: Host errors for start, stop, and reboot

These errors will be logged when the corresponding systemd
targets have an error status upon completion

Change-Id: I162d067fb11e1bf7fc43ecba6f955e1244e4aa58
Signed-off-by: Andrew Geissler <geissonator@yahoo.com>
diff --git a/xyz/openbmc_project/State/Host.errors.yaml b/xyz/openbmc_project/State/Host.errors.yaml
index ac28d96..4a492c4 100644
--- a/xyz/openbmc_project/State/Host.errors.yaml
+++ b/xyz/openbmc_project/State/Host.errors.yaml
@@ -1,3 +1,18 @@
 # xyz.openbmc_project.State.Host.SoftOffTimeout
 - name: SoftOffTimeout
   description: Host did not shutdown within configured time.
+# xyz.openbmc_project.State.Host.Error.HostStartFailure
+- name: HostStartFailure
+  description: The systemd obmc-host-start.target failed to complete
+# xyz.openbmc_project.State.Host.Error.HostMinStartFailure
+- name: HostMinStartFailure
+  description: The systemd obmc-host-start-min.target failed to complete
+# xyz.openbmc_project.State.Host.Error.HostShutdownFailure
+- name: HostShutdownFailure
+  description: The systemd obmc-host-shutdown.target failed to complete
+# xyz.openbmc_project.State.Host.Error.HostStopFailure
+- name: HostStopFailure
+  description: The systemd obmc-host-stop.target failed to complete
+# xyz.openbmc_project.State.Host.Error.HostRebootFailure
+- name: HostRebootFailure
+  description: The systemd obmc-host-reboot.target failed to complete
diff --git a/xyz/openbmc_project/State/Host.metadata.yaml b/xyz/openbmc_project/State/Host.metadata.yaml
index 69e31b8..c52c5c8 100644
--- a/xyz/openbmc_project/State/Host.metadata.yaml
+++ b/xyz/openbmc_project/State/Host.metadata.yaml
@@ -1,3 +1,18 @@
 - name: SoftOffTimeout
   inherits:
     - xyz.openbmc_project.Common.Timeout
+- name: HostStartFailure
+  inherits:
+    - xyz.openbmc_project.State.SystemdTarget.Failure
+- name: HostMinStartFailure
+  inherits:
+    - xyz.openbmc_project.State.SystemdTarget.Failure
+- name: HostShutdownFailure
+  inherits:
+    - xyz.openbmc_project.State.SystemdTarget.Failure
+- name: HostStopFailure
+  inherits:
+    - xyz.openbmc_project.State.SystemdTarget.Failure
+- name: HostRebootFailure
+  inherits:
+    - xyz.openbmc_project.State.SystemdTarget.Failure