cloud/bmaas/bmdb: correctly handle installation report
Previously we ignored the result of an installation report.
The bmdb does now store the result and correctly triggers
a recovery flow of the installation fails.
Change-Id: Ie8445cf9178ba84c6362b61ef8fa47208ab690be
Reviewed-on: https://review.monogon.dev/c/monogon/+/1865
Reviewed-by: Serge Bazanski <serge@monogon.tech>
Tested-by: Jenkins CI
diff --git a/cloud/bmaas/bmdb/reflection/schema.go b/cloud/bmaas/bmdb/reflection/schema.go
index 30ce6c4..d497f5d 100644
--- a/cloud/bmaas/bmdb/reflection/schema.go
+++ b/cloud/bmaas/bmdb/reflection/schema.go
@@ -78,6 +78,7 @@
var knownProtoFields = map[string]proto.Message{
"hardware_report_raw": &api.AgentHardwareReport{},
"os_installation_request_raw": &api.OSInstallationRequest{},
+ "os_installation_report_raw": &api.OSInstallationReport{},
}
// HumanType returns a human-readable representation of the field's type. This is