Instance type constraint throws "ambiguous constraints" error on GCP

Bug #1970462 reported by Stone Preston
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Harry Pidcock

Bug Description

This bug is similar to https://bugs.launchpad.net/juju/+bug/1931504, except this is occurring on GCP, not azure

im trying to deploy a GPU-enabled ck worker on GCP using the following command:

juju deploy kubernetes-worker --channel=1.24/edge --constraints "instance-type=a2-highgpu-1g" kubernetes-worker-gpu

but it yields the following error:

ERROR cannot add application "kubernetes-worker-gpu": ambiguous constraints: "arch" overlaps with "instance-type"

even though I am only specifying the instance type, which the docs (https://juju.is/docs/olm/constraint#heading--gce) seem to indicate is the correct way of doing it. The instance type I chose comes from this list (https://cloud.google.com/compute/docs/gpus).

Changed in juju:
assignee: nobody → Jordan Barrett (barrettj12)
importance: Undecided → Medium
status: New → Triaged
Revision history for this message
Ian Booth (wallyworld) wrote :

This is fall out from the need to explicitly specify arch when dealing with charmhub (we previously could leave arch empty since charm store only served one blob for any arch).

We'll need to figure out the best path forward, and it needs to be High priority.

Changed in juju:
assignee: Jordan Barrett (barrettj12) → nobody
importance: Medium → High
milestone: none → 2.9.30
Changed in juju:
milestone: 2.9.30 → 2.9-next
milestone: 2.9-next → 2.9.31
Harry Pidcock (hpidcock)
Changed in juju:
assignee: nobody → Harry Pidcock (hpidcock)
Revision history for this message
Harry Pidcock (hpidcock) wrote :
Revision history for this message
Harry Pidcock (hpidcock) wrote :

Ian and I discussed that this is not the best way to achieve this but for now solves the immediate issue.

Harry Pidcock (hpidcock)
Changed in juju:
status: Triaged → Fix Committed
Changed in juju:
milestone: 2.9.31 → 2.9.30
milestone: 2.9.30 → 2.9.31
Changed in juju:
status: Fix Committed → Fix Released
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.