Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mgr/test_orchestrator: fix error when listing services #34584

Merged
merged 2 commits into from Apr 17, 2020

Conversation

bk201
Copy link
Contributor

@bk201 bk201 commented Apr 16, 2020

  • Adapting attribute change of ServiceSpec.
  • Update dummy data.

Fixes: https://tracker.ceph.com/issues/45108
Signed-off-by: Kiefer Chang kiefer.chang@suse.com

Orchestrator interface: Fixes errors when calling from_json of these classes:

  • InventoryHost: parsing labels
  • ServiceDescription: last_refresh and created fields should be parsed
    to datetime type.

Checklist

  • References tracker ticket
  • Updates documentation if necessary
  • Includes tests for new functionality or reproducer for bug

Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard backend
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

Fixes errors when calling `from_json` of these classes:
- InventoryHost: parsing labels
- ServiceDescription: `last_refresh` and `created` fields should be parsed
  to datetime type.

Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
@sebastian-philipp
Copy link
Contributor

sigh.

@sebastian-philipp
Copy link
Contributor

sebastian-philipp commented Apr 16, 2020

@callithea I'd like to remove the test_orchestrator and instead run the dashboard as a workunit of rados/cephadm. test_orchestrator introduces a lot of mocking that is somehow alien to teuthology. Any idea how to accomplish this?

- Adapting attribute change of ServiceSpec.
- Update dummy data.

Fixes: https://tracker.ceph.com/issues/45108
Signed-off-by: Kiefer Chang <kiefer.chang@suse.com>
@sebastian-philipp sebastian-philipp added the wip-swagner-testing My Teuthology tests label Apr 16, 2020
@sebastian-philipp sebastian-philipp merged commit 138018e into ceph:master Apr 17, 2020
@bk201 bk201 deleted the wip-45108 branch April 27, 2020 03:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants