Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

availability zone is ignored when creating volume #3011

Closed
dennis-sig opened this issue Jun 23, 2014 · 8 comments
Closed

availability zone is ignored when creating volume #3011

dennis-sig opened this issue Jun 23, 2014 · 8 comments

Comments

@dennis-sig
Copy link
Contributor

It seems that Fog ignores the value of the availability_zone parameter when creating OpenStack volumes. In https://github.com/fog/fog/blob/master/lib/fog/openstack/models/compute/volume.rb line 28 I would expect this argument to be passed to the create_volume call, but it's not.

If this is by design, for example because there are problems with the OpenStack API when using this feature, it should be documented; but I would currently consider this a bug.

@geemus
Copy link
Member

geemus commented Jun 23, 2014

@krames @elight - could one of you take a look? Thanks!

@krames
Copy link
Member

krames commented Jun 23, 2014

@geemus sure! I will add it to my todos.

@jclendennen
Copy link

We are also seeing this issue. The instance is created on the correct AZ, but the persistence volumes are not.

@elight
Copy link

elight commented Aug 19, 2014

@geemus you'll want to stop adding me to these and instead just add @smashwilson.

On Mon, Aug 18, 2014 at 7:08 PM, jclendennen notifications@github.com
wrote:

We are also seeing this issue. The instance is created on the correct AZ, but the persistence volumes are not.

Reply to this email directly or view it on GitHub:
#3011 (comment)

@geemus
Copy link
Member

geemus commented Aug 19, 2014

@elight k.

@rupakg
Copy link
Member

rupakg commented Aug 20, 2014

@dennis-sig I am curious and wanted to ask you what behavior you see when you create a volume and pass it an availability zone? The volume is not created or is created on a diff. Availability zone. Are you specifically calling volume.create? Can you try the equivalent request method create_voloume directly to see what behavior that exhibits?

Sorry too many questions as I cannot get to code right now.

@grosskop
Copy link

@rupakg the behavior is that the volume is created in the default availability zone. If the compute node is created in another zone, it is not possible to attach the volume

@plribeiro3000
Copy link
Member

Closing in favor of fog/fog-openstack#40

@fog fog locked and limited conversation to collaborators Mar 10, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants