Commit Graph

50246 Commits

Author SHA1 Message Date
Ali Maredia
61026c872b cmake: Turned LTTng OFF
This is temporary, until a way to stop repetitive
unecessary generation of headerfiles is figured out.

Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-03-01 18:11:39 -05:00
Samuel Just
306c7bf40e Merge pull request #7765 from athanatos/wip-lost-unfound-repop
Repop and lost-unfound overhaul

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-29 10:42:01 -08:00
Samuel Just
5f82cbe054 Merge pull request #7824 from dillaman/wip-aio-watch-notify
librados: fix test failure with new aio watch/unwatch API 

Reviewed-by: Samuel Just <sjust@redhat.com>
2016-02-29 07:42:08 -08:00
Jason Dillaman
4b0ff1c792 Merge pull request #7832 from trociny/wip-journal-register-async
journal: async methods to (un)register and update client

Reviewed-by: Jason Dillaman <dillaman@redhat.com>
2016-02-29 08:53:17 -05:00
Kefu Chai
7bc42aaac5 Merge pull request #7829 from xiexingguo/xxg-wip-doc
doc: fix typo, indention etc.

Reviewed-by: Abhishek Lekshmanan <abhishek@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-29 21:13:10 +08:00
xiexingguo
bcc2866e0f doc: fix typo, indention etc.
Signed-off-by: xie xingguo <xie.xingguo@zte.com.cn>
2016-03-01 02:26:18 +08:00
Kefu Chai
8c054f741a Merge pull request #7747 from vsjulu/master
xio: fix incorrect ip being assigned in case of multiple RDMA ports

Reviewed-by: Kefu Chai <kchai@redhat.com>
2016-02-28 00:01:55 +08:00
Yehuda Sadeh
894738f845 Merge pull request #7630 from rzarzynski/wip-rgw-admin-token-cache
rgw: add support for caching of Keystone admin token.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-27 06:22:09 -08:00
Yehuda Sadeh
04884be986 Merge pull request #7825 from ceph/wip-rgw-openssl
rgw: link civetweb with openssl (Sage, Marcus Watts)

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-27 06:17:15 -08:00
Mykola Golub
9453967f62 test: add tests to (un)register and update journal client
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-27 14:59:11 +02:00
Mykola Golub
a4527c3cf5 journal: async methods to (un)register and update client
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-27 12:33:13 +02:00
Mykola Golub
378f4c73ba cls::journal: async client_unregister
Signed-off-by: Mykola Golub <mgolub@mirantis.com>
2016-02-27 12:33:04 +02:00
Marcus Watts
86718592c0 cmake fix: build civetweb with the right include path.
In an earlier commit, civetweb.c got moved into a separate cmake 'object'
library civetweb_common_objs so that it could be built just once for use
with several different targets.  At the time, there was a separate global
"include_directory" to give the right include path for including "civetweb.h".
A later commit in master created an rgw_a library, and restricted civetweb.h's
include path for only building rgw_a objects.  So, as the product of
these these two commits, the target_include_directories command for the
civetweb include path now needs to be applied to civetweb_common_objs
and not rgw_a.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-02-27 02:34:14 -05:00
Sage Weil
74d698a406 Merge pull request #7650 from avnerbh/fix1_rand
msg: add thread safety for "random" Messenger + fix wrong usage of random functions

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-02-26 18:58:28 -05:00
Sage Weil
0499ca89a0 Merge pull request #7651 from xiexingguo/xxg-wip-fixtypecheck
osd: bluestore: improve fs-type verification and tidy up

Reviewed-by: Sage Weil <sage@redhat.com>
2016-02-26 18:57:19 -05:00
Sage Weil
6e497e077d Merge pull request #7654 from rldleblanc/wip-wpq-optimization
osd: WeightedPriorityQueue: move to intrusive containers
2016-02-26 18:36:52 -05:00
Yehuda Sadeh
888021189c Merge pull request #7821 from rzarzynski/wip-rgw-14903
rgw: fix wrong handling of limit=0 during listing of Swift account.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-26 13:37:44 -08:00
Radoslaw Zarzynski
155f079118 rgw: change naming of utility functions in rgw_keystone.cc.
Slightly improve code formatting and const-correctness as well.

Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-02-26 22:20:03 +01:00
Marcus Watts
aaa0f6fa77 Use fixed version of civetweb to avoid warning.
The warning about SSLv23_client_method is because when using dynamic
linking, this should always be non-zero.  That's inside of civetweb,
so this commit is to pull the submodule up to the fix.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-02-26 12:36:08 -08:00
Marcus Watts
f3925ec5ef Fix ssl link error.
When linking against -lssl, should also include -lcrypto.

// fixup merge with previous

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-02-26 12:30:52 -08:00
Marcus Watts
b451cbb368 Use ld.so to link in ssl crypto (cmake changes).
Using dlopen() to load in ssl crypto makes me cringe.
Also it requires either installing the devel package,
or appending library versioning to the library name
civetweb tries to load, which is ugly.  This is only
a license problem for people whose system distribution
does not include openssl.

Signed-off-by: Marcus Watts <mwatts@redhat.com>
2016-02-26 12:29:47 -08:00
Radoslaw Zarzynski
ec186f4cf4 rgw: fix wrong handling of limit=0 during listing of Swift account.
Fixes: #14903
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-02-26 21:18:11 +01:00
Yehuda Sadeh
d7b47c260c Merge pull request #7777 from theanalyst/rgw/insecure-keystone
rgw: allow authentication keystone with self signed certs 

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-26 11:18:05 -08:00
Yehuda Sadeh
381411e350 Merge pull request #7809 from cbodley/wip-rgw-includes
rgw: use pimpl pattern for RGWPeriodHistory

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-26 10:50:04 -08:00
Yehuda Sadeh
62a2127786 Merge pull request #7822 from rzarzynski/wip-rgw-keystone-proper-parse-ordering
rgw: try to parse Keystone token in order appropriate to configuration.

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-26 10:44:01 -08:00
Yehuda Sadeh
0e3e7bcada Merge pull request #7803 from oritwas/wip-14826
rgw: reset return code in when iterating over the bucket the objects

Reviewed-by: Yehuda Sadeh <yehuda@redhat.com>
2016-02-26 10:38:12 -08:00
Jason Dillaman
3254e49886 test: remove doubled unwatch API call
This error was unmasked by the fix included in commit 8caa2e4.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-26 13:19:38 -05:00
Jason Dillaman
82f547f17f librados: aio watch/unwatch/notify now uses completion objver
A local variable was used for an async callback operation,
resulting in the potential for memory corruption.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
2016-02-26 13:19:33 -05:00
vsjulu
837dcc5948 XIO: Changes to fix incorrect ip being assigned in case of multiple RDMA ports.remove rdma local and return error instead to avoid issues with using rdma_local incase of multiple ports.
Signed-off-by: Subramanyam Varanasi <s.varanasi@ssi.samsung.com>
2016-02-26 10:01:27 -08:00
Radoslaw Zarzynski
80f34dcb98 rgw: try to parse Keystone token in order appropriate to configuration.
Signed-off-by: Radoslaw Zarzynski <rzarzynski@mirantis.com>
2016-02-26 17:41:27 +01:00
Abhishek Lekshmanan
5d4173543f rgw: add insecure option to the http client
This allows the http client to turn off ssl certificate peer checking,
which is turned on by default. This is useful in cases like when
Keystone is SSL terminated with a self signed certificate.
The option `rgw_keystone_verify_ssl` (default true) can be toggled if
self signed certs are used, so that swift and s3 apis using keystone
authentication can work.

Fixes: #14583
Reported-by: Karol Mroz <mroz.karol@gmail.com>
Signed-off-by: Abhishek Lekshmanan <abhishek@suse.com>
2016-02-26 17:20:01 +01:00
Casey Bodley
dff62e47ef rgw: use pimpl pattern for RGWPeriodHistory
this removes the dependency on RGWPeriod from rgw_rados.h, which breaks
a circular dependency between rgw_rados.h -> rgw_metadata.h ->
rgw_period_history.h -> rgw_rados.h

Reported-by: Willem Jan Withagen <wjw@digiware.nl>
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-02-26 10:54:03 -05:00
Sage Weil
39671f1f4d doc: final v9.2.1 release notes
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-26 10:24:22 -05:00
Sage Weil
8689a61504 Merge pull request #7694 from Abhishekvrshny/wip-infernalis-release-notes
release-notes: draft v9.2.1 release notes
2016-02-26 10:24:20 -05:00
Sage Weil
d3db533a4f Merge pull request #7813 from xiexingguo/xxg-wip-doc
doc: small fixes
2016-02-26 09:54:20 -05:00
xiexingguo
ca50f42359 doc: batch small fixes, including typo, syntax etc.
Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
2016-02-26 23:25:02 +08:00
xiexingguo
dc7e027ea5 doc: fix typo
Signed-off-by: xiexingguo <xie.xingguo@zte.com.cn>
2016-02-26 22:39:57 +08:00
Loic Dachary
86e2987fcf Merge pull request #7805 from ErwanAliasr1/evelu-check-btrfs
Fixing BTFS issue at 'make check'

Reviewed-by: Loic Dachary <ldachary@redhat.com>
2016-02-26 11:34:42 +07:00
Haomai Wang
e236ebdc25 Merge pull request #7802 from branch-predictor/bp-increase-async-threads
config: increase default async op threads

Reviewed-by: Haomai Wang <haomai@xsky.com>
2016-02-26 10:45:45 +08:00
Ali Maredia
5f935455ac Merge pull request #7808 from cbodley/wip-cmake-jerasure
cmake: add ErasureCode.cc to jerasure plugins
2016-02-25 15:09:09 -05:00
Casey Bodley
753221e2cf cmake: add ErasureCode.cc to jerasure plugins
Signed-off-by: Casey Bodley <cbodley@redhat.com>
2016-02-25 14:58:18 -05:00
Sage Weil
aa92f9dff0 rgw: link against system openssl (instead of dlopen at runtime)
Signed-off-by: Sage Weil <sage@redhat.com>
2016-02-25 11:44:10 -08:00
Samuel Just
e7edf20fb7 osd/: Use MOSDPGUpdateLogMissing to implement mark_unfound_lost_delete safely
Using a MOSDPGLog was unsafe since it is not ordered with
respect to repops.  Instead, use a new message sent through
the same paths as repops.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-25 11:13:59 -08:00
Samuel Just
88ee4e7548 osd/,messages/: add MOSDPGUpdateLogMissing[Reply]
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-25 11:13:59 -08:00
Samuel Just
b8e5843136 os/: add try_rename
Similar to collection_move_rename, except we ignore ENOENT and
don't allow different collections.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-25 11:13:55 -08:00
Casey Bodley
0dd061c3ed Merge pull request #7748 from ceph/wip-cmake-2-22-16
cmake: fix paths to various EC source files
2016-02-25 14:06:16 -05:00
Ali Maredia
83b4aab3a8 cmake: installing _tp libraries into lib
Signed-off-by: Ali Maredia <amaredia@redhat.com>
2016-02-25 14:02:11 -05:00
Samuel Just
430027f70b PGLog: factor out claim_log_entries_update_missing
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-25 10:56:41 -08:00
Samuel Just
7eadf88b73 PGLog::merge_log: update missing, after removing divergent
This should not change behavior at all.  It'll be useful in
the next few commits.

Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-25 10:56:41 -08:00
Samuel Just
50e4e2c7ab PG,PGLog: convert to DoutPrefixProviders
Signed-off-by: Samuel Just <sjust@redhat.com>
2016-02-25 10:56:41 -08:00