Actions
Bug #13356
closedOpenStack volumes API v2 needs :name
Status:
Closed
Priority:
Normal
Assignee:
Category:
Compute resources - OpenStack
Target version:
Description
Our code in https://github.com/theforeman/foreman/blob/develop/app/models/compute_resources/foreman/model/openstack.rb#L65 uses :display_name as the name attribute to create Openstack volumes.
Notice volume v2 API requires :name, while v1 just needs :display_name
https://github.com/fog/fog/blob/master/lib/fog/openstack/models/volume_v1/volume.rb
https://github.com/fog/fog/blob/master/lib/fog/openstack/models/volume_v2/volume.rb#L17
So we cannot create Volumes on Openstack when they use the v2 api. Fix is simple, just add :name in that hash and it works.
Updated by Daniel Lobato Garcia almost 9 years ago
- Subject changed from OpenStack boot_from_volume needs :name to OpenStack volumes API v2 needs :name
Updated by The Foreman Bot almost 9 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/foreman/pull/3117 added
Updated by Daniel Lobato Garcia almost 9 years ago
- Translation missing: en.field_release set to 71
Set this to 1.11 as without this fix, Openstack provisioning with volumes is 100% broken
Updated by Daniel Lobato Garcia almost 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset f5c7a90e5626128be0a292131fa83ef13cc3f227.
Actions