]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
6 years agorgw: more code removal and api adjustments
Yehuda Sadeh [Mon, 17 Sep 2018 11:05:02 +0000 (04:05 -0700)]
rgw: more code removal and api adjustments

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: chained cache doesn't init if not caching
Yehuda Sadeh [Sun, 16 Sep 2018 09:50:03 +0000 (02:50 -0700)]
rgw: chained cache doesn't init if not caching

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc: remove SystemObject impl
Yehuda Sadeh [Tue, 11 Sep 2018 14:46:30 +0000 (07:46 -0700)]
rgw: svc: remove SystemObject impl

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc: fixes
Yehuda Sadeh [Mon, 10 Sep 2018 13:36:45 +0000 (06:36 -0700)]
rgw: svc: fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: services init fixes
Yehuda Sadeh [Fri, 7 Sep 2018 13:37:23 +0000 (06:37 -0700)]
rgw: services init fixes

First load all depending services, then initialize all.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: minor adjustments
Yehuda Sadeh [Fri, 7 Sep 2018 12:03:21 +0000 (05:03 -0700)]
rgw: minor adjustments

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw-admin: api adjustments
Yehuda Sadeh [Fri, 7 Sep 2018 11:53:55 +0000 (04:53 -0700)]
rgw-admin: api adjustments

now compiles

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc: more changes, add svc_sync_modules
Yehuda Sadeh [Fri, 7 Sep 2018 10:26:36 +0000 (03:26 -0700)]
rgw: svc: more changes, add svc_sync_modules

radosgw actually compiles now

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: rgw_zone api adjustments
Yehuda Sadeh [Thu, 6 Sep 2018 13:42:42 +0000 (06:42 -0700)]
rgw: rgw_zone api adjustments

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: add missing files
Yehuda Sadeh [Thu, 6 Sep 2018 11:01:22 +0000 (04:01 -0700)]
rgw: add missing files

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc_finisher: create service
Yehuda Sadeh [Thu, 6 Sep 2018 11:00:31 +0000 (04:00 -0700)]
rgw: svc_finisher: create service

and other fixes

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc_cache: more work
Yehuda Sadeh [Thu, 6 Sep 2018 08:16:01 +0000 (01:16 -0700)]
rgw: svc_cache: more work

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc_notify: initial work
Yehuda Sadeh [Wed, 5 Sep 2018 10:11:16 +0000 (03:11 -0700)]
rgw: svc_notify: initial work

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: sysobj service: initial cache conversion
Yehuda Sadeh [Tue, 28 Aug 2018 21:23:53 +0000 (14:23 -0700)]
rgw: sysobj service: initial cache conversion

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc_sysobj: split core out
Yehuda Sadeh [Mon, 27 Aug 2018 23:02:03 +0000 (16:02 -0700)]
rgw: svc_sysobj: split core out

Split core sysobj interface from sysobj service so that cache could be
implemented.

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: zone, sysobj services: add missing system obj calls
Yehuda Sadeh [Sat, 18 Aug 2018 02:04:12 +0000 (19:04 -0700)]
rgw: zone, sysobj services: add missing system obj calls

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: sys_obj service, move zone init to svc_zone
Yehuda Sadeh [Fri, 17 Aug 2018 01:30:44 +0000 (18:30 -0700)]
rgw: sys_obj service, move zone init to svc_zone

still wip

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc: more zone work, add zone_utils, quota services
Yehuda Sadeh [Thu, 16 Aug 2018 01:38:23 +0000 (18:38 -0700)]
rgw: svc: more zone work, add zone_utils, quota services

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: more refactoring work, initial work on svc_rados
Yehuda Sadeh [Tue, 14 Aug 2018 00:28:43 +0000 (17:28 -0700)]
rgw: more refactoring work, initial work on svc_rados

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: svc: initial work on zone_svc
Yehuda Sadeh [Fri, 10 Aug 2018 21:36:48 +0000 (14:36 -0700)]
rgw: svc: initial work on zone_svc

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agorgw: basic rgw services registry
Yehuda Sadeh [Fri, 10 Aug 2018 00:04:48 +0000 (17:04 -0700)]
rgw: basic rgw services registry

Signed-off-by: Yehuda Sadeh <yehuda@redhat.com>
6 years agoMerge pull request #24719 from Devp00l/wip-issue-26861
Lenz Grimmer [Thu, 8 Nov 2018 17:09:38 +0000 (18:09 +0100)]
Merge pull request #24719 from Devp00l/wip-issue-26861

mgr/dashboard: Remove _filterValue from CdFormGroup

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge PR #24333 into master
Sage Weil [Thu, 8 Nov 2018 16:52:16 +0000 (10:52 -0600)]
Merge PR #24333 into master

* refs/pull/24333/head:
test: update librados tests for CLI arg syntax
librados: update for CLI arg format change
pybind: update python callers of force flags
mon: convert remaining confirmation flags to CephBool
ceph_argparse: introduce CephBool arguments
test: remove quirky argparse case
mgr,mon: use CephChoices for confirmation flags
test: add cases for CLI's --key=val style
mon: remove dead "cluster_snap" command
pybind: enable --keyword=arguments in ceph_argparse
ceph.in: some cleanups
ceph.in: misc cleanups
common: remove unused 'avail' field from commands
mon: fix help string for `osd crush rule create-replicated`

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24930 from tspmelo/wip-multiple-actions
Lenz Grimmer [Thu, 8 Nov 2018 16:14:46 +0000 (17:14 +0100)]
Merge pull request #24930 from tspmelo/wip-multiple-actions

mgr/dashboard: Fix duplicate tasks

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24974 from rhcs-dashboard/36712-cluser-hosts-fix
Lenz Grimmer [Thu, 8 Nov 2018 16:04:37 +0000 (17:04 +0100)]
Merge pull request #24974 from rhcs-dashboard/36712-cluser-hosts-fix

mgr/dashboard: fix for 'Cluster >> Hosts' page

Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #24530 from alimaredia/wip-rgw-dpp-gc-lc
Casey Bodley [Thu, 8 Nov 2018 14:51:14 +0000 (09:51 -0500)]
Merge pull request #24530 from alimaredia/wip-rgw-dpp-gc-lc

rgw: refactor logging in gc and lc

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agoMerge pull request #24510 from pritha-srivastava/wip-sts-buffer-overflow
Casey Bodley [Thu, 8 Nov 2018 14:50:05 +0000 (09:50 -0500)]
Merge pull request #24510 from pritha-srivastava/wip-sts-buffer-overflow

rgw: Fix for buffer overflow in STS op_post().

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
6 years agoMerge pull request #24594 from theanalyst/wip-reshard-enoent
Casey Bodley [Thu, 8 Nov 2018 14:48:59 +0000 (09:48 -0500)]
Merge pull request #24594 from theanalyst/wip-reshard-enoent

rgw: reshard add: fail correctly on a non existant bucket

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
6 years agoMerge pull request #24638 from linuxbox2/wip-reshard-st
Casey Bodley [Thu, 8 Nov 2018 14:48:00 +0000 (09:48 -0500)]
Merge pull request #24638 from linuxbox2/wip-reshard-st

radosgw-admin: translate reshard status codes (trivial)

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24816 from linuxbox2/wip-rgw-keystone-secret
Casey Bodley [Thu, 8 Nov 2018 14:47:37 +0000 (09:47 -0500)]
Merge pull request #24816 from linuxbox2/wip-rgw-keystone-secret

rgw: move keystone secrets from ceph.conf to files

Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24869 from joke-lee/wip-op-mask-radosgw-admin-rest
Casey Bodley [Thu, 8 Nov 2018 14:46:44 +0000 (09:46 -0500)]
Merge pull request #24869 from joke-lee/wip-op-mask-radosgw-admin-rest

rgw: admin rest api support op-mask

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agoMerge pull request #24887 from cbodley/wip-36662
Casey Bodley [Thu, 8 Nov 2018 14:45:59 +0000 (09:45 -0500)]
Merge pull request #24887 from cbodley/wip-36662

rgw: beast frontend parses ipv6 addrs

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
6 years agoMerge pull request #23906 from dongbula/nf-add-latency-after-finish-processing
Matt Benjamin [Thu, 8 Nov 2018 14:04:22 +0000 (09:04 -0500)]
Merge pull request #23906 from dongbula/nf-add-latency-after-finish-processing

rgw: add latency info in the log of req done

6 years agoMerge pull request #24947 from votdev/bug_36708
Lenz Grimmer [Thu, 8 Nov 2018 13:41:38 +0000 (14:41 +0100)]
Merge pull request #24947 from votdev/bug_36708

