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
Unknown Object (File)
Mon, Jan 27, 2:53 PM
Unknown Object (File)
Sun, Jan 26, 1:23 PM
Unknown Object (File)
Sat, Jan 25, 12:44 PM
Unknown Object (File)
Fri, Jan 24, 11:59 PM
Unknown Object (File)
Fri, Jan 24, 7:09 AM
Unknown Object (File)
Fri, Jan 24, 7:08 AM
Unknown Object (File)
Fri, Jan 24, 7:08 AM
Unknown Object (File)
Fri, Jan 24, 7:08 AM
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.

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