summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 14.2.0v14.2.0Jenkins Build Slave User2019-03-182-1/+7
|
* Merge PR #26956 into nautilusSage Weil2019-03-181-3/+21
|\ | | | | | | | | | | | | * refs/pull/26956/head: doc/releases/nautilus: more detail around ceph-volume step Reviewed-by: Alfredo Deza <adeza@redhat.com>
| * doc/releases/nautilus: more detail around ceph-volume stepSage Weil2019-03-151-3/+21
| | | | | | | | | | | | Recommend host reboots to verify ceph-volume adoption worked. Signed-off-by: Sage Weil <sage@redhat.com>
* | Merge pull request #27011 from liewegas/wip-redirect-mimicKefu Chai2019-03-172-66/+5
|\ \ | | | | | | | | | | | | | | | qa/suites/upgrade/mimic-x/parallel: enable all classes Reviewed-by: Myoungwon Oh <omwmw@sk.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | ceph_test_rados_api_tier_cxx: remove mimic checksSage Weil2019-03-161-36/+3
| | | | | | | | | | | | | | | | | | | | | | | | These checks don't work when the cluster is newer than mimic. Instead, let's just try not to run this test on a pre-mimic cluster. Signed-off-by: Sage Weil <sage@redhat.com>
| * | qa/suites/upgrade/mimic-x/parallel: enable all classesSage Weil2019-03-161-4/+2
| | | | | | | | | | | | | | | | | | This fixes the redirect tiering tests, which need the 'cas' class. Signed-off-by: Sage Weil <sage@redhat.com>
| * | ceph_test_rados_api_tier_cxx: remove luminous checkSage Weil2019-03-161-26/+0
| | | | | | | | | | | | | | | | | | | | | It was a flawed check, since it would fail for anything newer than luminous. And in any case, we don't need it anymore. Signed-off-by: Sage Weil <sage@redhat.com>
* | | Merge pull request #27018 from liewegas/wip-38294Kefu Chai2019-03-171-0/+1
|\ \ \ | | | | | | | | | | | | | | | | qa/suites/upgrade/luminous-x: disable c-o-t import/export tests between versions Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | | qa/suitse/upgrade/luminous-x/stress-split-erasure-code: disable c-o-t testsSage Weil2019-03-171-0/+1
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | The stress-split thrasher already had this off, but the ec variant did not. We don't support ceph-objectstore-tool exports/imports between major versions. Fixes: http://tracker.ceph.com/issues/38294 Signed-off-by: Sage Weil <sage@redhat.com>
* | | Merge PR #26960 into nautilusSage Weil2019-03-171-1/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26960/head: ceph_release: nautilus is will be 'stable' for v14.2.0 Reviewed-by: Alfredo Deza <adeza@redhat.com> Reviewed-by: Abhishek Lekshmanan <abhishek.lekshmanan@gmail.com>
| * | | ceph_release: nautilus is will be 'stable' for v14.2.0Sage Weil2019-03-141-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Sage Weil <sage@redhat.com>
* | | | Merge PR #27002 into nautilusSage Weil2019-03-161-6/+21
|\ \ \ \ | |_|/ / |/| | | | | | | | | | | | | | | | | | | * refs/pull/27002/head: mgr/telemetry: check for errors when sending report Reviewed-by: Sage Weil <sage@redhat.com>
| * | | mgr/telemetry: check for errors when sending reportDan Mick2019-03-161-6/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | There was no error checking, and the server has been failing for some time, but no one noticed. Oops. Signed-off-by: Dan Mick <dan.mick@redhat.com>
* | | | Merge PR #27000 into nautilusSage Weil2019-03-161-1/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/27000/head: osd: stringify as int Reviewed-by: xie xingguo <xie.xingguo@zte.com.cn> Reviewed-by: Neha Ojha <nojha@redhat.com> Reviewed-by: Kefu Chai <kchai@redhat.com>
| * | | osd: stringify as intSage Weil2019-03-151-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Otherwise we get $ hexdump -C require_osd_release 00000000 0e 0a |..| 00000002 Signed-off-by: Sage Weil <sage@redhat.com>
* | | | Merge PR #26563 into nautilusSage Weil2019-03-151-3/+3
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26563/head: doc/ceph-volume/lvm/batch: fix typos Reviewed-by: Kefu Chai <kchai@redhat.com> Reviewed-by: Sage Weil <sage@redhat.com>
| * | | | doc/ceph-volume/lvm/batch: fix typosAlexandru Cucu2019-03-131-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Fix typos in ceph-volume lvm batch documentation Signed-off-by: Alexandru Cucu <me@alexcucu.ro>
* | | | | Merge PR #26994 into nautilusSage Weil2019-03-152-2/+4
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26994/head: doc: add scrub link for nautilus release notes Reviewed-by: Sage Weil <sage@redhat.com>
| * | | | | doc: add scrub link for nautilus release notesPatrick Donnelly2019-03-152-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
* | | | | | Merge PR #26822 into nautilusSage Weil2019-03-151-0/+20
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26822/head: osd/PG: adjust pg history on fabricated merge target if necessary Reviewed-by: Neha Ojha <nojha@redhat.com>
| * | | | | | osd/PG: adjust pg history on fabricated merge target if necessarySage Weil2019-03-071-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we have to fabricate the merge target, we use the pg_history from the soruce to start with, since it is normally close enough. However, if we get a last_epoch_clean that is > the same_interval_since, then on the next interval change the past_intervals will have a start that is after last_epoch_clean, resulting in a past_intervals assert. Avoid this situation by adjusting the pg_history backwards to match last_epoch_started (which is always <= last_epoch_clean). This makes the most sense because these values came from the *real* target, while the history was from the source. Fixes: http://tracker.ceph.com/issues/38623 Signed-off-by: Sage Weil <sage@redhat.com>
* | | | | | | Merge PR #26986 into nautilusSage Weil2019-03-152-2/+2
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26986/head: mgr: Make 3rd parameter optional in ceph_get_module_option Reviewed-by: Ricardo Dias <rdias@suse.com> Reviewed-by: Sage Weil <sage@redhat.com>
| * | | | | | | mgr: Make 3rd parameter optional in ceph_get_module_optionVolker Theile2019-03-152-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: https://tracker.ceph.com/issues/38766 File "/usr/share/ceph/mgr/mgr_module.py", line 863, in _handle_command 2019-03-15T11:28:31.324 INFO:tasks.ceph.mgr.x.mira117.stderr: return self.handle_command(inbuf, cmd) 2019-03-15T11:28:31.324 INFO:tasks.ceph.mgr.x.mira117.stderr: File "/usr/share/ceph/mgr/selftest/module.py", line 114, in handle_command 2019-03-15T11:28:31.324 INFO:tasks.ceph.mgr.x.mira117.stderr: self._self_test() 2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: File "/usr/share/ceph/mgr/selftest/module.py", line 213, in _self_test 2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: self._self_test_config() 2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: File "/usr/share/ceph/mgr/selftest/module.py", line 313, in _self_test_config 2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: assert self.get_module_option_ex("foo", "bar") is None 2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: File "/usr/share/ceph/mgr/mgr_module.py", line 942, in get_module_option_ex 2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr: r = self._ceph_get_module_option(module, key) 2019-03-15T11:28:31.325 INFO:tasks.ceph.mgr.x.mira117.stderr:TypeError: ceph_get_module_option() takes exactly 3 arguments (2 given) Signed-off-by: Volker Theile <vtheile@suse.com>
* | | | | | | | Merge PR #26949 into nautilusSage Weil2019-03-152-1/+3
|\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26949/head: mgr/dashboard: add test_module_selftest to API tests Reviewed-by: Volker Theile <vtheile@suse.com>
| * | | | | | | | mgr/dashboard: add test_module_selftest to API testsalfonsomthd2019-03-142-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * This test suite helps to catch mgr module regressions introduced by dashboard feature/bugfix. * Fixed: 'ceph -w' now behaves properly for Python 3. Fixes: https://tracker.ceph.com/issues/38394 Signed-off-by: Alfonso Martínez <almartin@redhat.com>
* | | | | | | | | Merge pull request #26997 from cbodley/wip-38008Casey Bodley2019-03-154-9/+261
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | doc/rgw: document placement targets and storage classes Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
| * | | | | | | | | doc/rgw: document storage class configurationCasey Bodley2019-03-154-16/+87
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: http://tracker.ceph.com/issues/38008 Signed-off-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | | | | doc/rgw: document placement target configurationCasey Bodley2019-03-152-0/+181
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: http://tracker.ceph.com/issues/24508 Signed-off-by: Casey Bodley <cbodley@redhat.com>
* | | | | | | | | | Merge PR #26995 into nautilusSage Weil2019-03-152-24/+31
|\ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26995/head: osd/PG: fix pg merge check for rc clusters Reviewed-by: Neha Ojha <nojha@redhat.com>
| * | | | | | | | | osd/PG: fix pg merge check for rc clustersSage Weil2019-03-152-24/+31
|/ / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If a cluster had a pg merge pending before last_pg_merge_meta was introduced then the source_pgid will be pg_t(). If that's the case, skip these new checks. Likewise, if we decode a legacy pg_pool_t, put the old merge les/lec values into the correct location. Signed-off-by: Sage Weil <sage@redhat.com>
* | | | | | | | | Merge PR #26958 into nautilusSage Weil2019-03-152-11/+18
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26958/head: mon: avoid using naked pointer msg/async: do not "return std::move(local_var)" mon: do not assert on bad auth payload Reviewed-by: Ricardo Dias <rdias@suse.com> Reviewed-by: Kefu Chai <kchai@redhat.com> Reviewed-by: João Eduardo Luís <joao@suse.de> Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
| * | | | | | | | | mon: avoid using naked pointerKefu Chai2019-03-151-8/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to save our trouble to delete auth_handler in the error handling paths Signed-off-by: Kefu Chai <kchai@redhat.com>
| * | | | | | | | | msg/async: do not "return std::move(local_var)"Kefu Chai2019-03-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | it prevents copy elision. and both GCC and Clang warn like warning: moving a local object in a return statement prevents copy elision [-Wpessimizing-move] Signed-off-by: Kefu Chai <kchai@redhat.com>
| * | | | | | | | | mon: do not assert on bad auth payloadSage Weil2019-03-151-4/+16
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If we get garbage, fail to authenticate--do not assert out and crash. Signed-off-by: Sage Weil <sage@redhat.com>
* | | | | | | | | Merge PR #26959 into nautilusSage Weil2019-03-151-4/+2
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26959/head: mgr/crash: include entity (instead of daemon) in 'crash ls' Reviewed-by: Dan Mick <dmick@redhat.com>
| * | | | | | | | | mgr/crash: include entity (instead of daemon) in 'crash ls'Sage Weil2019-03-141-4/+2
| | |_|_|_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The daemon name is implied by the entity, and the entity is more useful. Signed-off-by: Sage Weil <sage@redhat.com>
* | | | | | | | | Merge PR #26965 into nautilusSage Weil2019-03-154-1/+16
|\ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26965/head: ms/async/ProtocolV2: add ms_die_on_bug and assert rxbuf/txbuf don't get big msg/async/ProtocolV2: do not reenable pre_auth buffering on from reset_recv_state Reviewed-by: Ricardo Dias <rdias@suse.com>
| * | | | | | | | ms/async/ProtocolV2: add ms_die_on_bug and assert rxbuf/txbuf don't get bigSage Weil2019-03-154-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Sage Weil <sage@redhat.com>
| * | | | | | | | msg/async/ProtocolV2: do not reenable pre_auth buffering on from ↵Sage Weil2019-03-151-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reset_recv_state This is specifically bad because we call reset_recv_state from reuse_connection, which turns buffering back on on an already-authenticated session. Instead, reenable it only when we set the state to START_CONNECT. (On the accepting side, it is a fresh connection, so it starts out true.) Also, we want to *disable* it on the connection we are reusing, which might be in a pre-auth state, while we are in a post-auth state. Fixes: http://tracker.ceph.com/issues/38746 Signed-off-by: Sage Weil <sage@redhat.com>
* | | | | | | | | Merge PR #26974 into nautilusPatrick Donnelly2019-03-152-0/+123
|\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26974/head: doc: add cephfs scrub related admin document Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
| * | | | | | | | | doc: add cephfs scrub related admin documentVenky Shankar2019-03-152-0/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes: http://tracker.ceph.com/issues/38728 Signed-off-by: Venky Shankar <vshankar@redhat.com>
* | | | | | | | | | Merge pull request #26984 from ↵Lenz Grimmer2019-03-155-106/+141
|\ \ \ \ \ \ \ \ \ \ | |_|_|_|_|_|/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ricardoasmarques/remove-iscsi-gateway-param-nautilus mgr/dashboard: Drop iSCSI gateway name parameter Reviewed-by: Ricardo Dias <rdias@suse.com>
| * | | | | | | | | mgr/dashboard: Drop iSCSI gateway name parameterRicardo Marques2019-03-155-106/+141
| | |_|_|/ / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iSCSI gateway name will now be obtained from the ceph-iscsi `/api/sysinfo/hostname` endpoint Signed-off-by: Ricardo Marques <rimarques@suse.com>
* | | | | | | | | Merge pull request #26971 from theanalyst/nautilus-rgw-enoent-mdlogCasey Bodley2019-03-151-2/+4
|\ \ \ \ \ \ \ \ \ | |/ / / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rgw_sync: drop ENOENT error logs from mdlog Reviewed-by: Nathan Cutler <ncutler@suse.com> Reviewed-by: Casey Bodley <cbodley@redhat.com>
| * | | | | | | | rgw_sync: drop ENOENT error logs from mdlogAbhishek Lekshmanan2019-03-151-2/+4
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since this commonly occurs and isn't an error of concern at level 1. Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com> (cherry picked from commit c246abb3935266f9335cab97e52ab489cc7ebfd6)
* | | | | | | | Merge pull request #26738 from votdev/fix_docsLenz Grimmer2019-03-152-27/+29
|\ \ \ \ \ \ \ \ | |/ / / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | mgr/dashboard: Fix issues in controllers/docs Reviewed-by: Ernesto Puerta <epuertat@redhat.com> Reviewed-by: Patrick Nawracay <pnawracay@suse.com> Reviewed-by: Tatjana Dehler <tdehler@suse.com> Reviewed-by: Tina Kallio <tina.kallio@gmail.com>
| * | | | | | | mgr/dashboard: Fix issues in controllers/docsVolker Theile2019-03-082-27/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Signed-off-by: Volker Theile <vtheile@suse.com>
* | | | | | | | Merge PR #26898 into nautilusSage Weil2019-03-1511-73/+230
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refs/pull/26898/head: osd/PG: invalidate PG if merging with unexpected version osd,mon: include more pg merge metadata in pg_pool_t qa/standalone/osd/pg-split-merge.sh: reproduce pg merge problem with empty pgs osd: add osd_debug_no_{acting_change,purge_strays} Reviewed-by: Neha Ojha <nojha@redhat.com>
| * | | | | | | osd/PG: invalidate PG if merging with unexpected versionSage Weil2019-03-122-3/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the source or target PG version is 0'0, we may silently take the max of the source and target and still leave the PG complete. This specifically can happen with an empty PG, as seen with bug 38655. In theory we could encounter one of the PGs with some other last_update that doesn't match what we expect. If that ever happens, make sure the result is incomplete so that backfill can clean up. Additionally check that the pool metadata for the last merge matches the PGs at all. This could mismatch if we have an osdmap gap and are forced to do some merge without merge info at all... in which case we should definitely invalidate: there should be newer copies of the PG(s), and we have no idea whether the PGs we are merging are what we want. If this is some disaster recovery situation, an operator is always free to use ceph-objectstore-tool to re-mark a PG complete (at their own peril!). Fixes: http://tracker.ceph.com/issues/38655 Signed-off-by: Sage Weil <sage@redhat.com>
| * | | | | | | osd,mon: include more pg merge metadata in pg_pool_tSage Weil2019-03-118-65/+120
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ones we need are source_version and target_version. Include it in a nice containing structure to keep things tidy. Signed-off-by: Sage Weil <sage@redhat.com>