Juju agent stuck in pending if charm storage's minimum-size exceeds available disk space on machine

Bug #1580717 reported by Adam Israel
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Expired
High
Unassigned
juju-core
Won't Fix
High
Unassigned
1.25
Won't Fix
High
Unassigned

Bug Description

Version(s) affected: Juju 1.25.5, 2.0 beta 6

I've hit a repeatable issue where I can put the juju agent into an infinite loop while allocating, and no combination of destroy-environment (1.25.5), destroy-model, destroy-controller, destroy-model (2.0 beta6) will complete.

Scenario:

Deploy charm with storage requirement that exceeds the default machine constraints.

Steps to recreate:

juju bootstrap
juju deploy cs:~3-bruno/trusty/quobyte-registry-4

The quobyte-registry charm has a minimum storage requirement of 10G. This exceeds the default machine constraints. The juju agent attempts to install but can't because the storage loopback file creation has run the disk out of space. The unit agent remains in a pending state forever.

I've attempted every command to destroy the environment, model, and controller to no avail. `destroy-controller` hangs while "Waiting for hosted model resources to be reclaimed".

Revision history for this message
Adam Israel (aisrael) wrote :
Revision history for this message
Adam Israel (aisrael) wrote :
description: updated
Revision history for this message
Cheryl Jennings (cherylj) wrote :

You can force kill-controller to go through the provider by first manually taking down the controller through your provider and running juju kill-controller.

We still need to address the situation which caused the machine to get stuck in pending.

Changed in juju-core:
status: New → Triaged
importance: Undecided → High
tags: added: deploy storage
Revision history for this message
Adam Israel (aisrael) wrote :

FWIW, the running machine was killed through the provider, but kill-controller still hangs with:

Destroying controller "local.reviewqueue"
Waiting for resources to be reclaimed
Waiting on 2 models, 2 machines, 2 services
[...]
Waiting on 2 models, 2 machines, 2 services

Revision history for this message
Adam Israel (aisrael) wrote :

Negate that. The controller machine didn't get reaped. Killing that unblocked the kill-controller.

Curtis Hovey (sinzui)
Changed in juju-core:
milestone: none → 2.0-beta8
Changed in juju-core:
milestone: 2.0-beta8 → 2.0-beta9
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta9 → 2.0-beta10
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta10 → 2.0-beta11
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta11 → 2.0-beta12
Changed in juju-core:
milestone: 2.0-beta12 → 2.0-beta13
tags: added: 2.0
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta13 → 2.0-beta14
Curtis Hovey (sinzui)
Changed in juju-core:
milestone: 2.0-beta14 → 2.0-beta15
Changed in juju-core:
milestone: 2.0-beta15 → 2.0.0
affects: juju-core → juju
Changed in juju:
milestone: 2.0.0 → none
milestone: none → 2.0.0
Changed in juju-core:
importance: Undecided → High
status: New → Won't Fix
Changed in juju:
milestone: 2.0.0 → 2.0.1
Curtis Hovey (sinzui)
Changed in juju:
milestone: 2.0.1 → none
Revision history for this message
Canonical Juju QA Bot (juju-qa-bot) wrote :

This bug has not been updated in 5 years, so we're marking it Expired. If you believe this is incorrect, please update the status.

Changed in juju:
status: Triaged → Expired
tags: added: expirebugs-bot
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.