Description
When specifying API version to Openstack Magnum, gophercloud is passing an invalid string which results in a 406.
I don't understand how the aliasing is meant to work, but I believe that the problem was introduced here:
e394733#diff-5643779347824e0ec4258ef187be1f23c3b1eeca504fcfe48e47efe0e051b4bfL480
I don't see the string 'container-infrastructure-management' anywhere in Magnum source code; the version string should be 'container-infra' which was the value before that patch. Here's an example of the magnum client passing that string to switch API version:
The naive fix is probably just to switch that string back to 'container-infra' which is what the API expects. I'm happy to write that patch but want to make sure there's not a more complicated bug in the aliasing code first.
For reference, our internal tracking of this issue is https://phabricator.wikimedia.org/T397106