Commit Graph

77763 Commits

Author SHA1 Message Date
Sage Weil
af10bae469 Merge pull request #17330 from xiexingguo/wip-class-rename-idempotent
mon/OSDMonitor: make 'osd crush class rename' idempotent

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-29 08:38:53 -05:00
Yehuda Sadeh
9bfd96e43f Merge pull request #16863 from mikulely/fix-curl-referer
rgw: fix opslog can't record referrer when using curl as client

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-08-29 16:38:45 +03:00
Sage Weil
56a6c7ea75 mon/OSDMonitor: allow require-osd-release mimic
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-29 09:38:15 -04:00
Yehuda Sadeh
c40f645cc5 Merge pull request #16860 from mikulely/fix-opslog
rgw: fix opslog cannot record remote_addr

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-08-29 16:33:42 +03:00
Yehuda Sadeh
b4ea9d0aba Merge pull request #16933 from amitkumar50/cov-rgw-3
rgw: Initialize is_master, max_aio, size

Reviewed-by: Jos Collin <jcollin@redhat.com>
Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2017-08-29 16:31:14 +03:00
Yao Zongyou
c5aeebc34d rgw-admin: check input parameters for friendly prompt.
Signed-off-by: Yao Zongyou <yaozongyou@vip.qq.com>
2017-08-29 21:05:20 +08:00
Yehuda Sadeh
d2e598a374 Merge pull request #17185 from oritwas/wip-rgw-20777
rgw-admin: require --yes-i-really-mean-it when using --inconsistent_index

Reviewed-by: Casey Bodley <cbodley@redhat.com>
2017-08-29 15:45:23 +03:00
Abhishek Lekshmanan
74801fda1c doc: 12.2.0 major release announcements
Reordered the RC releases sections back to their respective components,
added a ceph-mon section, added links to documentation wherever
possible, and a few forgotten RGW announcements. Also cleared up the
PendingReleaseNotes upto this point

Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2017-08-29 14:45:01 +02:00
chenliuzhong
23bce6a950 os/bluestore:reshard-fix wrong shard length
change fault_range parameter from 'needs_reshard_end' to 'needs_reshard_end-needs_reshard_begin'
be given needs_reshard_end may be out of bounds

Signed-off-by: chenliuzhong <liuzhong.chen@easystack.cn>
2017-08-29 06:34:39 -04:00
Luo Kexue
6a61aa9fec doc: move glance_api_version option to the right place
Signed-off-by: Luo Kexue <luo.kexue@zte.com.cn>
2017-08-29 17:09:41 +08:00
yanyx
63eda576c3 pybind: fix filesystem page's pool size display
Signed-off-by: Yixing Yan <yanyx@umcloud.com>
2017-08-29 17:07:46 +08:00
yanyx
e026412c74 pybind: using default column text-align same as others
Signed-off-by: Yixing Yan <yanyx@umcloud.com>
2017-08-29 17:07:33 +08:00
yanyx
cf0c323575 pybind: fix health page's pool size display
Signed-off-by: Yixing Yan <yanyx@umcloud.com>
2017-08-29 17:06:56 +08:00
Kefu Chai
51bd7a5fd2 Merge pull request #16774 from yanyixing/fix-sidenav
mgr/dashboard: fix rbd's pool sub menu

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-29 16:29:16 +08:00
Jiaying Ren
f545630888 vstart.sh: quote cmd params when display executing cmd
vstart.sh will echo executed cmd to the stdout:

/root/jiaying/ceph/build/bin/radosgw -c /root/jiaying/ceph/build/ceph.conf --log-file=/root/jiaying/ceph/build/out/rgw.j.log --debug-ms=1 -n client.rgw --rgw_frontends=civetweb port=8000

As params contain whitespaces, pasting the above cmd into the shell didn't start rgw
on the port 8000. Now the vstart.sh output is like the following:

'/root/jiaying/ceph/build/bin/radosgw' '-c' '/root/jiaying/ceph/build/ceph.conf' '--log-file=/root/jiaying/ceph/build/out/rgw.j.log' '--debug-ms=1' '-n' 'client.rgw' '--rgw_frontends=civetweb port=8000'

We can paste above cmd to the shell to restart rgw, it's more convenient for debugging.

Signed-off-by: Jiaying Ren <jiaying.ren@umcloud.com>
2017-08-29 15:08:43 +08:00
Mykola Golub
d44bdd4810 Merge pull request #17283 from liupan1111/wip-final-nbd
rbd-nbd: cleanup for NBDServer shut down

Reviewed-by: Mykola Golub <mgolub@mirantis.com>
2017-08-29 09:34:32 +03:00
liuchang0812
0667db4eb6 doc: add ceph-kvstore-tool's man
Signed-off-by: liuchang0812 <liuchang0812@gmail.com>
2017-08-29 14:22:08 +08:00
Kefu Chai
0d48203d2d Merge pull request #17269 from liewegas/wip-health
mon: fix two stray legacy get_health() callers

Reviewed-by: Kefu Chai <kchai@redhat.com
2017-08-29 11:32:04 +08:00
Josh Durgin
655a937dde Merge pull request #17328 from tchaikov/wip-kill-gcc-warning
test/unittest_pg_log: silence gcc warning

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
2017-08-28 20:26:31 -07:00
Sage Weil
188fa959dd mon: allow 'osd require-osd-release mimic'
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:11:27 -04:00
Sage Weil
7b51cedac6 qa/suites/rados/upgrade: jewel-x -> luminous-x
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:11:27 -04:00
Sage Weil
d8dead1aaf qa/suites/rados: remove luminous tests
- snapdir conversion (at-end) stuff
- merge luminous-specific collections that avoided the above back
into their normal locations

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
4eac5bd4f7 test/mgr/mgr-dashboard-smoke: fix syntax error
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
dc2424245a ceph-object-corpus: update for dropping compat with pre-luminous messages
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
528736bed3 osd: remove mon pg stat reports and queueing machinery
We now unconditionally send all pg stats to the mgr at regular
intervals.  Drop all of the monitor machinery!

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
b8caf01399 osd: remove support for pre-luminous past_intervals
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
36f2d8b8ab osd/PG[Log]: drop compat for pre-luminous PG info encoding
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
c2e4cc1bf1 messages/MOSDPing: strip out some pre-luminous compat cruft
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
0c6456518d messages/MOSDPGQuery: drop pre-luminous compat
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
de918ea124 messages/MOSDPGRemove: drop pre-luminous compat
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
99e8e36fb9 messages/MOSDPGNotify: drop pre-luminous compat
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
6bcf6295a7 messages/MOSDPGLog: drop pre-luminous compat
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
1ad7928601 messages/MOSDPGInfo: drop pre-luminous compat
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
e835457be4 os/bluestore: drop kraken wal replay compat
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
1f680c3e96 osd: remove MOSDSubOp[Reply] jewel compat code
Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
0ccd074398 osd: require_osd_release >= luminous
We can drop the luminous mon check now because the
require_osd_release cannot be set to luminous with pre-l mons
anyway.

Signed-off-by: Sage Weil <sage@redhat.com>
2017-08-28 23:10:32 -04:00
Sage Weil
a33d0ef3f1 Merge pull request #17146 from shangzhong/wip-add-line-break
common: add line break for "ceph daemon TYPE.ID version"

Reviewed-by: huanwen ren <ren.huanwen@zte.com.cn>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-28 21:58:28 -05:00
Sage Weil
cc7c9e9ee4 Merge pull request #17091 from liupan1111/wip-txc-add
os/bluestore: support calculate cost when using spdk.

Reviewed-by: Haomai Wang <haomai@xsky.com>
2017-08-28 21:56:32 -05:00
Sage Weil
fc72223fa1 Merge pull request #17251 from Songweibin/wip-unused-variable
os/bluestore: drop unused param "what" in apply()

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-28 21:55:52 -05:00
xie xingguo
2ee80aead8 mon/OSDMonitor: make 'osd crush class rename' idempotent
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-29 10:43:35 +08:00
Kefu Chai
219183e2fb test/unittest_pg_log: silence gcc warning
this silences following warning:

In file included from ceph/src/test/osd/TestPGLog.cc:24:0:
ceph/src/googletest/googletest/include/gtest/gtest.h:430:16:
warning: ‘virtual void testing::Test::SetUp()’ was hidden
[-Woverloaded-virtual]
   virtual void SetUp();
                ^~~~~
ceph/src/test/osd/TestPGLog.cc:2703:8: warning:   by ‘void
PGLogTrimTest::SetUp(unsigned int, unsigned int, unsigned int)’
[-Woverloaded-virtual]
   void SetUp(unsigned min_entries, unsigned max_entries, unsigned
dup_track) {
        ^~~~~

Signed-off-by: Kefu Chai <kchai@redhat.com>
2017-08-29 10:16:58 +08:00
Kefu Chai
4a506f565e Merge pull request #17326 from neha-ojha/wip-21023-contd
doc: fix order of options in osd new

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-29 10:02:55 +08:00
Kefu Chai
958c8480ea Merge pull request #17180 from tchaikov/wip-literals-for-options
common/options: use user-defined literals for default values

Reviewed-by: Sage Weil <sage@redhat.com>
Reviewed-by: John Spray <john.spray@redhat.com>
2017-08-29 09:25:33 +08:00
Kefu Chai
4324ad9955 Merge pull request #16066 from tanghaodong25/bluefs-sync-write
os/bluestore/BlueFS: don't need wait for aio when using _sync_write

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-29 09:12:47 +08:00
Kefu Chai
a8124b1c6f Merge pull request #15479 from yonghengdexin735/wip-zzz-const
messages/MDentryLink: add const to member function

Reviewed-by: Kefu Chai <kchai@redhat.com>
2017-08-29 09:11:58 +08:00
Kefu Chai
9c1c2dde22 Merge pull request #17256 from scienceluo/wip-luo-add-log-branch
auth: add err reason for log info in load function

Reviewed-by: Sage Weil <sage@redhat.com>
2017-08-29 09:11:22 +08:00
Yanhu Cao
cb26eead3f mgr/Mgr: implement completion of osd MetadataUpdate
Fixes: http://tracker.ceph.com/issues/21159

Signed-off-by: Yanhu Cao <gmayyyha@gmail.com>
2017-08-29 08:44:01 +08:00
xie xingguo
cd2191c3f1 mon/OSDMonitor: make 'osd crush rule rename' idempotent
Fixes: http://tracker.ceph.com/issues/21162
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2017-08-29 08:29:13 +08:00
Neha Ojha
e474630289 doc: fix order of options in osd new
Signed-off-by: Neha Ojha <nojha@redhat.com>
2017-08-28 15:59:19 -07:00
Sage Weil
df3fe608b8 Merge pull request #17307 from liewegas/wip-powercycle-slow-trim
qa/suites/powercycle/osd/whitelist_health: whitelist slow trimming
2017-08-28 13:14:16 -05:00