Page MenuHomePhabricator

bin/drydock lease doesn't work at all any more
Closed, InvalidPublic

Description

I was trying to use this to diagnose issues with Drydock being unable to SSH to a host, by creating a lease. Unfortunatly it looks like bin/drydock hasn't been updated to handle the new authorization infrastructure:

77497b1f5919:/srv/phabricator/phabricator # bin/drydock lease ...
[2015-12-09 18:07:04] EXCEPTION: (Exception) Trying to queue a lease for activation without any allowed Blueprints. Use "setAllowedBlueprintPHIDs()" to specify allowed blueprints. The authorizing object must be approved to use the allowed blueprints. at [<phabricator>/src/applications/drydock/storage/DrydockLease.php:156]
arcanist(head=578f540a92b1b78ca70b458244e39ea65f0c0ea8, ref.master=2db40f995337), phabricator(head=157b98fd558732e5e7ba0f44234eb5d573db7280, ref.master=b7a4d3b9a51c), phutil(head=d48a166c422d670dc7db74477cd73e2e511a2381, ref.master=69b641e4c6f2)
  #0 DrydockLease::queueForActivation() called at [<phabricator>/src/applications/drydock/management/DrydockManagementLeaseWorkflow.php:87]
  #1 DrydockManagementLeaseWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406]
  #2 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301]
  #3 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/drydock/drydock_control.php:21]

Event Timeline

hach-que raised the priority of this task from to Needs Triage.
hach-que updated the task description. (Show Details)
hach-que changed the edit policy from "All Users" to "Custom Policy".
hach-que added a project: Bug Report.
hach-que added a subscriber: hach-que.
epriestley claimed this task.
epriestley added a subscriber: epriestley.

I can't reproduce this issue by following the steps in the report:

epriestley@orbital ~/dev/phabricator  $ ./bin/drydock lease --type host
Waiting for daemons to activate lease...
Activated lease "1339".
epriestley@orbital ~/dev/phabricator  $