summaryrefslogtreecommitdiffstats
path: root/.peoplemap (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-07-28rocksdb: pickup change to link against libsnappy.aKefu Chai1-0/+0
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-28cmake: fix "WITH_STATIC_LIBSTDCXX"Kefu Chai7-34/+27
- do not link libkv with ALLOC_LIBS, it turns out that if we link tcmalloc *before* -static-libstdc++ -static-libgcc, libstdc++ and gcc libs will show up in `ldd` output - add `-static-libstdc++ -static-libgcc` to CMAKE_SHARED_LINKER_FLAGS and CMAKE_EXE_LINKER_FLAGS instead of adding them to all shared libraries and executable. simpler this way. - link against libtcmalloc statically, because libtcmalloc is a C++ library, linking against it dynamically and linking against C++ runtime statically will pull in depdencies on two versions of C++ runtime, which will bring down the app at run-time. - do not pass '-pie' to linker when building executable if `WITH_STATIC_LIBSTDCXX` and tcmalloc is used, because the static tcmalloc is not compiled with PIC. - only apply '-pie' if ENABLE_SHARED is enabled. Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27ceph-volume: Restore SELinux contextBoris Ranto2-0/+15
We need to reset the root context of the file system after mounting it. Otherwise, the SELinux policy rules will not be preserved. Fixes: https://tracker.ceph.com/issues/24785 Signed-off-by: Boris Ranto <branto@redhat.com>
2018-07-27doc: releases: mimic 13.2.1 release notesAbhishek Lekshmanan1-0/+159
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2018-07-27ceph-volume tests.util verify as_bytes behaviorAlfredo Deza1-0/+11
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-27ceph-volume tests catch utf-8 encoded stdin errorsAlfredo Deza1-0/+3
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-27ceph-volume process use the as_bytes util for stdinAlfredo Deza1-3/+2
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-27ceph-volume util create a helper for converting to bytesAlfredo Deza1-0/+10
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-27cmake: bump up the required fmt versionKefu Chai1-1/+1
seastar actually requires fmt 4.0.0 and up, as 3.0.2 does not offer fmt/printf.h. see https://github.com/fmtlib/fmt/blob/master/ChangeLog.rst#400---2017-06-27 . Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27mgr/dashboard: Fix localStorage problem in JestTiago Melo1-1/+2
Latest version of Jest was showing the following error: "SecurityError: localStorage is not available for opaque origins" Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-27cmake: extract mgr into its own CMakeLists.txtKefu Chai2-30/+31
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27cmake: extract common,msg out of src/CMakeLists.txtKefu Chai6-269/+308
* add arch as a static library. * add crc32 as a static library. its only dependency is libarch. Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-27cls/rbd: fix notezhengyin1-1/+1
Signed-off-by: Zheng Yin <zhengyin@cmss.chinamobile.com>
2018-07-27doc/dev/internals: drop :orphan: directiveNathan Cutler1-2/+0
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-26ceph-volume: do not pin the testinfra version for the simple testsAndrew Schoen1-1/+1
For testinfra to work with a 2.6.x version of ansible it must use the latest version. Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-26mon/OSDMonitor: Warn if missing expected_num_objectsDouglas Fuller1-0/+11
When creating a pool on filestore, warn if the user appears to be creating a pool to store a large number of objects but omitted the expected_num_objects parameter. Create the pool anyway. Fixes: http://tracker.ceph.com/issues/24687 Signed-off-by: Douglas Fuller <dfuller@redhat.com>
2018-07-26ceph-volume: update version of ansible to 2.6.x for simple testsAndrew Schoen1-1/+1
ceph-ansible now requires a 2.5.x or 2.6.x version of ansible if you're using the master branch. This updates our functional tests for the simple subcommand to use a 2.6.x version of ansible. Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-26mgr/dashboard: Improve prettier scripts and documentationTiago Melo4-43/+41
Added prettier validation to the run-frontend-unittests script. This will make sure we are always running prettier in our commits. Added 2 new npm scripts: - 'prettier', will run prettier formatter on all frontend files - 'prettier:lint', will check all frontend files against prettier linter Removed 'pretty-quick' and related scripts. Since we now have all files prettified we can simply run prettier on them. Remove 'tslint-eslint-rules' package and all related rules. Prettier can check all the removed rules. Updated HACKING.rst with some information about prettier. Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-26mgr/dashboard: Prettify all remaining filesTiago Melo62-319/+320
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-26mgr/dashboard: Add reference to prettier in CodingStyleTiago Melo1-4/+6
Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-26do_cmake: fail if cmake failsKefu Chai1-1/+1
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26cmake: add Findfmt.cmakeKefu Chai2-1/+39
the cmake config provided by fmt-devel-3.0.2 does not offer fmt::fmt target, so we need to offer a Findfmt.cmake to do this. Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26doc: make it easier to reach the old dev doc TOCNathan Cutler3-5/+6
Signed-off-by: Nathan Cutler <ncutler@suse.com>
2018-07-26test/pybind: fix test_rbd.TestClone.test_trash_snapshotMykola Golub1-1/+3
Fixes: http://tracker.ceph.com/issues/25114 Signed-off-by: Mykola Golub <mgolub@suse.com>
2018-07-26cmake: make cpu_profiler a library targetKefu Chai4-17/+17
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26cmake: make heap_profiler a library targetKefu Chai6-25/+27
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26cmake: import allocator libraries in a better wayKefu Chai5-19/+53
* instead expose the paths, it'd better to expose a library target. * remove HAVE_LIBJEMALLOC, as it not used anywhere. Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-26seastar: lower the required yaml-cpp version to 0.5.1Kefu Chai1-0/+0
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-25rgw: fix buildMatt Benjamin1-1/+1
merge crossed with #23074 Signed-off-by: Matt Benjamin <mbenjamin@redhat.com>
2018-07-25Revert "rpm,deb: chown bluestore block* links to ceph.ceph on install/upgrade"Sage Weil2-4/+0
This reverts commit 58cde3fd793c037beca6645cc30b2ae1c30e2af1. This was only needed for luminous and mimic. We are keeping these commits in master (and reverting them) only so that the cherry-pick -x references work. Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-25Revert "rpm,deb: fix chown to use -h"Sage Weil2-2/+2
This reverts commit 92207c76b91c26c0558688a358ade7c0d94d1b59. Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-25qa/tasks/thrashosds-health.yaml: whitelist slow requestsNeha Ojha1-0/+1
Signed-off-by: Neha Ojha <nojha@redhat.com>
2018-07-25mgr/dashboard: Ceph dashboard user managementRicardo Marques28-19/+1184
Fixes: https://tracker.ceph.com/issues/24446 Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25mgr/dashboard: Skip tab focus on "show/hide password" buttonRicardo Marques1-4/+4
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25mgr/dashboard: Add 'onCancel' output for 'ConfirmationModal'Ricardo Marques2-1/+9
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25mgr/dashboard: Add cd-select-badges componentRicardo Marques6-0/+179
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25ceph-volume: PVolumes.get() should return one PV when using name or uuidAndrew Schoen2-1/+26
It is possible to get duplicated pv entires from the 'pvs' lvm command. If we're using PVolumes.get() with either pv_name or pv_uuid we can safely return a single PVolume object. However, if we use pv_tags with PVolumes.get() we must still raise a MultiplePVsError if many pvs are found that have the tags, because they are not guaranteed to be the same pv, as would be the case with pv_name or pv_uuid. Fixes: http://tracker.ceph.com/issues/24784 Signed-off-by: Andrew Schoen <aschoen@redhat.com>
2018-07-25ceph-volume tests run to log_descriptors, verifying utf-8Alfredo Deza1-0/+6
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-25ceph-volume process decode to utf-8 when logging descriptorsAlfredo Deza1-1/+4
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-25ceph-volume tests.process ensure that stdin works on py3 and py2.7Alfredo Deza1-0/+9
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-25ceph-volume process encode stdin with utf-8 to prevent bytes TypeErrorAlfredo Deza1-1/+4
Signed-off-by: Alfredo Deza <adeza@redhat.com>
2018-07-25mon: don't require CEPHX_V2 from mons until nautilusSage Weil1-6/+6
The mimic 13.2.0 didn't have it. Fixes: 3dc80e5f9b6ebf1bc1cecbd95b288005216bdbec Signed-off-by: Sage Weil <sage@redhat.com>
2018-07-25tools/ceph_dencoder: use full path for including headersKefu Chai1-2/+2
Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-25mgr/dashboard: Add match validatorRicardo Marques2-0/+47
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25mgr/dashboard: Add user management APIRicardo Marques5-0/+243
Fixes: https://tracker.ceph.com/issues/24446 Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25mgr/dashboard: Add asserError helper methodRicardo Marques1-0/+9
Signed-off-by: Ricardo Marques <rimarques@suse.com>
2018-07-25cmake: sync up with upstream FIOKefu Chai1-1/+1
to pick up the change to FTBFS with C++ engine. Signed-off-by: Kefu Chai <kchai@redhat.com>
2018-07-25mgr/dashboard: Improve SummaryService and TaskWrapperServiceTiago Melo12-92/+169
When you create a new task, and it stays running, it will be added automatically to the summary data. This will allows for us to deal with it more quickly, by subscribing to the summaryService, and removes the need to pass a runningTasks array between services. Added 3 new methods to SummaryService. Signed-off-by: Tiago Melo <tmelo@suse.com>
2018-07-25mgr/dashboard: Color variables for color codesa2batic21-1234/+654
Assign variables to colors present in css files Changed navigation icons padding because the notification dropdown was going out of window. Fixes: http://tracker.ceph.com/issues/24575 Signed-off-by: Kanika Murarka <kmurarka@redhat.com>
2018-07-25test: move ceph-dencoder to src/toolsKefu Chai3-58/+58
as it belongs to ceph-common, not ceph-test. Signed-off-by: Kefu Chai <kchai@redhat.com>