Project

General

Profile

Bug #34536

"rbd import --export-format 2" fails when the input is a pipe

Added by Jason Dillaman 3 months ago. Updated 2 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/30/2018
Due date:
% Done:

0%

Source:
Tags:
Backport:
luminous,mimic
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

$ rbd export --export-format 2 lun0 - | rbd import --export-format 2 - lun1
rbd: import header failed.
Importing image: 0% complete...failed.
rbd: import failed: (22) Invalid argument
Exporting image: 0% complete...failed.
rbd: export error: (32) Broken pipe

vs

$ rbd export --export-format 2 lun0 dump
Exporting image: 100% complete...done.
$ rbd import --export-format 2 dump lun1
Importing image: 100% complete...done.

Related issues

Copied to rbd - Backport #35704: luminous: "rbd import --export-format 2" fails when the input is a pipe Resolved
Copied to rbd - Backport #35705: mimic: "rbd import --export-format 2" fails when the input is a pipe Resolved

History

#2 Updated by Jason Dillaman 3 months ago

  • Status changed from New to Pending Backport

#3 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #35704: luminous: "rbd import --export-format 2" fails when the input is a pipe added

#4 Updated by Nathan Cutler 3 months ago

  • Copied to Backport #35705: mimic: "rbd import --export-format 2" fails when the input is a pipe added

#5 Updated by Nathan Cutler 2 months ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF