| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
instead of checking for the WITH_PYTHON* options, just hardwire to lib.3
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
|
|
|
|
|
| |
This will ignore scripts placed at the qa/standalone level, though
I'm not sure if we should be putting any tests there. It does
allow support scripts present like ceph-helper.sh without modifying
run-standalone.sh to ignore it.
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
| |
Signed-off-by: Sage Weil <sage@redhat.com>
|
|
|
|
|
|
| |
as we could use a generator other than Make, for instance ninja.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
| |
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
|
|
|
|
|
|
|
| |
on all distributions
OpenSUSE does not automatically add the | back when setting
the corepattern. I tested this on openSUSE Leap 15.0.
Fixes: http://tracker.ceph.com/issues/38325
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
|
|
|
|
|
| |
This reverts commit 5ba6286834386e5af7ac43440e8c3fb0f234646c.
Signed-off-by: David Zafman <dzafman@redhat.com>
Conflicts:
qa/run-standalone.sh (reseting core_pattern moved to function)
|
|
|
|
|
|
|
|
|
| |
This caused qa/standalone/misc/test-ceph-helpers.sh to fail
"MGR_MODULE_DEPENDENCY 8 mgr modules have failed dependencies"
Fixes: http://tracker.ceph.com/issues/38262
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
Fixes: http://tracker.ceph.com/issues/35912
Example:
cd build
../qa/run-standalone.sh scrub
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
|
|
|
|
|
|
| |
callers of get_python_path were not passing in a $1 parameter, so
ceph_lib was an empty string resulting in an invalid path to the built
cython modules. assume this is called from the `lib` parent directory.
pass path to the manager modules when starting ceph-mgr.
Signed-off-by: Noah Watkins <nwatkins@redhat.com>
|
|\
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* refs/pull/22343/head:
qa/standalone remove ceph-disk from activate_osd helper
cmake: remove subman.sh tests
test remove ceph-disk directory
debian: remove ceph_detect_init python files from base
qa/standalone remove virtualenv paths for ceph-disk and ceph-detect-init
debian: remove ceph-disk ceph-detect-init python files
rpm: remove ceph-disk ceph-detect-init python files
alpine: remove ceph-disk ceph-detect-init python files
alpine: remove ceph-osd and parttypeuuid udev rules
debian: remove ceph-osd and parttypeuuid udev rules
rpm: remove ceph-osd and parttypeuuid udev rules
ceph-helpers.sh: remove ceph-disk, set up osds directly
CMakeLists.txt: add back CEPH_BUILD_VIRTUALENV
alpine: remove ceph-disk, add ceph-volume in APKBUILD.in
upstart: remove ceph-disk activation call
doc/install add anchor for manual osd deployment in freebsd guide
doc/dev remove ceph-disk from freebsd guide, link to manual reference
doc/dev/config-key remove ceph-disk references
doc/dev remove ceph-disk.rst
doc/dev: change ceph-disk suite examples for ceph-deploy
doc/man_index: remove ceph-disk, ceph-detect-init refs
doc/install: remove ceph-disk from freebsd examples
doc/rados remove ceph-disk from man references
doc/man remove ceph-disk ref from ceph-volume-systemd
doc/man: update reference from ceph-disk to ceph-volume
doc/man: remove ceph-disk, ceph-detect-init from cmake
doc/man/ceph-volume remove doc reference to ceph-disk
doc/man: remove ceph-disk, ceph-detect-init
qa/suites: remove ceph-disk
qa/run-standalone.sh: remove requirement for ceph-detect-init virtualenv
qa/workunits: remove ceph-detect-init from rbdmapfile test
qa/workunits: remove ceph-detect-init from ceph-helpers-root.sh
qa/workunits: remove ceph-disk
build: remove ceph-disk from freebsd script
cmake: remove ceph-disk, ceph-detect-init tox tests
init-ceph: remove ceph-disk
cmake: remove top-level entries for ceph-disk, ceph-detect-init
debian: remove ceph-detect-init references
debian: remove ceph-disk references
src: remove ceph-detect-init tool
rpm: remove ceph-disk, ceph-detect-init from spec file
test: remove subman script
script: remove subman script
udev: remove parttypeuuid rules for ceph-disk
tool remove ceph-disk from ps-ceph.pl
upstart: remove ceph-disk conf file
systemd: remove ceph-disk from CMakeLists
systemd: remove ceph-disk service
udev: remove ceph-disk rules
src: remove ceph-disk tool
|
| |
| |
| |
| | |
Signed-off-by: Alfredo Deza <adeza@redhat.com>
|
|/
|
|
| |
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
|
|
|
| |
If, by default, a user's PATH does not contain /sbin and /usr/sbin, we
may have a hard time finding sysctl to adjust the kernel core pattern.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
|
|
|
|
| |
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
At least verified in openSUSE tumbleweed and ubuntu 16.04,
`sysctl -n kernel.core_pattern` returns a pipe at the start of the
value. We reset core_pattern to its original form once the script is
about to end, but if we do not discard the pipe the new value will
contain an extra pipe (apparently, the pipe is added automatically at
some point, possibly simply on read). We are simply stripping it on
read, as to prevent this behavior.
Additionally, we are also enclosing the reset of kernel.core_pattern in
quotes, so as to make sure patterns that include spaces (e.g., ubuntu's
apport, or tumbleweed's systemd-coredump) are properly reset.
Signed-off-by: Joao Eduardo Luis <joao@suse.de>
|
|
|
|
|
|
|
| |
do not set PYTHONPATH=/usr/lib/python2.7/dist-packages anymore, it will
be overridden later on anyway.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
|
|
|
| |
otherwise ceph-mgr will refuse to start if the required python binding,
a.k.a mgr_module is not available in default sys.path.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
|
|
| |
ceph-disk and ceph-detect-init are build in $TEMPDIR if it's defined.
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
|
|
|
| |
If sudo requires a password it is nice to be able to avoid
sudo sysctl by setting core_pattern ahead of time.
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|\
| |
| |
| |
| | |
tests: run-standalone.sh improve error message
Reviewed-by: Alfredo Deza <adeza@redhat.com>
|
| |
| |
| |
| | |
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|/
|
|
| |
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
|
|
|
| |
Save core dumps when running tests locally
Dump logs to output whenever cores seen
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
|
|
| |
Fix test-ceph-helpers.sh to pass additional arguments on
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
| |
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
| |
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
| |
Signed-off-by: David Zafman <dzafman@redhat.com>
|
|
|
|
|
|
| |
also re-indent to be consistent with other part of this script
Signed-off-by: Kefu Chai <kchai@redhat.com>
|
|
|
|
| |
Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
|
|
Nothing fancy, but documents how these are run.
Signed-off-by: Sage Weil <sage@redhat.com>
|