650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160621-1466484815061027651.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926614044097521.jpg "style=" border:0px;float:none; "/>
This section is the third and last part of creating Volume: the Cinder-volume process.
The first and second parts refer to the previous two subsections.
Cinder-volume creates volume through driver and logs to/opt/stack/logs/c-vol.log.
Similar to Cinder-api and Cinder-scheduler execution, Cinder-volume also started a flow to complete volume creation, and flow is named Volume_create_manager.
650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926189270089245.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926614383026267.jpg "style=" border:0px;white-space:normal;float:none; "/>
Volume_create_manager first executes Extractvolumereftask, Onfailurerescheduletask, Extractvolumespectask, Notifyvolumeactiontask to prepare for volume creation.
650 "this.width=650;" title= "/HTTP// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926189434056242.png "src=" http// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926614453004678.jpg "style=" border:0px; White-space:normal;float:none; "/>
650 "this.width=650;" title= "/HTTP// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926189447034729.png "src=" http// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926614599046986.jpg "style=" border:0px; White-space:normal;float:none; "/>
650 "this.width=650;" title= "/HTTP// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926189473064445.png "src=" http// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926614722078379.jpg "style=" border:0px; White-space:normal;float:none; "/>
650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926189570002979.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926614898060754.jpg "style=" border:0px;white-space:normal;float:none; "/>
Next Createvolumefromspectask executes the volume creation task.
650 "this.width=650;" title= "/HTTP// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926189660019618.png "src=" http// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926615014061678.jpg "style=" border:0px; White-space:normal;float:none; "/>
650 "this.width=650;" title= "/HTTP// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926189906087267.png "src=" http// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926615250059261.jpg "style=" border:0px; font-family: ' Microsoft Jacob Black '; white-space:normal;float:none;/>
Finally, Createvolumeonfinishtask finished the finishing work.
650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926189959035052.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926615388036844.jpg "style=" border:0px;font-family: ' Microsoft ya black '; white-space:normal; Float:none; "/>
At this point, volume successfully created, Flow Volume_create_manager ended.
650 "this.width=650;" title= "/HTTP// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926189989067574.png "src=" http// 7xo6kd.com1.z0.glb.clouddn.com/upload-ueditor-image-20160626-1466926615521097404.jpg "style=" Border:0px;float: none; "/>
650) this.width=650; "Title=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926190031029363.png "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926615626072474.jpg "style=" border:0px;float:none; "/>
In the next section we discuss how to hook up the newly created volume to the instance, which is the attach operation.
650) this.width=650; "title=" "src=" http://7xo6kd.com1.z0.glb.clouddn.com/ Upload-ueditor-image-20160626-1466926615696070166.jpg "style=" Border:0px;vertical-align:middle;color:rgb ( 63,63,63); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:21.75px;text-align:justify;background-color: RGB (246,246,246); "/>
Create Volume operation (part III)-Play 5 minutes per day OpenStack (52)