Unable to deploy an overlay bundle with image-id constraint

Bug #2013341 reported by Nicolas Vinuesa
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Committed
Undecided
Nicolas Vinuesa

Bug Description

When trying to deploy the following bundle and overlay bundles an error is returned.

bundle.yaml:
applications:
  prometheus2:
    charm: prometheus2
    channel: stable
    revision: 48
    num_units: 1

overlay-bundle.yaml:
applications:
  prometheus2:
    series: focal
    constraints: image-id=ubuntu-bf2-v2

$ juju deploy ./bundle.yaml --overlay ./overlay-bundle.yaml
ERROR cannot deploy bundle: the provided bundle has the following errors:
invalid constraints "image-id=ubuntu-bf2-v2" in application "prometheus2": 'image-id' constraint in a base bundle not supported

This error is not correct, since the image-id constraint is only present in the overlay and not in the base bundle.

Changed in juju:
milestone: none → 3.2-beta2
status: New → In Progress
assignee: nobody → Nicolas Vinuesa (nvinuesa)
Revision history for this message
Nicolas Vinuesa (nvinuesa) wrote :
Changed in juju:
milestone: 3.2-beta2 → 3.2-beta1
status: In Progress → Fix Committed
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.