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:inserver_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:ineach'
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:inrequires'
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:increate'
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:inblock 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:inmissing_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:insave' from /usr/lib64/ruby/gems/2.4.0/gems/fog-core-1.45.0/lib/fog/core/collection.rb:50:in
create'