]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoceph-volume tests.functional install new ceph-ansible dependencies 22535/head
Alfredo Deza [Mon, 21 May 2018 11:11:28 +0000 (07:11 -0400)]
ceph-volume tests.functional install new ceph-ansible dependencies

Make note that ceph-ansible's requirements.txt can't be used just yet

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 22310f43165e474e8e12732be57217b26e2b5424)

7 years agoMerge pull request #22529 from ceph/backport-mimic-22062
Alfredo Deza [Tue, 12 Jun 2018 14:44:58 +0000 (10:44 -0400)]
Merge pull request #22529 from ceph/backport-mimic-22062

mimic: ceph-volume dmcrypt and activate --all documentation updates

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/man/ceph-volume explain encryption and activate all with examples 22529/head
Alfredo Deza [Thu, 17 May 2018 13:40:15 +0000 (09:40 -0400)]
doc/man/ceph-volume explain encryption and activate all with examples

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0a4cebd1dda876cfc19fbfb97c668d4dae05097c)

7 years agodoc/ceph-volume activate is able to use --all for existing OSDs
Alfredo Deza [Thu, 17 May 2018 13:05:52 +0000 (09:05 -0400)]
doc/ceph-volume activate is able to use --all for existing OSDs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit d8b9a7c0745d6a901988a08a8218d9da585e5aa8)

7 years agodoc/ceph-volume encryption is enabled with the --dmcrypt flag
Alfredo Deza [Thu, 17 May 2018 12:46:03 +0000 (08:46 -0400)]
doc/ceph-volume encryption is enabled with the --dmcrypt flag

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 72cef7acf7a9a965960ec3c7c1b99ce8e7fa3922)

7 years agodoc/ceph-volume prepapre accepts a --dmcrypt flag
Alfredo Deza [Thu, 17 May 2018 12:45:26 +0000 (08:45 -0400)]
doc/ceph-volume prepapre accepts a --dmcrypt flag

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e97d0717d323a08a46aa997c63d2416da7e4941f)

7 years agodoc/ceph-volume activate does not need a dmcrypt flag
Alfredo Deza [Thu, 17 May 2018 12:44:41 +0000 (08:44 -0400)]
doc/ceph-volume activate does not need a dmcrypt flag

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit ac0c925c576868107e585ba458fbff956467bccb)

7 years agoMerge pull request #22508 from ceph/backport-mimic-22426
Alfredo Deza [Tue, 12 Jun 2018 13:25:09 +0000 (09:25 -0400)]
Merge pull request #22508 from ceph/backport-mimic-22426

mimic: ceph-volume expand on the LVM API to create multiple LVs at different sizes

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agoMerge pull request #22514 from ceph/backport-mimic-21890
Alfredo Deza [Tue, 12 Jun 2018 10:46:20 +0000 (06:46 -0400)]
Merge pull request #22514 from ceph/backport-mimic-21890

mimic: ceph-volume describe better the options for migrating away from ceph-disk

Reviewed-by: Alfredo Deza <adeza@redhat.com>
7 years agodoc/rados add an anchor to reference replacing osds 22514/head
Alfredo Deza [Tue, 8 May 2018 17:48:20 +0000 (13:48 -0400)]
doc/rados add an anchor to reference replacing osds

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 0cc7bdc67ae3f2b1aeab8cc6046b6d172915e548)

7 years agodoc/ceph-volume describe the options for migrating away from ceph-disk
Alfredo Deza [Tue, 8 May 2018 17:47:48 +0000 (13:47 -0400)]
doc/ceph-volume describe the options for migrating away from ceph-disk

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 537ff9cc3b64c59f9dbb81ac3cf180460ecaa3f3)

7 years agodoc/ceph-volume high-level description of simple activate at index.rst
Alfredo Deza [Tue, 8 May 2018 17:47:11 +0000 (13:47 -0400)]
doc/ceph-volume high-level description of simple activate at index.rst

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit dd6f368158db7f102b485179166ebe73d6ea622f)

7 years agoceph-volume api.lvm fallback to 1 part if none are define when creating lvs 22508/head
Alfredo Deza [Mon, 4 Jun 2018 18:08:44 +0000 (14:08 -0400)]
ceph-volume api.lvm fallback to 1 part if none are define when creating lvs

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 552d987233545f6f33b9220ea4ea98753f96962f)

7 years agoceph-volume tests verify create_lvs behavior
Alfredo Deza [Mon, 4 Jun 2018 18:04:52 +0000 (14:04 -0400)]
ceph-volume tests verify create_lvs behavior

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 8c487124d795778dbbf461ffb95841b1c8025e08)

7 years agoceph-volume api.lvm default to null tags on lvs created
Alfredo Deza [Wed, 23 May 2018 13:23:40 +0000 (09:23 -0400)]
ceph-volume api.lvm default to null tags on lvs created

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 490e73eff1b5b7cc98db5d3df292759e1773c0ab)

7 years agoceph-deploy api.lvm allow multiple lv creation
Alfredo Deza [Tue, 22 May 2018 20:06:01 +0000 (16:06 -0400)]
ceph-deploy api.lvm allow multiple lv creation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e073c56d80d8f37e0f96093f8dd4a95aef81ea02)

7 years agoceph-volume api.lvm add a sizing method for VGs to calculate LV creation
Alfredo Deza [Tue, 22 May 2018 16:58:36 +0000 (12:58 -0400)]
ceph-volume api.lvm add a sizing method for VGs to calculate LV creation

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit e61b9e5c771e167990caad3d85c0bfd27682d643)

7 years agoceph-volume exceptions create an error for size allocations
Alfredo Deza [Tue, 22 May 2018 16:57:19 +0000 (12:57 -0400)]
ceph-volume exceptions create an error for size allocations

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit b035bb0f54d4a7777ce242798bdeb18ad0dc28e0)

7 years agoceph-volume tests verify vg sizing behavior
Alfredo Deza [Tue, 22 May 2018 12:29:16 +0000 (08:29 -0400)]
ceph-volume tests verify vg sizing behavior

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 08832f21e52f28d65a16aadae54a10c8fd16259f)

7 years agoceph-volume api.lvm force vgs to display units in 'g'
Alfredo Deza [Mon, 21 May 2018 17:35:57 +0000 (13:35 -0400)]
ceph-volume api.lvm force vgs to display units in 'g'

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit da9f90fcb40e1e82c322f6020253b63da69238da)

7 years agoMerge pull request #22425 from alfredodeza/mimic-rm24417
Andrew Schoen [Fri, 8 Jun 2018 18:42:48 +0000 (18:42 +0000)]
Merge pull request #22425 from alfredodeza/mimic-rm24417

mimic: ceph-volume tests do not include admin keyring in OSD nodes

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #22449 from wido/mimic-dashboard-port
Lenz Grimmer [Fri, 8 Jun 2018 12:57:40 +0000 (14:57 +0200)]
Merge pull request #22449 from wido/mimic-dashboard-port

mimic: mgr/dashboard: Listen on port 8443 by default and not 8080

Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agomgr/dashboard: Listen on port 8443 by default and not 8080 22449/head
Wido den Hollander [Tue, 5 Jun 2018 07:32:58 +0000 (09:32 +0200)]
mgr/dashboard: Listen on port 8443 by default and not 8080

Port 8080 is a common alternative HTTP port used for web traffic.

The dashboard however uses SSL (which can not be turned off) and for
that purpose we should use 8443.

Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit b7cc66e809e9f15b211adef5bac369c32a4bacaa)
Signed-off-by: Wido den Hollander <wido@42on.com>
7 years agoMerge pull request #22398 from alfredodeza/mimic-rm24416
Andrew Schoen [Tue, 5 Jun 2018 19:01:34 +0000 (19:01 +0000)]
Merge pull request #22398 from alfredodeza/mimic-rm24416

mimic ceph-volume lvm.activate Do not search for a MON configuration

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
7 years agoMerge pull request #22374 from dzafman/wip-scrub-omap-mimic
David Zafman [Tue, 5 Jun 2018 18:10:58 +0000 (11:10 -0700)]
Merge pull request #22374 from dzafman/wip-scrub-omap-mimic

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoceph-volume tests do not include admin keyring in OSD nodes 22425/head
Alfredo Deza [Mon, 4 Jun 2018 20:01:15 +0000 (16:01 -0400)]
ceph-volume tests do not include admin keyring in OSD nodes

Signed-off-by: Alfredo Deza <adeza@redhat.com>
(cherry picked from commit 08760632743040520588e1bc03adc17746ff2eca)

7 years agoceph-volume lvm.activate Do not search for a MON configuration 22398/head
Wido den Hollander [Mon, 4 Jun 2018 11:21:12 +0000 (13:21 +0200)]
ceph-volume lvm.activate Do not search for a MON configuration

This system might not have one nor can we be sure that we have
a client.admin keyring on the system.

Just prime the directory and have the OSD then use it's own cephx
key to communicate with the MONs.

Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit 722d79d16a0da042bbc189709efd3eeff1366558)

7 years agoMerge pull request #22372 from tchaikov/mimic-schedule-links
Kefu Chai [Mon, 4 Jun 2018 13:54:06 +0000 (21:54 +0800)]
Merge pull request #22372 from tchaikov/mimic-schedule-links

mimic:  doc: fix the links in releases/schedule.rst

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22274 from votdev/fix_table_pagination_style_mimic
Lenz Grimmer [Mon, 4 Jun 2018 09:53:31 +0000 (11:53 +0200)]
Merge pull request #22274 from votdev/fix_table_pagination_style_mimic

mimic: mgr/dashboard: Fix some datatable CSS issues

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
7 years agoRevert "qa/standalone/scrub/osd-scrub-repair.sh: drop omap_digest flag" 22374/head
David Zafman [Wed, 30 May 2018 23:22:40 +0000 (16:22 -0700)]
Revert "qa/standalone/scrub/osd-scrub-repair.sh: drop omap_digest flag"

This reverts commit 886606bfd76b3f327b9376c4cc3875ae4991365a.

Signed-off-by: David Zafman <dzafman@redhat.com>
Conflicts:
        qa/standalone/scrub/osd-scrub-repair.sh (manually made equivalent changes)

(cherry picked from commit 843598b69ba0c6dd3532b4cf3e75475189a3f45d)

7 years agoosd: Handle omap and data digests independently
David Zafman [Thu, 31 May 2018 00:18:03 +0000 (17:18 -0700)]
osd: Handle omap and data digests independently

Caused by: be078c8b7b131764caa28bc44452b8c5c2339623
The original attempt above to fix the omap_digest handling when
data_digest isn't present had 2 errors.  First, it checked
is_data_digest() and is_omap_digest() instead of digest_present and
omap_digest_present which indicate the source digest is available.
Second, MAYBE could only be set if both digests are available.

Fixes: http://tracker.ceph.com/issues/24366
Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 01f9669928abd571e14421a51a749d44fa041337)

7 years agoMerge pull request #22299 from tchaikov/mimic-pr-22286
Sage Weil [Fri, 1 Jun 2018 14:59:19 +0000 (09:59 -0500)]
Merge pull request #22299 from tchaikov/mimic-pr-22286

mimic: cmake: enable RTTI for both debug and release RocksDB builds

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
7 years agodoc: fix the links in releases/schedule.rst 22372/head
Kefu Chai [Fri, 1 Jun 2018 07:53:32 +0000 (15:53 +0800)]
doc: fix the links in releases/schedule.rst

they were broken in e37e49b2

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 27aac7c36cbf9d28ceb81d037de8d9a13ca46564)

7 years agodoc: fix some redirected links reported by "build-doc linkcheck"
Kefu Chai [Fri, 1 Jun 2018 08:05:16 +0000 (16:05 +0800)]
doc: fix some redirected links reported by "build-doc linkcheck"

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 776329abe17987bcc021dac2b444fc7ab24c1b28)

7 years agocleanup: Remove debug option osd_debug_scrub_chance_rewrite_digest
David Zafman [Wed, 30 May 2018 18:47:04 +0000 (11:47 -0700)]
cleanup: Remove debug option osd_debug_scrub_chance_rewrite_digest

This option seems pointless and there are no test cases that use it.

Signed-off-by: David Zafman <dzafman@redhat.com>
(cherry picked from commit 6adeaed32f70923d012bf9410bfa8651694be3cf)

7 years ago13.2.0 v13.2.0
Jenkins Build Slave User [Thu, 31 May 2018 13:13:43 +0000 (13:13 +0000)]
13.2.0

7 years agoMerge pull request #22309 from ukernel/mimic-24340
Sage Weil [Thu, 31 May 2018 11:44:51 +0000 (06:44 -0500)]
Merge pull request #22309 from ukernel/mimic-24340

mimic: mds: fix some memory leak

7 years agoMerge pull request #22322 from ukernel/mimic-24345
Sage Weil [Thu, 31 May 2018 11:44:41 +0000 (06:44 -0500)]
Merge pull request #22322 from ukernel/mimic-24345

mimic: mds: properly journal root inode's snaprealm

7 years agoMerge pull request #22326 from jan--f/cmake-fix-ceph-test-build-mimic
Abhishek L [Wed, 30 May 2018 15:14:34 +0000 (17:14 +0200)]
Merge pull request #22326 from jan--f/cmake-fix-ceph-test-build-mimic

