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
F13147935: D13522.diff
Fri, May 3, 6:59 PM
F13140425: D13522.diff
Fri, May 3, 3:42 AM
Unknown Object (File)
Mon, Apr 29, 3:44 PM
Unknown Object (File)
Wed, Apr 24, 11:43 PM
Unknown Object (File)
Thu, Apr 11, 8:00 AM
Unknown Object (File)
Apr 2 2024, 9:03 PM
Unknown Object (File)
Feb 25 2024, 1:27 AM
Unknown Object (File)
Feb 13 2024, 7:18 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 7112
Build 7276: [Placeholder Plan] Wait for 30 Seconds
Build 7275: 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