Project

General

Profile

Actions

Bug #47795

closed

rgw: s3-tests: when I try to run locally I get 'Your config file is missing the "iam" section!'

Added by J. Eric Ivancich over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
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

ERROR

======================================================================
ERROR: test suite for <module 's3tests_boto3.functional' from '/home/ivancich/s3-tests/s3tests_boto3/functional/__init__.py'>
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/ivancich/s3-tests/virtualenv/lib/python3.6/site-packages/nose/suite.py", line 210, in run
self.setUp()
File "/home/ivancich/s3-tests/virtualenv/lib/python3.6/site-packages/nose/suite.py", line 293, in setUp
self.setupContext(ancestor)
File "/home/ivancich/s3-tests/virtualenv/lib/python3.6/site-packages/nose/suite.py", line 316, in setupContext
try_run(context, names)
File "/home/ivancich/s3-tests/virtualenv/lib/python3.6/site-packages/nose/util.py", line 471, in try_run
return func()
File "/home/ivancich/s3-tests/s3tests_boto3/functional/__init__.py", line 157, in setup
raise RuntimeError('Your config file is missing the "iam" section!')
RuntimeError: Your config file is missing the "iam" section!

----------------------------------------------------------------------
Ran 0 tests in 0.001s

FAILED (errors=1)

Actions #1

Updated by J. Eric Ivancich over 3 years ago

  • Assignee set to Kalpesh Pandya
Actions #2

Updated by J. Eric Ivancich over 3 years ago

  • Status changed from New to Rejected

Rejected as issue was due to changes in config file.

Actions #3

Updated by J. Eric Ivancich over 3 years ago

  • Status changed from Rejected to New

Re-opened at request of Ali Maredia. He does not think the tests should fail if there is no iam section in the config file.

Actions #4

Updated by Kalpesh Pandya over 3 years ago

Eric Ivancich wrote:

Re-opened at request of Ali Maredia. He does not think the tests should fail if there is no iam section in the config file.

Hello,

I've fixed this by making the IAM section (in config file) optional which means, now if you want to run sts-tests then only you'll need to add this section otherwise no need to add it for s3-tests. Following is the reference to the PR for the fix: https://github.com/ceph/s3-tests/pull/360

Thanks,
Kalpesh Pandya

Actions #5

Updated by J. Eric Ivancich over 3 years ago

  • Pull request ID set to 360
Actions #6

Updated by J. Eric Ivancich over 3 years ago

  • Pull request ID deleted (360)
Actions #7

Updated by J. Eric Ivancich over 3 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF