Page MenuHomePhabricator

Provide a richer error when an intracluster request can not be satisfied by the target node
ClosedPublic

Authored by epriestley on Jan 20 2019, 5:29 PM.
Tags
None
Referenced Files
F13259770: D20002.diff
Sun, May 26, 11:04 PM
F13242307: D20002.diff
Thu, May 23, 2:18 AM
F13239738: D20002.diff
Wed, May 22, 6:04 AM
F13220538: D20002.diff
Sun, May 19, 1:38 AM
F13217540: D20002.diff
Sat, May 18, 6:13 AM
F13214984: D20002.id47759.diff
Fri, May 17, 2:08 PM
F13202140: D20002.diff
Tue, May 14, 10:18 PM
Unknown Object (File)
Sat, May 4, 6:36 PM
Subscribers
None

Details

Summary

See PHI1030. When installs hit this error, provide more details about which node we ended up on and what's going on.

Test Plan
$ git pull
phabricator-ssh-exec: This repository request (for repository "spellbook") has been incorrectly routed to a cluster host (with device name "local.phacility.net", and hostname "orbital-3.local") which can not serve the request.

The Almanac device address for the correct device may improperly point at this host, or the "device.id" configuration file on this host may be incorrect.

Requests routed within the cluster by Phabricator are always expected to be sent to a node which can serve the request. To prevent loops, this request will not be proxied again.

(This is a read request.)
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Diff Detail

Repository
rP Phabricator
Lint
Lint Not Applicable
Unit
Tests Not Applicable