Hi,

I use below codes to attach and volume to a instance in Openstack.

The device I input = /dev/sdc
The device I see when I debug = /dev/sdc
The device actually in the instance = vdb

What is the reason for this mismatch?

RestContext<NovaApi, NovaAsyncApi> nova = context.unwrap();
 VolumeAttachmentApi api =
nova.getApi().getVolumeAttachmentExtensionForZone(region).get();
VolumeAttachment attachment = api.attachVolumeToServerAsDevice(volumeId,
instanceId, *device*);


-- 
Udara S.S Liyanage.
Software Engineer at WSO2.
Commiter and PPMC Member of Apache Stratos.
Blog - http://udaraliyanage.wordpress.com
phone: +94 71 443 6897

Reply via email to