otherwise we have
```
Running setup.py egg_info for package apache-libcloud
libcloud/utils/py3.py:76: UserWarning: Missing backports.ssl_match_hostname package
warnings.warn("Missing backports.ssl_match_hostname package")
Traceback (most recent call last):
...
File "build/bdist.linux-x86_64/egg/setuptools_scm/version.py", line 66, in _warn_if_setuptools_outdated
...
setuptools_scm.version.SetuptoolsOutdatedWarning: your setuptools is too old (<12)
...
Command python setup.py egg_info failed with error code 1 in /tmp/tmp.i95Fg82Ea4/venv/build/apache-libcloud
```
and more important thing is, setuptools >= 12 allows us to install the
python modules in venv, without uninstalling existing modules if they
are also installed in by system packages.
Signed-off-by: Kefu Chai <kchai@redhat.com>
`kubernetes.client.apis.core_v1_api.CoreV1Api#list_node` is
broken and needs a monkey patch. Might be related to
an incompatible k8s cluster version.
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Use `KubernetesResource` as cache for pods, inventory maps and nodes.
This is required for the dashboard.
Also:
properly return K8s nodes
fix minor issues
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
Provide ability to fetch or watch k8s resources,
and hold the resulting objects in a dict. A method
has been added to the rook module to allow other
mgr modules to fetch the state of specific k8s
resources.
Signed-off-by: Paul Cuzner <pcuzner@redhat.com>
Split *_stateless_service, because every orchestrator
did some method dispatching internally anyway.
Also: Added test
Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
we have abundant test for exercising `ceph` cli, like
qa/standalone/mon/misc.sh.
and `test_ceph.py` does not test any functionality of this python script
other than importing it, which basically runs it through python's syntax
check.
Signed-off-by: Kefu Chai <kchai@redhat.com>
* refs/pull/29185/head:
os/bluestore: add tail length when caculating reserved buffer size
os/bluestore: record next_offs when offset is not sequential.
Reviewed-by: Igor Fedotov <ifedotov@suse.com>
src/script/check_commands.sh: fix grep regex class range
Reviewed-by: Sebastian Wagner <sebastian.wagner@suse.com>
Reviewed-by: Sebastian Krah <skrah@suse.com>
Reviewed-by: Laura Paduano <lpaduano@suse.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
This adds a parameterized fixture as input to the tests. Should make
writing new tests easier since only fixture parameters need to be added.
In the future we should be able to reuse the fixtures to build other
fixtures and reuse the parametrization.
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
python-common: Python common package
Reviewed-by: Juan Miguel Olmo Martínez <jolmomar@redhat.com>
Reviewed-by: Kefu Chai <kchai@redhat.com>
Reviewed-by: Ricardo Dias <rdias@suse.com>
Reviewed-by: Tim Serong <tserong@suse.com>
Choosing not to include this in the docs so that the user is more likely
to see this interactively. (That is...probably good?)
Choose sharing-1-0.
Signed-off-by: Sage Weil <sage@redhat.com>
* refs/pull/28804/head:
mds: delay exporting directory whose pin value exceeds max rank id
Reviewed-by: Zheng Yan <zyan@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
* refs/pull/29339/head:
client: don't report any vxattrs to listxattr
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
Reviewed-by: David Disseldorp <ddiss@suse.de>
ceph-ansible has started enabling the dashboard by
default as of https://github.com/ceph/ceph-ansible/pull/4268
Disabling the dashboard gets us around needing to run
the grafana_server role which is required for the dashboard
and not needed for ceph-volume functional tests.
Signed-off-by: Andrew Schoen <aschoen@redhat.com>