[rally 1.5.0] rally deployment create --fromenv creates wrong spec for openstack platform
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
Fix Released
|
High
|
Andriy Kurilin |
Bug Description
019-05-10 22:30:15.113522 | primary | TASK [browbeat/rally : Check Rally deployment] *******
2019-05-10 22:30:15.128243 | primary | Friday 10 May 2019 22:30:15 +0000 (0:00:03.388) 0:03:50.427 ************
2019-05-10 22:30:18.197656 | primary | fatal: [undercloud]: FAILED! => {
2019-05-10 22:30:18.197860 | primary | "changed": true,
2019-05-10 22:30:18.198085 | primary | "cmd": ". /home/zuul/
2019-05-10 22:30:18.198181 | primary | "delta": "0:00:02.472996",
2019-05-10 22:30:18.198287 | primary | "end": "2019-05-10 22:30:18.176989",
2019-05-10 22:30:18.198358 | primary | "rc": 1,
2019-05-10 22:30:18.198469 | primary | "start": "2019-05-10 22:30:15.703993"
2019-05-10 22:30:18.198563 | primary | }
2019-05-10 22:30:18.198595 | primary |
2019-05-10 22:30:18.198632 | primary | STDOUT:
2019-05-10 22:30:18.198658 | primary |
2019-05-10 22:30:18.198813 | primary | -------
2019-05-10 22:30:18.198864 | primary | Platform openstack:
2019-05-10 22:30:18.198980 | primary | -------
2019-05-10 22:30:18.198997 | primary |
2019-05-10 22:30:18.199062 | primary | Error while checking admin credentials:
2019-05-10 22:30:18.199114 | primary | TypeError: Bad admin creds:
2019-05-10 22:30:18.199131 | primary | {
2019-05-10 22:30:18.199177 | primary | "api_info": {
2019-05-10 22:30:18.199221 | primary | "keystone": {
2019-05-10 22:30:18.199308 | primary | "service_type": "identityv3",
2019-05-10 22:30:18.199363 | primary | "version": 3
2019-05-10 22:30:18.199387 | primary | }
2019-05-10 22:30:18.199409 | primary | },
2019-05-10 22:30:18.199475 | primary | "auth_url": "http://
2019-05-10 22:30:18.199581 | primary | "domain_name": null,
2019-05-10 22:30:18.199632 | primary | "endpoint_type": null,
2019-05-10 22:30:18.199675 | primary | "https_cacert": "",
2019-05-10 22:30:18.199716 | primary | "https_cert": "",
2019-05-10 22:30:18.199766 | primary | "https_insecure": false,
2019-05-10 22:30:18.199805 | primary | "https_key": "",
2019-05-10 22:30:18.199847 | primary | "password": "***",
2019-05-10 22:30:18.199899 | primary | "profiler_
2019-05-10 22:30:18.199968 | primary | "profiler_
2019-05-10 22:30:18.200038 | primary | "project_
2019-05-10 22:30:18.200106 | primary | "region_name": "regionOne",
2019-05-10 22:30:18.200193 | primary | "tenant_name": "admin",
2019-05-10 22:30:18.200262 | primary | "user_domain_name": "Default",
2019-05-10 22:30:18.200307 | primary | "username": "admin"
2019-05-10 22:30:18.200349 | primary | }
2019-05-10 22:30:18.200383 | primary |
2019-05-10 22:30:18.200406 | primary |
2019-05-10 22:30:18.200428 | primary | MSG:
2019-05-10 22:30:18.200444 | primary |
2019-05-10 22:30:18.200533 | primary | non-zero return code
2019-05-10 22:30:18.216117 | primary |
Root cause:
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr [-] Plugin <email address hidden>() method is broken: TypeError: {u'https_key': u''}
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr Traceback (most recent call last):
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr File "/home/
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr info = p.info()
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr File "/home/
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr for stype, name in osclients.
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr File "/home/
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr available_services = self.keystone.
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr File "/home/
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr self.cache)
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr File "/home/
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr self.credential = oscred.
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr File "/home/
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr raise TypeError("%s" % kwargs)
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr TypeError: {u'https_key': u''}
2019-05-14 20:19:59.071 15912 ERROR rally.env.env_mgr
summary: |
- Regression with rally 1.5.0 + Regression with rally 1.5.0 checking deployment |
Changed in rally: | |
status: | New → Triaged |
importance: | Undecided → High |
assignee: | nobody → Andrey Kurilin (andreykurilin) |
Changed in rally: | |
status: | Triaged → In Progress |
summary: |
- Regression with rally 1.5.0 checking deployment + [rally 1.5.0] rally deployment create --fromenv creates wrong spec for + openstack platform |
description: | updated |
Reviewed: https:/ /review. opendev. org/659197 /git.openstack. org/cgit/ openstack/ rally/commit/ ?id=14a8b0f9314 24d42543c100c9d eb409eaded86d3
Committed: https:/
Submitter: Zuul
Branch: master
commit 14a8b0f931424d4 2543c100c9deb40 9eaded86d3
Author: Andrey Kurilin <email address hidden>
Date: Tue May 14 18:06:57 2019 -0700
Release 1.5.1 with a fix for os deployment create from env
**rally deployment create* --fromenv* creates wrong spec for openstack< =1.4.0
rally-
Closes-Bug: #1829030 b780c92d54d1b94 39e8fd3f6b6
Change-Id: I61588eaa070b10