No realm key for 'realm1'

Bug #1779561 reported by wes hayutin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
wes hayutin

Bug Description

No realm key for 'realm1'

https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset020-master/543c6b8/tempest.html.gz

    Response - Headers: {'status': '400', u'content-length': '25', 'content-location': 'http://192.168.24.6:8080/v1/AUTH_9eef342f9d274a10ac77f5de56eecd50/tempest-TestContainerSync-1663357033', u'connection': 'close', u'x-trans-id': 'txd7b19f1ef0824178b1e9b-005b38e4fb', u'date': 'Sun, 01 Jul 2018 14:28:11 GMT', u'content-type': 'text/html; charset=UTF-8', u'x-openstack-request-id': 'txd7b19f1ef0824178b1e9b-005b38e4fb'}
        Body: No realm key for 'realm1'
}}}

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/tempest/common/utils/__init__.py", line 107, in wrapper
    return func(*func_args, **func_kwargs)
  File "/usr/lib/python2.7/site-packages/tempest/api/object_storage/test_container_sync_middleware.py", line 53, in test_container_synchronization
    self._test_container_synchronization(make_headers)
  File "/usr/lib/python2.7/site-packages/tempest/api/object_storage/test_container_sync.py", line 89, in _test_container_synchronization
    cont_client[0].put(str(cont[0]), body=None, headers=headers)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 343, in put
    return self.request('PUT', url, extra_headers, headers, body, chunked)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 668, in request
    self._error_checker(resp, resp_body)
  File "/usr/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 779, in _error_checker
    raise exceptions.BadRequest(resp_body, resp=resp)
tempest.lib.exceptions.BadRequest: Bad request
Details: No realm key for 'realm1'

https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset020-master/543c6b8/overcloud-controller-0/var/log/extra/errors.txt.gz#_2018-07-01_14_28_07_590

2018-07-01 14:28:10.301 ERROR /var/log/containers/keystone/keystone.log.1: 271 ERROR keystone.assignment.core [req-ef9ecb5d-7baf-49e6-b6a9-8a2df04618a7 - - - - -] Circular reference found role inference rules - 6e2c96523a6240a0ab5f6ecc675cc54b.: NeedRegenerationException
2018-07-01 14:28:10.798 ERROR /var/log/containers/keystone/keystone.log.1: 271 ERROR keystone.assignment.core [req-c2692032-49ed-4e15-a5b5-9209b1fad5cf - - - - -] Circular reference found role inference rules - 6e2c96523a6240a0ab5f6ecc675cc54b.: NeedRegenerationException

Revision history for this message
yatin (yatinkarel) wrote :

This tests[1] and [2] should have been skipped as container_sync and crossdomain extensions are not available in the deployment.

This is happening because tempestconf is setting wrong configuration for object storage [3].
The feature-enabled configuration should be object-storage-feature-enabled but tempestconf is setting object-store-feature-enabled.

[1] https://github.com/openstack/tempest/blob/c961a656ccdc0f1242b4ff3237a16d4a7cdf4e07/tempest/api/object_storage/test_container_sync_middleware.py#L42
[2] https://github.com/openstack/tempest/blob/c961a656ccdc0f1242b4ff3237a16d4a7cdf4e07/tempest/api/object_storage/test_crossdomain.py#L41

[3] https://logs.rdoproject.org/openstack-periodic/periodic-tripleo-ci-centos-7-ovb-1ctlr_1comp-featureset020-master/543c6b8/undercloud/home/jenkins/tempest/etc/tempest.conf.txt.gz

[object-store-feature-enabled] <-- wrong
discoverable_apis = formpost,bulk_delete,versioned_writes,container_quotas,tempurl,bulk_upload,s3api,ratelimit,slo,account_quotas,staticweb

Revision history for this message
yatin (yatinkarel) wrote :

Proposed https://review.openstack.org/#/c/579431/ in python-tempestconf.

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
yatin (yatinkarel) wrote :

Tempestconf patch is merged, and fs020 is green.

wes hayutin (weshayutin)
Changed in tripleo:
status: In Progress → Fix Released
assignee: nobody → wes hayutin (weshayutin)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.