Igor Karpov
2013-09-10 09:52:19 UTC
Hi,
most likely my questions are stupid but I'm stuck
I got no idea how to attach a volume to the server using fog. I tried
v = conn.volumes.create(size: 20, display_name: 'test20', description: 'Fog
Testing')
v.attach(server.id,"vdc")
but get
in `<main>': undefined method `attach' for
#<Fog::Volume::OpenStack::Volume:0x00000001afbfa8> (NoMethodError)
I suspect this is not supposed to work this way but I can't find any
example how to do this right. I am not a programmer so I can't figure it
out by myself.
Regards,
Igor
most likely my questions are stupid but I'm stuck
I got no idea how to attach a volume to the server using fog. I tried
v = conn.volumes.create(size: 20, display_name: 'test20', description: 'Fog
Testing')
v.attach(server.id,"vdc")
but get
in `<main>': undefined method `attach' for
#<Fog::Volume::OpenStack::Volume:0x00000001afbfa8> (NoMethodError)
I suspect this is not supposed to work this way but I can't find any
example how to do this right. I am not a programmer so I can't figure it
out by myself.
Regards,
Igor
--
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 ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
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 ruby-fog+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.