[2.7 rc2] can't deploy k8s-based model re-using cloud controller

Bug #1851763 reported by Andrey Grebennikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
Critical
Joseph Phillips

Bug Description

MAAS-based cloud.
Adding k8s into running controller.

ubuntu@infra1:~/k8s-config$ juju --version
2.7-rc2-bionic-amd64

ubuntu@infra1:~/k8s-config$ cat ~/.kube/config |juju add-k8s k8s1 -c foundations-maas

k8s substrate added as cloud "k8s1" with storage provisioned
by the existing "ceph-xfs" storage class.
ubuntu@infra1:~/k8s-config$ juju add-model kubeflow1 k8s1
Added 'kubeflow1' model on k8s1/default with credential 'k8s1' for user 'admin'

ubuntu@infra1:~/k8s-config$ juju deploy ./config/bundle-kubeflow.yaml
ERROR space with ID "1" not found (not found)

ubuntu@infra1:~/k8s-config$ juju status
ERROR space with ID "1" not found (not found)

ubuntu@infra1:~/k8s-config$ juju spaces
ERROR Juju command "spaces" not supported on kubernetes models

Changed in juju:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Joseph Phillips (manadart)
Revision history for this message
John A Meinel (jameinel) wrote :

As a thought, is the issue that we are copying the spaces from the controller model, even if the new model isnt the same cloud.

Revision history for this message
Yang Kelvin Liu (kelvin.liu) wrote :

I tested, LXD controller <- microk8s; IaaS controller <- Azure CK; IaaS controller <- AWS CK.
They are all working, so I think it should be just maas and not related with CaaS.

Revision history for this message
Joseph Phillips (manadart) wrote :

Is it possible to get logs from the k8s model and the controller?

Changed in juju:
status: Triaged → In Progress
Revision history for this message
Joseph Phillips (manadart) wrote :

I have a reproduction.

Revision history for this message
Joseph Phillips (manadart) wrote :
Changed in juju:
milestone: none → 2.7.0
status: In Progress → Fix Committed
Changed in juju:
milestone: 2.7.0 → 2.7-rc3
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.