]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
7 years agoclient: quit on failed remount during dentry invalidate test 19370/head
Abhishek Lekshmanan [Wed, 31 Jan 2018 21:57:42 +0000 (22:57 +0100)]
client: quit on failed remount during dentry invalidate test

Fixes: http://tracker.ceph.com/issues/22269
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
(cherry picked from commit 5b2b1d14468c290c56ee6c95ea557c99464e0098)

Conflicts:
  PendingReleaseNotes: trivial conflict
src/ceph_fuse.cc
src/client/Client.cc: i chosed to pick code from 5b2b1d1 because, to fixthe issue, we need to call _do_remount which was introduced in 5b2b1d1.

7 years agoMerge pull request #20213 from dillaman/wip-21868-luminous
Jason Dillaman [Wed, 31 Jan 2018 18:27:40 +0000 (13:27 -0500)]
Merge pull request #20213 from dillaman/wip-21868-luminous

luminous: doc/rbd: tweaks for the LIO iSCSI gateway

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agodoc/rbd: tweaks to the Windows iSCSI initiator directions 20213/head
Jason Dillaman [Fri, 3 Nov 2017 14:09:38 +0000 (10:09 -0400)]
doc/rbd: tweaks to the Windows iSCSI initiator directions

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

7 years agodoc: Added CHAP cofiguration instructions for iSCSI
Ashish Singh [Fri, 20 Oct 2017 15:15:35 +0000 (20:45 +0530)]
doc: Added CHAP cofiguration instructions for iSCSI

Added details to specify the CHAP username and password while
discovering/login the iSCSI target.

Signed-off-by: Ashish Singh <assingh@redhat.com>
(cherry picked from commit 2a5755e0767108aefa6ccfb8a85e5d63e8c04fe8)

7 years agodoc: fix ceph-iscsi-config version number
Mike Christie [Mon, 22 Jan 2018 23:08:55 +0000 (17:08 -0600)]
doc: fix ceph-iscsi-config version number

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 3ab71020a5e420a333cb4a6b0be67ade185c1593)

7 years agodoc: add ceph iscsi test kernel info
Mike Christie [Sat, 20 Jan 2018 22:06:42 +0000 (16:06 -0600)]
doc: add ceph iscsi test kernel info

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 5c30318660eebc882326d87eec39b4fbe4cc85d7)

7 years agodoc: add rbd pool requirement for gwcli
Mike Christie [Tue, 16 Jan 2018 18:46:09 +0000 (12:46 -0600)]
doc: add rbd pool requirement for gwcli

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit b56d994f3addcd9c6a7848dec9be93568cdb2d0e)

7 years agodoc: add daemon-reload for rbd-target-api setup
Mike Christie [Mon, 15 Jan 2018 18:59:37 +0000 (12:59 -0600)]
doc: add daemon-reload for rbd-target-api setup

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 4ca0d508bb9b68c791abc5799d0195f4baace455)

7 years agodoc: add gwcli manual install instructions
Mike Christie [Tue, 16 Jan 2018 18:04:28 +0000 (12:04 -0600)]
doc: add gwcli manual install instructions

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit f45aafed1c7a5393e712f9fbfd7479fc444ad3d8)

7 years agodoc: separate gwcli install from post install setup steps
Mike Christie [Thu, 11 Jan 2018 20:54:06 +0000 (14:54 -0600)]
doc: separate gwcli install from post install setup steps

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit f80f083d0a982d7e89c77e3a6f8d71c2871a8f2c)

7 years agodoc: add note to clarify trusted_ip_list use
Mike Christie [Thu, 11 Jan 2018 20:53:16 +0000 (14:53 -0600)]
doc: add note to clarify trusted_ip_list use

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 3cc367dc6ebca18e884d7c75d2cd1fa7907b7139)

7 years agodoc: update esx instructions
Mike Christie [Thu, 11 Jan 2018 04:14:18 +0000 (22:14 -0600)]
doc: update esx instructions

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 3806f9750d29c6d930a7c8a003902e79b99766f6)

Conflicts:
doc/rbd/iscsi-initiator-esx.rst: trivial resolution

7 years agodoc: add warning about SCSI PGRs/reservations
Mike Christie [Thu, 11 Jan 2018 02:33:03 +0000 (20:33 -0600)]
doc: add warning about SCSI PGRs/reservations

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 62661a2e23ce98432f3c037fa9a8155a633ee182)

7 years agodoc: add esx web based client images
Mike Christie [Thu, 11 Jan 2018 00:51:51 +0000 (18:51 -0600)]
doc: add esx web based client images

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 78e12135eeb5829cad65cebd3c2be9df4d582b1f)

7 years agodoc: remove windows based vsphere client images
Mike Christie [Fri, 12 Jan 2018 01:36:06 +0000 (19:36 -0600)]
doc: remove windows based vsphere client images

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 426b562fdc1b373b72de2d69c4851be22ec12008)

7 years agodoc: fix gwcli examples
Mike Christie [Fri, 12 Jan 2018 01:35:22 +0000 (19:35 -0600)]
doc: fix gwcli examples

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit 480f6a82a2b9dcd0179951ea16432d8d32f2c96d)

7 years agodoc: Update ceph iscsi kernel/distro requirements.
Mike Christie [Wed, 10 Jan 2018 22:38:13 +0000 (16:38 -0600)]
doc: Update ceph iscsi kernel/distro requirements.

Signed-off-by: Mike Christie <mchristi@redhat.com>
(cherry picked from commit f436e993d359dfdad26b7d569d555a3b3a5b798d)

7 years agodoc/rbd: tweaks for the LIO iSCSI gateway
Jason Dillaman [Wed, 11 Oct 2017 16:02:55 +0000 (12:02 -0400)]
doc/rbd: tweaks for the LIO iSCSI gateway

Fixes: http://tracker.ceph.com/issues/21763
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 4f227e108d40271d5d6b2b1e88659d86cbc6c914)

7 years agoMerge pull request #19555 from shinobu-x/wip-22455-luminous
John Spray [Wed, 31 Jan 2018 12:09:08 +0000 (12:09 +0000)]
Merge pull request #19555 from shinobu-x/wip-22455-luminous

 luminous: balancer crush-compat sends "foo" command

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20156 from pdvian/wip-22811-luminous
John Spray [Wed, 31 Jan 2018 12:06:59 +0000 (12:06 +0000)]
Merge pull request #20156 from pdvian/wip-22811-luminous

luminous: mon: fix mgr using auth_client_required policy

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19481 from jan--f/wip-22421-luminous
John Spray [Wed, 31 Jan 2018 12:01:45 +0000 (12:01 +0000)]
Merge pull request #19481 from jan--f/wip-22421-luminous

luminous: mon: reenable timer to send digest when paxos is temporarily inactive

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19553 from shinobu-x/wip-22453-luminous
John Spray [Wed, 31 Jan 2018 11:59:04 +0000 (11:59 +0000)]
Merge pull request #19553 from shinobu-x/wip-22453-luminous

 luminous: mgr/balancer/upmap_max_iterations must be cast to integer

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19624 from shinobu-x/wip-22496-luminous
John Spray [Wed, 31 Jan 2018 11:49:41 +0000 (11:49 +0000)]
Merge pull request #19624 from shinobu-x/wip-22496-luminous

 luminous: KeyError: ('name',) in balancer rm

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19834 from pdvian/wip-22585-luminous
John Spray [Wed, 31 Jan 2018 11:48:50 +0000 (11:48 +0000)]
Merge pull request #19834 from pdvian/wip-22585-luminous

luminous: pybind/mgr/prometheus: fix metric type undef -> untyped

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20084 from pdvian/wip-22760-luminous
John Spray [Wed, 31 Jan 2018 11:47:05 +0000 (11:47 +0000)]
Merge pull request #20084 from pdvian/wip-22760-luminous

