Project

General

Profile

Bug #41617

Updated by Jos Collin over 4 years ago

> $ ./bin/ceph fs subvolume create myfs mysubvol --size -10 --group_name mygroup --pool_layout mycephfs_data --mode 777 
 > *** DEVELOPER MODE: setting PATH, PYTHONPATH and LD_LIBRARY_PATH *** 
 > 2019-09-01T21:42:23.406+0530 7f08ce9f6700 -1 WARNING: all dangerous and experimental features are enabled. 
 > 2019-09-01T21:42:23.503+0530 7f08ce9f6700 -1 WARNING: all dangerous and experimental features are enabled. 
 > Error EINVAL: Traceback (most recent call last): 
   
 > File "/home/jcollin/workspace/ceph/src/pybind/mgr/mgr_module.py", line 915, in _handle_command 
     
 > return self.handle_command(inbuf, cmd) 
   
 > File "/home/jcollin/workspace/ceph/src/pybind/mgr/volumes/module.py", line 188, in handle_command 
     
 > return handler(inbuf, cmd) 
   
 > File "/home/jcollin/workspace/ceph/src/pybind/mgr/volumes/module.py", line 230, in _cmd_fs_subvolume_create 
     
 > mode=cmd.get('mode', '755')) 
   
 > File "/home/jcollin/workspace/ceph/src/pybind/mgr/volumes/fs/volume.py", line 345, in conn_wrapper 
     
 > result = func(self, fs_h, **kwargs) 
   
 > File "/home/jcollin/workspace/ceph/src/pybind/mgr/volumes/fs/volume.py", line 372, in create_subvolume 
     
 > sv.create_subvolume(spec, size, pool=pool, mode=self.octal_str_to_decimal_int(mode)) 
   
 > File "/home/jcollin/workspace/ceph/src/pybind/mgr/volumes/fs/subvolume.py", line 111, in create_subvolume 
     
 > raise e 
 > InvalidValue: error in setxattr: Invalid argument [Errno 22]

Back