cluster template image update does not update cluster_distro
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
New
|
Undecided
|
Unassigned |
Bug Description
Here's an example sequence:
$ magnum cluster-
...
| cluster_distro | fedora-atomic |
| image_id | c60d724b-
...
Which is correct:
$ glance image-show c60d724b-
| os_distro | fedora-atomic |
If i then update the cluster template image with the following (different os_distro):
$ glance image-show c4537d3b-
| os_distro | fedora-
$ magnum cluster-
...
| cluster_distro | fedora-atomic |
| image_id | c4537d3b-
...
The cluster_distro is not properly updated with the value of the new image.
This causes issues as currently the driver is selected based on a combination of cluster_distro and coe.