Create error log on fail

Use elog to create error log on fail.
Resolves openbmc/openbmc#1352

Change-Id: I1c362390110c5b3fcae3335a0bd0a7dd11540883
Signed-off-by: Gunnar Mills <gmills@us.ibm.com>
diff --git a/xyz/openbmc_project/Software/Version.metadata.yaml b/xyz/openbmc_project/Software/Version.metadata.yaml
new file mode 100644
index 0000000..5e749c9
--- /dev/null
+++ b/xyz/openbmc_project/Software/Version.metadata.yaml
@@ -0,0 +1,15 @@
+- name: UnTarFailure
+  level: ERR
+  meta:
+    - str: "PATH=%s"
+      type: string
+- name: ManifestFileFailure
+  level: ERR
+  meta:
+    - str: "PATH=%s"
+      type: string
+- name: InternalFailure
+  level: ERR
+  meta:
+    - str: "FAIL=%s"
+      type: string