diff options
author | Vu Tran <vu.tran@windriver.com> | 2014-05-26 14:33:36 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2014-05-26 16:00:30 -0400 |
commit | eeac2153f8bcc83d02643353cea76a202c9d89fd (patch) | |
tree | dd75fc8d99a9ff811235ea180e8bce9a02713455 | |
parent | cb059cb67f71e983d226d41a5b7af690190d6a0e (diff) | |
download | meta-cloud-services-eeac2153f8bcc83d02643353cea76a202c9d89fd.tar.gz |
ceph README missing test steps
By default cinder-backup driver is swift. To test
ceph cinder-backup driver, the backup_driver in
cinder.conf must be set to ceph. Update README.ceph-openstack
to reflect this.
Also change "$" to "#" for test steps which are not commands.
Signed-off-by: Vu Tran <vu.tran@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | meta-openstack/Documentation/README.ceph-openstack | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/meta-openstack/Documentation/README.ceph-openstack b/meta-openstack/Documentation/README.ceph-openstack index 0fecc0f..d7e8c08 100644 --- a/meta-openstack/Documentation/README.ceph-openstack +++ b/meta-openstack/Documentation/README.ceph-openstack | |||
@@ -235,7 +235,7 @@ Ceph is integrated properly into OpenStack | |||
235 | Please note: the following commands are carried on Controller node, unless | 235 | Please note: the following commands are carried on Controller node, unless |
236 | otherwise explicitly indicated. | 236 | otherwise explicitly indicated. |
237 | 237 | ||
238 | $ Start Controller and Compute node in hardware targets | 238 | # Start Controller and Compute node in hardware targets |
239 | 239 | ||
240 | $ ps aux | grep ceph | 240 | $ ps aux | grep ceph |
241 | 241 | ||
@@ -273,10 +273,14 @@ root 3808 0.0 0.0 3289468 34428 ? Ssl 02:50 0:36 /usr/bin/ceph-o | |||
273 | +----+------+--------+------------+-------------+----------+ | 273 | +----+------+--------+------------+-------------+----------+ |
274 | +----+------+--------+------------+-------------+----------+ | 274 | +----+------+--------+------------+-------------+----------+ |
275 | 275 | ||
276 | $ Modify /etc/glance/glance-api.conf, | 276 | # Modify /etc/glance/glance-api.conf, |
277 | to change "default_store = file" to "default_store = rbd", | 277 | to change "default_store = file" to "default_store = rbd", |
278 | $ /etc/init.d/glance-api restart | 278 | $ /etc/init.d/glance-api restart |
279 | 279 | ||
280 | # Modify /etc/cinder/cinder.conf, | ||
281 | to change "backup_driver=cinder.backup.drivers.ceph" | ||
282 | $ /etc/init.d/cinder-backup restart | ||
283 | |||
280 | $ /etc/cinder/add-cinder-volume-types.sh | 284 | $ /etc/cinder/add-cinder-volume-types.sh |
281 | $ cinder extra-specs-list | 285 | $ cinder extra-specs-list |
282 | 286 | ||
@@ -383,7 +387,7 @@ Secret value set | |||
383 | 387 | ||
384 | volume-c905b9b1-10cb-413b-a949-c86ff3c1c4c6 | 388 | volume-c905b9b1-10cb-413b-a949-c86ff3c1c4c6 |
385 | 389 | ||
386 | $ On Compute node: to allow nova-compute to save glance image into | 390 | # On Compute node: to allow nova-compute to save glance image into |
387 | ceph (by default it saves at the local filesystem /etc/nova/instances) | 391 | ceph (by default it saves at the local filesystem /etc/nova/instances) |
388 | 392 | ||
389 | modify /etc/nova/nova.conf to change: | 393 | modify /etc/nova/nova.conf to change: |
@@ -523,7 +527,7 @@ Hello World | |||
523 | Hello World | 527 | Hello World |
524 | 528 | ||
525 | $ /etc/init.d/ceph start osd.0 | 529 | $ /etc/init.d/ceph start osd.0 |
526 | $ Wait until "ceph -s" shows "health HEALTH_OK" | 530 | # Wait until "ceph -s" shows "health HEALTH_OK" |
527 | $ /etc/init.d/ceph stop osd.1 | 531 | $ /etc/init.d/ceph stop osd.1 |
528 | $ On VM, run: "sudo mount /dev/vdb ceph && echo "Hello World" > ceph/test_2.log" | 532 | $ On VM, run: "sudo mount /dev/vdb ceph && echo "Hello World" > ceph/test_2.log" |
529 | $ On VM, run: "cat ceph/test*.log && sudo umount ceph" | 533 | $ On VM, run: "cat ceph/test*.log && sudo umount ceph" |
@@ -540,7 +544,7 @@ Hello World | |||
540 | 544 | ||
541 | $ /etc/init.d/ceph start osd.0 | 545 | $ /etc/init.d/ceph start osd.0 |
542 | $ /etc/init.d/ceph start osd.1 | 546 | $ /etc/init.d/ceph start osd.1 |
543 | $ On VM, the previous mount should pass | 547 | # On VM, the previous mount should pass |
544 | $ On VM, run: "sudo mount /dev/vdb ceph && echo "Hello World" > ceph/test_3.log" | 548 | $ On VM, run: "sudo mount /dev/vdb ceph && echo "Hello World" > ceph/test_3.log" |
545 | $ On VM, run: "cat ceph/test*.log && sudo umount ceph" | 549 | $ On VM, run: "cat ceph/test*.log && sudo umount ceph" |
546 | 550 | ||