1

我用暴风雨测试了我的openstack cloud,我可以成功运行一个测试,例如

testr run -- tempest.cli.simple_read_only.test_cinder.SimpleReadOnlyCinderClientTest.test_cinder_availability_zone_list

并在以下命令中成功

nova availability-zone-list

但是当我批量运行时,例如

testr run --parallel

它失败并显示以下信息:

FAIL: tempest.cli.simple_read_only.test_cinder.SimpleReadOnlyCinderClientTest.test_cinder_availability_zone_list
tags: worker-0
----------------------------------------------------------------------
Empty attachments:
  pythonlogging:''
  stderr
  stdout
Traceback (most recent call last):
  File "/root/tempest.bak/tempest/cli/simple_read_only/test_cinder.py", line 107, in test_cinder_availability_zone_list
    self.cinder('availability-zone-list')    
  File "/root/tempest.bak/tempest/cli/__init__.py", line 84, in cinder
    'cinder', action, flags, params, admin, fail_ok)    
  File "/root/tempest.bak/tempest/cli/__init__.py", line 109, in cmd_with_auth
    return self.cmd(cmd, action, flags, params, fail_ok)    
  File "/root/tempest.bak/tempest/cli/__init__.py", line 129, in cmd
    stderr=result_err)    

CommandFailed: Command '['/usr/local/bin/cinder', '--os-username', 'xxx', '--os-tenant-name', 'xxx', '--os-password', 'xxx', '--os-auth-url', 'http://xxxx:5000/v2.0', '--endpoint-type', 'publicURL', 'availability-zone-list']' returned non-zero exit status 1

其他命令,例如:transfer-list,也都失败了。

谁能解释为什么会这样?我确定租户名称、密码正确。因为单考可以通过。

4

0 回答 0