-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
check glibc version must less 2.34 (#470)
- Loading branch information
1 parent
15571e8
commit 78216b2
Showing
1 changed file
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
info: "the ldd version of observer's node must less 2.34. more information: obdiag github issue #469" | ||
task: | ||
- version: "[4.0.0.0,*]" | ||
steps: | ||
- type: ssh | ||
ssh: "ldd --version | head -n 1 | awk '{print $NF}' | cut -d. -f1'" | ||
result: | ||
set_value: ldd_version | ||
verify_type: max | ||
verify: 3 | ||
err_msg: "ldd version must more than 2.34" | ||
- type: ssh | ||
ssh: "ldd --version | head -n 1 | awk '{print $NF}' | cut -d. -f2'" | ||
result: | ||
set_value: ldd_version | ||
verify_type: max | ||
verify: 34 | ||
err_msg: "ldd version must less 2.34" | ||
|
||
|