Project

General

Profile

Bug #45247

qa/task/cephfs: Invalid argument invalid size option '524288.0'

Added by Xiubo Li almost 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
qa
Target version:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
fs
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2020-04-24T05:01:45.612 INFO:teuthology.orchestra.run.smithi016.stderr:2020-04-24T05:01:45.605+0000 7fb077fff700  1 -- 172.21.15.16:0/4271835894 --> [v2:172.21.15.13:6834/14352,v1:172.21.15.13:6835/14352] -- mgr_command(tid 0: {"prefix": "fs subvolume resize", "vol_name": "cephfs", "sub_name": "subvolume_4848", "new_size": "524288.0", "target": ["mon-mgr", ""]}) v1 -- 0x7fb050002240 con 0x7fb05c056760
2020-04-24T05:01:45.618 INFO:teuthology.orchestra.run.smithi016.stderr:2020-04-24T05:01:45.613+0000 7fb0767fc700  1 --2- 172.21.15.16:0/4271835894 >> [v2:172.21.15.13:6834/14352,v1:172.21.15.13:6835/14352] conn(0x7fb05c056760 0x7fb05c058c20 secure :-1 s=THROTTLE_DONE pgs=1873 cs=0 l=1 rx=0x7fb060002f30 tx=0x7fb060007700).handle_read_frame_epilogue_main read frame epilogue bytes=32
2020-04-24T05:01:45.618 INFO:teuthology.orchestra.run.smithi016.stderr:2020-04-24T05:01:45.613+0000 7fb06ffff700  1 -- 172.21.15.16:0/4271835894 <== mgr.4100 v2:172.21.15.13:6834/14352 1 ==== mgr_command_reply(tid 0: -22 invalid size option '524288.0') v1 ==== 38+0+0 (secure 0 0 0) 0x7fb050002240 con 0x7fb05c056760
2020-04-24T05:01:45.619 INFO:teuthology.orchestra.run.smithi016.stderr:Error EINVAL: invalid size option '524288.0'
2020-04-24T05:01:45.619 INFO:tasks.ceph.mgr.x.smithi013.stderr:2020-04-24T05:01:45.611+0000 7fe11b68b700 -1 mgr.server reply reply (22) Invalid argument invalid size option '524288.0'
2020-04-24T05:01:45.629 DEBUG:teuthology.orchestra.run:got remote process result: 22
2020-04-24T05:01:45.641 INFO:teuthology.nuke.actions:Clearing teuthology firewall rules...
2020-04-24T05:01:45.641 INFO:teuthology.orchestra.run.smithi013:> true

...

2020-04-24T05:01:49.473 INFO:tasks.cephfs_test_runner:test_subvolume_shrink (tasks.cephfs.test_volumes.TestVolumes) ... ERROR
2020-04-24T05:01:49.473 INFO:tasks.cephfs_test_runner:
2020-04-24T05:01:49.474 INFO:tasks.cephfs_test_runner:======================================================================
2020-04-24T05:01:49.474 INFO:tasks.cephfs_test_runner:ERROR: test_subvolume_shrink (tasks.cephfs.test_volumes.TestVolumes)
2020-04-24T05:01:49.478 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-04-24T05:01:49.479 INFO:tasks.cephfs_test_runner:Traceback (most recent call last):
2020-04-24T05:01:49.479 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-fs-misc-2020-04-24-1038/qa/tasks/cephfs/test_volumes.py", line 368, in test_subvolume_shrink
2020-04-24T05:01:49.479 INFO:tasks.cephfs_test_runner:    self._fs_cmd("subvolume", "resize", self.volname, subvolname, str(nsize))
2020-04-24T05:01:49.480 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-fs-misc-2020-04-24-1038/qa/tasks/cephfs/test_volumes.py", line 30, in _fs_cmd
2020-04-24T05:01:49.480 INFO:tasks.cephfs_test_runner:    return self.mgr_cluster.mon_manager.raw_cluster_cmd("fs", *args)
2020-04-24T05:01:49.480 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-fs-misc-2020-04-24-1038/qa/tasks/ceph_manager.py", line 1363, in raw_cluster_cmd
2020-04-24T05:01:49.481 INFO:tasks.cephfs_test_runner:    stdout=BytesIO(),
2020-04-24T05:01:49.481 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 203, in run
2020-04-24T05:01:49.481 INFO:tasks.cephfs_test_runner:    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
2020-04-24T05:01:49.482 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 473, in run
2020-04-24T05:01:49.483 INFO:tasks.cephfs_test_runner:    r.wait()
2020-04-24T05:01:49.483 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
2020-04-24T05:01:49.484 INFO:tasks.cephfs_test_runner:    self._raise_for_status()
2020-04-24T05:01:49.484 INFO:tasks.cephfs_test_runner:  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
2020-04-24T05:01:49.484 INFO:tasks.cephfs_test_runner:    node=self.hostname, label=self.label
2020-04-24T05:01:49.485 INFO:tasks.cephfs_test_runner:teuthology.exceptions.CommandFailedError: Command failed on smithi016 with status 22: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph --log-early fs subvolume resize cephfs subvolume_4848 524288.0'
2020-04-24T05:01:49.485 INFO:tasks.cephfs_test_runner:
2020-04-24T05:01:49.485 INFO:tasks.cephfs_test_runner:----------------------------------------------------------------------
2020-04-24T05:01:49.489 INFO:tasks.cephfs_test_runner:Ran 49 tests in 1959.656s
2020-04-24T05:01:49.489 INFO:tasks.cephfs_test_runner:
2020-04-24T05:01:49.489 INFO:tasks.cephfs_test_runner:FAILED (errors=1)

History

#1 Updated by Xiubo Li almost 4 years ago

  • Status changed from New to In Progress

#2 Updated by Xiubo Li almost 4 years ago

  • Pull request ID set to 34724

#3 Updated by Xiubo Li almost 4 years ago

  • Status changed from In Progress to Fix Under Review

#4 Updated by Xiubo Li almost 4 years ago

In py2 for example: 91/2 == 45, while in Py3 it will be 45.5, a float type.

#5 Updated by Xiubo Li almost 4 years ago

  • Status changed from Fix Under Review to Resolved

Also available in: Atom PDF