Skip to content
New issue

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

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

Already on GitHub? # to your account

CLI: list containers from rawx and meta2 #1729

Merged
merged 2 commits into from
Apr 17, 2019

Conversation

kamel-rahim
Copy link
Contributor

@kamel-rahim kamel-rahim commented Apr 10, 2019

SUMMARY

Build a list of containers:

  • hosted by a meta2 service,
  • which have chunks stored on a specific rawx service.

Jira: R1904-21

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME
  • CLI
SDS VERSION
openio 5.0.0.0a1.dev52

@kamel-rahim kamel-rahim requested a review from fvennetier April 10, 2019 09:29
@fvennetier fvennetier changed the title CLI: Add container listing from rawx and meta2 CLI: list containers from rawx and meta2 Apr 10, 2019
@kamel-rahim kamel-rahim force-pushed the admin-rawx-list branch 5 times, most recently from 4ea41d3 to 405d7d8 Compare April 11, 2019 08:16
reqid = self.app.request_id(self.reqid_prefix)
resp = self.rdir.meta2_index_fetch(meta2, reqid=reqid, **kwargs)
if resp.get('truncated'):
self.log.info(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be self.logger IMO

if resp.get('truncated'):
self.log.info(
'Object listing has been truncated, next marker: %s',
resp.get('next_marker'))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rest.get('next_marker') is None when I test on my side

@kamel-rahim kamel-rahim force-pushed the admin-rawx-list branch 4 times, most recently from 35f1142 to 667e451 Compare April 16, 2019 12:11
@fvennetier fvennetier self-assigned this Apr 17, 2019
- fix help
- translate CIDs on-the-fly
- allow to show untranslated CIDs (faster)
@fvennetier fvennetier removed their assignment Apr 17, 2019
@fvennetier fvennetier merged commit 16c4b45 into open-io:master Apr 17, 2019
@kamel-rahim kamel-rahim deleted the admin-rawx-list branch May 15, 2019 12:18
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants