Open akrzos opened 8 years ago
Yes, good catch.
So, we could remove deprecate openstack_volume_size
and use data_disk_size
, and if openstack_volume_size
is set then use it as the data_disk_size
.
What do you think?
Yes, good catch.
So, we could remove deprecate openstack_volume_size and use data_disk_size, and if openstack_volume_size is set then use it as the data_disk_size.
What do you think?
Thanks, For consistency with the other providers it sounds like data_disk_size
would be the way to go.
On another note, should --data_disk_type=local
allow the use of my flavor's ephemeral disk?
Sounds good, I'll work on a patch soon.
Regarding data disk types, we could define our own. At the moment, it always uses Cinder Volumes regardless of the data_disk_type
. I had a PR that added support for ephemeral disks, as well as using a path within the boot partition, but I closed since it needs rework after I made the changes to move the OpenStack CLI.
Here's the PR #759
I'm open to suggestions for other disk types as well.
Sounds good, I'll work on a patch soon.
Cool I can help contribute to the patch as well.
Regarding data disk types, we could define our own. At the moment, it always uses Cinder Volumes regardless of the data_disk_type. I had a PR that added support for ephemeral disks, as well as using a path within the boot partition, but I closed since it needs rework after I made the changes to move the OpenStack CLI.
Here's the PR #759
Got it.
I'm open to suggestions for other disk types as well.
I'll let you know if we think there should be other disk types for OpenStack we should support.
Hi there, @akrzos. I provided a fix to this issue #1220. Please confirm and close whenever you have time.
OpenStack provider specific flags such as "openstack_volume_size" are not making their way into the result json which could be misleading, since defaults make their way in.
Flag Values:
And in the newline delimited results json:
Looking through the results, you might think there is a 500G disk vs just a 5G cinder volume. Shouldn't "openstack_volume_size" be included under "labels"?