Sebastian Wagner
e7fdd7d065
Merge pull request #43622 from Daniel-Pivonka/cephadm-doc-osd-replace-host
...
doc/cephadm: note that replacment osd needs to be on same host as removed osd
Reviewed-by: Adam King <adking@redhat.com>
Reviewed-by: Michael Fritch <mfritch@suse.com>
2021-10-28 12:13:23 +02:00
Samuel Just
856b793519
Merge pull request #43681 from cyx1231st/wip-seastore-fix-test-setup-teardown
...
crimson/os/seastore: initialize tests in seastar reactor
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2021-10-28 03:11:05 -07:00
Kefu Chai
f1b4231d48
Merge pull request #43689 from rzarzynski/wip-auth-drop-get_supported_con_modes
...
auth: drop unused get_supported_con_modes() from AuthServer.
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2021-10-28 08:25:06 +08:00
Radoslaw Zarzynski
a578cedea3
auth: drop unused get_supported_con_modes() from AuthServer.
...
In 2d53093875
its last user has
been removed.
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-10-27 16:08:08 +00:00
zdover23
6d0e87ccaf
Merge pull request #43684 from ybwang0211/doc-host
...
doc: The description of "Host" on the page is inconsistent
Signed-off-by: wangyingbin ybwang0211@163.com
Reviewed-by: Zac Dover <zac.dover@gmail.com>
2021-10-28 00:26:17 +10:00
J. Eric Ivancich
d3170c11ed
Merge pull request #43581 from cbodley/wip-52800
...
rgw: fix lock scope in ObjectCache::get()
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
2021-10-27 09:33:08 -04:00
J. Eric Ivancich
71d68c7d31
Merge pull request #43170 from thotz/removeusercaps-in-modifyuser
...
rgw: remove dead code for user-caps from RGWOp_User_Modify
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-10-27 09:31:12 -04:00
J. Eric Ivancich
2692132690
Merge pull request #43153 from ivancich/wip-add-bucket-listing-log
...
rgw: add logging to bucket listing so calls are better understood
Reviewed-by: Adam C. Emerson <aemerson@redhat.com>
Reviewed-by: Ali Maredia <amaredia@redhat.com>
2021-10-27 09:30:22 -04:00
J. Eric Ivancich
d72d74a7ed
Merge pull request #42704 from wzbxqt327/patch-1
...
rgw,doc: fix command problem
Reviewed-by: Pritha Srivastava <prsrivas@redhat.com>
Reviewed-by: Casey Bodley <cbodley@redhat.com>
2021-10-27 09:28:47 -04:00
Mykola Golub
137238307d
Merge pull request #41323 from pkalever/cookie
...
rbd-nbd: generate and send device cookie with netlink connect request
Reviewed-by: Ilya Dryomov <idryomov@gmail.com>
Reviewed-by: Mykola Golub <mgolub@suse.com>
2021-10-27 15:44:16 +03:00
Ernesto Puerta
006b78e3b0
Merge pull request #43584 from rhcs-dashboard/add-multiple-hosts-at-once
...
mgr/dashboard: Cluster Creation Add multiple hosts at once
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 14:41:35 +02:00
Ernesto Puerta
cf09779a16
Merge pull request #43605 from rhcs-dashboard/bonding-metrics
...
monitoring: ethernet bonding filter in Network Load.
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 14:00:29 +02:00
Ernesto Puerta
6c58893a64
Merge pull request #43603 from rhcs-dashboard/fix-gather-facts-fetch-UI
...
mgr/dashboard: fetch host facts only if get_facts orch feature available
Reviewed-by: Aashish Sharma <aasharma@redhat.com>
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 13:18:52 +02:00
Ernesto Puerta
b03183b021
Merge pull request #43661 from rhcs-dashboard/review-page-fix
...
mgr/dashboard: Cluster expansion review page minor bug fixes
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 12:23:04 +02:00
Yingxin Cheng
f73bc6a375
crimson/os/seastore: initialize tests in seastar reactor
...
testing::Test from gtest is constructed and destructed outside seastar
application. It is unexpected for most seastore components, and causing
undefined behaviors.
For example, when registering metrics during construction, the logic
needs to be called inside seastar reactor thread because metrics are
maintained in reactor thread-local variables.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:46:45 +08:00
Yingxin Cheng
fa4d1316c9
crimson/os/seastore: cleanup transaction_manager_test_state
...
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:46:45 +08:00
Yingxin Cheng
f160986ebe
crimson/os/seastore/randomblock-manager: cleanup unit test
...
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:46:45 +08:00
Yingxin Cheng
6bb3df896f
crimson/os/seastore/cache: get block-size from reader
...
Cache cannot get the correct block size before SegmentManager is
mounted.
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:46:45 +08:00
Yingxin Cheng
d5d2a34025
crimson/os/seastore/store-nbd: cleanup headers
...
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:45:06 +08:00
Yingxin Cheng
1f304ad6da
crimson/os/seastore/journal: proper close journal when test finishes
...
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
2021-10-27 15:44:56 +08:00
wangyingbin
0cd5f2b292
doc: The description of "Host" on the page is inconsistent
...
In the "https://docs.ceph.com/en/latest/radosgw/adminops/#radosgw-admin-ops " page, the description of "Host" is not uniform, so I changed it.
Signed-off-by: wangyingbin <ybwang0211@163.com>
2021-10-27 15:44:19 +08:00
Pere Diaz Bou
e1bc6f24ff
monitoring: ethernet bonding filter in Network Load
...
Signed-off-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-27 09:08:20 +02:00
Kefu Chai
2bce57f9a9
Merge pull request #43630 from kkang-wr/master
...
cmake: add support for python 3.10
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2021-10-27 09:26:05 +08:00
Kefu Chai
fb59b874d6
Merge pull request #43648 from rzarzynski/wip-crimson-proper-addrs-for-hbmsgrs
...
crimson/osd: fix network address selection for hearbeat's messengers.
Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2021-10-27 09:09:01 +08:00
Kefu Chai
eca792ccc7
Merge pull request #43671 from javicacheiro/python_data_as_binary
...
doc/rbd: correct sample code to use byte string for data
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2021-10-27 09:04:18 +08:00
Kefu Chai
d34f4c333a
Merge pull request #43674 from rzarzynski/wip-crimson-net-honor_listen_type
...
crimson/net: FixedCPUServerSocket::accept() respects the listening addr's type.
Reviewed-by: Kefu Chai <tchaikov@gmail.com>
2021-10-27 09:01:44 +08:00
Radoslaw Zarzynski
ed8107e8d4
crimson/net: FixedCPUServerSocket::accept() respects the listening addr's type.
...
For the sake of compliance with the classical OSD where the type
of the listening address is being reflected in the address type
of an accepted connection:
```
int PosixServerSocketImpl::accept(ConnectedSocket *sock, const SocketOptions &opt, entity_addr_t *out, Worker *w) {
// ...
sockaddr_storage ss;
// ...
int sd = accept_cloexec(_fd, (sockaddr*)&ss, &slen);
if (sd < 0) {
return -ceph_sock_errno();
}
// ...
out->set_type(addr_type);
out->set_sockaddr((sockaddr*)&ss);
handler.set_priority(sd, opt.priority, out->get_family());
}
```
In Rook crimson binds explicitly to v2 address:
```
INFO 2021-10-26 17:55:08,116 [shard 0] osd - picked address v2:0.0.0.0:0/0
ERROR 2021-10-26 17:55:08,116 [shard 0] none - Falling back to public interface
INFO 2021-10-26 17:55:08,116 [shard 0] osd - picked address v2:0.0.0.0:0/0
```
Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
2021-10-26 19:44:12 +00:00
Sage Weil
bdad93759b
Merge PR #43627 into master
...
* refs/pull/43627/head:
Revert "Merge pull request #42099 from aclamk/wip-bluefs-fine-grain-locking-2"
Reviewed-by: Neha Ojha <nojha@redhat.com>
2021-10-26 13:18:41 -04:00
Javier Cacheiro
8d99512e14
doc: data must be a byte string
...
Data must be a byte string in python 3.
Signed-off-by: Javier Cacheiro <javier.cacheiro.lopez@cesga.es>
2021-10-26 17:14:15 +02:00
Sebastian Wagner
a9dd13a0f3
Merge pull request #43668 from rhcs-dashboard/kube-v1_events-update
...
mgr/k8sevents: pin the kubernetes version to 11.0.0
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-26 16:29:42 +02:00
Prasanna Kumar Kalever
2adfe55bcc
qa/workunits/rbd: test map/attach with --show-cookie/--cookie options
...
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Prasanna Kumar Kalever
16404dede8
rbd-nbd: allow user to specify cookie at map
...
Allow user to specify cookie of choice at the time of map
$ rbd device attach rbd-pool/image --device /dev/nbd0 \
--cookie 6f85d970-10b2-456b-8baf-676aa4d782e4 --options try-netlink
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Prasanna Kumar Kalever
6df06c7a62
rbd: add --show-cookie/--cookie option for map/attach commands
...
Example:
$ rbd device map rbd-pool/image --show-cookie --try-netlink --device-type nbd
$ rbd device attach rbd-pool/image --device /dev/nbd0 \
--cookie 6f85d970-10b2-456b-8baf-676aa4d782e4 --device-type nbd
older Kernel versions can use --force to skip the cookie validation
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Prasanna Kumar Kalever
833e71282a
rbd-nbd: allow attach without --cookie for old kernel versions
...
For backward compatibility allow attach without --cookie option:
[root@linux-vm1]# rbd-nbd attach rbd-pool/image0 --device /dev/nbd0
/dev/nbd0
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Prasanna Kumar Kalever
efeb255d10
rbd-nbd: show per device cookie with list command
...
[root@linux-vm1]# rbd-nbd list-mapped
id pool namespace image snap device cookie
8133 rbd-pool image0 - /dev/nbd0 c704cb91-c6cf-466e-a335-0e935c0d5e47
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Prasanna Kumar Kalever
6ca70ee4f0
rbd-nbd: mandate device cookie for attach command
...
[root@linux-vm1]# rbd-nbd attach rbd-pool/image0 --device /dev/nbd0 \
--cookie c704cb91-c6cf-466e-a335-0e935c0d5e47
/dev/nbd0
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Prasanna Kumar Kalever
59c08eabf1
rbd-nbd: provide a flag to show device cookie with map command
...
[root@linux-vm1]# rbd-nbd map rbd-pool/image0 --try-netlink --show-cookie
/dev/nbd0 c704cb91-c6cf-466e-a335-0e935c0d5e47
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Prasanna Kumar Kalever
eee8d8a32e
rbd-nbd: generate and send device cookie with netlink connect request
...
[root@linux-vm1]# rbd-nbd map rbd-pool/image0 --try-netlink
/dev/nbd0
[root@linux-vm1]# cat /sys/block/nbd0/backend
c704cb91-c6cf-466e-a335-0e935c0d5e47
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
2021-10-26 19:24:13 +05:30
Nizamudeen A
f54ea99cab
mgr/k8sevents: pin the kubernetes version to 11.0.0
...
Fixes: https://tracker.ceph.com/issues/53044
Signed-off-by: Nizamudeen A <nia@redhat.com>
2021-10-26 18:16:29 +05:30
Avan Thakkar
78b8af2bda
mgr/dashboard: gather facts should only be fetched when orch backend is cephadm
...
Fixes: https://tracker.ceph.com/issues/52981
Signed-off-by: Avan Thakkar <athakkar@redhat.com>
Gather facts in UI should only be fetched if there is orch available and
get_facts feature is available for that orch backend.
2021-10-26 16:37:40 +05:30
Nizamudeen A
81430251ed
mgr/dashboard: Cluster expansion review page minor bug fixes
...
Fix the Total Memory coming up as NaN Undefined
Remove `Add` Button in the Cluster Details table
Fixes: https://tracker.ceph.com/issues/53038
Signed-off-by: Nizamudeen A <nia@redhat.com>
2021-10-26 15:26:10 +05:30
Ernesto Puerta
8a4649e651
Merge pull request #43640 from rhcs-dashboard/module-status-guard-error-handling
...
mgr/dashboard: Proper error handling in module status guard
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Pere Diaz Bou <pdiazbou@redhat.com>
2021-10-26 10:52:13 +02:00
Ernesto Puerta
5e1297ce3c
Merge pull request #43639 from rhcs-dashboard/angular-11-form-fix
...
mgr/dashboard: Fix for form inside form closing issue
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Avan Thakkar <athakkar@redhat.com>
Reviewed-by: Nizamudeen A <nia@redhat.com>
2021-10-26 10:51:22 +02:00
Sebastian Wagner
21cfba732b
Merge pull request #43560 from pcuzner/fix-orch-device-zap
...
mgr/cephadm: improve validation of orch device zap
Reviewed-by: Sage Weil <sage@newdream.net>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-26 10:42:05 +02:00
Sebastian Wagner
46afe6b1df
Merge pull request #43499 from jecluis/wip-cephadm-insecure
...
cephadm: allow pulling from insecure registries
Reviewed-by: Michael Fritch <mfritch@suse.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-26 10:27:24 +02:00
Sebastian Wagner
7ac3897c0c
Merge pull request #43502 from adk3798/rm-testing2
...
mgr/cephadm: remove host addr from agent deps
Reviewed-by: Nizamudeen A <nia@redhat.com>
Reviewed-by: Sebastian Wagner <sewagner@redhat.com>
2021-10-26 10:26:44 +02:00
Sebastian Wagner
646173097c
Merge pull request #43579 from sebastian-philipp/cephadm-monitoring-ipv6
...
mgr/cephadm: Fix IPv6 in monitoring services
Reviewed-by: Adam King <adking@redhat.com>
2021-10-26 10:24:32 +02:00
Samuel Just
925316ab35
Merge pull request #43632 from myoungwon/wip-alloc-free-rbm-paddr
...
seastore: add alloc/free extent for RBM based on paddr_t
Reviewed-by: Samuel Just <sjust@redhat.com>
2021-10-26 01:12:07 -07:00
Samuel Just
6dd58de82f
Merge pull request #43641 from athanatos/sjust/wip-52805
...
crimson/os/seastore: fix LBABtree::lower_bound behavior
Reviewed-by: Xuehan Xu <xxhdx1985126@gmail.com>
Reviewed-by: Yingxin Cheng <yingxin.cheng@intel.com>
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
2021-10-26 00:40:54 -07:00
Samuel Just
83c42539f7
Merge pull request #43651 from rzarzynski/wip-crimson-net-fix-nonceportcheck
...
crimson/net: don't enforce peer-perceived-myaddr matches myaddr if haven't learned it yet.
Reviewed-by: Chunmei Liu <chunmei.liu@intel.com>
Reviewed-by: Samuel Just <sjust@redhat.com>
2021-10-25 15:52:19 -07:00