Project

General

Profile

Actions

Bug #45459

closed

qa/task/cephfs/mount.py: Error: Connection activation failed: Activation failed because the device is unmanaged

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

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

0%

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

Description

2020-05-05T23:19:27.037 INFO:teuthology.orchestra.run:Running command with timeout 300
2020-05-05T23:19:27.037 INFO:teuthology.orchestra.run.smithi112:> sudo bash -c 'systemctl start NetworkManager'
2020-05-05T23:19:27.106 INFO:teuthology.orchestra.run.smithi112:> true
2020-05-05T23:19:27.110 INFO:teuthology.orchestra.run:Running command with timeout 300
2020-05-05T23:19:27.111 INFO:teuthology.orchestra.run.smithi112:> sudo bash -c 'nmcli connection add type bridge con-name ceph-brx ifname ceph-brx stp no'
2020-05-05T23:19:27.191 INFO:teuthology.orchestra.run.smithi112.stdout:Connection 'ceph-brx' (9abdde89-92d1-4112-9bc0-147992d587e7) successfully added.
2020-05-05T23:19:27.195 INFO:teuthology.orchestra.run.smithi112:> true
2020-05-05T23:19:27.201 INFO:teuthology.orchestra.run:Running command with timeout 300
2020-05-05T23:19:27.201 INFO:teuthology.orchestra.run.smithi112:> sudo bash -c 'nmcli connection modify ceph-brx ipv4.addresses 192.168.255.254/16 ipv4.method manual'
2020-05-05T23:19:27.307 INFO:teuthology.orchestra.run.smithi112:> true
2020-05-05T23:19:27.317 INFO:teuthology.orchestra.run:Running command with timeout 300
2020-05-05T23:19:27.318 INFO:teuthology.orchestra.run.smithi112:> sudo bash -c 'nmcli connection up ceph-brx'
2020-05-05T23:19:27.403 INFO:teuthology.orchestra.run.smithi112.stderr:Error: Connection activation failed: Activation failed because the device is unmanaged
2020-05-05T23:19:27.408 DEBUG:teuthology.orchestra.run:got remote process result: 4
2020-05-05T23:19:27.408 ERROR:teuthology.run_tasks:Saw exception from tasks.
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 90, in run_tasks
    manager.__enter__()
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/ceph_fuse.py", line 146, in task
    info["mount"].mount(mountpoint=mountpoint, mount_path=mount_path)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/cephfs/fuse_mount.py", line 34, in mount
    self.setup_netns()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/cephfs/mount.py", line 378, in setup_netns
    self._setup_brx_and_nat()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/cephfs/mount.py", line 143, in _setup_brx_and_nat
    self.client_remote.run(args=args, timeout=(5*60))
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 203, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 473, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
teuthology.exceptions.CommandFailedError: Command failed on smithi112 with status 4: "sudo bash -c 'nmcli connection up ceph-brx'" 
2020-05-05T23:19:27.430 ERROR:teuthology.run_tasks: Sentry event: http://sentry.ceph.com/sepia/teuthology/?q=76d4907cea7e4f73a58678850f88d25e
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 90, in run_tasks
    manager.__enter__()
  File "/usr/lib/python3.6/contextlib.py", line 81, in __enter__
    return next(self.gen)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/ceph_fuse.py", line 146, in task
    info["mount"].mount(mountpoint=mountpoint, mount_path=mount_path)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/cephfs/fuse_mount.py", line 34, in mount
    self.setup_netns()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/cephfs/mount.py", line 378, in setup_netns
    self._setup_brx_and_nat()
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-kefu-testing-2020-05-05-1333/qa/tasks/cephfs/mount.py", line 143, in _setup_brx_and_nat
    self.client_remote.run(args=args, timeout=(5*60))
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 203, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 473, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
teuthology.exceptions.CommandFailedError: Command failed on smithi112 with status 4: "sudo bash -c 'nmcli connection up ceph-brx'" 
2020-05-05T23:19:27.431 DEBUG:teuthology.run_tasks:Unwinding manager ceph-fuse
2020-05-05T23:19:27.452 DEBUG:teuthology.run_tasks:Unwinding manager ceph
2020-05-05T23:19:27.508 INFO:tasks.ceph.ceph_manager.ceph:Canceling any pending splits or merges...
2020-05-05T23:19:27.509 INFO:teuthology.orchestra.run.smithi112:> true
Actions #1

Updated by Xiubo Li almost 4 years ago

  • Status changed from New to Fix Under Review
  • Pull request ID set to 34978
Actions #2

Updated by Xiubo Li almost 4 years ago

fall back to use brctl instead of nmcli to setup the bridge for now on all ubuntu releases.

Actions #3

Updated by Patrick Donnelly almost 4 years ago

  • Target version set to v16.0.0
  • Component(FS) qa-suite added
Actions #4

Updated by Patrick Donnelly almost 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions

Also available in: Atom PDF