gPowerD master: SRCREV bump b9c5fce52a..159c9082a6
John Broadbent (9):
#gpowerd move machine specific configs to the recipe layer
fix DelayCall instantly failing, and running the callback.
move files sushid/safepower_agent -> borg_mgmt/node_proxy/safepower/ - change path for all includes - update include guard - update the build files
Adds copybara file.
sushid_hooks -> node_os_agent_hooks
ASSERT_EQ->EXPECT_EQ
Rename `response_id` to `flight_id` in safepower_agent proto.
Add gRPC channel parameter configuration to gpowerd.
Fix asynchronous stdout capture in address lookup.
Shounak Mitra (20):
#s4v2 - Add parameters to persistent storage manager
#s4v2 - Wait until disruptive action completes
#gpowerd: Fix copybara presubmit
#s4v2 - Do not rerun action on resume
#s4v2 - Add functions to parse text proto directly from a file
#s4_v2: Move proto reader to common code
move storagemanager to common code
#s4_v2 - Add API to update global system state on local agent
#safepower_agent - Add offline node entities to DaemonContext
#safepower_agent - Add boot count to NodeOS agent
#gpowerd #cleanup - Use absl::string_view everywhere
#gpowerd - Add no-op action
#gpowerd - Add a helper to ping another node to determine if it is booted
#s4v2 - Add cgo wrapper for condition checks
#gpowerd - Add a library to lookup IP address from node entity tag
#gpowerd - Add a `PingStateMonitor` for each IMC
Add Initialize API to persistent storage
Load offline node entities in #gpowerd
Load saved actions in #gpowerd
Report bootnum from #gpowerd
gBMC Team (7):
Fix 4 ViewTypeMigrations findings: * This is a change required to migrate string accessors to return absl::string_view instead of const std::string& (4 times)
Fix 4 IncludeCleaner findings: * Included header "production/sushid/safepower_agent/parse_text_proto.h" is not used directly * Included header "third_party/absl/log/check.h" is not used directly * Included header <functional> is not used directly * Used header "production/sushid/safepower_agent/proto/safepower_agent_config.proto.h" is not included directly
Fix 1 ClangTidyBuild finding: * #includes not formatted according to style guide For more info see go/clang_tidy/checks/google3-build-include-order
Fix 16 ClangInliner findings: * The use of this symbol has been deprecated and marked for inlining. The function being deprecated is absl::MutexLock::MutexLock. (14 times) * The use of this symbol has been deprecated and marked for inlining. The function being deprecated is absl::Mutex::TryLock. * The use of this symbol has been deprecated and marked for inlining. The function being deprecated is absl::Mutex::Unlock.
Fix 21 ClangInliner findings: * The use of this symbol has been deprecated and marked for inlining. The function being deprecated is absl::MutexLock::MutexLock. (19 times) * The use of this symbol has been deprecated and marked for inlining. The function being deprecated is absl::Mutex::TryLock. * The use of this symbol has been deprecated and marked for inlining. The function being deprecated is absl::Mutex::Unlock.
Fix 11 ClangInliner findings: * The use of this symbol has been deprecated and marked for inlining. The function being deprecated is absl::MutexLock::MutexLock. (11 times)
Fix ViewTypeMigrations findings
Google-Bug-Id: 443122565
Fusion-Link: https://fusion2.corp.google.com/bd63b808-dd9e-478e-bf2b-b326e514d9ac
Tested: Manually Verified
Change-Id: I13dbbcd3802541973ff478c1d90c2eabc181e71f
Signed-off-by: John Edward Broadbent <jebr@google.com>
diff --git a/recipes-google/s4/gpowerd/gpowerd_authz_policy.json.dev b/recipes-google/s4/gpowerd/gpowerd_authz_policy.json.dev
index 7afdac5..302b0e0 100644
--- a/recipes-google/s4/gpowerd/gpowerd_authz_policy.json.dev
+++ b/recipes-google/s4/gpowerd/gpowerd_authz_policy.json.dev
@@ -5,7 +5,9 @@
"name": "dev",
"source": {
"principals": [
- "*.prod.google.com/role/platforms-gbmc-guitar"
+ "*.prod.google.com/role/platforms-gbmc-guitar",
+ "*.prod.google.com/role/safepower-guitar",
+ "*.prod.google.com/role/safepower"
]
},
"request": {
@@ -14,7 +16,8 @@
"/safepower_agent_proto.SafepowerLocalAgent/GetSupportedActions",
"/safepower_agent_proto.SafepowerLocalAgent/StartAction",
"/safepower_agent_proto.SafepowerLocalAgent/MonitorAction",
- "/safepower_agent_proto.SafepowerLocalAgent/MonitorState"
+ "/safepower_agent_proto.SafepowerLocalAgent/MonitorState",
+ "/safepower_agent_proto.SafepowerLocalAgent/SystemStateUpdate"
]
}
}
diff --git a/recipes-google/s4/gpowerd/gpowerd_authz_policy.json.prod b/recipes-google/s4/gpowerd/gpowerd_authz_policy.json.prod
index 91180e2..e0df7b8 100644
--- a/recipes-google/s4/gpowerd/gpowerd_authz_policy.json.prod
+++ b/recipes-google/s4/gpowerd/gpowerd_authz_policy.json.prod
@@ -14,7 +14,8 @@
"/safepower_agent_proto.SafepowerLocalAgent/GetSupportedActions",
"/safepower_agent_proto.SafepowerLocalAgent/StartAction",
"/safepower_agent_proto.SafepowerLocalAgent/MonitorAction",
- "/safepower_agent_proto.SafepowerLocalAgent/MonitorState"
+ "/safepower_agent_proto.SafepowerLocalAgent/MonitorState",
+ "/safepower_agent_proto.SafepowerLocalAgent/SystemStateUpdate"
]
}
}
diff --git a/recipes-google/s4/gpowerd_git.bb b/recipes-google/s4/gpowerd_git.bb
index b739a3b..d09c9fb 100644
--- a/recipes-google/s4/gpowerd_git.bb
+++ b/recipes-google/s4/gpowerd_git.bb
@@ -5,6 +5,11 @@
LICENSE = "CLOSED"
inherit meson pkgconfig systemd
+RDEPENDS:${PN} += " \
+ iputils \
+ busybox \
+ "
+
DEPENDS += " \
fmt \
grpc \
@@ -21,7 +26,7 @@
S = "${WORKDIR}/git"
SRC_URI = "git://gbmc.googlesource.com/gPowerD;protocol=https;branch=master"
-SRCREV = "b9c5fce52a4819ebbe068726ec0b8669b24323c6"
+SRCREV = "159c9082a6d1fe1b7d20c2da085ef6accce093b4"
SRC_URI += " \
file://gpowerd.service \