Commit Graph

92025 Commits

Author SHA1 Message Date
Tiago Melo
33296a7676 mgr/dashboard: Add locale files
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-14 18:53:03 +00:00
Tiago Melo
c556795811 mgr/dashboard: Use I18N in TypeScript strings
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-14 18:53:03 +00:00
Tiago Melo
1b6efc52a5 mgr/dashboard: Add missing HTML translations
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-14 18:53:03 +00:00
Tiago Melo
54a95f8b36 mgr/dashboard: Fix existing translations
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-14 18:53:03 +00:00
Sebastian Krah
bb5be575b5 mgr/dashboard: Add I18N section to HACKING.rst
Signed-off-by: Sebastian Krah <skrah@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-14 18:53:03 +00:00
Sebastian Krah
f2e2e18847 mgr/dashboard: Add language selector
Add the language selector to the navigation.

Signed-off-by: Sebastian Krah <skrah@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-14 15:18:31 +00:00
Sebastian Krah
fa0cf9bf5f mgr/dashboard: Add i18n providers
Prepare the dashboard to support i18n

Add ngx-translate polyfill to extract translations from the typescript files.
Add a npm script to extract marked strings to a translation template.

Signed-off-by: Sebastian Krah <skrah@suse.com>
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-11-14 15:18:31 +00:00
Lenz Grimmer
acde3a4d4c
Merge pull request #24788 from Ranjitha-G/dashboard-hacking-doc
mgr/dashboard: Fix some setup steps in HACKING.rst

Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Stephan Müller <smueller@suse.com>
Reviewed-by: Tatjana Dehler <tdehler@suse.com>
Reviewed-by: Tiago Melo <tmelo@suse.com>
2018-11-14 13:44:19 +01:00
Josh Durgin
bc2c80f437
Merge pull request #25080 from smithfarm/wip-37089
tests: make ceph-admin-commands.sh log what it does

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-14 15:47:52 +05:30
Jason Dillaman
b14751c18e
Merge pull request #25083 from iridescent-rsy/fix-typo
rbd: fix some typos

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-14 12:02:58 +05:30
Shiyang Ruan
1857217e8a rbd_mirror: fix a typo.
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-14 11:42:11 +08:00
Shiyang Ruan
424d3d8b8a rbd_mirror: restore the header annotation.
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-14 11:42:11 +08:00
Shiyang Ruan
9a6f2608db rbd: fix typos.
Signed-off-by: Shiyang Ruan <ruansy.fnst@cn.fujitsu.com>
2018-11-14 11:23:56 +08:00
Patrick Donnelly
0aa5566c81
Merge PR #24490 into master
* refs/pull/24490/head:
	mds: flush dirty dirfrags that weren't logged when deactivating mds
	mds: use MDlog::trim_all() to trim log when deactivating mds
	mds: don't cap log when there are replicated objects

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-11-13 13:03:02 -08:00
Nathan Cutler
0185abfeb4 tests: make ceph-admin-commands.sh log what it does
Fixes: http://tracker.ceph.com/issues/37089
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-11-13 19:46:24 +01:00
Casey Bodley
d444c6dc9f
Merge pull request #25057 from joke-lee/wip-ceph-dencoder-support
ceph-dencoder: add RGWRealm and RGWPeriod  support.

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2018-11-13 08:56:26 -05:00
Kefu Chai
e0e977f4a0
Merge pull request #25071 from tchaikov/wip-install-dep-for-python-saml
install-deps.sh: install libtool-ltdl-devel for building python-saml

Reviewed-by: Ricardo Marques <rimarques@suse.com>
2018-11-13 18:17:54 +08:00
Kefu Chai
c8a89df744 install-deps.sh: install libtool-ltdl-devel for building python-saml
python-saml depends on dm.xmlsec.binding. which links against ltdl. so
without libtool-ltdl-devel, we will have

/opt/rh/devtoolset-7/root/usr/libexec/gcc/aarch64-redhat-linux/7/ld:
cannot find -lltdl

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-13 15:28:45 +08:00
yuliyang
6fb5e7b243 ceph-dencoder: add RGWRealm support.
Signed-off-by: yuliyang <yuliyang@cmss.chinamobile.com>
2018-11-13 08:24:24 +08:00
Kefu Chai
c89e0715cb
Merge pull request #25037 from tchaikov/wip-qa-upgrade
qa: add librados3 to exclude_packages for ugprade tests

Reviewed-by: Yuri Weinstein <yweinste@redhat.com>
2018-11-13 06:38:21 +08:00
Alfredo Deza
debfa76540
Merge pull request #25063 from alfredodeza/wip-rm36768
ceph-volume: patch Device when testing 

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-11-12 14:59:14 -05:00
Alfredo Deza
82d96f8764 ceph-volume tests patch Device() by splitting parametrized method
This was causing failures on systems where there is no LVM or where the
device names don't match. Patching is always recommended to avoid
conflicts with the system testing

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-12 14:04:23 -05:00
Alfredo Deza
7ee7a59910 ceph-volume tests inventory should patch before using .get_devices()
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-11-12 14:04:23 -05:00
Kefu Chai
b4aa2af446
Merge pull request #25039 from tchaikov/wip-install-setuptools
install-deps: install setuptools before upgrading virtualenv

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-11-12 20:05:29 +08:00
Sage Weil
aadb68cc84 Merge PR #25051 into master
* refs/pull/25051/head:
	doc/governance: reference the new Ceph Foundation

Reviewed-by: Gregory Farnum <gfarnum@redhat.com>
2018-11-12 02:50:23 -06:00
Sage Weil
d578d4af1b doc/governance: reference the new Ceph Foundation
Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-12 01:32:45 -06:00
Kefu Chai
95386752ab install-deps: install setuptools before upgrading virtualenv
this should address the failures when running install-deps.sh, like

Downloading/unpacking virtualenv
  Running setup.py egg_info for package virtualenv
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'
      warnings.warn(msg)
    error in virtualenv setup command: 'extras_require' must be a
dictionary whose values are strings or lists of strings containing valid
project/version requirement specifiers.
    Complete output from command python setup.py egg_info:
    /usr/lib64/python2.7/distutils/dist.py:267: UserWarning: Unknown
distribution option: 'python_requires'

  warnings.warn(msg)

error in virtualenv setup command: 'extras_require' must be a dictionary
whose values are strings or lists of strings containing valid
project/version requirement specifiers.

this only happens on very old virtualenv shipped with RHEL7.4

Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-10 13:47:13 -08:00
Sage Weil
3b4970053c Merge PR #25033 into master
* refs/pull/25033/head:
	doc/governance: update CLT membership

Reviewed-by: Sebastian Wagner <swagner@suse.com>
2018-11-10 14:07:11 -06:00
Kefu Chai
fa5012af5c
Merge pull request #25038 from yuriw/wip-yuriw-crontab-master
qa/tests: added "-n 7" to make sure mimic-x runs on built master branch

Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-10 11:46:19 -08:00
Yuri Weinstein
5127d0166e qa/tests: added "-n 7" to make sure mimic-x runs on built master branch
Signed-off-by: Yuri Weinstein <yweinste@redhat.com>
2018-11-10 10:18:49 -08:00
Sage Weil
2b38ce9a36 doc/governance: update CLT membership
- Neha is the new RADOS lead, but Josh is sticking around on the CLT
- John is leaving Red Hat and the Ceph project (we will miss him!)
- alphabetize

Signed-off-by: Sage Weil <sage@redhat.com>
2018-11-10 10:28:47 -06:00
Kefu Chai
f10fc004bc qa: add librados3 to exclude_packages for ugprade tests
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-11-10 07:17:24 -08:00
Sage Weil
d3aea056d3 Merge PR #25023 into master
* refs/pull/25023/head:
	doc/governance: Add Sebastian to CLT

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-10 07:46:53 -06:00
Sebastian Wagner
e0eb2dbd98 doc/governance: Add Sebastian to CLT
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
2018-11-10 11:59:46 +01:00
Mykola Golub
56412bf6d2
Merge pull request #24830 from dillaman/wip-rbd-pool-stats
rbd: expose pool stats summary tool

Reviewed-by: Mykola Golub <mgolub@suse.com>
2018-11-10 12:23:40 +02:00
Jason Dillaman
43840db329
Merge pull request #24265 from trociny/wip-36091
osd: collect client perf stats when query is enabled

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-09 19:56:11 -05:00
Jason Dillaman
6ac41ccbaf
Merge pull request #24214 from iridescent-rsy/bursting_io
librbd: reduce the TokenBucket fill cycle and support bursting io configuration

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2018-11-09 19:53:55 -05:00
Josh Durgin
fd2a4c5733
Merge pull request #22476 from dzafman/wip-23875
Removal of snapshot with corrupt replica crashes osd

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2018-11-09 15:15:01 -08:00
Sage Weil
919aa37f82 Merge PR #24806 into master
* refs/pull/24806/head:
	os/filestore: fix merge_collection replay guards

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-09 14:53:56 -06:00
Sage Weil
130e6625eb Merge PR #24843 into master
* refs/pull/24843/head:
	osd/osd_types: fix notify-ack string rendering

Reviewed-by: Neha Ojha <nojha@redhat.com>
2018-11-09 14:53:16 -06:00
Jason Dillaman
1a14963aeb rbd: added new 'pool stats' action
This provides a quick summary of provisioned pool usage.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-11-09 12:40:41 -05:00
Jason Dillaman
f07fb350af librbd: new pool init/stat API methods
The init method is a stub for handling new pool initialization. It
currently only handles setting the application tag. The stats method
will quickly calculate the number of images and provisioned space for
those images within the pool. Querying the pool stats on a pool with
10,000 images only required approximately 2 seconds as compared to
over 2 minutes for a "rbd ls -l" scan.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2018-11-09 12:40:39 -05:00
Andrew Schoen
91dd98112b
Merge pull request #24998 from alfredodeza/wip-rm36470
ceph-volume enable  --no-systemd flag for simple sub-command

Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2018-11-09 09:44:44 -06:00
Lenz Grimmer
5b0a957961
Merge pull request #24627 from Devp00l/wip-manage-ec-profiles
mgr/dashboard: Adds ECP management to the frontend

Reviewed-by: Ricardo Marques <rimarques@suse.com>
Reviewed-by: Volker Theile <vtheile@suse.com>
2018-11-09 16:29:43 +01:00
Sage Weil
e6556f4662 Merge PR #24459 into master
* refs/pull/24459/head:
	os: Transaction uses append_hole() to minimize bl:_buffers inflation.

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2018-11-09 09:24:57 -06:00
Sage Weil
f21d56aa9c Merge PR #24890 into master
* refs/pull/24890/head:
	mon: fix 'log last' missing out latest event

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-09 08:38:33 -06:00
Sage Weil
644f91f5e4 Merge PR #24904 into master
* refs/pull/24904/head:
	common: point of this may be called after released

Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2018-11-09 08:38:14 -06:00
Sage Weil
8f3d7a6d56 Merge PR #24925 into master
* refs/pull/24925/head:
	Avoid import _strptime failed
	Avoid exception if remote plugin not enabled
	Separate diskprediction local plugin from the diskprediction plugin

Reviewed-by: Sage Weil <sage@redhat.com>
2018-11-09 08:37:10 -06:00
Alfredo Deza
974bd43461
Merge pull request #24859 from jan--f/ceph-volume-inventory
ceph-volume: add inventory command

Reviewed-by: Alfredo Deza <adeza@redhat.com>
2018-11-09 08:49:55 -05:00
Jan Fajerski
57adfc6bb8 ceph-volume: add inventory command
The inventory command provides information about a nodes disk inventory.
Existing logical volumes on a disk or one of its partitions are scanned
and reported.
The output can be formatted as plain text or json.

Signed-off-by: Jan Fajerski <jfajerski@suse.com>
2018-11-09 13:49:35 +01:00