Revert "ceph_test_rados_api_*: expose nspace"

This reverts commit 977d289055d69ab8a7baaf7ef68c013019225833.

The nspace string doesn't need to be static because it isn't
set by a static function.
ceph_test_rados_api_*: expose RadosTest::nspace
Expose RadosTestEC::nspace
Rename others to nspace for consistency

Signed-off-by: David Zafman <dzafman@redhat.com>
test, key_value_store: Use pool rbd since no default data pool present

Signed-off-by: David Zafman <dzafman@redhat.com>
test: Handle destructor of KvStoreBench by adding io_ctx_ready bool

Signed-off-by: David Zafman <dzafman@redhat.com>
doc: Add namespace to description of rados_ioctx_t

Signed-off-by: David Zafman <dzafman@redhat.com>
pybind: Add previously missed basic namespace to python bindings

Signed-off-by: David Zafman <dzafman@redhat.com>
rados: Fix ObjectIterator instantiation to specify correct value_type

Signed-off-by: David Zafman <dzafman@redhat.com>
osd, osdc, librados, tools, rgw: Implement pgls of all namespaces

Add release note
New librados interface
New pg_nls_response_t over the wire protocol
Ignore internal namespace (.ceph_internal)
Enhance ObjListCtx to keep independent IoCtxImpl so nspace won't change out from under listing code
Add ListObject with private implementation ListObjectImpl to return from iterator
Add EINVAL error for old librados interface when LIBRADOS_ALL_NSPACES set
Add throw to old librados c++ interface when all_nspaces set

Fixes: #9031

Signed-off-by: David Zafman <dzafman@redhat.com>
rados command: Enhance ls output to show namespaces

Add rados --all option for ls to output all namespaces
Add rados --default option to cancel --all when in CEPH_ARGS environment

Fixes: #9031

Signed-off-by: David Zafman <dzafman@redhat.com>
test: New and updated testing for pgls of all namespaces

Add pg_nls_response_t encoding type ceph-dencoder
New test ceph_test_rados_api_nlist
Add check for throw of error and EINVAL in old test case
Change tests to use new librados list interfaces
Now flush_evict_all() can really evict all objects

Fixes: #9031

Signed-off-by: David Zafman <dzafman@redhat.com>
test: Improvements to allow more thorough clean up between tests

Remove snapshots at end of test so cleanup works
Fix test clean-up code to make sure ioctx is on SNAP_HEAD
Fix remaining test types to save and clean-up test namespace
Fix ceph_test_rados_api_tier so that clean-up of objects works
Do cleanup of base and cache pools after disconnecting tier
Add missing wait_for_latest_osdmap()
Add unwatch in watch_notify test so clean-up can remove objects without EBUSY

Signed-off-by: David Zafman <dzafman@redhat.com>
pybind, test: Use new rados_nobjects_list_open() variants

Add listing objects with namespaces to pybind rados testing

Signed-off-by: David Zafman <dzafman@redhat.com>
rados command: Minor namespace fixes

Fix rados cppool
Fix rados cp (add --target-nspace)
Add missing --target-locator to usage
Add namespace for clonedata operation
Improve some error message to include namespace

Fixes: #9262

Signed-off-by: David Zafman <dzafman@redhat.com>
rados command: Disable rados export/import (see feature #9403 to enable again)

Signed-off-by: David Zafman <dzafman@redhat.com>
doc: Remove unused PendingReleaseNotes file

Signed-off-by: David Zafman <dzafman@redhat.com>
doc: The dot package is included in graphviz package

Signed-off-by: David Zafman <dzafman@redhat.com>
doc: Changes to librados to fix doc errors

Fixes: #9438

Signed-off-by: David Zafman <dzafman@redhat.com>
rados command: Add format support for ls operation

Signed-off-by: David Zafman <dzafman@redhat.com>
Merge pull request #2456 from ceph/wip-9031-9262

Wip 9031 9262

Reviewed-by: Samuel Just <sjust@redhat.com>
Reviewed-by: Loic Dachary <loic-201408@dachary.org>