Project

General

Profile

Actions

Bug #43132

closed

Test failure: test_mon_update (tasks.mgr.test_orchestrator_cli.TestOrchestratorCli)

Added by Kefu Chai over 4 years ago. Updated over 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:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

2019-12-04T06:10:03.191 INFO:teuthology.orchestra.run.mira061:> sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph orchestrator mon update 3 host1 host2 host3
2019-12-04T06:10:03.677+0000 7f00e10f3700  0 log_channel(audit) log [DBG] : from='client.4991 -' entity='client.admin' cmd=[{"prefix": "orchestrator mon update", "num": 3, "hosts
": ["host1", "host2", "host3"], "target": ["mon-mgr", ""]}]: dispatch
2019-12-04T06:10:03.685+0000 7f00e18f4700 -1 mgr.server reply reply (22) Invalid argument Failed to parse host list: '['host1', 'host2', 'host3']': u'' does not appear to be an IPv4 or IPv6 address

in "orchestrator_cli/module.py", "_update_mons(...)"


        if hosts:
            try:
                hosts = [orchestrator.parse_host_specs(host_spec)
                         for host_spec in hosts]
            except Exception as e:
                msg = "Failed to parse host list: '{}': {}".format(hosts, e)
                return HandleCommandResult(-errno.EINVAL, stderr=msg)

where the network in host_spec is required.

Actions #1

Updated by Kefu Chai over 4 years ago

  • Status changed from New to Fix Under Review
  • Assignee set to Kefu Chai
  • Pull request ID set to 32023
Actions #2

Updated by Kefu Chai over 4 years ago

  • Category set to orchestrator
Actions #3

Updated by Sage Weil over 4 years ago

  • Status changed from Fix Under Review to Resolved
Actions #4

Updated by Sage Weil over 4 years ago

  • Project changed from mgr to Orchestrator
  • Category deleted (orchestrator)
Actions

Also available in: Atom PDF