Sage Weil
aa485c9b41
mon/PGMap: fix spacing around pretty-printed SI units
...
"1k foo" not "1kfoo"
Signed-off-by: Sage Weil <sage@redhat.com>
2018-08-08 10:55:18 -05:00
Jason Dillaman
1e45d405da
qa/workunits/rbd: updates to the clone v2 CLI tests
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-07-24 08:52:33 -04:00
Mykola Golub
08ea7d62ba
librbd: validate data pool for self-managed snapshot support
...
Fixes: https://tracker.ceph.com/issues/24675
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-07-15 09:05:52 +03:00
Sage Weil
737b9e3ef8
Merge PR #22940 into master
...
* refs/pull/22940/head:
mon/OSDMonitor: add 'osd repeer <pgid>' command
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-07-10 08:42:27 -05:00
Sage Weil
95b2281f9d
mon/OSDMonitor: add 'osd repeer <pgid>' command
...
Selecting force peering on a single PG. In reality this probably induces
*2* interval changes.
Note that in the case of a single OSD cluster we can't actually force a
repeer on a single PG because the pg_temp code is pretty robust about
filtering out redundant or meaningless changes, so we can't pg_temp our
way into a new interval if there are no other OSDs to switch to and the
code also prevents an empty pg_temp.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-09 16:33:11 -05:00
Sage Weil
975528f632
Merge remote-tracking branch 'private/wip-mon-snap-caps'
2018-07-09 08:29:32 -05:00
Patrick Donnelly
6c7e09568d
qa: fix ffsb cd argument
...
Avoid potential failures relating to HEAD^.
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-03 23:08:15 -07:00
Patrick Donnelly
fe62ea36d4
qa: fix cd argument during iogen unpack
...
Fixes: http://tracker.ceph.com/issues/24680
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-07-03 23:07:55 -07:00
Patrick Donnelly
0e50b1217d
Merge PR #22718 into master
...
* refs/pull/22718/head:
qa/workunits/suites/ffsb.sh: fix strncpy bug in ffsb
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-06-29 10:23:38 -07:00
Patrick Donnelly
f28cc3a082
Merge PR #22725 into master
...
* refs/pull/22725/head:
qa/workunits/suites/blogbench.sh: use correct dir name
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-06-27 11:13:37 -07:00
Neha Ojha
24513c39f1
qa/workunits/suites/blogbench.sh: use correct dir name
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-06-26 18:30:38 -04:00
Jason Dillaman
97e3f0aa01
qa/workunits/rados: test pool op permissions
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-26 11:41:19 -04:00
Jason Dillaman
b12dd0bf41
qa/workunits/rbd: test self-managed snapshot create/remove permissions
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-26 11:41:19 -04:00
Yan, Zheng
843cddaaf8
qa/workunits/suites/ffsb.sh: fix strncpy bug in ffsb
...
Signed-off-by: Yan, Zheng <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/24579
2018-06-26 20:29:21 +08:00
Jason Dillaman
3e8624f157
rbd: add support for namespaces
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-22 10:43:51 -04:00
Mykola Golub
80a51c9714
Merge pull request #22608 from dillaman/wip-24410
...
librbd: namespace create/remove/list support
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-06-21 11:02:25 +03:00
Ilya Dryomov
69619b6966
qa: krbd_exclusive_option.sh: bump lock_timeout to 60 seconds
...
Avoid sporadic failures in combination with msgr-failures/many.yaml,
where assert_locked() might take over 10 seconds.
Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
2018-06-20 18:22:36 +02:00
Sage Weil
0f38951ea3
Merge PR #22582 into master
...
* refs/pull/22582/head:
mon: destroy-new -> purge-new
mon/OSDMonitor: fix NEW flag adjustment in destroy[-new]
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-06-19 07:37:39 -05:00
Sage Weil
3cd7d5eb22
Merge PR #22343 into master
...
* 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
2018-06-19 07:07:55 -05:00
Jason Dillaman
4437c136b4
rbd: add namespace create/remove/ls actions
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-06-18 18:43:40 -04:00
Sage Weil
761f68dc0d
mon: destroy-new -> purge-new
...
What we actually want is a purge, not a destroy. Destroy leaves the OSD
ID in used and allows it to be recreated. What ceph-volume wants is to
purge all trace of the failed OSD setup.
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-15 14:11:01 -05:00
Alfredo Deza
c954a71660
qa/workunits: remove ceph-detect-init from rbdmapfile test
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:24 -04:00
Alfredo Deza
c0a3ddc6c3
qa/workunits: remove ceph-detect-init from ceph-helpers-root.sh
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:23 -04:00
Alfredo Deza
ce4f679d66
qa/workunits: remove ceph-disk
...
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-06-13 15:16:23 -04:00
Mao Zhongyi
8d5bee2d46
rbd: interlock object-map/fast-diff features together
...
Since we only support Jewel and later releases, which both support
object-map and fast-diff, enabling/disabling object-map should always
enable/disable fast-diff.
Signed-off-by: Mao Zhongyi <maozy.fnst@cn.fujitsu.com>
2018-06-12 09:25:55 +08:00
Sage Weil
dadf4c769b
qa/workunits/mgr/test_localpool.sh: use new config syntax
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-10 13:08:52 -05:00
Kefu Chai
af4793f606
Merge pull request #22429 from liewegas/wip-osd-destroy-new
...
mon: add 'osd destroy-new' command that only destroys NEW osd slots
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-06-09 22:00:47 +08:00
Sage Weil
547d96dc01
mon: add 'osd destroy-new' command that only destroys NEW osd slots
...
ceph-volume may run into a problem and want to clean up, but we do not
want to give it blanket access to the 'osd destroy' command. Instead,
make an 'osd destroy-new' that can only create new OSDs (ones that are
in the process of being created but have never booted yet).
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-05 17:36:06 -05:00
Sage Weil
11044f5f1b
osd,mds,common: make 'config rm ...' idempotent
...
Fixes: http://tracker.ceph.com/issues/24408
Signed-off-by: Sage Weil <sage@redhat.com>
2018-06-04 15:57:40 -05:00
Jason Dillaman
2c451a04f9
qa/workunits/rbd: dump long image directory upon rbd-mirror test failure
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-31 19:17:52 -04:00
Sage Weil
15edf77cc3
Merge PR #21934 into master
...
* refs/pull/21934/head:
qa/standalone/mon/misc: fix features test
qa/workunits: osd require-osd-release mimic -> nautilus
test/cli/monmaptool/feature-set-unset: fix unknown ids
test/cli/monmaptool: fix test
osd/OSDMap: make NAUTILUS feature bit significant
mon: add initial NAUTILUS feature/compatset bits
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-25 17:52:41 -05:00
Sage Weil
b18fdb6e10
qa/workunits: osd require-osd-release mimic -> nautilus
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-25 15:19:28 -05:00
Josh Durgin
1b57439727
Merge pull request #22233 from neha-ojha/wip-fix-2580436
...
qa/workunits/suites/pjd.sh: use correct dir name
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-25 12:02:30 -07:00
Sage Weil
0d45d7e4ed
Merge PR #22230 into master
...
* refs/pull/22230/head:
test/cli-integration/rbd: fixed unit formatting
qa/workunits/rbd: fix unit formatting tests
librbd: clones should not inherit implicit feature bits from parent
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-25 13:27:58 -05:00
Kefu Chai
1692f49b7b
qa: use $TESTDIR for testing mkfs
...
as tmpfs does not support O_DIRECT, but bluefs use this flag for
accessing the underlying file.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-25 21:46:32 +08:00
Neha Ojha
8fbab63436
qa/workunits/suites/pjd.sh: use correct dir name
...
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-05-24 17:03:01 -07:00
Jason Dillaman
d5b7d672b9
qa/workunits/rbd: fix unit formatting tests
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-24 15:54:31 -04:00
Sage Weil
452b521740
crush: fix device_class_clone for unpopulated/empty weight-sets
...
If the bucket is empty or does not have weight-set weights yet, avoid
crashing when populating the parent bucket.
Fixes: http://tracker.ceph.com/issues/23386
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-21 13:39:47 -05:00
Kefu Chai
59f5349c43
Merge pull request #22103 from tchaikov/wip-qa-test_envlibrados_for_rocksdb
...
qa/workunits/rados/test_envlibrados_for_rocksdb: install g++ not g++-4.7
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-05-21 19:36:57 +08:00
Kefu Chai
f8d47223e2
qa/workunits/rados/test_envlibrados_for_rocksdb: use cmake not make
...
* so we just rely on a single build system instead of two of them, the
other place we use cmake is cmake/modules/BuildRockDB.cmake.
* disable gflags when building rocksdb, it's optional and does not help
in the sense of testing librados support.
* disable prompts when installing on debian, to silence warnings like:
debconf: unable to initialize frontend: Dialog
* drop --force-yes option, as it is deprecated, and is replaced with
--allow-downgrades, --allow-remove-essential,
--allow-change-held-packages, but none of them apply in our case.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-21 13:28:23 +08:00
Sage Weil
47dffc53d6
Merge pull request #22063 from liewegas/wip-unit-spaces
...
include/types: space between number and units
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
2018-05-20 21:26:03 -05:00
Kefu Chai
63a35625a3
qa/workunits/rados/test_envlibrados_for_rocksdb: install g++ not g++-4.7
...
since fog now deploys ubuntu 18.04 where g++-4.7 is not available
anymore, so g++ is good enough.
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-20 16:35:27 +08:00
Sage Weil
0b956ef37d
qa/workunits/cephtool/test.sh: update unit formatting
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-18 13:53:04 -05:00
Mykola Golub
42dac1669f
Merge pull request #21915 from dillaman/wip-rbd-mirror-policy
...
rbd-mirror: optionally support active/active replication
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-05-18 10:32:49 +03:00
Sage Weil
c6a747d1d8
qa/workunits/rbd/import_export: update unit formatting
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 11:14:39 -05:00
Sage Weil
ddd3095bc0
qa/workunits/rbd/cli_generic: update unit formatting
...
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 11:14:39 -05:00
Mykola Golub
e387f91955
rbd: deep copy option to copy clone parent data
...
Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-05-16 16:07:48 +03:00
Jason Dillaman
917f8a037c
qa/workunits/rbd: fixed rbd-mirror snapshot comparison loop
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
02e32fe45a
qa/workunits/rbd: fixed missing error code on trap handler
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00
Jason Dillaman
3086f29b64
qa/workunits/rbd: skip rbd-mirror start/stop cases when thrashing daemons
...
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-15 16:35:26 -04:00