Skip to content
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

Merged
merged 5 commits into from
Apr 28, 2020

Conversation

zmarano
Copy link

@zmarano zmarano commented Apr 28, 2020

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.

@codecov
Copy link

codecov bot commented Apr 28, 2020

Codecov Report

Merging #891 into development will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@             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.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 84bb53e...262a2c5. Read the comment docs.

@zmarano zmarano requested review from hopkiw and illfelder April 28, 2020 05:43
@zmarano zmarano changed the title Potential fix fo EL7 GPT header move race condition with systemd-fsck. Interim fix fo EL7 GPT header move race condition with systemd-fsck. Apr 28, 2020
@zmarano zmarano merged commit 0c97a9e into GoogleCloudPlatform:development Apr 28, 2020
@@ -1,3 +1,9 @@
gce-disk-expand (1:20200428.00-g1) stable; urgency=medium
Copy link
Contributor

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"
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants