Page MenuHomePhabricator

Waiting for available resources, but no resources are being created
Closed, InvalidPublic

Assigned To
Authored By
hach-que
Dec 21 2015, 3:03 AM
Referenced Files
F1034816: pasted_file
Dec 21 2015, 3:20 AM
F1034799: pasted_file
Dec 21 2015, 3:12 AM
F1034802: pasted_file
Dec 21 2015, 3:12 AM
F1034791: pasted_file
Dec 21 2015, 3:09 AM
F1034787: pasted_file
Dec 21 2015, 3:09 AM
F1034753: pasted_file
Dec 21 2015, 3:03 AM
F1034760: pasted_file
Dec 21 2015, 3:03 AM
F1034748: pasted_file
Dec 21 2015, 3:03 AM

Description

This is what I see on the lease (last activity 2PM):

pasted_file (883×1 px, 169 KB)

Clicking through to the blueprint I see this (last activity 12:56PM):

pasted_file (883×1 px, 147 KB)

Looking at all the resources made by that blueprint:

pasted_file (883×1 px, 131 KB)

Clicking on the latest one shows it was one of the reclaimed resources:

pasted_file (883×1 px, 165 KB)

I expect that if a lease is waiting on a resource to become available, that a resource is actually being created.

Revisions and Commits

Event Timeline

Apparently even new builds that are trying to use this blueprint are now stalling.

This is what I see in the daemon page (there are two builds trying to get a lease on this working copy blueprint):

pasted_file (410×1 px, 48 KB)

There apparently was a resource worker that completely recently, but I can't actually see the details of those completed tasks:

pasted_file (410×1 px, 51 KB)

I just restarted the first build and looked at the lease that was trying to be obtained:

pasted_file (622×1 px, 95 KB)

But there's no new resource or new activity on the working copy blueprint:

pasted_file (798×1 px, 121 KB)

So I managed to workaround this issue. First I reset all the attributes of the blueprint with:

update drydock_blueprint set details = '[]' where id=11;

Then I restarted a build. When I went to working copy blueprint again, I saw a resource being allocated:

pasted_file (798×1 px, 123 KB)

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

This report does not include reproduction steps that we can use to reproduce the problem. See Contributing Bug Reports.

I don't know what reliable reproduction steps you expect here. Drydock doesn't really give me any indication as to what it's doing or why it's doing nothing. The screenshots clearly indicate the issue at hand, and the accompanying text indicates what I did to reproduce the issue on my install.

Given that this is likely to be some sort or race condition or bug with the way limits are being handled, I'm not sure there are reliable reproduction steps (generally anything that involves high degrees of concurrency are hard to reproduce, e.g. T9724).