Ask Your Question
0

unable to create volume using volume source as image

asked 2014-11-19 00:21:58 -0500

amitabh sinha gravatar image

when I am trying to create volume using source as image it is showing unable to create. Screenshot from 2014-11-19 11:45:50.png

and when I am trying to do it from cli it is showing

REQUEST:- cinder upload-to-image f3dd108d-bd6d-4e53-99b9-78a183dcd2db d819c7ca-a7ac-4540-b2c1-b587d72c3f0c

RESPONSE:- ERROR: The server has either erred or is incapable of performing the requested operation.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2014-11-19 00:51:52 -0500

Ram.Meena gravatar image

updated 2014-11-19 00:59:07 -0500

Please verify the following things to diagnose the issue:-

  1. Make sure that your device partition type of which you have created the physical volume and volume group for cinder is setup to 'Linux LVM' type(8e) as shown below:-

    /dev/sda3 6146048 88066047 40960000 8e Linux LVM

  2. Make sure that name of the volume group your created is 'cinder-volumes'. It should look like below:-

    [root@controller ~]# vgs

    VG #PV #LV #SN Attr VSize VFree

    cinder-volumes 1 1 0 wz--n- 39.06g 34.06g

3 . To get more verbose output and detailed error logs please set the value of followings to true in cinder configuration file:-

debug=True

verbose=True

After changing the configuration in cinder.conf, please restart the cinder services and try to perform the operations again.

After checking with above things you should be able to diagnose the issue, else provide the cinder logs.

edit flag offensive delete link more

Comments

  1. root@controller:~# vgs VG #PV #LV #SN Attr VSize VFree
    cinder-volumes 1 1 0 wz--n- 301.75g 296.75g

  2. which id is this in your case 6146048 88066047 40960000

3.In vi/etc/cinder/cinder.conf is verbose=True

amitabh sinha gravatar imageamitabh sinha ( 2014-11-19 03:54:33 -0500 )edit

which id is this in your case 6146048 88066047 40960000

Above numbers are stats of '/dev/sda3' device on my server. It could be different on your server according to size of your disk available to create physical volume and volume group on it.

Ram.Meena gravatar imageRam.Meena ( 2014-11-19 06:04:16 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-19 00:21:58 -0500

Seen: 1,052 times

Last updated: Nov 19 '14