Commit Graph

77229 Commits

Author SHA1 Message Date
Patrick Donnelly
588e5d03b6
Merge PR #16891 into master
* refs/remotes/upstream/pull/16891/head:
	mds/MDSDaemon: add 'is_valid=false' when failed to parse caps

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
2017-08-16 14:42:09 -07:00
Gregory Farnum
f7f8318098 Merge pull request #17022 from ceph/wip-doc-sans-gitbuilder
Update docs to remove gitbuilder and add shaman references

Reviewed-By: Nathan Cutler <ncutler@suse.com>
Reviewed-by: Ken Dreyer <kdreyer@redhat.com>
Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-16 10:09:53 -07:00
David Zafman
4d56de3608 tests: Increase sleep in test_pidfile.sh
Signed-off-by: David Zafman <dzafman@redhat.com>
2017-08-16 09:41:01 -07:00
Alfredo Deza
b2c861ed62 doc/rados/configuration comment out '...' on ini blocks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 11:08:59 -04:00
Alfredo Deza
e7a3bb94fb doc/rados/api comment out '...' on ini blocks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 11:06:49 -04:00
Alfredo Deza
253804b3d6 doc/install describe shaman urls and how to retrieve list and repo files
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:33 -04:00
Alfredo Deza
2ef1eb9a00 doc/install update international for non-US
Use of "international" is ambiguous, for non-US users, international
could mean US.

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:33 -04:00
Alfredo Deza
072bdbdf25 doc/install remove repetitive dev release information for rpm distros
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:33 -04:00
Alfredo Deza
765ab51b13 doc/install remove mention of autobuild key for dev packages
Dev packages are no longer signed, and the key is not used at all

Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:33 -04:00
Alfredo Deza
44c9698660 doc/install remove Apache and FastCGI instructions for RGW
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:32 -04:00
Alfredo Deza
a7fed6c213 doc: update repo-access to point to ceph-ci.git
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 10:54:32 -04:00
Abhishek Lekshmanan
0e6b4f7862 rgw: evaluate the correct bucket action for GetACL bucket operation
We currently evaluate s3:GetObjectAcl instead of s3:GetBucketAcl for
getting BucketACL

Fixes: http://tracker.ceph.com/issues/21013
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-16 15:49:55 +02:00
Abhishek Lekshmanan
b2246226cc rgw: rgw_op: exit early if object has no attrs in GetObjectTagging
Check for the return value of get_obj_attrs and exit earlier in case of
errors

Fixes: http://tracker.ceph.com/issues/21010
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-16 15:29:10 +02:00
Alfredo Deza
51ccc5feab Merge pull request #17025 from ceph/wip-doc-warnings
fix sphinx build warnings and errors

Reviewed-by: Dan Mick <dmick@redhat.com>
Reviewed-by: Andrew Schoen <aschoen@redhat.com>
2017-08-16 08:52:43 -04:00
Alfredo Deza
457754e85b doc: fix short underline on release-notes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:38:49 -04:00
Kefu Chai
60441c4bb1 Merge pull request #15597 from ceph/wip-19200
selinux: Allow nvme devices

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-16 20:31:07 +08:00
Alfredo Deza
f78a991f59 doc exclude man_index when not building man pages
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:02 -04:00
Alfredo Deza
e2119245bf doc: create an index/toctree only for man pages
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:02 -04:00
Alfredo Deza
8e06659c34 doc: exclude mgr from man pages, define a man index.rst
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
5c334d8a2a doc/release-notes use new ref label for erasure code profiles
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
3ec44df21d doc/rados/operations use new ref labels in health-checks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
d6164f2b19 doc/rados/operations add a ref label to erasure code profiles
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
aa90ea25cf doc/rados/operations add a ref label to pool application
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
5a3da3acaf doc/rados/operations use new ref label in health-checks
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
6c970133e0 doc/rados/operations add ref label for placement group number
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:01 -04:00
Alfredo Deza
c7973cb449 doc/rados/api/python document required_state manually
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
88a1114cb3 admin: bump sphinx to 1.6
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
d8932d62bf doc/rados/operations use the new ref label for crush map tunables
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
234c6a432b doc/rados/operations add label for crush map tunables for ref linking
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
d8b287011c doc/cephfs add label to health messages for use in refs linking
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
d3543ef8b0 admin: do not allow errors or warnings from doc build
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
10e457fd36 doc/rados/operations include pg-repair document in the toctree
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
89ace1b1e9 pybind fix rbd trash_move docstring, needed a newline
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:20:00 -04:00
Alfredo Deza
9a247e13f6 pybind: fix invalid doctring in Rados.require_state
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
80f66e0ebb doc/rados/operations add missing link for crush pdf
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
e925b9f899 doc/rados/operations add newline after definition
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
58a82d9881 doc/radosgw add newline after field list
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
e898eb7424 doc/radosgw fix missing newline on definition
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
e32f9be219 doc/rados/api remove '*' in automethod call
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
640e080f22 doc/logging fix unexpected indent in paragraph
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
e44f6d5b12 doc: bump the max depth of the toctree, so that it can find nested indexes
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:59 -04:00
Alfredo Deza
7409d326ab doc escape and remove invalid chars in release notes, causing sphinx errors
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:58 -04:00
Alfredo Deza
ae88a65880 doc/rados use func reference for rados_set_alloc_hint linking
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2017-08-16 08:19:58 -04:00
Kefu Chai
17d6e96a6f Merge pull request #16967 from liewegas/wip-upgrade-health
mon: fix legacy health checks in 'ceph status' during upgrade; fix jewel-x upgrade combo

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-16 19:44:36 +08:00
huanwen ren
fe81b7e3a5 mon/pgmap: add objects prefix for unfound type
the objects prefix display indicates the scope of the "unfound",
like objects "misplaced" err.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2017-08-16 16:21:20 +08:00
huanwen ren
63dc57649a mon/pgmap: update pool nearfull display
if "pool full" and "pool nearfull" show the same, 
we will not be able to distinguish between these two scenes in health check.

Signed-off-by: huanwen ren <ren.huanwen@zte.com.cn>
2017-08-16 15:38:34 +08:00
Marcus Watts
96c4a26b46 radosgw: fix small sized chunked uploads with s3
The logic to compute the number of bytes to copy with a chunked file
upload was failing to take into account the amount of data that had been
consumed, but was still pending in the parse buffer.  This would cause
strange behavior ranging from "just works" to "fails".  There was also a
strange "works, one byte at a time" mode.  Using the correct stream_pos
offset eliminates the bad behavior.

This fix also adds debug statements to make the correct behavior easier to see.

Fixes: http://tracker.ceph.com/issues/21003

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2017-08-15 21:57:06 -04:00
xie xingguo
46586b2288 mon/OSDMonitor: "osd pool application ls" support
It would be a pain if we have to call 'ceph osd dump --format=json-pretty'
to find out these each time...

Demo output:
(1) ceph osd pool application get
{
    "cephfs_data_b": {
        "cephfs": {}
    },
    "cephfs_metadata_a": {
        "cephfs": {}
    },
    "test_pool": {
        "rbd": {
            "test": "me"
        }
    }
}

(2) ceph osd pool application get test_pool
{
    "rbd": {
        "test": "me"
    }
}

(3) ceph osd pool application get test_pool rbd
{
    "test": "me"
}

(4) ceph osd pool application get test_pool rbd test
me

Fixes: http://tracker.ceph.com/issues/20976
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-16 09:41:11 +08:00
Gregory Farnum
c8341402a5 Merge pull request #17012 from joscollin/wip-rgw-todo-warning
rgw: Drop #warning TODO

Reviewed-by: Greg Farnum <gfarnum@redhat.com>
2017-08-15 15:03:09 -07:00
Abhishek L
a155b84508 Merge pull request #17037 from theanalyst/release-notes-12-1-4
doc: release notes for v12.1.4 Luminous

Reviewed-By: Gregory Farnum <gfarnum@redhat.com>
Reviewed-By: Ken Dreyer <ktdreyer@redhat.com>
2017-08-15 23:01:03 +02:00