Commit Graph

32 Commits

Author SHA1 Message Date
Kefu Chai 30b5b4627c Merge pull request #16494 from asomers/bin_bash
misc: Fix bash path in shebangs

Reviewed-by: Willem Jan Withagen <wjw@digiware.nl>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-27 10:14:14 +08:00
Alan Somers 3aae5ca6fd scripts: fix bash path in shebangs
/bin/bash is a Linuxism.  Other operating systems install bash to
different paths.  Use /usr/bin/env in shebangs to find bash.

Signed-off-by: Alan Somers <asomers@gmail.com>
2017-07-27 13:24:26 -06:00
Alan Somers 821511bd32 openstack: Fix shebangs on openstack scripts
Many of the files in qa/qa_scripts/openstack had incorrect shebang
lines: the bang was missing.  This means that those scripts would
execute using the calling user's login shell, which is doubtless not
what the author intended.  Now they'll always use bash.

Two scripts do not need shebangs, because they contain only library
functions and don't execute anything.  I removed their shebangs.

Signed-off-by: Alan Somers <asomers@gmail.com>
2017-07-24 17:33:02 -06:00
Nathan Cutler 8c8af16a5d tests: drop obsolete Perl scripts
None of these appear to be used by any tests currently in "master".

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-03-13 23:19:43 +01:00
Nathan Cutler 4f4f35e37c tests: drop rbd_cli_tests.pl and RbdLib.pm
The rbd_cli_tests Perl script is not maintained and currently serves no
purpose. The RbdLib.pm module was only used by rbd_functional_tests.pl (which
was dropped by 276ffb4631) and rbd_cli_tests.pl
so drop it as well.

Fixes: http://tracker.ceph.com/issues/14825
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-08 16:17:08 +01:00
Nathan Cutler 276ffb4631 tests: drop unused rbd_functional_tests.pl script
This script is no longer used.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2017-01-07 23:33:12 +01:00
Sage Weil 4af4ef09fe Merge pull request #10402 from ceph/wip-openstack-wusui
qa: Add ceph-ansible installer.
2016-11-23 16:42:34 -05:00
Jeff Layton c078dc0daa dpkg: libcephfs1 -> libcephfs2 package rename
Signed-off-by: Jeff Layton <jlayton@redhat.com>
2016-10-25 13:06:29 -04:00
Warren Usui e061d8d148 Add checks to make sure that the subscription manager is not already enabled.
Add ability to set monitor_interface and public_network values (as opposed
to using hard coded values)

This change should be squashed with the previous change before merging this
pull request

Signed-off-by: Warren Usui <wusui@magna002.ceph.redhat.com>
2016-07-29 12:53:20 -04:00
Nathan Cutler 89c72828fc qa/qa_scripts/cephscrub.sh: do not try to remove ceph-fs-common package
The ceph-fs-common package is being dropped.

Signed-off-by: Nathan Cutler <ncutler@suse.com>
2016-07-26 19:12:22 +02:00
Warren Usui 69c12e8d3b Add ceph-ansible installer.
Also fix iso rhel handling in openstack script
Updated openstack README.

Fixes: http://tracker.ceph.com/issues/16770
Signed-off-by: Warren Usui <wusui@redhat.com>
2016-07-21 17:03:13 -04:00
Warren Usui 33bdb5be30 Add date to README 2016-05-18 11:27:10 -07:00
Warren Usui b09d85d7ab OpenStack setup scripts.
A set of scripts used to bring up an OpenStack instance on one site,
connect a ceph cluster, add pools to store OpenStack glance images,
cinder volumes, nova vms, and cinder backups on rbd, and bring up a nova
compute node.
2016-05-16 14:33:39 -07:00
Sage Weil bbe84578bf remove rest-bench
This is a weak tool; users should look to cosbench or others instead.

Signed-off-by: Sage Weil <sage@redhat.com>
2015-07-30 13:21:36 -04:00
Boris Ranto a79e9056cb qa: fix python-ceph reference
Signed-off-by: Boris Ranto <branto@redhat.com>
2015-02-24 18:30:18 -08:00
Josh Durgin e91fb91065 librbd: better error when unprotect fails on unprotected snap
This will show up on the command line and logs, making it more
clear than EINVAL.

Fixes #6851 and #4045
Signed-off-by: Josh Durgin <josh.durgin@inktank.com>
2013-12-31 16:26:07 -08:00
tamil 7c8d3d053a added new cli tests
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-02-11 17:29:03 -08:00
tamil 5896b971a3 modified the script to run on both argonaut and bobtail.
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2013-02-07 11:47:06 -08:00
tamil 0b55fbdbea Script to install and configure radosgw.
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-29 13:46:43 -08:00
tamil d72c2c8671 Removing ceph dirs while scrubbing ceph off the system
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-26 12:48:11 -08:00
tamil 0cfe6320a8 cleaned up scripts
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-09 17:55:32 -08:00
tamil c45a415ced script clean up
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-08 16:06:04 -08:00
tamil 9ea95a0e0b Added a function get_cmd_op
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-08 15:53:28 -08:00
tamil cca606f423 Update log file when rgw is not running
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-07 11:49:54 -08:00
tamil c51e1f9b64 test script for s3 tests
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-11-02 11:32:43 -07:00
tamil 1921a06fdf Script that generates perl wrapper for teuthology tests
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-10-23 13:11:53 -07:00
tamil 0571cb798d S3 test scripts
Signed-off-by: tamil <tamil.muthamizhan@inktank.com
2012-10-18 14:52:11 -07:00
tamil 43e8f76070 Cleaned up
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-10-18 14:13:15 -07:00
tamil 0442607745 clean up of rbd functionality script
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-10-09 16:42:57 -07:00
tamil 73462f0589 cleaned up the perl module
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-10-09 16:40:55 -07:00
tamil bd471696cb cleaned up the script
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-10-09 16:16:16 -07:00
tamil cf6899d859 Adding RBD CLI test automation script, RbdLib and cephscrub.sh
Signed-off-by: tamil <tamil.muthamizhan@inktank.com>
2012-09-13 13:54:23 -07:00