Hi Andy,
I think you're hitting this issue: [1]https://github.com/fog/fog/issues/2974 Currently you need to fetch all the volumes and filter by ID. -- Kevin On Wed, Jul 30, 2014, at 15:58, Andy Bohne wrote: My overarching goal here is to download a volume from vcenter, and upload that file to s3 for backup purposes. I'm trying to use fog to accomplish this, but I'm not having much success. Here is the code I'm trying: compute = Fog::Compute.new( :provider => 'vsphere', :vsphere_password => pw, ) data = compute.volumes.get(id: "6000C29d-3a56-954e-8456-157ba6a6d4a3") Which results in: NoMethodError: undefined method `get_volume' for #<Fog::Compute::Vsphere::Real:0x007fb0a27ed600> from /Library/Ruby/Gems/2.0.0/gems/fog-1.23.0/lib/fog/vsphere/models /compute/volumes.rb:29:in `get' Can someone provide some direction? I'm not sure if I've run into an issue with fog not supporting what I'm trying to do or if I'm doing it wrong. Unfortunately, the vsphere documentation is a bit wanting. -- You received this message because you are subscribed to the Google Groups "ruby-fog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [2][email protected]. For more options, visit [3]https://groups.google.com/d/optout. References 1. https://github.com/fog/fog/issues/2974 2. mailto:[email protected] 3. https://groups.google.com/d/optout -- You received this message because you are subscribed to the Google Groups "ruby-fog" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
