Commit Graph

86854 Commits

Author SHA1 Message Date
Kefu Chai
9b1dc55f7d cls/rbd: fix build
3cbe0ced was merged after d03ff14, so update accordingly.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-18 18:16:32 +08: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
Josh Durgin
4516870a52
Merge pull request #21651 from ceph/wip-da-dmclock-submodule
move dmclock subtree into submodule

Reviewed-by: Eric Ivancich <ivancich@redhat.com>
2018-05-17 13:57:39 -07:00
Tiago Melo
41d1f9b4b1 mgr/dashboard: Use Jest in package.json scripts
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-17 18:08:51 +01:00
Kefu Chai
2a724a2ff3
Merge pull request #22015 from tchaikov/wip-denc
buffer,denc: use ptr::const_iterator for decode

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-18 00:56:08 +08:00
Tiago Melo
c0c2375a0b mgr/dashboard: Adapt unit tests to Jest
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-17 17:53:38 +01:00
Tiago Melo
a94f2e157b mgr/dashboard: Add Jest Runner
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-17 17:53:38 +01:00
Sage Weil
ca9ce0f6e5
Merge pull request #22059 from LenzGr/mgr-dashboard-documentation
doc: Updated dashboard documentation (features, SSL config)

Reviewed-by: Wido den Hollander <wido@42on.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 11:40:20 -05:00
Kefu Chai
705e4566ee mgr: fix typo in variable name and cleanups
* s/sercive/service/
* also fix the logging message. before this change, we have

send_report send_report osd,2.0x557ea1c16550 sent me an unknown health
metric:

after this change,

send_report send_report osd.2 sent me an unknown health metric: 0x01

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-18 00:36:43 +08: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
Sage Weil
35ae9acc32 test/cli-integration/rbd: update unit formatting
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 11:14:39 -05:00
Sage Weil
9cbd283bc6 include/types: space between number and units
not

    client:   504B/s rd, 10.6MiB/s wr, 0op/s rd, 30op/s wr

but

    client:   504 B/s rd, 10.6 MiB/s wr, 0 op/s rd, 30 op/s wr

This was changed as part of d3cecebacd.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 11:14:39 -05:00
Sage Weil
42bdb066bb mon/PGMap: fix PGMapDigest decode
The compat path wasn't clearing the map before filling in new entries.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-17 10:51:46 -05:00
Lenz Grimmer
789e9858b2
Merge pull request #22061 from tspmelo/wip-npmrc
mgr/dashboard: Disable package-lock.json creation

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-05-17 17:44:59 +02:00
Lenz Grimmer
32e0660556 doc: Updated dashboard documentation (features, SSL config)
Updated Ceph manager dashboard documentation: added SSL to the
feature overview, added new section about configuring SSL certificates.
Rearranged installation instructions for setting host name and port.

Signed-off-by: Lenz Grimmer <lgrimmer@suse.com>
2018-05-17 17:34:36 +02:00
Ricardo Marques
7f1749db52 mgr/dashboard: Improve table pagination style
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-05-17 16:10:33 +01:00
Lenz Grimmer
9a943b982f
Merge pull request #22058 from ricardoasmarques/wip-ng-serve-remote-access
mgr/dashboard: ng serve bind to 0.0.0.0

Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-05-17 16:50:23 +02:00
Alfredo Deza
0a4cebd1dd doc/man/ceph-volume explain encryption and activate all with examples
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 09:41:51 -04:00
Alfredo Deza
d8b9a7c074 doc/ceph-volume activate is able to use --all for existing OSDs
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 09:41:51 -04:00
Alfredo Deza
72cef7acf7 doc/ceph-volume encryption is enabled with the --dmcrypt flag
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 09:41:51 -04:00
Alfredo Deza
e97d0717d3 doc/ceph-volume prepapre accepts a --dmcrypt flag
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 09:41:51 -04:00
Alfredo Deza
ac0c925c57 doc/ceph-volume activate does not need a dmcrypt flag
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 09:41:51 -04:00
Tiago Melo
fe365bf715 mgr/dashboard: Disable package-lock.json creation
Since we are not keeping track of this file, it is better to not generate it.
Otherwise we might face some package version conflicts,
which break the dashboard build.

Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-05-17 14:33:27 +01:00
Sage Weil
4706f1d42b
Merge pull request #22057 from tchaikov/qa-valgrind-without-random-distro
qa/suites/rados/verify: remove random-distro$

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-17 07:00:08 -05:00
Alfredo Deza
64b3b25d14 ceph-volume util.prepare remove undocumented comments
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 07:23:12 -04:00
Alfredo Deza
985949d1f3 common/options add description of osd objectstore backends
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-05-17 07:23:12 -04:00
Kefu Chai
c237d0befb qa/suites/rados/verify: remove random-distro$
the distro specified by random-distro$ will be overwrited by the one
specfied by valgrind.yaml. and teuthology-suite will give

