Actions
Bug #42096
closedmgr/volumes: creating subvolume and subvolume group snapshot fails
% Done:
0%
Source:
Development
Tags:
Backport:
nautilus
Regression:
No
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
mgr/volumes
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
[rraja@bzn build]$ ./bin/ceph fs subvolume create a subvol00 [rraja@bzn build]$ ./bin/ceph fs subvolume snapshot create a subvol00 snap00 Error EINVAL: Traceback (most recent call last): File "/home/rraja/git/ceph/src/pybind/mgr/mgr_module.py", line 924, in _handle_command return self.handle_command(inbuf, cmd) File "/home/rraja/git/ceph/src/pybind/mgr/volumes/module.py", line 187, in handle_command return handler(inbuf, cmd) File "/home/rraja/git/ceph/src/pybind/mgr/volumes/module.py", line 262, in _cmd_fs_subvolume_snapshot_create group_name=cmd.get('group_name', None)) File "/home/rraja/git/ceph/src/pybind/mgr/volumes/fs/volume.py", line 353, in conn_wrapper result = func(self, fs_h, **kwargs) File "/home/rraja/git/ceph/src/pybind/mgr/volumes/fs/volume.py", line 448, in create_subvolume_snapshot sv.create_subvolume_snapshot(spec, snapname) File "/home/rraja/git/ceph/src/pybind/mgr/volumes/fs/subvolume.py", line 276, in create_subvolume_snapshot snappath = spec.make_subvol_snap_path(self.rados.conf_get('client_snapdir'), snapname) File "/home/rraja/git/ceph/src/pybind/mgr/volumes/fs/subvolspec.py", line 93, in make_subvol_snap_path return os.path.join(self.subvolume_path, snapdir, snapname) File "/usr/lib64/python3.7/posixpath.py", line 94, in join genericpath._check_arg_types('join', a, *p) File "/usr/lib64/python3.7/genericpath.py", line 151, in _check_arg_types raise TypeError("Can't mix strings and bytes in path components") from None TypeError: Can't mix strings and bytes in path components
Updated by Patrick Donnelly over 4 years ago
- Description updated (diff)
- Assignee set to Ramana Raja
- Target version set to v15.0.0
- Start date deleted (
09/30/2019) - Source set to Development
- Backport set to nautilus
Updated by Ramana Raja over 4 years ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 30654
- Affected Versions v14.2.3, v14.2.4 added
Updated by Jos Collin over 4 years ago
- Status changed from Fix Under Review to Pending Backport
Updated by Nathan Cutler over 4 years ago
- Copied to Backport #42180: nautilus: mgr/volumes: creating subvolume and subvolume group snapshot fails added
Updated by Nathan Cutler over 4 years ago
- Status changed from Pending Backport to Resolved
While running with --resolve-parent, the script "backport-create-issue" noticed that all backports of this issue are in status "Resolved" or "Rejected".
Actions