Page MenuHomePhabricator

[drydock/aws] Check for the presence of the storage path before finalizing allocation
AbandonedPublic

Authored by hach-que on Jul 2 2015, 12:42 AM.
Tags
None
Referenced Files
F15547712: D13522.id32698.diff
Sat, Apr 26, 8:05 PM
F15466108: D13522.id32690.diff
Thu, Apr 3, 1:40 AM
F15465057: D13522.id.diff
Wed, Apr 2, 2:03 PM
F15464677: D13522.id32698.diff
Wed, Apr 2, 12:14 PM
F15463966: D13522.id32883.diff
Wed, Apr 2, 5:07 AM
F15463952: D13522.id32697.diff
Wed, Apr 2, 4:59 AM
F15461320: D13522.diff
Tue, Apr 1, 7:25 AM
F15445247: D13522.id32697.diff
Mar 27 2025, 1:07 PM
Subscribers

Details

Reviewers
epriestley
Group Reviewers
Blessed Reviewers
Maniphest Tasks
T2015: Implement Drydock
Summary

Ref T2015. For Windows machines, the EC2 config service needs to initialize the ephemeral storage. Sometimes this process takes longer than the time it takes for the WinRM service to start, so it's possible to get a connection while the ephemeral storage is not yet ready. If this happens, then the creation of the directory will fail during lease acquisition (because the drive does not exist).

Test Plan

Tested by leasing against a Windows machine with WinRM, saw the appropriate logs.

Diff Detail

Branch
master
Lint
Lint Passed
Unit
Test Failures
Build Status
Buildable 7113
Build 7278: [Placeholder Plan] Wait for 30 Seconds
Build 7277: arc lint + arc unit

Event Timeline

hach-que retitled this revision from to [drydock/aws] Check for the presence of the storage path before finalizing allocation.
hach-que updated this object.
hach-que edited the test plan for this revision. (Show Details)
hach-que added a reviewer: epriestley.
hach-que edited edge metadata.

Only check for drive presence