Project

General

Profile

Actions

Bug #51794

closed

mgr/test_orchestrator: remove pool and namespace from nfs service

Added by Varsha Rao over 2 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
test_orchestrator
Target version:
% Done:

0%

Source:
Development
Tags:
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

[root@localhost build]# /home/varsha/ceph/build/bin/ceph -c /home/varsha/ceph/build/ceph.conf -k /home/varsha/ceph/build/keyring test_orchestrator load_data -i /home/varsha/ceph/src/pybind/mgr/test_orchestrator/dummy_data.json 
*** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH ***
2021-07-22T16:32:52.884+0530 7f31e9d9d640 -1 WARNING: all dangerous and experimental features are enabled.
2021-07-22T16:32:52.909+0530 7f31e9d9d640 -1 WARNING: all dangerous and experimental features are enabled.
Error EINVAL: Traceback (most recent call last):
  File "/home/varsha/ceph/src/python-common/ceph/deployment/service_spec.py", line 34, in inner
    return method(cls, *args, **kwargs)
  File "/home/varsha/ceph/src/python-common/ceph/deployment/service_spec.py", line 549, in from_json
    return _cls._from_json_impl(c)  # type: ignore
  File "/home/varsha/ceph/src/python-common/ceph/deployment/service_spec.py", line 573, in _from_json_impl
    _cls = cls(**args)
TypeError: __init__() got an unexpected keyword argument 'pool'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/varsha/ceph/src/pybind/mgr/mgr_module.py", line 1565, in _handle_command
    return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
  File "/home/varsha/ceph/src/pybind/mgr/mgr_module.py", line 414, in call
    return self.func(mgr, **kwargs)
  File "/home/varsha/ceph/src/pybind/mgr/test_orchestrator/module.py", line 43, in _load_data
    self._init_data(data)
  File "/home/varsha/ceph/src/pybind/mgr/test_orchestrator/module.py", line 74, in _init_data
    self._services = [orchestrator.ServiceDescription.from_json(service)
  File "/home/varsha/ceph/src/pybind/mgr/test_orchestrator/module.py", line 74, in <listcomp>
    self._services = [orchestrator.ServiceDescription.from_json(service)
  File "/home/varsha/ceph/src/pybind/mgr/orchestrator/_interface.py", line 757, in inner
    return method(cls, *args, **kwargs)
  File "/home/varsha/ceph/src/pybind/mgr/orchestrator/_interface.py", line 1172, in from_json
    spec = ServiceSpec.from_json(c)
  File "/home/varsha/ceph/src/python-common/ceph/deployment/service_spec.py", line 37, in inner
    raise SpecValidationError(error_msg)
ceph.deployment.hostspec.SpecValidationError: ServiceSpec: __init__() got an unexpected keyword argument 'pool'
Actions #1

Updated by Varsha Rao over 2 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 42463
Actions #2

Updated by Varsha Rao over 2 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #3

Updated by Sebastian Wagner over 2 years ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF