官术网_书友最值得收藏!

How to do it...

The Cinder service that we configured in the last recipe creates volumes on Ceph, however, to attach these volumes to OpenStack instances, we need to configure Nova:

  1. We have already configured the following options to enable volume attachment:
 rbd_user=cinder
rbd_secret_uuid= e279566e-bc97-46d0-bd90-68080a2a0ad8
  1. To test this configuration, we will attach the Cinder volume to an OpenStack instance. List the instance and volumes to get the ID:
        # nova list
# cinder list
  1. Attach the volume to the instance:
# nova volume-attach 31000c20-5847-48eb-b2e3-6b681f5df46c 21bb3f31-6f9e-4d26-9afd-5eec3f450034
# cinder list
主站蜘蛛池模板: 南乐县| 林口县| 斗六市| 承德市| 于田县| 社旗县| 曲周县| 湖南省| 汤阴县| 胶州市| 萨嘎县| 泗水县| 贵德县| 嫩江县| 罗甸县| 鄂托克前旗| 黑山县| 北海市| 察雅县| 寿阳县| 定陶县| 水富县| 横山县| 沁水县| 永安市| 晋州市| 灯塔市| 台中县| 如东县| 嘉禾县| 吐鲁番市| 嘉善县| 庄河市| 海林市| 敦化市| 呼伦贝尔市| 罗田县| 江口县| 资阳市| 松滋市| 彭州市|