Tempest fails in container jobs trying to reach a keystone v2 URI
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
Critical
|
Unassigned |
Bug Description
Since the tripleo promotion earlier today the CI started picking up newly built containers and we saw failures with tempest trying to talk to keystone v2 API:
2017-11-03 11:30:51 | 2017-11-03 11:30:51.175 14897 DEBUG config_
2017-11-03 11:30:51 | 2017-11-03 11:30:51.175 14897 DEBUG config_
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 INFO tempest.
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 CRITICAL tempest [-] Unhandled error: IdentityError: Got identity error
2017-11-03 11:30:51 | Details: Unexpected status code 404
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest Traceback (most recent call last):
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/bin/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest sys.exit(main())
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest clients = ClientManager(conf, not args.non_admin)
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest tenant_name)['id']
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest tenants = client.
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest resp, body = self.get(url)
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest return self.request('GET', url, extra_headers, headers)
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest body=body, chunked=chunked)
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest method, url, headers, body, self.filters)
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest filters, method, url, headers, body)
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest auth_data = self.get_auth()
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest self.set_auth()
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest self.cache = self._get_auth()
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest token, auth_data = auth_func(
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest body = self.auth(user, password, tenant)
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest resp, body = self.post(
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest return self.request(
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest File "/usr/lib/
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest 'Unexpected status code {0}'.format(
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest IdentityError: Got identity error
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest Details: Unexpected status code 404
2017-11-03 11:30:51 | 2017-11-03 11:30:51.193 14897 ERROR tempest
description: | updated |
tags: | added: alert ci containers |
It appears that the failing jobs had an older tempest package on the undercloud. This is likely due to the job running at the same time the promotion happened. The undercloud was installed prior to the promotion, and the containers that were pulled later were from the promoted batch.