[shotgun] Diagnostic snapshot creation fails: AttributeError: 'NoneType' object has no attribute 'strip'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
In Progress
|
High
|
Artem Panchenko | ||
8.0.x |
New
|
High
|
Unassigned |
Bug Description
Diagnostic snapshot generation fails with the following error:
[root@nailgun ~]# shotgun -c /tmp/dump_config
2015-12-23 17:51:32 DEBUG 1122 (manager) Initializing snapshot manager
2015-12-23 17:51:32 DEBUG 1122 (manager) Making snapshot
2015-12-23 17:51:32 DEBUG 1122 (utils) Trying to execute command: rm -rf /var/www/
2015-12-23 17:51:32 DEBUG 1122 (manager) Dumping: {u'username': u'nailgun', u'dbhost': u'10.109.45.2', 'host': {}, u'password': u'pqXqiq0g', u'type': u'postgres', u'dbname': u'nailgun'}
2015-12-23 17:51:32 DEBUG 1122 (driver) Initializing driver Postgres: host={}
2015-12-23 17:51:32 DEBUG 1122 (driver) Running local command: /usr/bin/mktemp
2015-12-23 17:51:32 DEBUG 1122 (utils) Trying to execute command: /usr/bin/mktemp
Traceback (most recent call last):
File "/usr/bin/shotgun", line 9, in <module>
load_
File "/usr/lib/
make_
File "/usr/lib/
snapshot_path = manager.snapshot()
File "/usr/lib/
self.
File "/usr/lib/
driver.
File "/usr/lib/
temp = self.command(
AttributeError: 'NoneType' object has no attribute 'strip'
This bug is a regression after https:/
Fix proposed to branch: master /review. openstack. org/261087
Review: https:/