4.5. Verifying the Integrated Setup
Procedure 4.4. Verify the Integrated Setup
- Verify that the Red Hat Storage Volumes are successfully mounted as follows:
# mount | grep gluster 10.1.1.11:/glance-vol on /mnt/gluster/glance/images type fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072) 10.1.1.11:cinder-vol on /var/lib/cinder/volumes/586c24173ac3ab5d1d43aed1f113d9f6 type fuse.glusterfs (rw,default_permissions,allow_other,max_read=131072) - Verify that the Cinder volume is mounted on the Red Hat Storage volumes as follows:
# getfattr -d -etext -m. -n trusted.glusterfs.pathinfo /var/lib/cinder/volumes/586c24173ac3ab5d1d43aed1f113d9f6 # file: var/lib/cinder/volumes/586c24173ac3ab5d1d43aed1f113d9f6 trusted.glusterfs.pathinfo="((<DISTRIBUTE:cinder-vol-dht> (<REPLICATE:cinder-vol-replicate-0> <POSIX(/rhs/brick1/cinder-vol):dhcpzz-183.example.com:/rhs/brick1/cinder-vol/> <POSIX(/rhs/brick1/cinder- vol):dhcpzz-223.example.com:/rhs/brick1/cinder-vol/>) (<REPLICATE:cinder-vol-replicate-1> <POSIX(/rhs/brick2/cinder-vol):dhcpzz-223.example.com:/rhs/brick2/cinder-vol/> <POSIX(/rhs/brick2/ cinder-vol):dhcpzz-183.example.com:/rhs/brick2/cinder-vol/>)) (cinder-vol-dht-layout (cinder-vol-replicate-0 0 2147483646) (cinder-vol-replicate-1 2147483647 4294967295)))" - Verify that the glance image was created on the Red Hat Storage volumes as follows:
# glance image-create --name="test" --is-public=true --container-format=ovf --disk-format=qcow2 < f17-x86_64-openstack-sda.qcow2 +------------------+--------------------------------------+ | Property | Value | +------------------+--------------------------------------+ | checksum | 1f104b5667768964d5df8c4ad1d7cd27 | | container_format | ovf | | created_at | 2013-07-30T12:56:05 | | deleted | False | | deleted_at | None | | disk_format | qcow2 | | id | a66213ee-1a76-4d4a-959d-5df3f8f320ac | | is_public | True | | min_disk | 0 | | min_ram | 0 | | name | test | | owner | 84e2f0fac93d402287a8eb97b6ba9711 | | protected | False | | size | 251985920 | | status | active | | updated_at | 2013-07-30T12:56:49 | +------------------+--------------------------------------+ # ls -l /mnt/gluster/glance/images/ total 246080 -rw-r-----. 1 glance glance 251985920 Jul 30 18:26 a66213ee-1a76-4d4a-959d-5df3f8f320ac ~(keystone_admin)]# getfattr -d -etext -m. -n trusted.glusterfs.pathinfo /mnt/gluster/glance/images/a66213ee-1a76-4d4a-959d-5df3f8f320ac getfattr: Removing leading '/' from absolute path names # file: var/lib/glance/images/a66213ee-1a76-4d4a-959d-5df3f8f320ac trusted.glusterfs.pathinfo="(<DISTRIBUTE:glance-vol-dht> (<REPLICATE:glance-vol-replicate-1> <POSIX(/rhs/brick4/glance-vol):dhcpzz-223.example.com:/rhs/brick4/glance-vol/a66213ee-1a76-4d4a-959d-5df3f 8f320ac> <POSIX(/rhs/brick4/glance-vol):dhcpzz-183.example.com:/rhs/brick4/glance-vol/a66213ee-1a76-4d4a-959d-5df3f8f320ac>))" - Verify that the nova instance was created on the Red Hat Storage volumes as follows:
# nova list +--------------------------------------+-----------+--------+------------+-------------+---------------------+ | ID | Name | Status | Task State | Power State | Networks | +--------------------------------------+-----------+--------+------------+-------------+---------------------+ | 9b8f4140-665b-4959-abcd-5970c979e9df | instance1 | ACTIVE | None | Running | public=172.24.4.227 | +--------------------------------------+-----------+--------+------------+-------------+---------------------+ # getfattr -d -etext -m. -n trusted.glusterfs.pathinfo /mnt/gluster/instance/9b8f4140-665b-4959-abcd-5970c979e9df/disk getfattr: Removing leading '/' from absolute path names # file: mnt/gluster/instance/9b8f4140-665b-4959-abcd-5970c979e9df trusted.glusterfs.pathinfo="(<DISTRIBUTE:glance-vol-dht> (<REPLICATE:glance-vol-replicate-5> <POSIX(/rhs/brick4/glance-vol):rhs-vm4:/rhs/brick4/glance-vol/glance/images/ 9b8f4140-665b-4959-abcd-5970c979e9df> <POSIX(/rhs/brick4/glance-vol):rhs-vm3:/rhs/brick4/glance-vol/glance/images/9b8f4140-665b-4959-abcd-5970c979e9df>))"
Use these steps to ensure that Red Hat OpenStack uses Red Hat Storage as the storage platform. For further operations, such as deploying Virtual Machines and managing OpenStack, see the Red Hat Enterprise Linux OpenStack Platform documentation.