Page MenuHomePhabricator

Harbormaster fails to queue lease
Closed, InvalidPublic


I get the following exception when manually trying to run a build-plan as well as when triggering via Herald:

 EXCEPTION: (Exception) Trying to queue a lease for activation without an authorizing object. Use "setAuthorizingPHID()" to specify the PHID of the authorizing object. The authorizing object must be approved to use the allowed blueprints. at [<phabricator>/src/applications/drydock/storage/DrydockLease.php:146]
arcanist(head=master, ref.master=eeaa176cfc5a), phabricator(head=master, ref.master=fc1c36106daf), phutil(head=master, ref.master=f0881b37049c)
  #0 <#2> DrydockLease::queueForActivation() called at [<phabricator>/src/applications/harbormaster/step/HarbormasterLeaseHostBuildStepImplementation.php:32]
  #1 <#2> HarbormasterLeaseHostBuildStepImplementation::execute(HarbormasterBuild, HarbormasterBuildTarget) called at [<phabricator>/src/applications/harbormaster/worker/HarbormasterTargetWorker.php:64]
  #2 phlog(Exception) called at [<phabricator>/src/applications/harbormaster/worker/HarbormasterTargetWorker.php:93]
  #3 PhabricatorWorker::scheduleTask(string, array, array) called at [<phabricator>/src/applications/harbormaster/engine/HarbormasterBuildEngine.php:87]
  #4 HarbormasterBuildEngine::continueBuild() called at [<phabricator>/src/applications/harbormaster/worker/HarbormasterBuildWorker.php:25]
  #5 HarbormasterBuildWorker::doWork() called at [<phabricator>/src/infrastructure/daemon/workers/PhabricatorWorker.php:161]
  #6 PhabricatorWorker::scheduleTask(string, array, array) called at [<phabricator>/src/applications/harbormaster/storage/HarbormasterBuildable.php:190]
  #7 HarbormasterBuildable::applyPlan(HarbormasterBuildPlan, array, string) called at [<phabricator>/src/applications/harbormaster/management/HarbormasterManagementBuildWorkflow.php:106]
  #8 HarbormasterManagementBuildWorkflow::execute(PhutilArgumentParser) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:406]
  #9 PhutilArgumentParser::parseWorkflowsFull(array) called at [<phutil>/src/parser/argument/PhutilArgumentParser.php:301]
  #10 PhutilArgumentParser::parseWorkflows(array) called at [<phabricator>/scripts/setup/manage_harbormaster.php:21]

please let me know if you need more details/information

Event Timeline

hvr updated the task description. (Show Details)
hvr added projects: Harbormaster, Drydock.
hvr added a subscriber: hvr.

We always need a fully formed bug report. See Contributing Bug Reports.

epriestley claimed this task.
epriestley added a subscriber: epriestley.

Drydock is also a prototype, see User Guide: Prototype Applications.

This report has nowhere near enough information to allow us to reproduce this issue.

Please read Contributing Bug Reports carefully before filing bug reports.

So I guess this bug is neither a known issue nor do you want me to provide more details since it's a prototype app?

(Fwiw, I basically followed the user's guide to setup almanac/drydock/harbormaster, and I assumed this was at least supposed to work albeit at the cost of me having to jump through several hoops...)

Can you point out which parts of Contributing Bug Reports, User Guide: Prototype Applications and Support Resources are unclear to you with respect to this report so we can improve the documentation?

We'd really like those documents to be able to answer your questions on their own, so that we don't need to give the same answers to these questions over and over again.