]> git.apps.os.sepia.ceph.com Git - ceph.git/log
ceph.git
5 years agoqa/suites/krbd: run unmap subsuite with msgr1 only 31290/head
Ilya Dryomov [Tue, 29 Oct 2019 15:19:14 +0000 (16:19 +0100)]
qa/suites/krbd: run unmap subsuite with msgr1 only

pre-single-major.yaml kernel doesn't have any of the monitor client
fixes that came in 4.6.  If the connection is closed, it closes the
session and retries only after 10 seconds.  On top of that, there is
nothing to prevent it from picking the same monitor when reconnecting.
This means that when given both v1 and v2 ports (which look like two
different monitors), it is susceptible to mount_timeout (60 seconds):

  $ sudo rbd map img
  rbd: sysfs write failed
  In some cases useful info is found in syslog - try "dmesg | tail".
  rbd: map failed: (5) Input/output error

  [  822.242313] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  832.265494] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  842.296175] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  852.326924] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  862.357611] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  872.388373] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)
  [  882.676136] libceph: mon0 172.21.15.132:3300 socket closed (con state CONNECTING)

Unlike newer kernels that return ETIMEDOUT, it returns EIO.

Newer kernels are much more aggressive about retries and will pick
a different monitor when reconnecting, hence they are always able to
establish the session in time.

Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
(cherry picked from commit 5011cc926cd434a6c095bab57e4b0658f98f5657)

5 years agoMerge pull request #31210 from sebastian-philipp/nautilus-ceph-volume-device_id
Jan Fajerski [Thu, 31 Oct 2019 10:48:15 +0000 (11:48 +0100)]
Merge pull request #31210 from sebastian-philipp/nautilus-ceph-volume-device_id

nautilus: ceph-volume: add Ceph's device id to inventory

5 years agoMerge pull request #31259 from jan--f/wip-41290-nautilus
Nathan Cutler [Thu, 31 Oct 2019 10:20:56 +0000 (11:20 +0100)]
Merge pull request #31259 from jan--f/wip-41290-nautilus

nautilus: doc: update bluestore cache settings and clarify data fraction

Reviewed-by: Igor Fedotov <ifedotov@suse.com>
5 years agodoc: update bluestore cache settings and clarify data fraction 31259/head
Jan Fajerski [Mon, 29 Apr 2019 12:52:27 +0000 (14:52 +0200)]
doc: update bluestore cache settings and clarify data fraction

Fixes: http://tracker.ceph.com/issues/39522
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
(cherry picked from commit 9d8336a7f418fe2bb11361dd74a214403b1e5be7)

5 years agoceph-volume: add Ceph's device id to inventory 31210/head
Sebastian Wagner [Fri, 18 Oct 2019 11:59:44 +0000 (13:59 +0200)]
ceph-volume: add Ceph's device id to inventory

This will benefit the orchestrator and dashboard to show a unified view of devices with SMART data

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
(cherry picked from commit e70d6041c1a093ed5c2b77abe17e1ede533d9659)

5 years agoMerge pull request #31074 from smithfarm/wip-42417-nautilus
Nathan Cutler [Wed, 23 Oct 2019 14:01:24 +0000 (16:01 +0200)]
Merge pull request #31074 from smithfarm/wip-42417-nautilus

nautilus: doc/rbd: s/guess/xml/ for codeblock lexer

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
5 years agodoc/rbd: s/guess/xml/ for codeblock lexer 31074/head
Kefu Chai [Wed, 16 Oct 2019 04:34:19 +0000 (12:34 +0800)]
doc/rbd: s/guess/xml/ for codeblock lexer

this change silences the warning of

```
doc/rbd/qemu-rbd.rst:174: WARNING: Pygments lexer name 'guess' is not
known
```

see http://pygments.org/docs/lexers/, we should use "xml" for XML .

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

5 years agoMerge pull request #31009 from SUSE/wip-doc-telemetry-default-interval-nautilus
Nathan Cutler [Mon, 21 Oct 2019 20:22:21 +0000 (22:22 +0200)]
Merge pull request #31009 from SUSE/wip-doc-telemetry-default-interval-nautilus

nautilus: doc/mgr/telemetry: update default interval

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agodoc/mgr/telemetry: update default interval 31009/head
Tim Serong [Mon, 21 Oct 2019 07:11:35 +0000 (18:11 +1100)]
doc/mgr/telemetry: update default interval

Commit 712987d533 changed the default interval to 24h;
updating the docs to match (this also should go to
the Nautilus branch as that commit landed there too
in https://github.com/ceph/ceph/pull/27709)

Signed-off-by: Tim Serong <tserong@suse.com>
(cherry picked from commit 3c8793c4bd077db2796b512a3b59cd6a01cb3a8c)

5 years agoMerge pull request #30676 from sobelek/wip-42050-nautilus
Jan Fajerski [Wed, 9 Oct 2019 11:15:12 +0000 (13:15 +0200)]
Merge pull request #30676 from sobelek/wip-42050-nautilus

nautilus: ceph-volume: fix warnings raised by pytest

5 years agoMerge pull request #29965 from smithfarm/wip-41272-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:51:20 +0000 (12:51 -0700)]
Merge pull request #29965 from smithfarm/wip-41272-nautilus

nautilus: rgw: rgw-log issues the wrong message when decompression fails

5 years agoMerge pull request #29969 from smithfarm/wip-41446-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:50:35 +0000 (12:50 -0700)]
Merge pull request #29969 from smithfarm/wip-41446-nautilus

nautilus: rgw_file: readdir: do not construct markers w/leading '/'

5 years agoMerge pull request #29970 from smithfarm/wip-41459-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:50:09 +0000 (12:50 -0700)]
Merge pull request #29970 from smithfarm/wip-41459-nautilus

nautilus: rgw: Put User Policy is sensitive to whitespace

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29972 from smithfarm/wip-41482-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:49:41 +0000 (12:49 -0700)]
Merge pull request #29972 from smithfarm/wip-41482-nautilus

nautilus: rgw: potential realm watch lost

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29974 from smithfarm/wip-41493-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:49:06 +0000 (12:49 -0700)]
Merge pull request #29974 from smithfarm/wip-41493-nautilus

nautilus: rgw: multisite: radosgw-admin bucket sync status incorrectly reports "caught up" during full sync

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29963 from smithfarm/wip-41267-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:46:39 +0000 (12:46 -0700)]
Merge pull request #29963 from smithfarm/wip-41267-nautilus

nautilus: rgw: beast frontend throws an exception when running out of FDs

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29971 from smithfarm/wip-41479-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:45:43 +0000 (12:45 -0700)]
Merge pull request #29971 from smithfarm/wip-41479-nautilus

nautilus: rgw: dns name is not case sensitive

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30037 from smithfarm/wip-41588-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:44:56 +0000 (12:44 -0700)]
Merge pull request #30037 from smithfarm/wip-41588-nautilus

nautilus: rgw: fix a bug that lifecycle expiraton generates delete marker continuously

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30068 from smithfarm/wip-41485-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:44:30 +0000 (12:44 -0700)]
Merge pull request #30068 from smithfarm/wip-41485-nautilus

nautilus: rgw: fix list bucket with delimiter wrongly skip some special keys

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30160 from pdvian/wip-41624-nautilus
Yuri Weinstein [Tue, 8 Oct 2019 19:44:05 +0000 (12:44 -0700)]
Merge pull request #30160 from pdvian/wip-41624-nautilus

nautilus: rgw/rgw_op: Remove get_val from hotpath via legacy options

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30748 from smithfarm/wip-42194
Nathan Cutler [Tue, 8 Oct 2019 14:06:22 +0000 (16:06 +0200)]
Merge pull request #30748 from smithfarm/wip-42194

nautilus: tools: ceph-backport.sh: add deprecation warning

Reviewed-by: Mykola Golub <mgolub@suse.com>
5 years agoMerge pull request #29591 from pdvian/wip-40894-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:41:03 +0000 (12:41 -0700)]
Merge pull request #29591 from pdvian/wip-40894-nautilus

nautilus: mds: cleanup truncating inodes when standby replay mds trim log segments

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #29878 from pdvian/wip-41096-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:40:38 +0000 (12:40 -0700)]
Merge pull request #29878 from pdvian/wip-41096-nautilus

nautilus: cephfs: avoid map been inserted by mistake

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #29879 from pdvian/wip-41099-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:40:17 +0000 (12:40 -0700)]
Merge pull request #29879 from pdvian/wip-41099-nautilus

nautilus: cephfs: fix a memory leak

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #29938 from pdvian/wip-41107-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:39:57 +0000 (12:39 -0700)]
Merge pull request #29938 from pdvian/wip-41107-nautilus

nautilus: mds: delay exporting directory whose pin value exceeds max rank id

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #29983 from pdvian/wip-41128-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:39:35 +0000 (12:39 -0700)]
Merge pull request #29983 from pdvian/wip-41128-nautilus

nautilus: qa: power off still resulted in client sending session close

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30026 from smithfarm/wip-40895-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:38:20 +0000 (12:38 -0700)]
Merge pull request #30026 from smithfarm/wip-40895-nautilus

nautilus: pybind/cephfs: Modification to error message

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30030 from smithfarm/wip-40887-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:37:04 +0000 (12:37 -0700)]
Merge pull request #30030 from smithfarm/wip-40887-nautilus

nautilus: ceph_volume_client: convert string to bytes object

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30031 from smithfarm/wip-40900-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:36:21 +0000 (12:36 -0700)]
Merge pull request #30031 from smithfarm/wip-40900-nautilus

nautilus: mds: evict an unresponsive client only when another client wants its caps

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30032 from smithfarm/wip-41113-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:35:56 +0000 (12:35 -0700)]
Merge pull request #30032 from smithfarm/wip-41113-nautilus

nautilus: cephfs: client: more precise CEPH_CLIENT_CAPS_PENDING_CAPSNAP

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30038 from smithfarm/wip-41276-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:35:29 +0000 (12:35 -0700)]
Merge pull request #30038 from smithfarm/wip-41276-nautilus

nautilus: tests: cephfs: fix malformed qa suite config

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30039 from smithfarm/wip-41465-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:34:56 +0000 (12:34 -0700)]
Merge pull request #30039 from smithfarm/wip-41465-nautilus

nautilus: cephfs: mount.ceph: properly handle -o strictatime

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30040 from smithfarm/wip-41467-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:34:26 +0000 (12:34 -0700)]
Merge pull request #30040 from smithfarm/wip-41467-nautilus

nautilus: mds: trim cache on regular schedule

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30041 from smithfarm/wip-41477-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:34:00 +0000 (12:34 -0700)]
Merge pull request #30041 from smithfarm/wip-41477-nautilus

nautilus: mds: fix InoTable::force_consume_to()

5 years agoMerge pull request #30057 from varshar16/wip-nautilus-cephfs-shell-path-conversion
Yuri Weinstein [Mon, 7 Oct 2019 19:33:34 +0000 (12:33 -0700)]
Merge pull request #30057 from varshar16/wip-nautilus-cephfs-shell-path-conversion

nautilus: cephfs-shell: Convert paths type from string to bytes

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30418 from pdvian/wip-41851-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:33:07 +0000 (12:33 -0700)]
Merge pull request #30418 from pdvian/wip-41851-nautilus

nautilus: mds: make MDSIOContextBase delete itself when shutting down

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30442 from pdvian/wip-41855-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:32:39 +0000 (12:32 -0700)]
Merge pull request #30442 from pdvian/wip-41855-nautilus

nautilus: client: nfs-ganesha with cephfs client, removing dir reports not empty

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoMerge pull request #30455 from smithfarm/wip-41889-nautilus
Yuri Weinstein [Mon, 7 Oct 2019 19:29:43 +0000 (12:29 -0700)]
Merge pull request #30455 from smithfarm/wip-41889-nautilus

nautilus: mgr/volumes: handle exceptions in purge thread with retry

Reviewed-by: Venky Shankar <vshankar@redhat.com>
5 years agoMerge pull request #30508 from ukernel/nautilus-41948
Yuri Weinstein [Mon, 7 Oct 2019 19:28:52 +0000 (12:28 -0700)]
Merge pull request #30508 from ukernel/nautilus-41948

nautilus: mds: wake up lock waiters after forcibly changing lock state

Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoceph-backport.sh: add deprecation warning 30748/head
Nathan Cutler [Mon, 7 Oct 2019 10:49:33 +0000 (12:49 +0200)]
ceph-backport.sh: add deprecation warning

The script is not maintained in the stable versions of Ceph.

This commit is not a cherry-pick from master, because the script is maintained
in master. It is unmaintained only in the stable versions, like "nautilus".

Also add a --version option which, in this case, will also indicate to the
user that this is an outdated, deprecated version of the script.

Fixes: https://tracker.ceph.com/issues/42194
Signed-off-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #30325 from theanalyst/wip-41498-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 20:07:01 +0000 (13:07 -0700)]
Merge pull request #30325 from theanalyst/wip-41498-nautilus

nautilus: rgw: fix the bug of rgw not doing necessary checking to website configuration

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30437 from smithfarm/wip-41846-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 20:06:38 +0000 (13:06 -0700)]
Merge pull request #30437 from smithfarm/wip-41846-nautilus

nautilus: rgw: increase beast parse buffer size to 64k

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30604 from vumrao/wip-vumrao-41976
Yuri Weinstein [Thu, 3 Oct 2019 20:06:15 +0000 (13:06 -0700)]
Merge pull request #30604 from vumrao/wip-vumrao-41976

nautilus: radosgw-admin: add --uid check in bucket list command

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30651 from pdvian/wip-41970-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 20:05:52 +0000 (13:05 -0700)]
Merge pull request #30651 from pdvian/wip-41970-nautilus

nautilus: rgw: ldap auth: S3 auth failure should return InvalidAccessKeyId

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30680 from pdvian/wip-41974-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 20:05:28 +0000 (13:05 -0700)]
Merge pull request #30680 from pdvian/wip-41974-nautilus

nautilus: rgw: add minssing admin property when sync user info.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30247 from pdvian/wip-41631-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:58:18 +0000 (12:58 -0700)]
Merge pull request #30247 from pdvian/wip-41631-nautilus

nautilus: rgw: fixed "unrecognized arg" error when using "radosgw-admin zone rm".

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30248 from pdvian/wip-41627-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:57:45 +0000 (12:57 -0700)]
Merge pull request #30248 from pdvian/wip-41627-nautilus

nautilus: rgw: RGWCoroutine::call(nullptr) sets retcode=0

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30252 from smithfarm/wip-41707-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:56:57 +0000 (12:56 -0700)]
Merge pull request #30252 from smithfarm/wip-41707-nautilus

nautilus: rgw: fix cls_bucket_list_unordered() partial results

Reviewed-by: J. Eric Ivancich <ivancich@redhat.com>
5 years agoMerge pull request #30509 from pdvian/wip-41898-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:55:32 +0000 (12:55 -0700)]
Merge pull request #30509 from pdvian/wip-41898-nautilus

nautilus: rgw: fix data sync start delay if remote haven't init data_log

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #30472 from pdvian/wip-41858-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:54:58 +0000 (12:54 -0700)]
Merge pull request #30472 from pdvian/wip-41858-nautilus

nautilus: rgw: fix memory growth while deleteing objects with

Reviewed-by: Casey Bodley <cbodley@redhat.com>
5 years agoMerge pull request #29716 from xiexingguo/wip-build-push-segv-for-n
Yuri Weinstein [Thu, 3 Oct 2019 19:53:24 +0000 (12:53 -0700)]
Merge pull request #29716 from xiexingguo/wip-build-push-segv-for-n

nautilus: core: osd/ReplicatedBackend: check against empty data_included before enabling crc

5 years agoMerge pull request #29928 from smithfarm/wip-41534-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:52:42 +0000 (12:52 -0700)]
Merge pull request #29928 from smithfarm/wip-41534-nautilus

nautilus: tests: valgrind: UninitCondition in ceph::crypto::onwire::AES128GCM_OnWireRxHandler::authenticated_decrypt_update_final()

5 years agoMerge pull request #29946 from smithfarm/wip-39412-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:51:50 +0000 (12:51 -0700)]
Merge pull request #29946 from smithfarm/wip-39412-nautilus

nautilus: core: pool_stat.dump() - value of num_store_stats is wrong

5 years agoMerge pull request #30278 from pdvian/wip-41703-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:51:12 +0000 (12:51 -0700)]
Merge pull request #30278 from pdvian/wip-41703-nautilus

nautilus: osd/PrimaryLogPG: update oi.size on write op implicitly truncating ob…

Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agoMerge pull request #30605 from vumrao/wip-vumrao-41963
Yuri Weinstein [Thu, 3 Oct 2019 19:50:20 +0000 (12:50 -0700)]
Merge pull request #30605 from vumrao/wip-vumrao-41963

nautilus: tools/rados: call pool_lookup() after rados is connected

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30607 from vumrao/wip-vumrao-41960
Yuri Weinstein [Thu, 3 Oct 2019 19:49:15 +0000 (12:49 -0700)]
Merge pull request #30607 from vumrao/wip-vumrao-41960

nautilus: tools/rados: add --pgid in help

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #30708 from smithfarm/wip-epel-release-snafu-nautilus
Yuri Weinstein [Thu, 3 Oct 2019 19:31:35 +0000 (12:31 -0700)]
Merge pull request #30708 from smithfarm/wip-epel-release-snafu-nautilus

nautilus: build/ops: install-deps: do not install if rpm already installed and ceph.spec.in: s/pkgversion/version_nodots/

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
5 years agoceph.spec.in: fix Cython package dependency for Fedora 30708/head
Jeff Layton [Thu, 26 Sep 2019 11:50:28 +0000 (07:50 -0400)]
ceph.spec.in: fix Cython package dependency for Fedora

Fedora distros do not have python3?-Cython packages, but they do have
python3-Cython ones. Fix the BuildRequires so that we only use the
python3_version_nodots based version string for RHEL.

Fixes: https://tracker.ceph.com/issues/42032
Signed-off-by: Jeff Layton <jlayton@redhat.com>
(cherry picked from commit 40c5a18f81c67c96f6a35e592ac3141b87c19701)

5 years agoceph.spec.in: s/pkgversion/version_nodots/
Kefu Chai [Fri, 30 Aug 2019 11:49:28 +0000 (19:49 +0800)]
ceph.spec.in: s/pkgversion/version_nodots/

`python3_pkgversion` is now defined as 3, while we don't have packages
like python3-Cython yet in EPEL7. but we do have `python36-Cython`. so
let's use `python3_version_nodots` instead.

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

5 years agoinstall-deps: do not install if rpm already installed
Kefu Chai [Fri, 27 Sep 2019 02:26:54 +0000 (10:26 +0800)]
install-deps: do not install if rpm already installed

there is chance that the system already have epel-release-latest-7.noarch.rpm
installed, in that case, install-deps.sh should not fail.

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

5 years agoMerge pull request #30579 from yuvalif/wip-yuval-backport-notif-nautilus
Yuval Lifshitz [Wed, 2 Oct 2019 13:21:35 +0000 (16:21 +0300)]
Merge pull request #30579 from yuvalif/wip-yuval-backport-notif-nautilus

nautilus: rgw/pubsub: backport notifications and pubsub

5 years agoMerge pull request #30601 from smithfarm/wip-42070-nautilus
Nathan Cutler [Wed, 2 Oct 2019 12:00:27 +0000 (14:00 +0200)]
Merge pull request #30601 from smithfarm/wip-42070-nautilus

nautilus: build/ops: install-deps.sh: add EPEL repo for non-x86_64 archs as well

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge branch 'nautilus' into wip-yuval-backport-notif-nautilus 30579/head
Yuval Lifshitz [Wed, 2 Oct 2019 11:50:13 +0000 (14:50 +0300)]
Merge branch 'nautilus' into wip-yuval-backport-notif-nautilus

5 years agoMerge pull request #30686 from smithfarm/wip-40131-nautilus-follow-on
Nathan Cutler [Wed, 2 Oct 2019 11:26:26 +0000 (13:26 +0200)]
Merge pull request #30686 from smithfarm/wip-40131-nautilus-follow-on

nautilus: doc: fix urls in posix.rst

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
5 years agoinstall-deps.sh: add EPEL repo for non-x86_64 archs as well 30601/head
Nathan Cutler [Tue, 24 Sep 2019 19:48:27 +0000 (21:48 +0200)]
install-deps.sh: add EPEL repo for non-x86_64 archs as well

Fixes: https://tracker.ceph.com/issues/42023
Signed-off-by: Kefu Chai <kchai@redhat.com>
Signed-off-by: Nathan Cutler <ncutler@suse.com>
(cherry picked from commit 49d740118f9a0ee6b6bb82954630c654946f1751)

5 years agoMerge pull request #30322 from theanalyst/wip-41700-nautilus
Nathan Cutler [Wed, 2 Oct 2019 10:22:04 +0000 (12:22 +0200)]
Merge pull request #30322 from theanalyst/wip-41700-nautilus

nautilus: build/ops: install-deps.sh: install `python*-devel` for python*rpm-macros

Reviewed-by: Nathan Cutler <ncutler@suse.com>
5 years agoMerge pull request #30245 from smithfarm/wip-41711-nautilus
Nathan Cutler [Wed, 2 Oct 2019 10:00:34 +0000 (12:00 +0200)]
Merge pull request #30245 from smithfarm/wip-41711-nautilus

nautilus: doc/ceph-kvstore-tool: add description for 'stats' command

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
5 years agodoc: fix urls in posix.rst 30686/head
Jos Collin [Thu, 25 Jul 2019 04:33:12 +0000 (10:03 +0530)]
doc: fix urls in posix.rst

Signed-off-by: Jos Collin <jcollin@redhat.com>
(cherry picked from commit c5c5f031f77f778af73f8659b01695b88f158807)

5 years agoMerge pull request #30664 from smithfarm/wip-42105-nautilus
Nathan Cutler [Wed, 2 Oct 2019 09:35:29 +0000 (11:35 +0200)]
Merge pull request #30664 from smithfarm/wip-42105-nautilus

nautilus: build/ops: admin/build-doc: use python3

Reviewed-by: Kefu Chai <kchai@redhat.com>
5 years agoMerge pull request #30004 from smithfarm/wip-41568-nautilus
Nathan Cutler [Wed, 2 Oct 2019 09:08:54 +0000 (11:08 +0200)]
Merge pull request #30004 from smithfarm/wip-41568-nautilus

nautilus: doc: pg_num should always be a power of two

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agoMerge pull request #30003 from smithfarm/wip-41529-nautilus
Nathan Cutler [Wed, 2 Oct 2019 09:06:51 +0000 (11:06 +0200)]
Merge pull request #30003 from smithfarm/wip-41529-nautilus

nautilus: doc: default values for mon_health_to_clog_* were flipped

Reviewed-by: Neha Ojha <nojha@redhat.com>
5 years agorgw: add minssing admin property when sync user info. 30680/head
zhang Shaowen [Wed, 4 Sep 2019 06:46:13 +0000 (14:46 +0800)]
rgw: add minssing admin property when sync user info.

Fixes: https://tracker.ceph.com/issues/41643
Signed-off-by: zhang Shaowen <zhangshaowen@cmss.chinamobile.com>
(cherry picked from commit 9ad975d422aba67c0bf7bc1b114079331e2f7fd5)

5 years agoceph-volume: avoid backported version of configparser 30676/head
Rishabh Dave [Wed, 18 Sep 2019 12:46:45 +0000 (18:16 +0530)]
ceph-volume: avoid backported version of configparser

Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 88a8d5d967c9060e525e91f48b623beebee00c6d)

5 years agoceph-volume: fix warnings raised by pytest
Rishabh Dave [Tue, 17 Sep 2019 08:10:55 +0000 (13:40 +0530)]
ceph-volume: fix warnings raised by pytest

Warnings are related to configparser. Update tests too.

Fixes: https://tracker.ceph.com/issues/41907
Signed-off-by: Rishabh Dave <ridave@redhat.com>
(cherry picked from commit 31a0c7e77bf5d0193e90e6693b424ca5305b47cc)

5 years agoMerge pull request #29731 from pdvian/wip-41081-nautilus
Nathan Cutler [Tue, 1 Oct 2019 16:14:49 +0000 (18:14 +0200)]
Merge pull request #29731 from pdvian/wip-41081-nautilus

nautilus: doc: Fix rbd namespace documentation

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
5 years agoadmin/build-doc: use python3 30664/head
Kefu Chai [Wed, 7 Aug 2019 09:46:13 +0000 (17:46 +0800)]
admin/build-doc: use python3

to address https://github.com/sphinx-doc/sphinx/issues/3620, we need to
use sphinx with its fix at
https://github.com/sphinx-doc/sphinx/commit/e049f86b2de1cfdf8a74c88dc9593d047c85d5cb
in other words, we need to use sphinx v2.0.0 and up. but sphinx 2.0
requires python >= 3.5, so we have to use python3 for building the
documents.

in this change:

* doc-requirements.txt: install python3 packages on debian derivatives
* build-doc: install python3.6 packages from EPEL7, and use python3
  venv for using sphinx2
* doc-requirements.txt: bump up all python packages to latest
  stable.

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

5 years agoMerge PR #30025 into nautilus
Patrick Donnelly [Tue, 1 Oct 2019 02:30:19 +0000 (19:30 -0700)]
Merge PR #30025 into nautilus

* refs/pull/30025/head:
doc: cephfs: add section on fsync error reporting to posix.rst

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
5 years agorgw: ldap auth: S3 auth failure should return InvalidAccessKeyId 30651/head
Matt Benjamin [Wed, 11 Sep 2019 17:22:26 +0000 (13:22 -0400)]
rgw: ldap auth: S3 auth failure should return InvalidAccessKeyId

LDAP was out of sync with the other auth modules, and the default
error code is not correct for S3.

Fixes: https://tracker.ceph.com/issues/41760
Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
(cherry picked from commit 226227cf2d825b3414b7522a9f738180142f3956)

5 years agoMerge pull request #30649 from lordcirth/wip-doc-misplaced-ratio
Xie Xingguo [Mon, 30 Sep 2019 23:47:11 +0000 (07:47 +0800)]
Merge pull request #30649 from lordcirth/wip-doc-misplaced-ratio

doc: max_misplaced option was renamed in Nautilus

Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn>
5 years agodoc: max_misplaced was renamed in Nautilus 30649/head
Nathan Fish [Mon, 30 Sep 2019 18:31:55 +0000 (14:31 -0400)]
doc: max_misplaced was renamed in Nautilus

mgr/balancer/max_misplaced was changed to target_max_misplaced_ratio
in 14.2.0.

Signed-off-by: Nathan Fish <lordcirth@gmail.com>
5 years agoMerge pull request #30554 from alfredodeza/nautilus-guits-41392
Alfredo Deza [Mon, 30 Sep 2019 12:29:28 +0000 (08:29 -0400)]
Merge pull request #30554 from alfredodeza/nautilus-guits-41392

nautilus ceph-volume: do not fail when trying to remove crypt mapper

Reviewed-by: Guillaume Abrioux <gabrioux@redhat.com>
Reviewed-by: Jan Fajerski <jfajerski@redhat.com>
5 years agotools/rados: add --pgid in help 30607/head
Vikhyat Umrao [Fri, 13 Sep 2019 23:53:58 +0000 (16:53 -0700)]
tools/rados: add --pgid in help

This commit 825c7b9729b2410a116e123d4b21210c646704d4 brought
the support for --pgid in rados ls but was not in help.
Fixes: https://tracker.ceph.com/issues/41876
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit ae9a24eaba330fd3f6946063c2bc926f58c93772)

5 years agotools/rados: call pool_lookup() after rados is connected 30605/head
Vikhyat Umrao [Mon, 16 Sep 2019 19:59:56 +0000 (12:59 -0700)]
tools/rados: call pool_lookup() after rados is connected
This commit fixes a segmentation fault when using --pgid
option in rados ls command in combination with --pool/-p option.
The reason for the crash was that we can not use the rados object
before connecting it with the cluster using rados.init_with_context().

Fixes: https://tracker.ceph.com/issues/41875
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit 56b6dd9bd7a50371062128122e6a899f2c79c5f5)

5 years agoradosgw-admin: add --uid check in bucket list command 30604/head
Vikhyat Umrao [Thu, 5 Sep 2019 23:39:51 +0000 (16:39 -0700)]
radosgw-admin: add --uid check in bucket list command
Fixes: https://tracker.ceph.com/issues/41589
Signed-off-by: Vikhyat Umrao <vumrao@redhat.com>
(cherry picked from commit c53597b561837340314f0a169f6881c1814ce0b9)

 Conflicts:
src/rgw/rgw_admin.cc
        - no --new-uid

5 years agoMerge pull request #30049 from smithfarm/wip-41333-nautilus
Nathan Cutler [Thu, 26 Sep 2019 11:13:15 +0000 (13:13 +0200)]
Merge pull request #30049 from smithfarm/wip-41333-nautilus

nautilus: rpm: always build ceph-test package

Reviewed-by: Kyr Shatskyy <kyrylo.shatskyy@suse.de>
5 years agobuild-doc: allow building docs on fedora 30
Yuval Lifshitz [Wed, 4 Sep 2019 10:47:00 +0000 (13:47 +0300)]
build-doc: allow building docs on fedora 30

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit e17e4bfcc048abd1757c3efd12c7443169d67477)

5 years agorgw/pubsub: backporting pubsub/notifications to nautilus
Yuval Lifshitz [Wed, 25 Sep 2019 08:00:50 +0000 (11:00 +0300)]
rgw/pubsub: backporting pubsub/notifications to nautilus

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
5 years agorgw/pubsub: add notification filtering
Yuval Lifshitz [Tue, 10 Sep 2019 15:53:21 +0000 (18:53 +0300)]
rgw/pubsub: add notification filtering

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 543f8f7a2729ab8bd2e1a14d98a3fd2c2e19f9bd)

5 years agorgw/pubsub: support deletion markers and multipart upload
Yuval Lifshitz [Mon, 2 Sep 2019 16:24:46 +0000 (19:24 +0300)]
rgw/pubsub: support deletion markers and multipart upload

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 923799fd960f97b8ddbbe0e106139069d640588b)

5 years agorgw/pubsub: push notifications documentation
Yuval Lifshitz [Thu, 22 Aug 2019 13:31:01 +0000 (16:31 +0300)]
rgw/pubsub: push notifications documentation

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit c345566831c72446c8250f630337825e526847a8)

5 years agorgw/pubsub: push notifications from ops
Yuval Lifshitz [Mon, 12 Aug 2019 16:48:15 +0000 (19:48 +0300)]
rgw/pubsub: push notifications from ops

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit dc31b030ea30f3b7bfdeb9fa92e303892d17138a)

5 years agorgw/pubsub: allow pubsub REST API on master
Yuval Lifshitz [Mon, 8 Jul 2019 20:00:06 +0000 (23:00 +0300)]
rgw/pubsub: allow pubsub REST API on master

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit a14353496d1f75a303495f538141a1a54ff28c60)

5 years agorgw/pubsub: service reordering issue
Yuval Lifshitz [Sun, 25 Aug 2019 14:12:53 +0000 (17:12 +0300)]
rgw/pubsub: service reordering issue

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit e91489f443b5b086ef96b51051d2726728412ff5)

5 years agorgw/pubsub: fix amqp topic bug. add disabled end2end push tests
Yuval Lifshitz [Tue, 25 Jun 2019 04:44:40 +0000 (07:44 +0300)]
rgw/pubsub: fix amqp topic bug. add disabled end2end push tests

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit abfd6f72db3b6e1a797a660a4a601a33605e5f25)

5 years agorgw/pubsub: fix duplicates due to multiple zone synching
Yuval Lifshitz [Mon, 24 Jun 2019 19:24:17 +0000 (22:24 +0300)]
rgw/pubsub: fix duplicates due to multiple zone synching

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 38c23833b35279cb6e1a9b575b5a463959fed348)

5 years agorgw/pubsub: run pubsub tests even if multisite fails
Yuval Lifshitz [Sun, 23 Jun 2019 14:37:49 +0000 (17:37 +0300)]
rgw/pubsub: run pubsub tests even if multisite fails

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 1df809144c2ed96a715c8bd3df6ed5ef48399dd3)

5 years agorgw/pubsub: make new PSZone parameters optional in test
Yuval Lifshitz [Mon, 10 Jun 2019 06:41:19 +0000 (09:41 +0300)]
rgw/pubsub: make new PSZone parameters optional in test

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 0b6909c1e9832d7a6f375f38f32bed58d1e161c2)

5 years agorgw/pubsub: add conf parameter for full/incremental sync
Yuval Lifshitz [Fri, 7 Jun 2019 07:47:45 +0000 (10:47 +0300)]
rgw/pubsub: add conf parameter for full/incremental sync

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit af4c2d5dbb42170ade4ad78088b80b0b5a357c5a)

5 years agorgw: add tenant as parameter to User in multisite tests
Yuval Lifshitz [Sun, 5 May 2019 17:54:31 +0000 (20:54 +0300)]
rgw: add tenant as parameter to User in multisite tests

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 4def929395bce39e9a130d0e8740790815a6a503)

5 years agorgw/pubsub: revert the RGWSysObjectCtx change
Yuval Lifshitz [Mon, 6 May 2019 20:08:48 +0000 (23:08 +0300)]
rgw/pubsub: revert the RGWSysObjectCtx change

Signed-off-by: Yuval Lifshitz <yuvalif@yahoo.com>
(cherry picked from commit 10b8b57d723971604cbabf984291232c194a55ec)