Skip to content

mgr/PyModule: put mgr_module_path before Py_GetPath()#40505

Merged
tchaikov merged 1 commit intoceph:masterfrom
tchaikov:wip-progress
Mar 31, 2021
Merged

mgr/PyModule: put mgr_module_path before Py_GetPath()#40505
tchaikov merged 1 commit intoceph:masterfrom
tchaikov:wip-progress

Conversation

@tchaikov
Copy link
Contributor

@tchaikov tchaikov commented Mar 30, 2021

Fixes: https://tracker.ceph.com/issues/50058
Signed-off-by: Kefu Chai kchai@redhat.com

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 api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox

@tchaikov tchaikov added the DNM label Mar 30, 2021
@tchaikov tchaikov force-pushed the wip-progress branch 2 times, most recently from 4a00c26 to 2acf592 Compare March 30, 2021 18:36
pip comes with _vendor/progress. so there is chance to import the vendored
version of "progress" module instead of the "progress" mgr module, and
fail to import the latter.

in this change, the order of paths are rearranged so the configured
`mgr_module_path` is put before the return value of `Py_GetPath()`.

Fixes: https://tracker.ceph.com/issues/50058
Signed-off-by: Kefu Chai <kchai@redhat.com>
@tchaikov tchaikov marked this pull request as ready for review March 30, 2021 18:48
@tchaikov tchaikov changed the title [DNM] for debugging only mgr/PyModule: put mgr_module_path before Py_GetPath() Mar 30, 2021
@tchaikov tchaikov added bug-fix and removed DNM labels Mar 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants