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

Issue creating storage volume #108

Open
puppetpies opened this issue Sep 4, 2017 · 5 comments
Open

Issue creating storage volume #108

puppetpies opened this issue Sep 4, 2017 · 5 comments
Assignees
Labels

Comments

@puppetpies
Copy link

  output = compute.volumes.create('server_id' => "50139021-8a50-cf77-3395-f1806364cd9a",
                                  'size_gb' => "10", 
                                  'name' => "myvol1}", 
                                  'datastore' => "datastore1")
  pp output

I Seem to be getting to below error when i try to create a new volume for my VM.

/usr/lib64/ruby/gems/2.4.0/gems/fog-core-1.45.0/lib/fog/core/attributes.rb:155:in requires': server is required for this operation (ArgumentError) from /usr/lib64/ruby/gems/2.4.0/gems/fog-vsphere-1.12.0/lib/fog/vsphere/models/compute/volume.rb:98:in server_id'
from /usr/lib64/ruby/gems/2.4.0/gems/fog-core-1.45.0/lib/fog/core/attributes.rb:172:in block in missing_attributes' from /usr/lib64/ruby/gems/2.4.0/gems/fog-core-1.45.0/lib/fog/core/attributes.rb:171:in each'
from /usr/lib64/ruby/gems/2.4.0/gems/fog-core-1.45.0/lib/fog/core/attributes.rb:171:in missing_attributes' from /usr/lib64/ruby/gems/2.4.0/gems/fog-core-1.45.0/lib/fog/core/attributes.rb:153:in requires'
from /usr/lib64/ruby/gems/2.4.0/gems/fog-vsphere-1.12.0/lib/fog/vsphere/models/compute/volume.rb:56:in save' from /usr/lib64/ruby/gems/2.4.0/gems/fog-core-1.45.0/lib/fog/core/collection.rb:50:in create'

@jrgarcia jrgarcia self-assigned this Sep 12, 2017
@puppetpies
Copy link
Author

Do you have any pointers of what i might need to look at the fix this ?

@puppetpies
Copy link
Author

Anyone?

@chris1984
Copy link
Collaborator

I will start looking into this

@chris1984
Copy link
Collaborator

@jrgarcia can you assign this one to me please?

@jrgarcia jrgarcia assigned jrgarcia and unassigned jrgarcia Jan 16, 2018
@puppetpies
Copy link
Author

Thankyou for taking a look 👍

@chris1984 chris1984 self-assigned this Jan 22, 2018
@chris1984 chris1984 added the Bug label Jul 2, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants