Project

General

Profile

Fix #7382

Tech debt: create a module for type definitions shared between cthulhu and calamari_rest

Added by John Spray over 7 years ago. Updated over 7 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Backend (services)
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

calamari_rest currently imports from the cthulhu namespace to get at certain definitions, notably the content of manager/types.py.

This is a precarious situation, because any less-than-careful imports can potentially drag in things like the cthulhu log setup (and thereby hit permissions errors).

To keep this interface clean, establish a new module call calamari_types or somesuch, and keep the common code there.

History

#1 Updated by John Spray over 7 years ago

  • Target version changed from v1.2 Backlog to v1.2-dev5

#2 Updated by John Spray over 7 years ago

  • translation missing: en.field_story_points set to 1.0

#3 Updated by John Spray over 7 years ago

  • Assignee set to John Spray

#4 Updated by John Spray over 7 years ago

  • Status changed from New to In Progress

Also available in: Atom PDF