luminous: mgr: prometheus: added osd commit/apply latency metrics (#22718).

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20089 from pdvian/wip-22768-luminous
John Spray [Wed, 31 Jan 2018 11:46:03 +0000 (11:46 +0000)]
Merge pull request #20089 from pdvian/wip-22768-luminous

luminous: mgr: disconnect unregistered service daemon when report received

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #20182 from jcsp/wip-22831
John Spray [Wed, 31 Jan 2018 11:42:58 +0000 (11:42 +0000)]
Merge pull request #20182 from jcsp/wip-22831

luminous: pybind/mgr/dashboard: fix reverse proxy support

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #17869 from smithfarm/wip-21479-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:47:21 +0000 (16:47 -0800)]
Merge pull request #17869 from smithfarm/wip-21479-luminous

luminous: mgr: Services reported with blank hostname

Reviewed-by: John Spray <john.spray@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #18832 from shinobu-x/wip-22075-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:46:34 +0000 (16:46 -0800)]
Merge pull request #18832 from shinobu-x/wip-22075-luminous

luminous: mgr tests don't indicate failure if exception thrown from serve()

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #18842 from shinobu-x/wip-21863-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:46:04 +0000 (16:46 -0800)]
Merge pull request #18842 from shinobu-x/wip-21863-luminous

luminous: ceph-conf: dump parsed config in plain text or as json

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19002 from tchaikov/wip-pr-18976-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:45:40 +0000 (16:45 -0800)]
Merge pull request #19002 from tchaikov/wip-pr-18976-luminous

luminous: udev: Fix typo in udev OSD rules file

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #19023 from pdvian/wip-22164-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:44:46 +0000 (16:44 -0800)]
Merge pull request #19023 from pdvian/wip-22164-luminous

luminous: cluster [ERR] Unhandled exception from module 'balancer' while running on mgr.x: 'NoneType' object has no attribute 'iteritems'" in cluster log

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19031 from pdvian/wip-22167-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:44:16 +0000 (16:44 -0800)]
Merge pull request #19031 from pdvian/wip-22167-luminous

luminous: Various odd clog messages for mons

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19039 from jan--f/wip-22199-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:42:52 +0000 (16:42 -0800)]
Merge pull request #19039 from jan--f/wip-22199-luminous

luminous: tools/crushtool: skip device id if no name exists

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #19046 from shinobu-x/wip-22189-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:41:50 +0000 (16:41 -0800)]
Merge pull request #19046 from shinobu-x/wip-22189-luminous

luminous: osdc/Objecter: objecter op_send_bytes perf counter always 0

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19059 from pdvian/wip-22176-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:41:25 +0000 (16:41 -0800)]
Merge pull request #19059 from pdvian/wip-22176-luminous

luminous: osd: subscribe osdmaps if any pending pgs

Reviewed-by: Kefu Chai <kchai@redhat.com>
7 years agoMerge pull request #19083 from smithfarm/wip-22213-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:40:44 +0000 (16:40 -0800)]
Merge pull request #19083 from smithfarm/wip-22213-luminous

luminous: On pg repair the primary is not favored as was intended

Reviewed-by: David Zafman <dzafman@redhat.com>
7 years agoMerge pull request #19084 from shinobu-x/wip-22216-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:40:04 +0000 (16:40 -0800)]
Merge pull request #19084 from shinobu-x/wip-22216-luminous

 luminous: "osd status" command exception if OSD not in pgmap stats

Reviewed-by: John Spray <john.spray@redhat.com>
7 years agoMerge pull request #19118 from tangwenjun3/wip-backport-19030
Yuri Weinstein [Wed, 31 Jan 2018 00:39:36 +0000 (16:39 -0800)]
Merge pull request #19118 from tangwenjun3/wip-backport-19030

luminous: os/bluestore: fix the allocate in bluefs

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
Reviewed-by: Shinobu Kinjo <skinjo@redhat.com>
7 years agoMerge pull request #19133 from smithfarm/wip-22194-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:33:43 +0000 (16:33 -0800)]
Merge pull request #19133 from smithfarm/wip-22194-luminous

luminous: Default kernel.pid_max is easily exceeded during recovery on high OSD-count system

Reviewed-by: David Disseldorp <ddiss@suse.de>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19631 from shinobu-x/wip-22509-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:30:53 +0000 (16:30 -0800)]
Merge pull request #19631 from shinobu-x/wip-22509-luminous

 luminous: osd: "sudo cp /var/lib/ceph/osd/ceph-0/fsid ..." fails

Reviewed-by: Sage Weil <sage@redhat.com>
7 years agoMerge pull request #19839 from tchaikov/wip-22558-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:30:11 +0000 (16:30 -0800)]
Merge pull request #19839 from tchaikov/wip-22558-luminous

luminous: rpm: adjust ceph-{osdomap,kvstore,monstore}-tool feature move

Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #18838 from shinobu-x/wip-21973-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:28:05 +0000 (16:28 -0800)]
Merge pull request #18838 from shinobu-x/wip-21973-luminous

luminous: [test] UpdateFeatures RPC message should be included in test_notify.py

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18840 from shinobu-x/wip-21970-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:27:34 +0000 (16:27 -0800)]
Merge pull request #18840 from shinobu-x/wip-21970-luminous

luminous: [journal] tags are not being expired if no other clients are registered

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agoMerge pull request #18949 from jcsp/wip-luminous-rgw-config-desc
Yuri Weinstein [Wed, 31 Jan 2018 00:26:21 +0000 (16:26 -0800)]
Merge pull request #18949 from jcsp/wip-luminous-rgw-config-desc

luminous: options.cc: document rgw config options

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19051 from shinobu-x/wip-22185-luminous
Yuri Weinstein [Wed, 31 Jan 2018 00:25:18 +0000 (16:25 -0800)]
Merge pull request #19051 from shinobu-x/wip-22185-luminous

luminous: rbd: abort in listing mapped nbd devices when running in a container

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
7 years agopybind/mgr/dashboard: fix reverse proxy support 20182/head
Nick Erdmann [Mon, 22 Jan 2018 12:33:32 +0000 (12:33 +0000)]
pybind/mgr/dashboard: fix reverse proxy support

This fixes http redirection for reverse http proxies

Fixes: http://tracker.ceph.com/issues/22557
Signed-off-by: Nick Erdmann <n@nirf.de>
(cherry picked from commit 95e1963cb5327f0699081c4c4b0b355d109ff0e3)

7 years agopybind/mgr: fix typo
Nick Erdmann [Fri, 26 Jan 2018 13:40:27 +0000 (13:40 +0000)]
pybind/mgr: fix typo

Signed-off-by: Nick Erdmann <n@nirf.de>
(cherry picked from commit fdd64bb2dac33085b47c737032a525d89319c866)

7 years agopybind/mgr/mgr_module: add default param for MgrStandbyModule.get_config()
Kefu Chai [Mon, 15 Jan 2018 03:49:08 +0000 (11:49 +0800)]
pybind/mgr/mgr_module: add default param for MgrStandbyModule.get_config()

this matches its counterpart of MgrModule.

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

7 years agoMerge pull request #20062 from cbodley/wip-luminous-rgw-bilog-trim
Casey Bodley [Tue, 30 Jan 2018 14:29:15 +0000 (09:29 -0500)]
Merge pull request #20062 from cbodley/wip-luminous-rgw-bilog-trim

luminous: rgw multisite: automated trimming for bucket index logs

Reviewed-by: Orit Wasserman <owasserm@redhat.com>
7 years agoMerge pull request #19848 from cbodley/wip-luminous-boost-166
Sage Weil [Mon, 29 Jan 2018 16:22:14 +0000 (10:22 -0600)]
Merge pull request #19848 from cbodley/wip-luminous-boost-166

luminous: backport beast frontend and boost 1.66 update

7 years agoMerge pull request #19500 from shinobu-x/wip-22401-luminous
Sage Weil [Mon, 29 Jan 2018 16:21:07 +0000 (10:21 -0600)]
Merge pull request #19500 from shinobu-x/wip-22401-luminous

luminous: rgw: make HTTP dechunking compatible with Amazon S3

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #17816 from smithfarm/wip-hadoop-s3a
Yuri Weinstein [Mon, 29 Jan 2018 16:12:39 +0000 (08:12 -0800)]
Merge pull request #17816 from smithfarm/wip-hadoop-s3a

luminous: tests: qa/rgw: hadoop-s3a suite targets centos_latest

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #18972 from linuxbox2/luminous-22084
Yuri Weinstein [Mon, 29 Jan 2018 16:10:27 +0000 (08:10 -0800)]
Merge pull request #18972 from linuxbox2/luminous-22084

luminous: rgw: Fix swift object expiry not deleting objects

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19086 from shinobu-x/wip-22210-luminous
Yuri Weinstein [Mon, 29 Jan 2018 16:09:56 +0000 (08:09 -0800)]
Merge pull request #19086 from shinobu-x/wip-22210-luminous

luminous: radosgw-admin zonegroup get and zone get should return defaults when there is no realm

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19088 from pdvian/wip-22177-luminous
Yuri Weinstein [Mon, 29 Jan 2018 16:09:25 +0000 (08:09 -0800)]
Merge pull request #19088 from pdvian/wip-22177-luminous

luminous: rgw: check going_down() when lifecycle processing

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #19636 from shinobu-x/wip-22506-luminous
Yuri Weinstein [Mon, 29 Jan 2018 16:08:15 +0000 (08:08 -0800)]
Merge pull request #19636 from shinobu-x/wip-22506-luminous

luminous: rgw usage trim only trims a few entries

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19784 from linuxbox2/luminous-20201
Yuri Weinstein [Mon, 29 Jan 2018 16:06:43 +0000 (08:06 -0800)]
Merge pull request #19784 from linuxbox2/luminous-20201

luminous: RGW: S3 POST policy should not require Content-Type

Reviewed-by: Casey Bodley <cbodley@redhat.com>
Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
7 years agoMerge pull request #19799 from smithfarm/wip-22581-luminous
Yuri Weinstein [Mon, 29 Jan 2018 16:05:58 +0000 (08:05 -0800)]
Merge pull request #19799 from smithfarm/wip-22581-luminous

luminous: rgw: multisite: 'radosgw-admin sync error list' contains temporary EBUSY errors

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #19867 from smithfarm/wip-22591-luminous
Yuri Weinstein [Mon, 29 Jan 2018 16:03:10 +0000 (08:03 -0800)]
Merge pull request #19867 from smithfarm/wip-22591-luminous

luminous: rgw: refuses upload when Content-Type missing from POST policy

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20051 from ceph/revert-19538-wip-22434-luminous
Yuri Weinstein [Mon, 29 Jan 2018 16:02:23 +0000 (08:02 -0800)]
Merge pull request #20051 from ceph/revert-19538-wip-22434-luminous

Revert "luminous: rgw: user stats increased after bucket reshard"

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20056 from linuxbox2/luminous-rgw-latchfix
Yuri Weinstein [Mon, 29 Jan 2018 16:01:56 +0000 (08:01 -0800)]
Merge pull request #20056 from linuxbox2/luminous-rgw-latchfix

luminous: rgw_file: alternate fix deadlock on lru eviction

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20073 from smithfarm/wip-22767-luminous
Yuri Weinstein [Mon, 29 Jan 2018 15:57:29 +0000 (07:57 -0800)]
Merge pull request #20073 from smithfarm/wip-22767-luminous

luminous: rgw: librgw: fix shutdown error with resources uncleaned

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agoMerge pull request #20075 from smithfarm/wip-22773-luminous
Yuri Weinstein [Mon, 29 Jan 2018 15:56:53 +0000 (07:56 -0800)]
Merge pull request #20075 from smithfarm/wip-22773-luminous

luminous: rgw: file deadlock on lru evicting

Reviewed-by: Matt Benjamin <mbenjami@redhat.com>
7 years agoMerge pull request #20107 from dreamhost/wip-22792
Yuri Weinstein [Mon, 29 Jan 2018 15:56:04 +0000 (07:56 -0800)]
Merge pull request #20107 from dreamhost/wip-22792

luminous: rgw: When a system object is created exclusively, do not distribute the

Reviewed-by: Casey Bodley <cbodley@redhat.com>
7 years agomgr: apply auth_service_required to client conns 20156/head
John Spray [Tue, 23 Jan 2018 12:43:12 +0000 (07:43 -0500)]
mgr: apply auth_service_required to client conns

Previously was using auth_cluster_required for all
connections, which meant that if someone had
disabled client cephx, they'd get BADAUTHORIZER
from their CLI when it tried to load mgr
command descriptions.

Disabling cephx on the admin CLI is odd, but the mon
tolerates it so the mgr should too.

Fixes: https://tracker.ceph.com/issues/22096
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 86ee30c33a06a13e6bb360b80dd1e41ba928147b)

7 years agomon: fix mgr using auth_client_required policy
John Spray [Mon, 22 Jan 2018 13:42:20 +0000 (13:42 +0000)]
mon: fix mgr using auth_client_required policy

This caused mgr daemons to fail to authenticate
when auth_client_required was set to something
different to auth_cluster_required.

Fixes: https://tracker.ceph.com/issues/22096
Signed-off-by: John Spray <john.spray@redhat.com>
(cherry picked from commit 1e06fe003e50d360b5c5ce9824bba044b6406ec5)

7 years agoosd: Scrub of object with only object error(s) are not logged 19083/head
David Zafman [Sat, 21 Oct 2017 02:50:32 +0000 (19:50 -0700)]
osd: Scrub of object with only object error(s) are not logged

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

7 years agoosd: Primary shard needs to be at the front to be preferred
David Zafman [Sat, 21 Oct 2017 00:34:49 +0000 (17:34 -0700)]
osd: Primary shard needs to be at the front to be preferred

Caused by: cd0d8b0714d8684cf61b4650e170027ef46f489b

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

7 years agoceph-osdomap-tool: Add compact comand option
David Zafman [Thu, 19 Oct 2017 19:56:58 +0000 (12:56 -0700)]
ceph-osdomap-tool: Add compact comand option

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

7 years agoosd: Fixes for mark_unfound_lost
David Zafman [Thu, 19 Oct 2017 01:07:41 +0000 (18:07 -0700)]
osd: Fixes for mark_unfound_lost

Let recovery requeue operations and release backoff
For "delete" mark object context, if present, to non-existent

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

7 years agoceph-objectstore-tool: Fix debug output
David Zafman [Wed, 18 Oct 2017 23:07:16 +0000 (16:07 -0700)]
ceph-objectstore-tool: Fix debug output

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

7 years agotest: Remove bogus check in ceph_objectstore_tool.py
David Zafman [Wed, 18 Oct 2017 23:04:59 +0000 (16:04 -0700)]
test: Remove bogus check in ceph_objectstore_tool.py

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

7 years agoMerge pull request #20136 from dillaman/wip-22815-luminous
Jason Dillaman [Fri, 26 Jan 2018 13:15:17 +0000 (08:15 -0500)]
Merge pull request #20136 from dillaman/wip-22815-luminous

luminous: qa/workunits/rbd: switch devstack to pike release

Reviewed-by: Mykola Golub <mgolub@suse.com>
7 years agoqa/workunits/rbd: switch devstack to pike release 20136/head
Jason Dillaman [Wed, 24 Jan 2018 16:28:19 +0000 (11:28 -0500)]
qa/workunits/rbd: switch devstack to pike release

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

7 years agoMerge pull request #19105 from batrick/i22228
Yuri Weinstein [Thu, 25 Jan 2018 20:03:21 +0000 (12:03 -0800)]
Merge pull request #19105 from batrick/i22228

luminous: client: anchor Inode while trimming caps

Reviewed-by: Yan, Zheng <zyan@redhat.com>
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
7 years agoMerge pull request #19360 from ukernel/luminous-22219
Yuri Weinstein [Thu, 25 Jan 2018 20:02:32 +0000 (12:02 -0800)]
Merge pull request #19360 from ukernel/luminous-22219

luminous: mds: ignore export pin for unlinked directory

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19646 from pdvian/wip-22503-luminous
Yuri Weinstein [Thu, 25 Jan 2018 20:01:35 +0000 (12:01 -0800)]
Merge pull request #19646 from pdvian/wip-22503-luminous

luminous: mds: properly eval locks after importing inode

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #20055 from dzafman/wip-22724
Josh Durgin [Thu, 25 Jan 2018 19:46:32 +0000 (11:46 -0800)]
Merge pull request #20055 from dzafman/wip-22724

luminous: miscounting degraded objects and PG stuck in recovery_unfound

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge branch 'luminous' into wip-22724 20055/head
David Zafman [Thu, 25 Jan 2018 19:44:18 +0000 (11:44 -0800)]
Merge branch 'luminous' into wip-22724

7 years agoMerge pull request #20081 from dzafman/wip-recovering-luminous
Josh Durgin [Thu, 25 Jan 2018 19:36:22 +0000 (11:36 -0800)]
Merge pull request #20081 from dzafman/wip-recovering-luminous

luminous: osd/ReplicatedPG.cc: recover_replicas: object added to missing set for backfill, but is not in recovering, error!

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #18008 from ukernel/luminous-21584
Yuri Weinstein [Thu, 25 Jan 2018 19:12:20 +0000 (11:12 -0800)]
Merge pull request #18008 from ukernel/luminous-21584

luminous: mds: fix CDir::log_mark_dirty()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
7 years agoMerge pull request #18782 from ukernel/luminous-21985
Yuri Weinstein [Thu, 25 Jan 2018 19:11:17 +0000 (11:11 -0800)]
Merge pull request #18782 from ukernel/luminous-21985

luminous: mds: fix MDS_FEATURE_INCOMPAT_FILE_LAYOUT_V2 definition

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18783 from ukernel/luminous-21975
Yuri Weinstein [Thu, 25 Jan 2018 19:09:39 +0000 (11:09 -0800)]
Merge pull request #18783 from ukernel/luminous-21975

luminous: mds: trim 'N' log segments according to how many log segments are there

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18831 from shinobu-x/wip-22076-luminous
Yuri Weinstein [Thu, 25 Jan 2018 19:08:27 +0000 (11:08 -0800)]
Merge pull request #18831 from shinobu-x/wip-22076-luminous

luminous: cephfs: "ceph tell mds" commands result in "File exists" errors on client admin socket

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18835 from shinobu-x/wip-22074-luminous
Yuri Weinstein [Thu, 25 Jan 2018 19:07:27 +0000 (11:07 -0800)]
Merge pull request #18835 from shinobu-x/wip-22074-luminous

luminous: mds: don't check gid when none specified in auth caps

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18869 from shinobu-x/wip-21952-luminous
Yuri Weinstein [Thu, 25 Jan 2018 19:06:52 +0000 (11:06 -0800)]
Merge pull request #18869 from shinobu-x/wip-21952-luminous

luminous: mds: no assertion on inode being purging in find_ino_peers()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18871 from shinobu-x/wip-21947-luminous
Yuri Weinstein [Thu, 25 Jan 2018 19:06:17 +0000 (11:06 -0800)]
Merge pull request #18871 from shinobu-x/wip-21947-luminous

luminous: mds: preserve order of requests during recovery of multimds cluster

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #18912 from shinobu-x/wip-22077-luminous
Yuri Weinstein [Thu, 25 Jan 2018 19:05:28 +0000 (11:05 -0800)]
Merge pull request #18912 from shinobu-x/wip-22077-luminous

luminous: src/mds/MDCache.cc: 7421: FAILED assert(CInode::count() == inode_map.size() + snap_inode_map.size())

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19055 from shinobu-x/wip-22192-luminous
Yuri Weinstein [Thu, 25 Jan 2018 19:04:50 +0000 (11:04 -0800)]
Merge pull request #19055 from shinobu-x/wip-22192-luminous

luminous: MDSMonitor: monitor gives constant "is now active in filesystem cephfs as rank" cluster log info messages

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Yan, Zheng <zyan@redhat.com>
7 years agoMerge pull request #19326 from ukernel/luminous-22263
Yuri Weinstein [Thu, 25 Jan 2018 19:02:59 +0000 (11:02 -0800)]
Merge pull request #19326 from ukernel/luminous-22263

luminous: mds: handle client reconnect gather race

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19480 from smithfarm/wip-22407-luminous
Yuri Weinstein [Thu, 25 Jan 2018 19:00:27 +0000 (11:00 -0800)]
Merge pull request #19480 from smithfarm/wip-22407-luminous

luminous: cephfs: client: implement delegation support in userland cephfs

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
7 years agoMerge pull request #19775 from ukernel/luminous-19578
Yuri Weinstein [Thu, 25 Jan 2018 18:58:46 +0000 (10:58 -0800)]
Merge pull request #19775 from ukernel/luminous-19578

luminous: mds: track dirty dentries in separate list

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #19827 from pdvian/wip-22587-luminous
Yuri Weinstein [Thu, 25 Jan 2018 18:58:18 +0000 (10:58 -0800)]
Merge pull request #19827 from pdvian/wip-22587-luminous

luminous: mds: reduce debugging level for balancer messages

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Amit Kumar <amitkuma@redhat.com>
7 years agoMerge pull request #20082 from smithfarm/wip-21525-luminous
Yuri Weinstein [Thu, 25 Jan 2018 18:57:05 +0000 (10:57 -0800)]
Merge pull request #20082 from smithfarm/wip-21525-luminous

luminous: cephfs: client: dual client segfault with racing ceph_shutdown

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
7 years agoMerge pull request #20085 from pdvian/wip-22763-luminous
Yuri Weinstein [Thu, 25 Jan 2018 18:55:53 +0000 (10:55 -0800)]
Merge pull request #20085 from pdvian/wip-22763-luminous

luminous: cephfs-journal-tool: add "set pool_id" option

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoMerge pull request #20086 from pdvian/wip-22765-luminous
Yuri Weinstein [Thu, 25 Jan 2018 18:55:19 +0000 (10:55 -0800)]
Merge pull request #20086 from pdvian/wip-22765-luminous

luminous: client: avoid recursive lock in ll_get_vino

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
7 years agoqa/rgw: hadoop suite targets centos_latest 17816/head
Casey Bodley [Mon, 18 Sep 2017 17:29:40 +0000 (13:29 -0400)]
qa/rgw: hadoop suite targets centos_latest

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

Conflicts:
    qa/suites/rgw/hadoop-s3a/s3a-hadoop.yaml (changes already backported
        via 6b5f212b9170dbd99779527b41be233b9d40b5e4)

7 years agoqa/rgw: use overrides for hadoop version
Casey Bodley [Mon, 18 Sep 2017 17:28:22 +0000 (13:28 -0400)]
qa/rgw: use overrides for hadoop version

instead of having two separate tasks, add v27.yaml and v28.yaml with
overrides for hadoop_version

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

7 years agoMerge pull request #18019 from ukernel/luminous-21091
Yuri Weinstein [Thu, 25 Jan 2018 17:11:10 +0000 (09:11 -0800)]
Merge pull request #18019 from ukernel/luminous-21091

luminous: mds: fix StrayManager::truncate()

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>