mimic: cmake: fix cython target in test/CMakeFile.txt

Reviewed-By: Kefu Chai <kchai@redhat.com>
7 years agocmake: fix cython target in test/CMakeFile.txt 22326/head
Jan Fajerski [Tue, 29 May 2018 12:29:41 +0000 (14:29 +0200)]
cmake: fix cython target in test/CMakeFile.txt

The cython target is called cython_modules in python2 environments and
cython3_modules in python3 environments. Reflect that naming in
src/test/CMakeFile.txt. Otherwise the test target can not build in
python3 environments.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 743b9108c0f217ef6eeaadf645a538991e7d5eff)

Conflicts:
  src/test/CMakeLists.txt - Resovled by changing line 548 to
  "cython${PY_BINDING_INFIX}_modules)" and picking no other changes.

7 years agoMerge pull request #22314 from jan--f/mimic-move-crypto_plugins
Abhishek L [Wed, 30 May 2018 13:42:19 +0000 (15:42 +0200)]
Merge pull request #22314 from jan--f/mimic-move-crypto_plugins

mimic: cmake: move crypto_plugins target

Reviewed-By: Kefu Chai <kchai@redhat.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agomds: properly journal root inode's snaprealm 22322/head
Yan, Zheng [Wed, 30 May 2018 11:26:09 +0000 (19:26 +0800)]
mds: properly journal root inode's snaprealm

Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
Fixes: http://tracker.ceph.com/issues/24343
(cherry picked from commit 4f5029bdcc598731603918f4a8378b6e00375ca6)

7 years agocmake: move crypto_plugins target 22314/head
Casey Bodley [Tue, 8 May 2018 18:22:42 +0000 (14:22 -0400)]
cmake: move crypto_plugins target

the crypto_plugins target was defined in
src/crypto/isa-l/CMakeLists.txt, but this is only included
if(HAVE_INTEL AND HAVE_BETTER_YASM_ELF64 AND (NOT APPLE))

moving it out of the if() block allows the os target to depend on it
even if no plugins are built

Signed-off-by: Casey Bodley <cbodley@redhat.com>
(cherry picked from commit 61516bcfac4dff53d0e24f6c4623127465c46d9d)

7 years agomds: fix leak of MDSCacheObject::waiting 22309/head
Yan, Zheng [Wed, 30 May 2018 03:23:25 +0000 (11:23 +0800)]
mds: fix leak of MDSCacheObject::waiting

Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit 8f3c8bf6eafd3545c3c786b8520e8ff2c40af2a0)

7 years agomds: fix some memory leak
Yan, Zheng [Fri, 25 May 2018 08:11:30 +0000 (16:11 +0800)]
mds: fix some memory leak

Fixes: http://tracker.ceph.com/issues/24289
Signed-off-by: "Yan, Zheng" <zyan@redhat.com>
(cherry picked from commit e7c149b93dc384ee4a2c8250c502548d12535123)

7 years agocmake: enable RTTI for both debug and release RocksDB builds 22299/head
Igor Fedotov [Mon, 28 May 2018 20:00:42 +0000 (23:00 +0300)]
cmake: enable RTTI for both debug and release RocksDB builds

Overwise ceph build in Release mode is failing.

Signed-off-by: Igor Fedotov <ifedotov@suse.com>
(cherry picked from commit 83841bf3de4f664df1c5b1b7997861acf2ede767)

7 years agoMerge pull request #22288 from tchaikov/mimic-24321
Kefu Chai [Tue, 29 May 2018 12:45:19 +0000 (20:45 +0800)]
Merge pull request #22288 from tchaikov/mimic-24321

mimic: qa: wait longer for osd to flush pg stats

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22262 from a2batic/link-mimic
Lenz Grimmer [Tue, 29 May 2018 10:04:17 +0000 (12:04 +0200)]
Merge pull request #22262 from a2batic/link-mimic

mimic: mgr/dashboard: Fixes documentation link- to open in new tab

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
7 years agoMerge pull request #22264 from liewegas/wip-mimic
Abhishek L [Tue, 29 May 2018 08:49:23 +0000 (10:49 +0200)]
Merge pull request #22264 from liewegas/wip-mimic

ceph_release: s/rc/stable/

Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
7 years agoMerge pull request #22277 from tspmelo/fix-lint-error
Kefu Chai [Tue, 29 May 2018 05:10:30 +0000 (13:10 +0800)]
Merge pull request #22277 from tspmelo/fix-lint-error

mgr/dashboard: fix linting problem

Reviewed-by: Kanika Murarka <murarkakanika@gmail.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoqa: wait longer for osd to flush pg stats 22288/head
Kefu Chai [Mon, 28 May 2018 11:37:44 +0000 (19:37 +0800)]
qa: wait longer for osd to flush pg stats

pg sends pg-stats to mgr every 5 seconds, so we cannot check for the
number of pgs right after creating the pool, at that moment, the number
of pgs could be 0, that's why manger.wait_for_clean() returns right
away, and leaves us with 0 pgs: the pgs serving the pool are still being
created. that's why `manager.get_num_active_clean()` returns `0`
sometimes. so, we should force osd to flush their stats to mgr, and wait
until the pg stats converages.

Fixes: http://tracker.ceph.com/issues/24321
Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 380747268a1e4a3e8db618d66006c104091fafd5)

7 years agoMerge pull request #22184 from tchaikov/mimic-23464
Kefu Chai [Mon, 28 May 2018 14:53:01 +0000 (22:53 +0800)]
Merge pull request #22184 from tchaikov/mimic-23464

mimic: common/crc/aarch64: Added cpu feature pmull and make aarch64 specific…

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: fix linting problem 22277/head
Tiago Melo [Mon, 28 May 2018 12:57:35 +0000 (13:57 +0100)]
mgr/dashboard: fix linting problem

Problems were introduced in 50fbc04bf45b8cbf4db57c492652615625cd72c6,
when cherry picking some changes from master.

Signed-off-by: Tiago Melo <tmelo@suse.com>
7 years agomgr/dashboard: Fix some datatable CSS issues 22274/head
Volker Theile [Mon, 28 May 2018 10:51:11 +0000 (12:51 +0200)]
mgr/dashboard: Fix some datatable CSS issues

Signed-off-by: Volker Theile <vtheile@suse.com>
(cherry picked from commit 5e84bc5fee6a44b5a18d1f4f2e917af0deeac12c)

7 years agomgr/dashboard: Fixes documentation link- to open in new tab 22262/head
Kanika Murarka [Sun, 27 May 2018 18:17:20 +0000 (18:17 +0000)]
mgr/dashboard: Fixes documentation link- to open in new tab
Adds 'target' attribute to open link in new tab.
Fixes : https://tracker.ceph.com/issues/24288

Signed-off-by: Kanika Murarka <murarkakanika@gmail.com>
(cherry picked from commit 3677a11fff46bc63cc996e3cb0025b373f74b45f )

7 years agoceph_release: s/rc/stable/ 22264/head
Sage Weil [Sun, 27 May 2018 20:08:35 +0000 (15:08 -0500)]
ceph_release: s/rc/stable/

Signed-off-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22260 from liewegas/wip-rbd-cli-tests-mimic
Sage Weil [Sun, 27 May 2018 20:03:19 +0000 (15:03 -0500)]
Merge pull request #22260 from liewegas/wip-rbd-cli-tests-mimic

mimic: test: fix CLI unit formatting tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agotest/cli-integration/rbd: fixed unit formatting 22260/head
Jason Dillaman [Thu, 24 May 2018 19:54:39 +0000 (15:54 -0400)]
test/cli-integration/rbd: fixed unit formatting

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4aea23cf1b488c0fe57b3cbe910ddcc4cb5360eb)

7 years agoqa/workunits/rbd: fix unit formatting tests
Jason Dillaman [Thu, 24 May 2018 19:53:07 +0000 (15:53 -0400)]
qa/workunits/rbd: fix unit formatting tests

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit d5b7d672b949767dc65359f26f5af3cad887e444)

7 years agolibrbd: clones should not inherit implicit feature bits from parent
Jason Dillaman [Thu, 24 May 2018 19:25:45 +0000 (15:25 -0400)]
librbd: clones should not inherit implicit feature bits from parent

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit bb357062853cc225fd7489eba9a70aa7ec7226e3)

7 years agoMerge PR #22225 into mimic
Sage Weil [Sat, 26 May 2018 13:38:13 +0000 (08:38 -0500)]
Merge PR #22225 into mimic

* refs/pull/22225/head:
msg/async/Event: clear time_events on shutdown

7 years agoMerge PR #22226 into mimic
Sage Weil [Sat, 26 May 2018 13:38:09 +0000 (08:38 -0500)]
Merge PR #22226 into mimic

* refs/pull/22226/head:
tests/crypto: print compile warning when NSS is unavailable.
tests/crypto: add tests for the no-bl encrypt/decrypt, part 2.
tests/crypto: add tests for the no-bl encrypt/decrypt.
auth: use OpenSSL for CryptoAESKeyHandler's no-bl encrypt/decrypt.
auth: extend CryptoKey with no-bl encrypt/decrypt.
auth: CryptoAESKeyHandler switches from NSS to OpenSSL.
auth: the outbuf of AES should be multiple of block size
auth: cache the PK11Context for CryptoAESKeyHandler

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
7 years agoMerge PR #22227 into mimic
Sage Weil [Sat, 26 May 2018 13:38:02 +0000 (08:38 -0500)]
Merge PR #22227 into mimic

* refs/pull/22227/head:
mgr/telemetry: Check if boolean is False or not present

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge PR #22242 into mimic
Sage Weil [Sat, 26 May 2018 13:37:57 +0000 (08:37 -0500)]
Merge PR #22242 into mimic

* refs/pull/22242/head:
doc: rgw: fix tagging support status

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge PR #22245 into mimic
Sage Weil [Sat, 26 May 2018 13:37:52 +0000 (08:37 -0500)]
Merge PR #22245 into mimic

* refs/pull/22245/head:
mgr/dashboard: Add unit tests for all frontend pipes

7 years agoMerge PR #22247 into mimic
Sage Weil [Sat, 26 May 2018 13:37:48 +0000 (08:37 -0500)]
Merge PR #22247 into mimic

* refs/pull/22247/head:
qa: use $TESTDIR for testing mkfs

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge PR #22254 into mimic
Sage Weil [Sat, 26 May 2018 13:37:43 +0000 (08:37 -0500)]
Merge PR #22254 into mimic

* refs/pull/22254/head:
osd/ReplicatedBackend: fix use-after-free on InProgressOp

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoosd/ReplicatedBackend: fix use-after-free on InProgressOp 22254/head
Sage Weil [Mon, 21 May 2018 21:39:47 +0000 (16:39 -0500)]
osd/ReplicatedBackend: fix use-after-free on InProgressOp

- op in flight to disk...
- on_change() clears the InProgressOp
- C_OSD_OnOpCommit calls op_commit() w/ bare pointer
- crash!

Fix by refcounting InProgressOp and clearing on_commit when it is
canceled.

Fixes: http://tracker.ceph.com/issues/24219
Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit e84c2d097440aea5980fba2a2ef065769dbf1271)

7 years agoqa: use $TESTDIR for testing mkfs 22247/head
Kefu Chai [Fri, 25 May 2018 12:06:45 +0000 (20:06 +0800)]
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>
(cherry picked from commit 1692f49b7b51ca599bf2e180d7a69778a5a5ba68)

7 years agoMerge PR #22235 into wip-sage-testing-20180525.132253
Sage Weil [Fri, 25 May 2018 13:23:04 +0000 (08:23 -0500)]
Merge PR #22235 into wip-sage-testing-20180525.132253

* refs/pull/22235/head:
mgr/iostat: enable module by default on new and vstart clusters
doc: add documentation for iostat

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
7 years agocommon/arch/arm: Improve CPU feature check. 22184/head
Adam Kupczyk [Thu, 24 May 2018 11:25:02 +0000 (13:25 +0200)]
common/arch/arm: Improve CPU feature check.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry picked from commit d998580c7dbeff5ced5e9eb1e11d160a2a8d7852)

7 years agocommon/crc/aarch64: Added cpu feature pmull and make aarch64 specific crc function...
Adam Kupczyk [Wed, 23 May 2018 13:06:19 +0000 (15:06 +0200)]
common/crc/aarch64: Added cpu feature pmull and make aarch64 specific crc function to depend on it.

Signed-off-by: Adam Kupczyk <akupczyk@redhat.com>
(cherry picked from commit 90b1c1f1c4a57a59f598cd93dc9ce8a1532db238)

7 years agoMerge pull request #22169 from tchaikov/mimic-23386
Kefu Chai [Fri, 25 May 2018 12:26:33 +0000 (20:26 +0800)]
Merge pull request #22169 from tchaikov/mimic-23386

mimic: crush: fix device_class_clone for unpopulated/empty weight-sets

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #22199 from dzafman/wip-minor-mimic
Kefu Chai [Fri, 25 May 2018 12:25:49 +0000 (20:25 +0800)]
Merge pull request #22199 from dzafman/wip-minor-mimic

mimic: test: wait_for_pg_stats() should do another check after last 13 secon…

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #22170 from tchaikov/mimic-24211
Kefu Chai [Fri, 25 May 2018 12:12:12 +0000 (20:12 +0800)]
Merge pull request #22170 from tchaikov/mimic-24211

