]>
git.apps.os.sepia.ceph.com Git - ceph.git/log
Sage Weil [Tue, 17 Dec 2019 16:52:37 +0000 (10:52 -0600)]
qa/suites/rgw: disable valgrind for tests that require py2/ubuntu
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 17 Dec 2019 14:34:14 +0000 (08:34 -0600)]
qa/suites/rgw: disable remaining ragweed test
Needs to be py3 since it relies on the python bindings.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Dec 2019 17:50:25 +0000 (11:50 -0600)]
qa/suites/rgw: pin swift tests to py2/ubuntu
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Dec 2019 17:47:48 +0000 (11:47 -0600)]
qa/suites/rgw: ragweed on ubuntu
ragweed uses nosetests; stick to py2 for now.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Dec 2019 17:37:10 +0000 (11:37 -0600)]
qa/suites: run s3tests on ubuntu
Note that this does not capture the rgw/website test on valgrind, since
valgrind is centos only.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Mon, 16 Dec 2019 16:04:13 +0000 (10:04 -0600)]
Merge PR #32198 into master
* refs/pull/32198/head:
cephadm: Fix Python2.7 isssue
cephadm: fix how uid/gid is determined
cephadm: add sample configuration for prometheus
cephadm: support deployment of prometheus
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Laura Paduano [Mon, 16 Dec 2019 14:28:33 +0000 (15:28 +0100)]
Merge pull request #32211 from rhcs-dashboard/43284-fix-frontend-e2e-script
mgr/dashboard: run-frontend-e2e-tests.sh: allow user defined BASE_URL…
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Laura Paduano [Mon, 16 Dec 2019 14:27:46 +0000 (15:27 +0100)]
Merge pull request #31819 from ricardoasmarques/wip-42687
mgr/dashboard: iSCSI targets not available if any gateway is down
Reviewed-by: Tiago Melo <tmelo@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Sage Weil [Mon, 16 Dec 2019 13:15:28 +0000 (07:15 -0600)]
Merge PR #32246 into master
* refs/pull/32246/head:
mgr/cephadm: remove redundant /dev when blinking device light
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Mykola Golub [Mon, 16 Dec 2019 11:53:34 +0000 (13:53 +0200)]
Merge pull request #32257 from dillaman/wip-41556
rbd-mirror: extract journal replaying logic from image replayer
Reviewed-by: Mykola Golub <mgolub@suse.com>
Sebastian Wagner [Mon, 16 Dec 2019 11:19:03 +0000 (12:19 +0100)]
cephadm: Fix Python2.7 isssue
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Lenz Grimmer [Mon, 16 Dec 2019 09:55:36 +0000 (09:55 +0000)]
mgr/dashboard: CephFS quota management (#31811)
mgr/dashboard: CephFS quota management
Reviewed-by: Patrick Seidensal <pnawracay@suse.com>
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Lenz Grimmer [Mon, 16 Dec 2019 09:49:16 +0000 (09:49 +0000)]
mgr/dashboard: add password expiration date (#30939)
mgr/dashboard: add password expiration date
Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Mon, 16 Dec 2019 09:42:56 +0000 (09:42 +0000)]
mgr/dashboard: Display OSD device class in OSD list (#32092)
mgr/dashboard: Display OSD device class in OSD list
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Kefu Chai [Mon, 16 Dec 2019 09:30:08 +0000 (17:30 +0800)]
Merge pull request #31815 from tchaikov/wip-mgr-dashboard-gevent
mgr/dashboard: install teuthology using pip
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Jason Dillaman [Fri, 13 Dec 2019 15:54:58 +0000 (10:54 -0500)]
rbd-mirror: switch image replayer to new standalone journal replayer
Remove all the original journal replaying code embedded in the image
replayer and instead rely on the new journal replayer class.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sat, 7 Dec 2019 21:52:51 +0000 (16:52 -0500)]
rbd-mirror: extract journal replay logic to its own class
This will help to greatly reduce the journal-specific code in the
current image replayer.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Fri, 13 Dec 2019 01:46:14 +0000 (20:46 -0500)]
rbd-mirror: moved image asok/perf counter name helper to utils
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sat, 7 Dec 2019 03:38:33 +0000 (22:38 -0500)]
rbd-mirror: moved event pre-processor to sub-namespace
The current implementation is tied to journal-based replaying so
move it down into the journal sub-namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sat, 7 Dec 2019 03:03:02 +0000 (22:03 -0500)]
rbd-mirror: moved replay status formatter to sub-namespace
The current implementation is tied to journal-based replaying so
move it down into a new journal sub-namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sat, 7 Dec 2019 02:50:15 +0000 (21:50 -0500)]
rbd-mirror: drop 'using namespace' in image replayer state machine
This is going to cause conflicts w/ the '::journal' namespace and
future 'rbd::mirror::image_replayer::journal' namespace.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 15 Dec 2019 23:46:40 +0000 (18:46 -0500)]
Merge pull request #32142 from changchengx/doc_libvirt
doc/rbd: simplify libvirt usage
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 15 Dec 2019 23:29:17 +0000 (18:29 -0500)]
Merge pull request #32243 from trociny/wip-43289
rbd-mirror: fix race on namespace replayer initialization failure
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 15 Dec 2019 23:28:52 +0000 (18:28 -0500)]
Merge pull request #32184 from trociny/wip-43004
rbd-mirror: rename per-image replication perf counters
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Jason Dillaman [Sun, 15 Dec 2019 23:27:23 +0000 (18:27 -0500)]
Merge pull request #32113 from lixiaoy1/master
librbd: finish write request early
Reviewed-by: Jason Dillaman <dillaman@redhat.com>
Sage Weil [Sun, 15 Dec 2019 22:40:45 +0000 (16:40 -0600)]
Merge PR #32251 into master
* refs/pull/32251/head:
mds/MDSDaemon: fix asok 'exit' and 'respawn' commands
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Sun, 15 Dec 2019 19:08:35 +0000 (13:08 -0600)]
Merge PR #32260 into master
* refs/pull/32260/head:
.organizationmap: Wido 42on -> 42on
Reviewed-by: Kefu Chai <kchai@redhat.com>
Paul Cuzner [Thu, 12 Dec 2019 21:52:19 +0000 (10:52 +1300)]
cephadm: fix how uid/gid is determined
The uid/gid is determined by looking at file ownership. It
was looking at /etc/ceph, but on current builds this is owned by root so switched to using /var/lib/ceph which
is the homedir of the ceph account.
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Paul Cuzner [Thu, 12 Dec 2019 20:30:33 +0000 (09:30 +1300)]
cephadm: add sample configuration for prometheus
Provides an example definition that sets up an
initial prometheus server with a scrape of itself.
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Paul Cuzner [Thu, 12 Dec 2019 04:29:19 +0000 (17:29 +1300)]
cephadm: support deployment of prometheus
Initial support to enable cephadm to deploy
monitoring containers like prometheus. This
patch adds support for prometheus. It is the callers
responsibility to provide a valid prometheus.yml
file passed within the --config-json parameter.
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Sage Weil [Sun, 15 Dec 2019 16:21:07 +0000 (10:21 -0600)]
.organizationmap: Wido 42on -> 42on
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sun, 15 Dec 2019 01:43:08 +0000 (19:43 -0600)]
Merge PR #32158 into master
* refs/pull/32158/head:
cephadm: fix exception when no time sync is running
cephadm: properly extract osd fsid during adoption
cephadm: do ceph-volume activate+deactivate as part of systemd unit
ceph-daemon: behave with no /etc/ceph/ceph.conf
Reviewed-by: Jan Fajerski <jfajerski@suse.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Sat, 14 Dec 2019 14:22:12 +0000 (08:22 -0600)]
cephadm: fix exception when no time sync is running
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 13 Dec 2019 23:14:12 +0000 (17:14 -0600)]
cephadm: properly extract osd fsid during adoption
This needs to be passed to the deploy_daemon_units method so that we can
set up the pre and post c-v calls properly.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 13 Dec 2019 14:37:29 +0000 (08:37 -0600)]
cephadm: do ceph-volume activate+deactivate as part of systemd unit
1- Do the activate as part of the unit on start, since it may include
setup that disappears on a reboot, like starting up the dmcrypted volume.
2- Do the matching deactivate step when the container stops, like shutting
down the dmcrypt volume.
Right now the OSD is the only thing that needs this special behavior.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Tue, 10 Dec 2019 16:20:52 +0000 (10:20 -0600)]
ceph-daemon: behave with no /etc/ceph/ceph.conf
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 14 Dec 2019 04:03:45 +0000 (22:03 -0600)]
Merge PR #32244 into master
* refs/pull/32244/head:
qa/workunits/cephadm/test_cephadm.sh: re-enable `adopt` tests
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 13 Dec 2019 20:34:31 +0000 (14:34 -0600)]
mds/MDSDaemon: fix asok 'exit' and 'respawn' commands
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Sat, 14 Dec 2019 02:13:55 +0000 (20:13 -0600)]
Merge PR #32253 into master
* refs/pull/32253/head:
mgr/orchestrator: make hosts and label args consistent
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Sat, 14 Dec 2019 02:12:53 +0000 (20:12 -0600)]
Merge PR #32209 into master
* refs/pull/32209/head:
mgr/cephadm: Add unittest for service_action
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 13 Dec 2019 22:30:29 +0000 (16:30 -0600)]
mgr/orchestrator: make hosts and label args consistent
- hosts is always n=N; labels is not
- hosts always before labels
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 13 Dec 2019 20:41:14 +0000 (14:41 -0600)]
Merge PR #32192 into master
* refs/pull/32192/head:
common: handle return value from read(2)
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 13 Dec 2019 20:40:13 +0000 (14:40 -0600)]
Merge PR #32195 into master
* refs/pull/32195/head:
osd/PeeringState.cc: skip peer_purged when discovering all missing
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: David Zafman <dzafman@redhat.com>
Sage Weil [Fri, 13 Dec 2019 20:39:40 +0000 (14:39 -0600)]
Merge PR #32203 into master
* refs/pull/32203/head:
Revert "mgr/DaemonServer: safe-to-destroy - do not consider irrelevant pgs"
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 13 Dec 2019 20:39:20 +0000 (14:39 -0600)]
Merge PR #32219 into master
* refs/pull/32219/head:
common: move xattr -> os/filestore/os_xattr
Reviewed-by: Kefu Chai <kchai@redhat.com>
Sage Weil [Fri, 13 Dec 2019 19:50:42 +0000 (13:50 -0600)]
Merge PR #32250 into master
* refs/pull/32250/head:
mgr/cephadm: fix temp file prefixes
qa: fix lingering ceph-mgr-ssh -> ceph-mgr-cephadm refs
Reviewed-by: Neha Ojha <nojha@redhat.com>
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Patrick Donnelly [Fri, 13 Dec 2019 19:29:04 +0000 (11:29 -0800)]
Merge PR #32144 into master
* refs/pull/32144/head:
doc: mention multimds suite in dev guide
doc: clarify difference between fs and kcephfs suite
Reviewed-by: Varsha Rao <varao@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Patrick Donnelly [Fri, 13 Dec 2019 19:07:21 +0000 (11:07 -0800)]
Merge PR #32024 into master
* refs/pull/32024/head:
stop: Unmount cephFS volumes
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Sage Weil [Fri, 13 Dec 2019 18:48:44 +0000 (12:48 -0600)]
mgr/cephadm: fix temp file prefixes
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 13 Dec 2019 18:48:06 +0000 (12:48 -0600)]
qa: fix lingering ceph-mgr-ssh -> ceph-mgr-cephadm refs
Signed-off-by: Sage Weil <sage@redhat.com>
Neha Ojha [Fri, 13 Dec 2019 18:23:34 +0000 (10:23 -0800)]
Merge pull request #32226 from neha-ojha/wip-four-percent
doc/rados: Better block.db size recommendations for bluestore
Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
Neha [Thu, 12 Dec 2019 22:04:57 +0000 (22:04 +0000)]
doc/rados: Better block.db size recommendations for bluestore
Signed-off-by: Neha Ojha <nojha@redhat.com>
Nathan Cutler [Fri, 13 Dec 2019 16:49:43 +0000 (17:49 +0100)]
Merge pull request #32040 from smithfarm/wip-rn-13-2-8-mimic
doc/releases: add release notes for mimic v13.2.8
Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Neha Ojha <nojha@redhat.com>
Sage Weil [Fri, 13 Dec 2019 16:24:03 +0000 (10:24 -0600)]
mgr/cephadm: remove redundant /dev when blinking device light
Fixes: https://tracker.ceph.com/issues/43223
Signed-off-by: Sage Weil <sage@redhat.com>
Nathan Cutler [Tue, 10 Dec 2019 16:55:54 +0000 (17:55 +0100)]
doc/releases: add Mimic v13.2.8 to releases timeline
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Sage Weil [Fri, 13 Dec 2019 15:34:43 +0000 (09:34 -0600)]
Merge PR #32236 into master
* refs/pull/32236/head:
pybind/mgr: add_tox_test: Add mypy to TOX_ENVS
Reviewed-by: Sage Weil <sage@redhat.com>
Michael Fritch [Fri, 13 Dec 2019 14:33:54 +0000 (07:33 -0700)]
qa/workunits/cephadm/test_cephadm.sh: re-enable `adopt` tests
Signed-off-by: Michael Fritch <mfritch@suse.com>
Stephan Müller [Thu, 21 Nov 2019 15:40:51 +0000 (16:40 +0100)]
mgr/dashboard: Avoid escaped quotes using TSLint
The problem was that the TSLint linting hasn't matched the
linting of prettier regarding the quotes of a string.
Explanation:
'\'' will be converted to "'" with prettier, but TSLint thrown an
error that it wanted the string to look like '\''.
Now TSLint will not error if it sees an single quote inside a double
quote to match the behavior of prettier.
Fixes: https://tracker.ceph.com/issues/38287
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Thu, 21 Nov 2019 07:57:49 +0000 (08:57 +0100)]
mgr/dashboard: Allow string descriptions in confirmation modal
Fixes: https://tracker.ceph.com/issues/38287
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Fri, 15 Nov 2019 12:27:52 +0000 (13:27 +0100)]
mgr/dashboard: Add binary min and max validators
Adds simple validators that resemble the min and max validators for
numbers.
As a binary size (the string) has first be converted into bytes
(the number) to validate against some other number and in case of an
error the other number want's to be converted into a size to display,
the whole process needs a bunch of conversion, but these validators take
care of all that.
Fixes: https://tracker.ceph.com/issues/38287
Signed-off-by: Stephan Müller <smueller@suse.com>
Stephan Müller [Tue, 19 Nov 2019 08:28:26 +0000 (09:28 +0100)]
mgr/dashboard: Make form modal more flexible
Now any input type is supported and the special binary type which will
use the cd-binary input and automatically format the binary size into
bytes when submitting.
Now any field can have custom validators and error messages.
The form will fallback on predefined error messages if not configured.
It will use the error messages provided by the binary min and max
validators. It still provides the error message for a required field.
Fixes: https://tracker.ceph.com/issues/38287
Signed-off-by: Stephan Müller <smueller@suse.com>
Laura Paduano [Fri, 13 Dec 2019 14:40:31 +0000 (15:40 +0100)]
Merge pull request #32005 from s0nea/wip-dashboard-reactivate-suites
mgr/dashboard: reactivate dashboard test suites
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Sebastian Wagner [Fri, 13 Dec 2019 11:01:57 +0000 (12:01 +0100)]
pybind/mgr: add_tox_test: Add mypy to TOX_ENVS
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Stephan Müller [Wed, 6 Nov 2019 16:47:47 +0000 (17:47 +0100)]
mgr/dashboard: CephFS quota management
Now both CephFS quotas can be changed with a validation against the next
tree maximum in the file tree, that prevents setting the quotas in a way
that would not be usable.
Fixes: https://tracker.ceph.com/issues/38287
Signed-off-by: Stephan Müller <smueller@suse.com>
Mykola Golub [Fri, 13 Dec 2019 13:16:17 +0000 (15:16 +0200)]
rbd-mirror: fix race on namespace replayer initialization failure
Fixes: https://tracker.ceph.com/issues/43289
Signed-off-by: Mykola Golub <mgolub@suse.com>
Laura Paduano [Fri, 13 Dec 2019 12:20:25 +0000 (13:20 +0100)]
Merge pull request #31851 from votdev/issue_42609_device_lights
mgr/dashboard: Add support for blinking enclosure LEDs
Reviewed-by: Lenz Grimmer <lgrimmer@suse.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Kotresh HR [Thu, 5 Dec 2019 05:53:00 +0000 (11:23 +0530)]
stop: Unmount cephFS volumes
When stop.sh is run while the cephFS is mounted,
mount processes are retained and can't be killed.
And also the mount and df commands hang after this.
This patch unmounts the mounted volumes cleanly.
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Laura Paduano [Fri, 13 Dec 2019 11:59:58 +0000 (12:59 +0100)]
Merge pull request #32186 from rhcs-dashboard/43263-fix-rgw-subuser-key
mgr/dashboard: fix RGW subuser auto-generate key.
Reviewed-by: Ernesto Puertat <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Nathan Cutler [Fri, 13 Dec 2019 11:47:42 +0000 (12:47 +0100)]
Merge pull request #31753 from smithfarm/wip-bci-resolve-fix
backport-create-issue: resolve parent only if parent has backport issues
Reviewed-by: Tiago Melo <tmelo@suse.com>
Lenz Grimmer [Fri, 13 Dec 2019 11:33:11 +0000 (11:33 +0000)]
mgr/dashboard: Simplify PrometheusService::getRules implementa… (#32130)
mgr/dashboard: Simplify PrometheusService::getRules implementation
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
Ricardo Marques [Fri, 22 Nov 2019 18:33:22 +0000 (18:33 +0000)]
mgr/dashboard: iSCSI targets not available if any gateway is down
Fixes: https://tracker.ceph.com/issues/42687
Signed-off-by: Ricardo Marques <rimarques@suse.com>
Sebastian Wagner [Fri, 13 Dec 2019 10:37:03 +0000 (11:37 +0100)]
mgr/cephadm: Add unittest for service_action
(That was missing previously)
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Jan Fajerski [Fri, 13 Dec 2019 09:09:03 +0000 (10:09 +0100)]
Merge pull request #32177 from Takios/ceph_volume_fix
ceph-volume: use correct extents if using db-devices and >1 osds_per_device
Tatjana Dehler [Wed, 4 Dec 2019 13:43:24 +0000 (14:43 +0100)]
mgr/dashboard: reactivate dashboard test suites
Reactivate the dashboard test suites that were commented
out in https://github.com/ceph/ceph/pull/30864 because
https://tracker.ceph.com/issues/41538 has been resolved
in the meanwhile.
Fixes: https://tracker.ceph.com/issues/42652
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Tatjana Dehler [Mon, 16 Sep 2019 13:30:00 +0000 (15:30 +0200)]
mgr/dashboard: add password expiration warning banner
It adds a new component to notify the user about the expiration
of the password. The banner is shown on top of the page and can
be dismissed by the user.
Fixes: https://tracker.ceph.com/issues/40329
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Tatjana Dehler [Fri, 13 Sep 2019 12:08:39 +0000 (14:08 +0200)]
mgr/dashboard: add password expiration date
Add a 'pwd_expiration_date' field to the User object to be able
to set password expiration date per user.
There are two options to set a password expiration date for a
user:
1. Set the 'USER_PWD_EXPIRATION_SPAN' setting. If defined
the expiration date of the password will be calculated
automatically based on the given value. It will also be
updated automatically when the user changes the password.
2. Set an expiration date by setting the 'pwdExpirationDate'
field when creating a user.
Add two more settings in addition: USER_PWD_EXPIRATION_WARNING_1
and USER_PWD_EXPIRATION_WARNING_2. These two settings are
defining the amount of days to notify the user that his password
will expiration soon.
It's not possible to set the 'pwd_expiration_date' field to a
date in the past.
If the password of a user is already expired he is no longer
allowed to log into the dashboard.
Fixes: https://tracker.ceph.com/issues/40329
Signed-off-by: Tatjana Dehler <tdehler@suse.com>
Laura Paduano [Fri, 13 Dec 2019 06:58:30 +0000 (07:58 +0100)]
Merge pull request #32224 from tspmelo/wip-e2e-insecure
mgr/dashboard: Fix e2e chromedriver problem
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Kiefer Chang <kiefer.chang@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Patrick Donnelly [Fri, 13 Dec 2019 05:07:32 +0000 (21:07 -0800)]
Merge PR #31255 into master
* refs/pull/31255/head:
mds/MDSDaemon: make con disposable before passing message to asok
mds/SessionMap: interpret bare id as a valid filter
mds: get rid of unused send_command_reply helpers
mds: remove old handle_command machinery
mds/MDSRank: remove C_ExecAndReply helpers
mds/MDSRank: too many words about op_tracker
mds: convert 'cache drop'
mds: convert 'damage ls' and 'damage rm'
mds: convert '{session,client} config'
mds: convert 'scrub {start,abort,pause,resume,status}'
mds: convert 'session ls' and 'client ls'
mds: convert 'session evict' and 'session kill'
mds: convert 'heap' and 'cpu_profiler'
mds: convert 'exit', 'respawn'
mds/MDSDaemon: remove old duplicated tell commands
mds: send tell commands to asok infrastructure
common/admin_socket: switch tell queue to cref_t (from ref_t)
mds: switch asok calls over to call_async interface
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Neha Ojha [Fri, 13 Dec 2019 04:31:24 +0000 (20:31 -0800)]
Merge pull request #32230 from shellwedance/ceph-volume_typo_fix
doc: fix a typo in a command
Reviewed-by: Neha Ojha <nojha@redhat.com>
Kefu Chai [Fri, 13 Dec 2019 04:25:36 +0000 (12:25 +0800)]
Merge pull request #32170 from rosinL/wip-rss
msg/async/DPDK: refactor set_rss_table to support DPDK 19.05
Reviewed-by: Kefu Chai <kchai@redhat.com>
taeuk_kim [Fri, 13 Dec 2019 02:26:45 +0000 (11:26 +0900)]
doc: fix a typo in a command
Co-authored-by: donggyu_park <donggyu_park@tmax.co.kr>
Signed-off-by: taeuk_kim <taeuk_kim@tmax.co.kr>
Changcheng Liu [Thu, 12 Dec 2019 01:15:43 +0000 (09:15 +0800)]
doc/rbd: align with other part in the context
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
Sage Weil [Fri, 13 Dec 2019 02:00:23 +0000 (20:00 -0600)]
Merge PR #32179 into master
* refs/pull/32179/head:
lvm: add deactivate subcommand
util/system: add unmount_tmpfs helper
api/lvm: add get_lv_by_osd_id method
api/lvm: add deactivate method to Volume class
Reviewed-by: Sage Weil <sage@redhat.com>
Changcheng Liu [Thu, 12 Dec 2019 01:05:33 +0000 (09:05 +0800)]
doc/rbd: correct targe dev name and existence check
Signed-off-by: Changcheng Liu <changcheng.liu@aliyun.com>
Sage Weil [Thu, 12 Dec 2019 23:14:51 +0000 (17:14 -0600)]
Merge PR #32225 into master
* refs/pull/32225/head:
qa: add force-branch to suites running s3readwrite & s3roundtrip tasks
Reviewed-by: Yuri Weinstein <yweins@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
Sage Weil [Thu, 12 Dec 2019 23:05:11 +0000 (17:05 -0600)]
Merge PR #32003 into master
* refs/pull/32003/head:
mgr/ssh fix tests for update_mds/mgr/mds/rgw/rbd-mirror
Allow List[HostSpec] in PlacementSpec
mgr/rook: adapt to arg passing change in orchestrator_cli.py
mgr/ssh: Add SimpleScheduler and streamline arg passing
orch_cli: adapt to changes in PlacementSpec and ServiceSpec
orch: extend PlacementSpec and add StatefulServiceSpec
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Sage Weil [Thu, 12 Dec 2019 23:04:02 +0000 (17:04 -0600)]
Merge PR #32218 into master
* refs/pull/32218/head:
cephadm: use raw string during `re.sub`
cephadm: fix ConfigParser DeprecationWarning in py3
Reviewed-by: Sage Weil <sage@redhat.com>
Sage Weil [Thu, 12 Dec 2019 22:07:16 +0000 (16:07 -0600)]
Merge PR #32187 into master
* refs/pull/32187/head:
ceph.in: (py3) use binary stdout
pybind/mgr: index=4, sort_keys=True for json.dumps throughput
Reviewed-by: Sebastian Wagner <swagner@suse.com>
Reviewed-by: Alfredo Deza <adeza@redhat.com>
Mike Perez [Thu, 12 Dec 2019 22:04:35 +0000 (14:04 -0800)]
Merge pull request #32013 from liewegas/doc-foundation
doc/foundation: add cloudbase and vexxhost
Neha Ojha [Thu, 12 Dec 2019 21:38:46 +0000 (13:38 -0800)]
Merge pull request #32197 from neha-ojha/wip-report-doc-bug
doc/_templates/page.html: redirect to etherpad
Reviewed-by: Zac Dover zac.dover@gmail.com
Reviewed-by: Sage Weil sage@redhat.com
Ali Maredia [Thu, 12 Dec 2019 21:09:07 +0000 (16:09 -0500)]
qa: add force-branch to suites running s3readwrite & s3roundtrip tasks
Signed-off-by: Ali Maredia <amaredia@redhat.com>
Sage Weil [Thu, 12 Dec 2019 20:23:06 +0000 (14:23 -0600)]
Merge PR #32220 into master
* refs/pull/32220/head:
qa/workunits/cephadm/test_cephadm.sh: need --fsid always
Reviewed-by: Michael Fritch <mfritch@suse.com>
Sage Weil [Tue, 10 Dec 2019 04:38:57 +0000 (22:38 -0600)]
mds/MDSDaemon: make con disposable before passing message to asok
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Fri, 15 Nov 2019 18:31:46 +0000 (12:31 -0600)]
mds/SessionMap: interpret bare id as a valid filter
This works around the fact that the old asok 'session evict' took a bare
id and the tell version took a filter.
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 12:31:33 +0000 (07:31 -0500)]
mds: get rid of unused send_command_reply helpers
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 12:29:05 +0000 (07:29 -0500)]
mds: remove old handle_command machinery
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 12:26:13 +0000 (07:26 -0500)]
mds/MDSRank: remove C_ExecAndReply helpers
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 12:25:32 +0000 (07:25 -0500)]
mds/MDSRank: too many words about op_tracker
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 12:24:59 +0000 (07:24 -0500)]
mds: convert 'cache drop'
Signed-off-by: Sage Weil <sage@redhat.com>
Sage Weil [Wed, 30 Oct 2019 12:08:58 +0000 (07:08 -0500)]
mds: convert 'damage ls' and 'damage rm'
Signed-off-by: Sage Weil <sage@redhat.com>