KeyError: '16.04 not a centos version or codename'

when scheduling a suite involving the facets above. also, i think it's
of not much value to run valgrind/lockdep with different distros.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 19:11:14 +08:00
Ricardo Marques
251e2515b5 mgr/dashboard: ng serve bind to 0.0.0.0
This will allow access to ng serve from remote machines

Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-05-17 11:07:52 +01:00
Rishabh Dave
e276fdaaa8 client: increase verbosity level for log messages in helper methods
Fixes: http://tracker.ceph.com/issues/21014
Signed-off-by: Rishabh Dave <ridave@redhat.com>
2018-05-17 15:25:38 +05:30
Lenz Grimmer
7d93c1fbdf
Merge pull request #21981 from tspmelo/fix-momentjs
mgr/dashboard: Fix moment.js deprecation warning

Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-05-17 11:11:33 +02:00
Kefu Chai
03614c99db
Merge pull request #22046 from tchaikov/wip-23653
cmake: do not check for aligned_alloc() anymore

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-05-17 14:03:47 +08:00
Kefu Chai
f146c6c514 core: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
94e4928f17 mds: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
7a8e740f00 rgw: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
d03ff14d81 rbd: use const_iterator for decode
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
e1a621193f denc: use ptr::const_iterator for decode
as ptr::iterator is able to write to the underlying buffer.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
12f76357ac buffer: add cbegin() methods
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 13:56:49 +08:00
Kefu Chai
4d646ef579 cmake: do not check for aligned_alloc() anymore
this reverts 16f0a67d

Fixes: http://tracker.ceph.com/issues/23653
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-05-17 10:33:04 +08:00
Patrick Donnelly
3949b6f751
client: cleanup Cap init
Use reference for inode so it's write-once and must be valid.

Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-16 16:59:05 -07:00
Sage Weil
a8288c4b6e ceph_test_rados_api_misc: fix LibRadosMiscPool.PoolCreationRace
This test is trying to reproduce a case where we don't have a session
for the given OSD, drop our big lock to open one, and when we retake the
osdmap has changed.  Previously that was an easy situation to reproduce
by creating an ioctx for a pool that didn't exist (yet) and then creating
it.  The missing pool would send us into the path that rechecks for an
updated osdmap and trigger the race condition.

However, as of 7037cf8f77 we no longer create
ioctxs for pools that don't exist.  And there isn't an easy way that I can
think of to trigger the missing osd session that races with an osdmap
update.  So, use the debug option that injects the delay to drop us into
the same path.  This is a bit artificial in that we do actually have an
osdmap session, but the block handles that case (since the old no pool
case worked that way), so we cover the same code.

This fix ignores the fact that we still have all this "pool doesn't exist"
handling code in Objecter that deals with teh fact that you could create
an ioctx for a missing pool...that is no longer possible.  Cleanup for
another day!

Fixes: http://tracker.ceph.com/issues/24150
Signed-off-by: Sage Weil <sage@redhat.com>
2018-05-16 16:56:33 -05:00
Dan Mick
0bf9a5a2a7
Merge pull request #22028 from tchaikov/wip-wheelhouse
install-deps: nuke wheelhouse if it's stale
2018-05-16 14:32:36 -07:00
Sage Weil
6bfb9c866f
Merge pull request #21751 from shangfufei/wip-async-needless-code
msg/async: the ceph_abort is needless in handle_connect_msg

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-05-16 16:07:17 -05:00
Sage Weil
a48999094d
Merge pull request #21854 from ifed01/wip-ifed-bluestore-alloc-cleanup
os/bluestore: allocator pruning

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-16 16:06:49 -05:00
Sage Weil
e713b4de4f
Merge pull request #21926 from dragonylffly/wip-fix-throttle-configurations
os/filestore: fix throttle configurations

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-16 16:06:19 -05:00
Sage Weil
5d8027ca70
Merge pull request #21937 from yanghonggang/balancer-list
mgr/balancer: add cmd to list all plans

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-16 16:05:49 -05:00
Sage Weil
ba0ef8fa14
Merge pull request #21957 from tchaikov/wip-test-rados-bench
test/pybind/test_rados.py: collect output in stdout for "bench" cmd

Reviewed-by: John Spray <john.spray@redhat.com>
2018-05-16 16:05:18 -05:00
Sage Weil
a65e72a0fb
Merge pull request #21984 from liewegas/wip-24118
mon/MonClient: set configs via finisher

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-05-16 16:04:34 -05:00
Sage Weil
4c8611da87
Merge pull request #21892 from dzafman/wip-24045
osd: Don't evict even when preemption has restarted with smaller chunk

Reviewed-by: Sage Weil <sage@redhat.com>
2018-05-16 15:27:53 -05:00
Jason Dillaman
3cbe0cedcd cls/rbd: fixed last read key for interrupted mirror_image_map_list
Previously, the image map would only return a maximum of 64 mappings.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-05-16 16:15:45 -04:00