mimic: os/bluestore: simplify and fix SharedBlob::put()

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Adam Kupczyk <akupczyk@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
7 years agomgr/dashboard: Add unit tests for all frontend pipes 22245/head
Tiago Melo [Wed, 23 May 2018 13:30:55 +0000 (14:30 +0100)]
mgr/dashboard: Add unit tests for all frontend pipes

Signed-off-by: Tiago Melo <tmelo@suse.com>
(cherry picked from commit b6305630c417bcb92c55a6b461c63ca0911a8b03)

7 years agodoc: rgw: fix tagging support status 22242/head
Abhishek Lekshmanan [Thu, 24 May 2018 09:05:56 +0000 (11:05 +0200)]
doc: rgw: fix tagging support status

As of mimic, policy and LC conditionals for tagging are merged, so let's drop
the unsupported status.

Fixes: http://tracker.ceph.com/issues/24164
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
(cherry picked from commit 17dab9b3f24c1454a12f42184fd262119eb97e3e)

7 years agomgr/iostat: enable module by default on new and vstart clusters 22235/head
Mohamad Gebai [Tue, 22 May 2018 03:43:30 +0000 (23:43 -0400)]
mgr/iostat: enable module by default on new and vstart clusters

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
(cherry picked from commit a776755b704065bb0b3dc648b3c5e1efd887e003)

7 years agodoc: add documentation for iostat
Mohamad Gebai [Wed, 16 May 2018 14:42:22 +0000 (10:42 -0400)]
doc: add documentation for iostat

Conflicts:
        doc/releases/mimic.rst: remove file
        doc/mgr/index.rst: trivial resolution

Signed-off-by: Mohamad Gebai <mgebai@suse.com>
(cherry picked from commit 1e2bf1ec8c0dbe18b816ff9eb3243b73bb40d237)

7 years agoMerge PR #22136 into mimic 22238/head
Patrick Donnelly [Thu, 24 May 2018 19:12:11 +0000 (12:12 -0700)]
Merge PR #22136 into mimic

* refs/pull/22136/head:
client: avoid freeing inode when it contains TX buffer heads

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22137 into mimic
Patrick Donnelly [Thu, 24 May 2018 19:12:01 +0000 (12:12 -0700)]
Merge PR #22137 into mimic

* refs/pull/22137/head:
mds: properly setup client_need_snapflush for snap inode
Revert "mds: properly setup need_snapflush for snapped inode"

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22138 into mimic
Patrick Donnelly [Thu, 24 May 2018 19:11:54 +0000 (12:11 -0700)]
Merge PR #22138 into mimic

* refs/pull/22138/head:
mds: reply session reject for open request from blacklisted client
qa/tasks/cephfs: add timeout parameter to kclient umount_wait

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22139 into mimic
Patrick Donnelly [Thu, 24 May 2018 19:11:48 +0000 (12:11 -0700)]
Merge PR #22139 into mimic

* refs/pull/22139/head:
client: delay dentry trimming until after cap traversal

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22140 into mimic
Patrick Donnelly [Thu, 24 May 2018 19:11:41 +0000 (12:11 -0700)]
Merge PR #22140 into mimic

* refs/pull/22140/head:
client: fix issue of revoking non-auth caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22141 into mimic
Patrick Donnelly [Thu, 24 May 2018 19:11:35 +0000 (12:11 -0700)]
Merge PR #22141 into mimic

* refs/pull/22141/head:
mds: broadcast quota to relevant clients when quota is explicitly set

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22153 into mimic
Patrick Donnelly [Thu, 24 May 2018 19:11:28 +0000 (12:11 -0700)]
Merge PR #22153 into mimic

* refs/pull/22153/head:
mon/MonClient: set configs via finisher

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge PR #22154 into mimic
Patrick Donnelly [Thu, 24 May 2018 19:11:22 +0000 (12:11 -0700)]
Merge PR #22154 into mimic

* refs/pull/22154/head:
client: increase verbosity level for log messages in helper methods

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agomgr/telemetry: Check if boolean is False or not present 22227/head
Wido den Hollander [Thu, 24 May 2018 16:48:29 +0000 (18:48 +0200)]
mgr/telemetry: Check if boolean is False or not present

Now we disable the module if the boolean is True

Signed-off-by: Wido den Hollander <wido@42on.com>
(cherry picked from commit 20f5696a735094cbaa0a698f41094cd5a5ac96f4)

7 years agotests/crypto: print compile warning when NSS is unavailable. 22226/head
Radoslaw Zarzynski [Thu, 17 May 2018 15:57:32 +0000 (11:57 -0400)]
tests/crypto: print compile warning when NSS is unavailable.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit ff56a6b7e1e502170779802fb121b4f8f0cdc1b6)

7 years agotests/crypto: add tests for the no-bl encrypt/decrypt, part 2.
Radoslaw Zarzynski [Tue, 8 May 2018 13:08:55 +0000 (15:08 +0200)]
tests/crypto: add tests for the no-bl encrypt/decrypt, part 2.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 2535d11713aa837015e5028923ac97a271f41081)

7 years agotests/crypto: add tests for the no-bl encrypt/decrypt.
Radoslaw Zarzynski [Fri, 27 Apr 2018 18:01:26 +0000 (20:01 +0200)]
tests/crypto: add tests for the no-bl encrypt/decrypt.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit e70ef0fb483c34e4944a996eb84ea09f7d1b30ca)

7 years agoauth: use OpenSSL for CryptoAESKeyHandler's no-bl encrypt/decrypt.
Radoslaw Zarzynski [Fri, 27 Apr 2018 14:01:56 +0000 (16:01 +0200)]
auth: use OpenSSL for CryptoAESKeyHandler's no-bl encrypt/decrypt.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 24e0532f81671fcea31a1fd2fb17e8b41fe5e9d9)

7 years agoauth: extend CryptoKey with no-bl encrypt/decrypt.
Radoslaw Zarzynski [Thu, 19 Apr 2018 23:43:57 +0000 (01:43 +0200)]
auth: extend CryptoKey with no-bl encrypt/decrypt.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit b5acef206c94142464f7ff314bb11c843c5420e8)

7 years agoauth: CryptoAESKeyHandler switches from NSS to OpenSSL.
Radoslaw Zarzynski [Thu, 26 Apr 2018 13:35:20 +0000 (15:35 +0200)]
auth: CryptoAESKeyHandler switches from NSS to OpenSSL.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit 4860bb70e1f47377ff69e1dc44e9b11bc69a7c2a)

7 years agoauth: the outbuf of AES should be multiple of block size
Kefu Chai [Tue, 3 Apr 2018 09:16:30 +0000 (17:16 +0800)]
auth: the outbuf of AES should be multiple of block size

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 3cfcd02af6381022081d51367f7338bde1fcb1d2)
(cherry picked from commit 7635485d34c99671030a10e1da67945c19b4fc88)

7 years agoauth: cache the PK11Context for CryptoAESKeyHandler
Kefu Chai [Wed, 25 Apr 2018 15:21:54 +0000 (17:21 +0200)]
auth: cache the PK11Context for CryptoAESKeyHandler

in the flame graph, 0.50% of total time is used by
CephxSessionHandler::check_message_signature(), in which 0.27% is used
by PK11_CreateContextBySymKey(). so we should cache the PK11Context.

Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
(cherry picked from commit f8c2036f7663be54030e13f1f9c1511cb40070f6)
(cherry picked from commit 7f6751bb5522c00b78d33af402470a659a07d4a3)

7 years agomsg/async/Event: clear time_events on shutdown 22225/head
Sage Weil [Fri, 18 May 2018 19:24:06 +0000 (14:24 -0500)]
msg/async/Event: clear time_events on shutdown

Works around crash from http://tracker.ceph.com/issues/24162

Signed-off-by: Sage Weil <sage@redhat.com>
(cherry picked from commit 923bd4649aacfb02a783fab9a0a71d1395d6e474)

7 years agoMerge pull request #22135 from tchaikov/mimic-24175
Sage Weil [Thu, 24 May 2018 13:45:16 +0000 (08:45 -0500)]
Merge pull request #22135 from tchaikov/mimic-24175

mimic: mgr/status: output to stdout, not stderr

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #22160 from liewegas/wip-24037-mimic
Sage Weil [Thu, 24 May 2018 13:44:41 +0000 (08:44 -0500)]
Merge pull request #22160 from liewegas/wip-24037-mimic

common: OpTracker doesn't visit TrackedOp when nref == 0.

7 years agoMerge pull request #22183 from tchaikov/mimic-24025
Kefu Chai [Thu, 24 May 2018 12:01:56 +0000 (20:01 +0800)]
Merge pull request #22183 from tchaikov/mimic-24025

mimic: cmake/modules/BuildRocksDB.cmake: enable compressions for rocksdb

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>