for silencing the warning like:
```
../src/osdc/ObjectCacher.cc: In member function ‘ObjectCacher::BufferHead* ObjectCacher::Object::split(ObjectCacher::BufferHead*, loff_t)’:
../src/osdc/ObjectCacher.cc:138:20: warning: ‘void ceph::buffer::v15_2_0::list::claim(ceph::buffer::v15_2_0::list&)’ is deprecated: in favor of operator=(list&&) [-Wdeprecated-declarations]
138 | bl.claim(left->bl);
| ^
```
Signed-off-by: Kefu Chai <kchai@redhat.com>
* refs/pull/35417/head:
volumes/fs/nfs: Don't parse rados export objects during FSExport init
pybind/mgr/volumes/nfs: Fix flake8 errors
qa/tasks/test_nfs: Add todo note for cluster update test
qa/tasks/cephfs/test_nfs: Add test for get and list detailed export
qa/tasks/cephfs/test_nfs: Add test for export user id
qa/tasks/cephfs/test_nfs: Add description for each test
doc/cephfs: Add list and get export usage
qa/tasks/cephfs: Add tests for export create with non-existing fsname and cluster id
qa/tasks/cephfs: Add tests for invalid cluster id, export type and modify list cluster
qa/tasks/cephfs: Add test for listing exports
pybind/mgr/volumes/nfs: Reorder FSExport and NFSCluster class methods
mgr/volumes/nfs: Set pool_namespace and cluster_id through decorator
mgr/volumes/nfs: Check cluster availability in export command methods
mgr/volumes/nfs: Misc changes to export get and ls command
qa/tasks/cephfs: Add test for nfs cluster ls command
mgr/volumes/nfs: Add nfs cluster ls command
mgr/volumes/nfs: Remove 'ganesha-' prefix from orch returned service id
mgr/volumes/nfs: get export in a nfs cluster
mgr/volumes/nfs: list exports within a ganesha cluster
mgr/volume/nfs: allow only [A-Za-z0-9-_.] characters
qa/tasks/cephfs: Add test to check if export is available on restarting mgr
qa/tasks/cephfs: Add idempotency test for nfs commands
mgr/volumes/nfs: Check if cluster exists before creating exports
mgr/volumes/nfs: Fetch exports in persistent way if mgr is restarted
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: Ramana Raja <rraja@redhat.com>
Unlike the existing 'discard' option which is more of a hint to
attempt to release space, the new 'write_zeroes' APIs will ensure
that the entire provided extent is fully zeroed.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
Instead we can do it if any export commands are used. This fixes ImportError
raised when FSExport is initialized with cephadm module disabled.
Signed-off-by: Varsha Rao <varao@redhat.com>
This patch does following changes:
* Add extra line before every class definition
* Reorder export dictionary
* Use _fetch_export() in get export command
* Remove cluster_id key from export dictionary if single export is deleted
Signed-off-by: Varsha Rao <varao@redhat.com>
List the pseudo paths of the exports within a ganesha cluster
with `nfs export ls <cluster ID>` command.
List all the details of the exports within a ganesha cluster
with `nfs export ls <cluster ID> --detailed` command.
Partially-fixes: https://tracker.ceph.com/issues/45741
Signed-off-by: Ramana Raja <rraja@redhat.com>
* refs/pull/35784/head:
mon/MDSMonitor: copy MDS info which may be removed
Reviewed-by: Rishabh Dave <ridave@redhat.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
We were trying to access a component that is only created
after the form loading is finished, before it was finished.
Fixes: https://tracker.ceph.com/issues/46276
Signed-off-by: Tiago Melo <tmelo@suse.com>
add the ability to use a non-root users for connecting to hosts, this user requires pass wordless sudo access
useful for clusters that have root ssh access disabled
Fixes: https://tracker.ceph.com/issues/44866
Signed-off-by: Daniel-Pivonka <dpivonka@redhat.com>
Fix regression introduced in a1fac664f5.
Title attribute was unintentionally removed from the table actions.
Fixes: https://tracker.ceph.com/issues/46153
Signed-off-by: Tiago Melo <tmelo@suse.com>
Replace code using class Volumes by methods get_lvs() and
get_first_lv(). Also, update the tests accordingly.
Signed-off-by: Rishabh Dave <ridave@redhat.com>
mgr/dashboard: Prometheus query error in the metrics of Pools, OSDs and RBD images
Reviewed-by: Alfonso Martínez <almartin@redhat.com>
Reviewed-by: Ernesto Puerta <epuertat@redhat.com>
Reviewed-by: Volker Theile <vtheile@suse.com>