Merge "Update cinder mgmt docs to use openstackclient"
This commit is contained in:
commit
abf31b52e9
@ -392,22 +392,27 @@ to do, this is how you can add a new volume.
|
|||||||
|
|
||||||
Log into puppetmaster.openstack.org and run::
|
Log into puppetmaster.openstack.org and run::
|
||||||
|
|
||||||
. ~root/cinder-venv/bin/activate
|
export OS_CLOUD=openstackci-rax
|
||||||
. ~root/ci-launch/cinder.sh
|
export OS_REGION_NAME=DFW
|
||||||
|
|
||||||
nova list
|
openstack server list
|
||||||
cinder list
|
openstack volume list
|
||||||
|
|
||||||
|
Change the variables to use a different environment. ORD for example::
|
||||||
|
|
||||||
|
export OS_CLOUD=openstackci-rax
|
||||||
|
export OS_REGION_NAME=ORD
|
||||||
|
|
||||||
* Add a new 1024G cinder volume (substitute the hostname and the next number
|
* Add a new 1024G cinder volume (substitute the hostname and the next number
|
||||||
in series for NN)::
|
in series for NN)::
|
||||||
|
|
||||||
cinder create --display-name "HOSTNAME.openstack.org/mainNN" 1024
|
openstack volume create --size 1024 "$HOSTNAME.ord.openstack.org/mainNN"
|
||||||
nova volume-attach <server id> <volume id> auto
|
openstack server add volume "HOSTNAME.openstack.org" "HOSTNAME.openstack.org/mainNN"
|
||||||
|
|
||||||
* or to add a 100G SSD volume::
|
* or to add a 100G SSD volume::
|
||||||
|
|
||||||
cinder create --volume-type SSD --display-name "HOSTNAME.openstack.org/mainNN" 100
|
openstack volume create --type SSD --size 100 "HOSTNAME.openstack.org/mainNN"
|
||||||
nova volume-attach <server id> <volume id> auto
|
openstack server add volume "HOSTNAME.openstack.org" "HOSTNAME.openstack.org/mainNN"
|
||||||
|
|
||||||
* Then, on the host, create the partition table::
|
* Then, on the host, create the partition table::
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user