-
Notifications
You must be signed in to change notification settings - Fork 211
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Interim fix fo EL7 GPT header move race condition with systemd-fsck. #891
Interim fix fo EL7 GPT header move race condition with systemd-fsck. #891
Conversation
Codecov Report
@@ Coverage Diff @@
## development #891 +/- ##
============================================
Coverage 97.37% 97.37%
============================================
Files 58 58
Lines 4801 4801
Branches 246 246
============================================
Hits 4675 4675
Misses 108 108
Partials 18 18 Continue to review full report at Codecov.
|
@@ -1,3 +1,9 @@ | |||
gce-disk-expand (1:20200428.00-g1) stable; urgency=medium |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we don't edit these files anymore - they will be overwritten during build anyway
@@ -14,7 +14,7 @@ | |||
# limitations under the License. | |||
|
|||
NAME="gce-disk-expand" | |||
VERSION="20190708.00" | |||
VERSION="20200428.00" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the build system provides versions. this file and others like it are unused
This race manifests depending on how quickly the system boots and is more prevalent on some faster systems. When running the GPT move header operation multiple systemd-fsck tasks are spawned because of device enumeration. These can overrun each other and cause failures. Adding a sleep before and after this operation resolves the race. But we should find another solution that doesn't rely on sleep if possible.
Also add better console logging messages to the steps being run.