Feature #17459
closed
Install rest module dependencies in test environment
Added by John Spray over 7 years ago.
Updated almost 7 years ago.
Description
Currently when ceph-mgr runs inside teuthology, the rest module isn't running because its dependencies aren't there.
I haven't investigated exactly which distros do and don't have the needed packages. We might also choose to short-circuit this in our test environment by running ceph-mgr in a virtualenv (if we want to test on platforms that we don't ultimately care about shipping fully working packages for...?)
This is exactly one of the points I was trying to make with this comment: https://github.com/ceph/ceph/pull/13725#issuecomment-285415915
Please, do not consider any type of "short circuit" to workaround packaging. That would just push back the packaging issue further down the line.
If there are platforms where we don't care about shipping fully working packages then that means we don't (shouldn't) ship Ceph either.
The comment about virtualenvs was aimed at the possibility of maybe testing on older distros like trusty (where we have a population of test nodes for whatever reason). There's no suggestion of shipping it that way.
At this point in time (6 months after the ticket was created) I think this is far less likely to be a consideration, as the nodes are running more recent OS versions.
- Status changed from New to Closed
Also available in: Atom
PDF