Commit Graph

92204 Commits

Author SHA1 Message Date
Sebastian Wagner
26a7236ab5 doc/orchestrator: Integrate CLI specification into the documentation
Also: Make it clear that the orchestrator is WIP

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-11-21 18:23:51 +01:00
Lenz Grimmer
6e95664ead
Merge pull request #25149 from p-na/pna-fix-safe-to-destroy
mgr/dashboard: Fix failing QA test: test_safe_to_destroy

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
2018-11-20 14:33:42 +01:00
Sage Weil
75f17a222b Merge PR #24844 into master
* refs/pull/24844/head:
	osd: drop PGBackend::Listener::get_epoch().
	osd: massively switch to get_osdmap_epoch().
	osd: switch the return type of PG::get_osdmap().

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-20 06:51:29 -06:00
Sage Weil
b84730a921 Merge PR #24867 into master
* refs/pull/24867/head:
	mon: compensate for not having STDLIB_MAP_SPLICING

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-11-20 06:50:50 -06:00
Sage Weil
c872e42657 Merge PR #24929 into master
* refs/pull/24929/head:
	osd: set lower bound+docs on osd_max_write_size

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-11-20 06:50:33 -06:00
Sage Weil
9b3d909046 Merge PR #25058 into master
* refs/pull/25058/head:
	mgr: Fixed devicehealth plugin resource leak

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-20 06:50:17 -06:00
Sage Weil
d7ed1ccf48 Merge PR #25125 into master
* refs/pull/25125/head:
	mon: require keyring even if cephx is optional

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-20 06:49:54 -06:00
Lenz Grimmer
228cffa107
Merge pull request #25121 from zmc/wip-dashboard-test-runner
mgr/dashboard: Small improvements for running teuthology tests

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
2018-11-20 12:29:35 +01:00
Lenz Grimmer
ac743f2a91
Merge pull request #24851 from rhcs-dashboard/grafana-roles
mgr/dashboard: Show/Hide Grafana tabs according to user role

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-20 10:21:04 +01:00
Abhishek L
0c7d5cbf46
Merge pull request #24762 from tspmelo/wip-credits
credits.sh: Ignore package-lock.json and .xlf files

Reviewed-By: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-By: Abhishek Lekshmanan <abhishek@suse.com>
2018-11-20 09:40:59 +01:00
Kefu Chai
004d918ae0
Merge pull request #25169 from tchaikov/wip-install-libboost-bionic
install-deps.sh: fix gcc detection and install pre-built libboost on bionic

Tested-by: Changcheng Liu <changcheng.liu@intel.com>
Reviewed-by: Changcheng Liu <changcheng.liu@intel.com>
2018-11-20 15:54:34 +08:00
Kefu Chai
98d7741579 install-deps.sh: install prebuilt libboost dependencies for bionic also
* extract boost install function into a helper, so we don't need to
  repeat it when adding support for new distros.
* install ceph-libboost-* for bionic build also. we check for the
  existence in run-make-check.sh, so there is no need to update
  the build script elsewhere.

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-20 13:09:53 +08:00
Changcheng Liu
ab7344e617 install-deps.sh: correct gcc version info as major.minor.patch
On ubuntu 18.04, "gcc -dumpversion" output "7", it result in
that below check will return false:
    dpkg --compare-versions 7 ge 7.0
Then, this script will install other gcc.

Actully, the full gcc version "gcc -dumpfullversion" output is
"7.3.0", than below check will turn true:
    dpkg --compare-version 7.3.0 ge 7.0
So, there's no need to install other gcc.

In case of hitting error on ubuntu16.04, use below parameter:
   gcc -dumpfullversion -dumpversion

Signed-off-by: Changcheng Liu <changcheng.liu@intel.com>
2018-11-20 12:31:42 +08:00
Sage Weil
38e95b2d8a Merge PR #24874 into master
* refs/pull/24874/head:
	os/filestore: collect partition/device metadata from journal
	os/filestore: include journal in get_devices result

Reviewed-by: Rick Chen <rick.chen@prophetstor.com>
Reviewed-by: Brad Hubbard <bhubbard@redhat.com>
2018-11-19 17:31:19 -06:00
Sage Weil
e2c1eb8fbc Merge PR #25140 into master
* refs/pull/25140/head:
	mon: by default, do NOT warn about misplaced objects
	mon: add mon_warn_on_misplaced option

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: João Eduardo Luís <joao@suse.de>
2018-11-19 17:29:57 -06:00
Sage Weil
4ebf2b2bea Merge PR #25147 into master
* refs/pull/25147/head:
	mgr/devicehealth: implement config_notify hook
	mgr: call config_notify method when mgr's config has changed
	mon/MonClient: add callback for (any) config change
	common/config: fix debug output for config callbacks changes

Reviewed-by: Tim Serong <tserong@suse.com>
2018-11-19 17:29:41 -06:00
Patrick Donnelly
a8937d987c
Merge PR #25158 into master
* refs/pull/25158/head:
	[doc] Fix typo in luminious release notes

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-11-19 14:17:14 -08:00
Sage Weil
ba49aacee2 Merge PR #25111 into master
* refs/pull/25111/head:
	test: Add test for requested scrub priority
	osd: Prioritize user specified scrubs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-19 13:15:21 -06:00
Yuri Weinstein
02df8f3008
Merge pull request #23819 from dongbula/nf-add-bucket-option-in-usage
rgw: add bucket as option when show/trim usage

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-19 08:49:06 -08:00
Yuri Weinstein
3a77ff454d
Merge pull request #23318 from theanalyst/wip-curl-errstring
rgw: http client: print curl error messages during curl failures

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-19 08:47:27 -08:00
Neha Ojha
7ac345044e
Merge pull request #25069 from markhpc/wip-memory-autotune-doc
doc/rados: Add bluestore memory autotuning docs.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-11-19 22:16:43 +05:30
Yuri Weinstein
d06f455bfd
Merge pull request #24492 from theanalyst/wip-rgw-es-attr-fixes
rgw: ES sync: be more restrictive on object system attrs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-19 08:44:50 -08:00
Yuri Weinstein
a2083445f8
Merge pull request #24730 from pritha-srivastava/wip-rgw-role-fixes
rgw: Minor fixes to radosgw-admin commands for a role.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-11-19 08:44:10 -08:00
Yuri Weinstein
dde9ce1824
Merge pull request #24846 from taoCH/wip-fix-librgw-quota-check
rgw_file: not check max_objects when creating file

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-11-19 08:43:10 -08:00
Maxime
ddadf083ee [doc] Fix typo in luminious release notes
Signed-off-by: Maxime <maxime@root314.com>
2018-11-19 16:36:04 +01:00
Jason Dillaman
dfbda9c322
Merge pull request #24935 from leseb/rbd-mirror-on-reboot
systemd: enable ceph-rbd-mirror.target

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-19 20:52:52 +05:30
Sebastian Wagner
b6a58491ee
Merge pull request #24863 from jtlayton/wip-orchestrator
mgr/orchestrator: Add support for "ceph orchestrator service ls"

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
2018-11-19 14:55:30 +01:00
Patrick Nawracay
09f2bb4c9a mgr/dashboard: Fix failing QA test: test_safe_to_destroy
The behavior of `safe-to-destroy` has changed in
432f194355 (PR#24799) and the backend
needs to be adapted accordingly.

Fixes: http://tracker.ceph.com/issues/37290

Signed-off-by: Patrick Nawracay <pnawracay@suse.com>
2018-11-19 14:02:14 +01:00
Lenz Grimmer
cb4e28a140
Merge pull request #24932 from tspmelo/wip-nodejs-update
mgr/dashboard: Update Node.js to current LTS

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
2018-11-19 13:16:28 +01:00
Nathan Cutler
dddf8ded32
Merge pull request #24779 from smithfarm/wip-luminous-release-notes
doc: Luminous v12.2.9 release notes

Reviewed-by: Matt Benjamin <mbenjamin@redhat.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2018-11-19 12:50:57 +01:00
Lenz Grimmer
469b6278e8
Merge pull request #25136 from Devp00l/wip-easy-e2e-dev
mgr/dashboard: npm run e2e:dev

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-11-19 11:48:35 +01:00
Kefu Chai
c6bf6226a1
Merge pull request #25139 from tchaikov/wip-xmlsec
test/dashboard: fix segfault when importing dm.xmlsec.binding

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
2018-11-19 16:54:20 +08:00
Kanika Murarka
a84bed27b5 mgr/dashboard: Show/Hide Grafana tabs according to user role
Fixes: http://tracker.ceph.com/issues/36655
Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
2018-11-19 13:43:52 +05:30
Mykola Golub
165886a9ac
Merge pull request #25096 from dillaman/wip-rbd-mirror-peers
librbd: move mirror peer attribute handling from CLI to API

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-11-19 09:59:03 +02:00
Sage Weil
2d5b4f917c Merge PR #20665 into master
* refs/pull/20665/head:
	mgr/balancer: add crush_compat_metrics param

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-18 07:04:40 -06:00
Sage Weil
72cc6f3140 mgr/devicehealth: implement config_notify hook
Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-17 07:15:36 -06:00
Sage Weil
f27a5dc615 mgr: call config_notify method when mgr's config has changed
This provides a hook for the module to refresh any config values it has
cached in module-local variables.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-17 07:15:19 -06:00
Sage Weil
14d26adf75 mon/MonClient: add callback for (any) config change
This is a coarse "there was some config update".  It's fired whether or
not it values are observed.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-17 06:50:17 -06:00
Casey Bodley
38ac1c4aa9
Merge pull request #25135 from cbodley/wip-test-log-garble
test: fix libc++ crash in Log.GarbleRecovery

Reviewed-by: Adam Kupczyk <akucpzyk@redhat.com>
2018-11-16 14:23:39 -05:00
Zack Cerza
9e218316d9 Remove any dashboard .pyc files before testing
Things like 'git rm' and 'git mv' don't clean up any .pyc files that
might have been generated previously, so if those aren't removed, we
might not be running the exact code that we intend to.

Signed-off-by: Zack Cerza <zack@redhat.com>
2018-11-16 10:44:03 -07:00
Zack Cerza
615baf310a When cloning teuthology, pass --depth 1
We don't need history, so we may as well save some time.

Signed-off-by: Zack Cerza <zack@redhat.com>
2018-11-16 10:44:03 -07:00
Kefu Chai
af90a5fe61 test/dashboard: fix segfault when importing dm.xmlsec.binding
python-saml depends on dm.xmlsec.binding which is a python binding of
xmlsec C library. but without -DXMLSEC_NO_SIZE_T the compiled
dm.xmlsec.binding segfaults when `import dm.xmlsec.binding`. see
https://github.com/onelogin/python-saml/issues/30 and
https://github.com/4teamwork/ftw.saml2auth/issues/3 .

in long term, we might want to switch to python-saml, see
http://tracker.ceph.com/issues/37081

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-17 01:25:50 +08:00
Sage Weil
ab9b8e04fe mon: by default, do NOT warn about misplaced objects
Misplaced objects are not something that puts the health or safety of
data in jeopardy.  Don't warn about it by default.

Since this is a change in behavior, add a release note.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-16 11:03:37 -06:00
Sage Weil
d4a65456ce mon: add mon_warn_on_misplaced option
Control whether we issue HEALTH_WARN due to misplaced objects.

Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-16 11:00:52 -06:00
Yuri Weinstein
ac5b4f6d78
Merge pull request #22613 from zhangsw/fix-rgw-copyobj-tailtag
rgw: Copying object data should generate new tail tag for the new object.

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-11-16 08:06:51 -08:00
Yuri Weinstein
f9df042c97
Merge pull request #23652 from theanalyst/rgw/awsv4/presign-slashes
rgw: s3: awsv4 drop special handling for x-amz-credential

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-11-16 08:06:23 -08:00
Yuri Weinstein
7fddd94dc7
Merge pull request #25003 from ivancich/wip-update-reshard-params
rgw: reshard improvements

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
2018-11-16 08:03:35 -08:00
Yuri Weinstein
a6e10a44bd
Merge pull request #25102 from cbodley/wip-rgw-log-http-status
rgw: log http status with op prefix if available

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2018-11-16 08:03:09 -08:00
Stephan Müller
01bb4cb1a0 mgr/dashboard: npm run e2e:dev
The new command introduced will make developing e2e tests faster, as
Protractor will attach to the running development server that was
previously started running 'npm start'.

Fixes: https://tracker.ceph.com/issues/37291
Signed-off-by: Stephan Müller <smueller@suse.com>
2018-11-16 16:55:20 +01:00
Casey Bodley
6dacc42c39 test: fix libc++ crash in Log.GarbleRecovery
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2018-11-16 10:36:12 -05:00