mgr/dashboard: tasks.mgr.dashboard.test_osd.OsdTest failures

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
6 years agoMerge pull request #24966 from daixiang0/correct-rbytes-description
Ilya Dryomov [Thu, 8 Nov 2018 13:12:44 +0000 (14:12 +0100)]
Merge pull request #24966 from daixiang0/correct-rbytes-description

doc: correct rbytes description

Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
6 years agomgr/dashboard: fix for 'Cluster >> Hosts' page 24974/head
alfonsomthd [Thu, 8 Nov 2018 11:34:14 +0000 (12:34 +0100)]
mgr/dashboard: fix for 'Cluster >> Hosts' page
- Added permission mapping for 'tcmu-runner' service type.
- Avoid error caused by unmapped services' types:
  The hosts list should be visible even with not mapped services' types,
  as this mapping only decides whether the service being displayed has a link or not.

Fixes: https://tracker.ceph.com/issues/36712
Signed-off-by: Alfonso Martínez <almartin@redhat.com>
6 years agodoc: correct rbytes description 24966/head
Xiang Dai [Wed, 7 Nov 2018 09:17:30 +0000 (17:17 +0800)]
doc: correct rbytes description

The default was changed from on to off in 4.6 because the way rbytes behaves can be surprising and sometimes confuses tools like rsync.

Signed-off-by: Xiang Dai <764524258@qq.com>
6 years agoMerge pull request #24817 from tone-zhang/wip-64-assert
Kefu Chai [Thu, 8 Nov 2018 05:24:09 +0000 (21:24 -0800)]
Merge pull request #24817 from tone-zhang/wip-64-assert

bluestore/NVMEDevice.cc: fix ceph_assert() when enable SPDK with 64KB kernel page size

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #24964 from Songweibin/wip-doc-rados
Kefu Chai [Thu, 8 Nov 2018 05:22:33 +0000 (21:22 -0800)]
Merge pull request #24964 from Songweibin/wip-doc-rados

doc/rados: correct osd path in troubleshooting-mon.rst

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge pull request #23940 from robbat2/wip-12713-chunked-encoding
Matt Benjamin [Thu, 8 Nov 2018 03:01:05 +0000 (22:01 -0500)]
Merge pull request #23940 from robbat2/wip-12713-chunked-encoding

rgw: use chunked encoding to get partial results out faster

6 years agorgw: add latency info in the log of req done 23906/head
lvshuhua [Tue, 4 Sep 2018 08:00:21 +0000 (16:00 +0800)]
rgw: add latency info in the log of req done

Signed-off-by: lvshuhua <lvshuhua@cmss.chinamobile.com>
6 years agoMerge pull request #24749 from dzafman/wip-36474 24982/head
David Zafman [Wed, 7 Nov 2018 22:05:55 +0000 (14:05 -0800)]
Merge pull request #24749 from dzafman/wip-36474

Add support for osd_delete_sleep configuration value

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge pull request #24977 from alfredodeza/wip-bz1644265
Andrew Schoen [Wed, 7 Nov 2018 19:11:50 +0000 (13:11 -0600)]
Merge pull request #24977 from alfredodeza/wip-bz1644265

ceph-volume util.encryption robust blkid+lsblk detection of lockbox

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoceph-volume util.encryption robust blkid+lsblk detection of lockbox 24977/head
Alfredo Deza [Fri, 2 Nov 2018 19:03:45 +0000 (15:03 -0400)]
ceph-volume util.encryption robust blkid+lsblk detection of lockbox

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agomgr/dashboard: backend api tests: tasks.mgr.dashboard.test_osd.OsdTest failures 24947/head
Volker Theile [Tue, 6 Nov 2018 13:00:24 +0000 (14:00 +0100)]
mgr/dashboard: backend api tests: tasks.mgr.dashboard.test_osd.OsdTest failures

- Fix bug in Dashboard QA unit test framework. Don't set the application type header manually, this is done by the requests library if required.
- Enhance QA unit test helper: Print the response of the API request if it fails. This should help to identify the problem more easily.
- Fix bug in the OSD controller. A parameter needs to be converted to integer.
- Take care that the params of the request object are not modified.

The issue was introduced by PR https://github.com/ceph/ceph/pull/24475. The CherryPy json_in plugin disclosed the errorneous unit test helper implementation.

Fixes: https://tracker.ceph.com/issues/36708
Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agoMerge pull request #24847 from pritha-srivastava/wip-rgw-assume-role-doc
Matt Benjamin [Wed, 7 Nov 2018 15:39:12 +0000 (10:39 -0500)]
Merge pull request #24847 from pritha-srivastava/wip-rgw-assume-role-doc

rgw: Improvements to STS Lite documentation.

6 years agoMerge pull request #24841 from b-ranto/wip-deep-scrub
Boris Ranto [Wed, 7 Nov 2018 13:48:54 +0000 (14:48 +0100)]
Merge pull request #24841 from b-ranto/wip-deep-scrub

mgr/restful: Fix deep-scrub typo

Reviewed-by: John Spray <john.spray@redhat.com>
6 years agotest: update librados tests for CLI arg syntax 24333/head
John Spray [Wed, 7 Nov 2018 12:01:43 +0000 (07:01 -0500)]
test: update librados tests for CLI arg syntax

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agolibrados: update for CLI arg format change
John Spray [Wed, 7 Nov 2018 11:54:02 +0000 (06:54 -0500)]
librados: update for CLI arg format change

Signed-off-by: John Spray <john.spray@redhat.com>
6 years agomgr/restful: Fix deep-scrub typo 24841/head
Boris Ranto [Tue, 30 Oct 2018 20:42:41 +0000 (21:42 +0100)]
mgr/restful: Fix deep-scrub typo

There is a typo in implemented commands for OSD. It reads deep_scrub
instead of deep-scrub which is the true valid command.

Fixes: http://tracker.ceph.com/issues/36720
Signed-off-by: Boris Ranto <branto@redhat.com>
6 years agoMerge pull request #24681 from tspmelo/wip-npm-update
Lenz Grimmer [Wed, 7 Nov 2018 10:55:14 +0000 (11:55 +0100)]
Merge pull request #24681 from tspmelo/wip-npm-update

mgr/dashboard: Update npm packages

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
6 years agodoc/rados: correct osd path in troubleshooting-mon.rst 24964/head
songweibin [Wed, 7 Nov 2018 07:05:41 +0000 (15:05 +0800)]
doc/rados: correct osd path in troubleshooting-mon.rst

Signed-off-by: songweibin <song.weibin@zte.com.cn>
6 years agoMerge pull request #24937 from alfredodeza/wip-rm36704
Alfredo Deza [Tue, 6 Nov 2018 17:49:31 +0000 (12:49 -0500)]
Merge pull request #24937 from alfredodeza/wip-rm36704

ceph-volume tests.systemd update imports for systemd module

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
6 years agoMerge PR #15047 into master
Sage Weil [Tue, 6 Nov 2018 16:47:18 +0000 (10:47 -0600)]
Merge PR #15047 into master

* refs/pull/15047/head:
tool/ceph_objectstore_tool: add new op that reset last_complete to last_update

Reviewed-by: Sage Weil <sage@redhat.com>
6 years agoMerge pull request #24717 from trociny/wip-rbd-mirror-status-instance
Jason Dillaman [Tue, 6 Nov 2018 16:11:49 +0000 (11:11 -0500)]
Merge pull request #24717 from trociny/wip-rbd-mirror-status-instance

rbd: show info about mirror daemon instance in image mirror status output

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24815 from iridescent-rsy/remove-ceph_abort
Jason Dillaman [Tue, 6 Nov 2018 16:11:09 +0000 (11:11 -0500)]
Merge pull request #24815 from iridescent-rsy/remove-ceph_abort

rbd-nbd: do not ceph_abort() after print the usages

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24919 from trociny/wip-tests-migration-namespace
Jason Dillaman [Tue, 6 Nov 2018 16:10:53 +0000 (11:10 -0500)]
Merge pull request #24919 from trociny/wip-tests-migration-namespace

test/librbd: migration supporting namespace tests

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoceph-volume tests.systemd update imports for systemd module 24937/head
Alfredo Deza [Tue, 6 Nov 2018 14:45:08 +0000 (09:45 -0500)]
ceph-volume tests.systemd update imports for systemd module

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoceph-volume systemd import main so console_scripts work for executable
Alfredo Deza [Tue, 6 Nov 2018 14:44:39 +0000 (09:44 -0500)]
ceph-volume systemd import main so console_scripts work for executable

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agoMerge pull request #24824 from Devp00l/wip-issue-36616
Lenz Grimmer [Tue, 6 Nov 2018 14:43:55 +0000 (15:43 +0100)]
Merge pull request #24824 from Devp00l/wip-issue-36616

mgr/dashboard: Simplify OSD disabled action test

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Verify the RGW mail reset behavior 24719/head
Stephan Müller [Tue, 6 Nov 2018 12:49:45 +0000 (13:49 +0100)]
mgr/dashboard: Verify the RGW mail reset behavior

The current behavior when submitting an empty mail field in the RGW user form
that was previously filled was to replace it with "false".

This was a regression introduced through the use of "CdFormGroup" which had
a "_filterValue" method which converted empty strings into false, but it was
removed now.

Fixes: http://tracker.ceph.com/issues/26861
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge PR #14982 into master
Sage Weil [Tue, 6 Nov 2018 13:25:16 +0000 (07:25 -0600)]
Merge PR #14982 into master

* refs/pull/14982/head:
common/mempool: tolerate sum < 0
common/ceph_context: add perf counters for all mempools
common/ceph_common: add heartbeat perf counters unconditionally

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #20735 into master
Sage Weil [Tue, 6 Nov 2018 13:24:14 +0000 (07:24 -0600)]
Merge PR #20735 into master

* refs/pull/20735/head:
msg/async: fix variable type to make it same to EventCenter::init() incoming parameter type

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
6 years agoMerge PR #21723 into master
Sage Weil [Tue, 6 Nov 2018 13:23:50 +0000 (07:23 -0600)]
Merge PR #21723 into master

* refs/pull/21723/head:
osd: flush dirty data if cache_target_dirty_ratio = 0.0

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
6 years agoMerge PR #24835 into master
Sage Weil [Tue, 6 Nov 2018 13:23:26 +0000 (07:23 -0600)]
Merge PR #24835 into master

* refs/pull/24835/head:
include/buffer: make static_assert c++11-safe

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
6 years agomgr/dashboard: Remove _filterValue in CdFormGroup
Stephan Müller [Tue, 6 Nov 2018 12:45:29 +0000 (13:45 +0100)]
mgr/dashboard: Remove _filterValue in CdFormGroup

It turned out that "_filterValue" wasn't needed for any form.

Fixes: http://tracker.ceph.com/issues/26861
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24881 from alfredodeza/wip-rm36672
Alfredo Deza [Tue, 6 Nov 2018 12:10:59 +0000 (07:10 -0500)]
Merge pull request #24881 from alfredodeza/wip-rm36672

ceph-volume tests install ceph-ansible's requirements.txt dependencies

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
6 years agomgr/dashboard: Fix "merge" audit warning 24681/head
Tiago Melo [Mon, 5 Nov 2018 12:13:18 +0000 (12:13 +0000)]
mgr/dashboard: Fix "merge" audit warning

Fixes: https://tracker.ceph.com/issues/36702
Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Remove unit tests warnings
Tiago Melo [Mon, 5 Nov 2018 10:59:13 +0000 (10:59 +0000)]
mgr/dashboard: Remove unit tests warnings

Recent Angular update is causing a warning to be shown when you call
"router.navigate" outside an angular zone.

This is not affecting the code itself, just the unit tests.

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update remaining packages
Tiago Melo [Fri, 19 Oct 2018 17:27:09 +0000 (18:27 +0100)]
mgr/dashboard: Update remaining packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update Angular packages
Tiago Melo [Fri, 19 Oct 2018 16:59:37 +0000 (17:59 +0100)]
mgr/dashboard: Update Angular packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update rxjs and ngx-bootstrap packages
Tiago Melo [Fri, 19 Oct 2018 16:42:39 +0000 (17:42 +0100)]
mgr/dashboard: Update rxjs and ngx-bootstrap packages

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Update prettier package
Tiago Melo [Thu, 18 Oct 2018 16:49:24 +0000 (17:49 +0100)]
mgr/dashboard: Update prettier package

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #24766 from familyuu/crush
Lenz Grimmer [Tue, 6 Nov 2018 08:09:21 +0000 (09:09 +0100)]
Merge pull request #24766 from familyuu/crush

mgr/dashboard: CRUSH map viewer

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agomgr/dashboard: Add CRUSH map viewer 24766/head
guodan1 [Mon, 29 Oct 2018 03:04:28 +0000 (11:04 +0800)]
mgr/dashboard: Add CRUSH map viewer

Fixes: http://tracker.ceph.com/issues/35684
Signed-off-by: familyuu <guodan1@lenovo.com>
6 years agoMerge pull request #24920 from wjwithagen/wjw-fix-build-symbolic
Kefu Chai [Tue, 6 Nov 2018 01:15:48 +0000 (17:15 -0800)]
Merge pull request #24920 from wjwithagen/wjw-fix-build-symbolic

cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD

Reviewed-by: Kefu Chai <kchai@redhat.com>
6 years agoMerge PR #24814 into master
Sage Weil [Mon, 5 Nov 2018 21:51:14 +0000 (15:51 -0600)]
Merge PR #24814 into master

* refs/pull/24814/head:
Merge PR #24804 into nautilus
include/types: fixed compile warning for signed/unsigned comparison
osd/PrimaryLogPG: uncommitted dup ops should respond with logged return code
osd/PrimaryLogPG: propagate error return codes on object copy_get ops
osd/PGLog: optionally record error return codes for extra_reqids
osd/osd_types: include PG log return codes in object copy data

Reviewed-by: Neha Ojha <nojha@redhat.com>
6 years agorgw: move keystone secrets from ceph.conf to files 24816/head
Matt Benjamin [Tue, 30 Oct 2018 01:21:21 +0000 (21:21 -0400)]
rgw: move keystone secrets from ceph.conf to files

Permits setting restrictive permissions on these secrets.

Fixes: http://tracker.ceph.com/issues/36621
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
6 years agoceph-volume tests install ceph-ansible's requirements.txt dependencies 24881/head
Alfredo Deza [Thu, 1 Nov 2018 12:48:28 +0000 (08:48 -0400)]
ceph-volume tests install ceph-ansible's requirements.txt dependencies

Signed-off-by: Alfredo Deza <adeza@redhat.com>
6 years agorbd: show info about mirror instance in image mirror status output 24717/head
Mykola Golub [Thu, 25 Oct 2018 10:14:07 +0000 (13:14 +0300)]
rbd: show info about mirror instance in image mirror status output

It is particularly useful when running multiple rbd-mirror instances
in Active-Passive or Active-Active mode.

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #24891 from iridescent-rsy/fix-return-value
Jason Dillaman [Mon, 5 Nov 2018 17:17:06 +0000 (12:17 -0500)]
Merge pull request #24891 from iridescent-rsy/fix-return-value

rbd: make sure the return-value 'r' will be returned

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24893 from iridescent-rsy/need-to-return
Jason Dillaman [Mon, 5 Nov 2018 17:16:07 +0000 (12:16 -0500)]
Merge pull request #24893 from iridescent-rsy/need-to-return

rbd: return error code when the source and distination namespace are different

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24823 from Devp00l/wip-issue-36615
Lenz Grimmer [Mon, 5 Nov 2018 16:12:54 +0000 (17:12 +0100)]
Merge pull request #24823 from Devp00l/wip-issue-36615

[RFC] mgr/dashboard: Cleanup of OSD list methods

Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
6 years agomgr/dashboard: Simplify OSD disabled action test 24824/head
Stephan Müller [Mon, 29 Oct 2018 16:40:52 +0000 (17:40 +0100)]
mgr/dashboard: Simplify OSD disabled action test

Fixes: https://tracker.ceph.com/issues/36616
Signed-off-by: Stephan Müller <smueller@suse.com>
6 years agoMerge pull request #24475 from votdev/feature_36193
Lenz Grimmer [Mon, 5 Nov 2018 12:52:09 +0000 (13:52 +0100)]
Merge pull request #24475 from votdev/feature_36193

mgr/dashboard: Audit REST API calls

Reviewed-by: Patrick Nawracay <pnawracay@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
6 years agomgr/dashboard: Fix duplicate tasks 24930/head
Tiago Melo [Mon, 5 Nov 2018 11:39:29 +0000 (11:39 +0000)]
mgr/dashboard: Fix duplicate tasks

In certain situations a new task is already in the current summary before we
manually push it to the running task list.
Since we were not checking that, at the end of the operation we would have 2
entries for the same task and that would be displayed in the UI.

Signed-off-by: Tiago Melo <tmelo@suse.com>
6 years agoMerge pull request #24856 from leseb/spec-rbd-mirror
Jason Dillaman [Mon, 5 Nov 2018 12:23:42 +0000 (07:23 -0500)]
Merge pull request #24856 from leseb/spec-rbd-mirror

spec: add missing rbd mirror bootstrap directory

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agoMerge pull request #24892 from p-na/pna-cleanup-pool-form-simpl
Lenz Grimmer [Mon, 5 Nov 2018 12:11:38 +0000 (13:11 +0100)]
Merge pull request #24892 from p-na/pna-cleanup-pool-form-simpl

mgr/dashboard: Simplification of PoolForm method

Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
6 years agocmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD 24920/head
Willem Jan Withagen [Sun, 4 Nov 2018 11:25:34 +0000 (12:25 +0100)]
cmake: do not pass -B{symbolic,symbolic-functions} to linker on FreeBSD

Signed-off-by: Willem Jan Withagen <wjw@digiware.nl>
6 years agospec: add missing rbd mirror bootstrap directory 24856/head
Sébastien Han [Wed, 31 Oct 2018 14:07:42 +0000 (15:07 +0100)]
spec: add missing rbd mirror bootstrap directory

Currently /var/lib/ceph/bootstrap-rbd-mirror is absent, which means we
need to create it manually in order to pool the
client.bootstrap-rbd-mirror key.

Signed-off-by: Sébastien Han <seb@redhat.com>
6 years agomgr/dashboard: Audit REST API calls 24475/head
Volker Theile [Mon, 8 Oct 2018 07:28:57 +0000 (09:28 +0200)]
mgr/dashboard: Audit REST API calls

Fixes: https://tracker.ceph.com/issues/36193
Enable API auditing with 'ceph dashboard set-audit-api-enabled true' (default is false). If you do not want to log the request payload, then disable it via 'set-audit-api-log-payload false' (default is true).

Example output:
2018-10-08 10:25:21.850994 mgr.x [INF] [DASHBOARD] from='https://[::1]:44410' path='/api/auth' method='POST' user='None' params='{"username": "admin", "password": "***", "stay_signed_in": false}'

Signed-off-by: Volker Theile <vtheile@suse.com>
6 years agotest/librbd: migration supporting namespace tests 24919/head
Mykola Golub [Fri, 2 Nov 2018 16:59:14 +0000 (18:59 +0200)]
test/librbd: migration supporting namespace tests

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge pull request #23190 from maxcuttins/master
Jason Dillaman [Sat, 3 Nov 2018 12:48:30 +0000 (08:48 -0400)]
Merge pull request #23190 from maxcuttins/master

doc: rewrote the iscsi-target-cli installation

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
6 years agorbd-mirror: provide instance_id for `ceph service status`
Mykola Golub [Wed, 24 Oct 2018 10:11:48 +0000 (13:11 +0300)]
rbd-mirror: provide instance_id for `ceph service status`

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agolibrbd: API to get info which rbd-mirror daemon is mirroring image
Mykola Golub [Thu, 25 Oct 2018 08:19:36 +0000 (11:19 +0300)]
librbd: API to get info which rbd-mirror daemon is mirroring image

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agocls/rbd: new methods to get image mirror instance info
Mykola Golub [Sat, 27 Oct 2018 16:25:36 +0000 (19:25 +0300)]
cls/rbd: new methods to get image mirror instance info

Signed-off-by: Mykola Golub <mgolub@suse.com>
6 years agoMerge PR #24870 into master
Patrick Donnelly [Fri, 2 Nov 2018 23:59:13 +0000 (16:59 -0700)]
Merge PR #24870 into master

* refs/pull/24870/head:
client: request next osdmap for blacklisted client

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
6 years agodoc: rewrote the iscsi-target-cli installation 23190/head
Massimiliano Cuttini [Mon, 23 Jul 2018 18:57:06 +0000 (20:57 +0200)]
doc: rewrote the iscsi-target-cli installation

Rewrote the documentation in a step-by-step style, reformatted using RST's
titles instead of bolds, added installation of GIT if needed, added
installation of compilers needed for tcmu-runner

Signed-off-by: Massimiliano Cuttini <massimiliano.cuttini@phoenixweb.it>
6 years agoMerge pull request #24895 from votdev/feature_36681
Casey Bodley [Fri, 2 Nov 2018 20:28:26 +0000 (16:28 -0400)]
Merge pull request #24895 from votdev/feature_36681

rgw: Return tenant field in bucket_stats function

Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
6 years agoMerge pull request #24864 from dillaman/wip-36659
Mykola Golub [Fri, 2 Nov 2018 20:10:01 +0000 (22:10 +0200)]
Merge pull request #24864 from dillaman/wip-36659

rbd-mirror: update mirror status when stopping

Reviewed-by: Mykola Golub <mgolub@suse.com>