model migration credential check too restrictive

Bug #1850580 reported by Ian Booth
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Triaged
Wishlist
Unassigned

Bug Description

When migration a model, a check is done using reflect.DeepEquals() of the credential on the target controller vs that on the source controller.

This is too restrictive and can cause a valid migration attempt to fail. In 2.7, k8s credentials gain a new attribute and so even though the target controller can access the k8s cluster just fine, a migration from a 2.6 model is aborted.

If the reason for checking the credential on the target controller is to ensure it can access the resources in the model being migrated, this needs to be done in a less naive way.

Changed in juju:
milestone: 2.7.1 → 2.7.2
Changed in juju:
milestone: 2.7.2 → 2.7.3
Changed in juju:
milestone: 2.7.3 → 2.7.4
Changed in juju:
milestone: 2.7.4 → 2.7.5
Changed in juju:
milestone: 2.7.5 → 2.7.6
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.7.6 → 2.8.1
Tim Penhey (thumper)
Changed in juju:
milestone: 2.8.1 → 2.8-next
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.8-next → 2.8.10
Changed in juju:
milestone: 2.8.10 → 2.8.11
Revision history for this message
John A Meinel (jameinel) wrote :
John A Meinel (jameinel)
Changed in juju:
milestone: 2.8.11 → 2.9-next
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 2.9-next → 3.2-beta1
Changed in juju:
milestone: 3.2-beta1 → 3.2-rc1
Changed in juju:
milestone: 3.2-rc1 → 3.2.0
Changed in juju:
milestone: 3.2.0 → 3.2.1
Changed in juju:
milestone: 3.2.1 → 3.2.2
Changed in juju:
milestone: 3.2.2 → 3.2.3
Changed in juju:
milestone: 3.2.3 → 3.2.4
Changed in juju:
milestone: 3.2.4 → 3.2.5
Ian Booth (wallyworld)
Changed in juju:
milestone: 3.2.5 → none
Harry Pidcock (hpidcock)
Changed in juju:
milestone: none → 3.5-beta1
Changed in juju:
milestone: 3.5-beta1 → 3.5-beta2
Harry Pidcock (hpidcock)
Changed in juju:
milestone: 3.5-beta2 → 3.5.1
Changed in juju:
milestone: 3.5.1 → 3.5.2
Changed in juju:
milestone: 3.5.2 → none
status: Triaged → New
Revision history for this message
Vitaly Antonenko (anvial) wrote :

Can we ask Alexandre Gomes to update info about this bug report to retriage it.

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

Realistically, this would require non-trivial design and implementation.

Treating it as a feature request.

Changed in juju:
status: New → Triaged
importance: High → Wishlist
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.