lxd provider doesn't honour root disk constraints.

Bug #1701500 reported by Chris Glass
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

The LXD provider does not honour RootDisk constraints, as demonstrated by the following steps, taken on a fresh and up-to-date zesty image:

Current behavior:
Deploying a unit on a localhost substrate does not honour root-disk contraints.

Steps to reproduce:
- Install Ubuntu
- apt update && apt upgrade
- sudo snap install --classic juju
- juju bootstrap localhost
- juju deploy --constraints "root-disk=300G" ubuntu
(wait for machine to come up)
- juju ssh ubuntu/0
- df -h (https://pastebin.canonical.com/192378/)
- Notice that ~10Gb != 300Gb

Expected behavior:
- fail notifying the user that the constraint is unsupported
- create a LXD container with the specified root disk size.

John A Meinel (jameinel)
Changed in juju:
importance: Undecided → Wishlist
status: New → Triaged
Revision history for this message
Chris Glass (tribaal) wrote :

Why the "wishlist"?

That is not a request for a new feature, it's broken behavior of an already existing feature.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers