tripleoclient unit tests read config from ~/undercloud.conf if exists
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Alex Schultz |
Bug Description
If you have an undercloud.conf in your home directory when you run the unit tests it may be used to run the tests. This can lead to failures for example if you specify "undercloud_
=======
FAIL: tripleoclient.
tags: worker-1
-------
pythonlogging:'': {{{
Deprecated: Option "undercloud_
Deprecated: Option "inspection_
Deprecated: Option "network_cidr" from group "DEFAULT" is deprecated. Use option "cidr" from group "ctlplane-subnet".
Deprecated: Option "network_gateway" from group "DEFAULT" is deprecated. Use option "gateway" from group "ctlplane-subnet".
Deprecated: Option "dhcp_start" from group "DEFAULT" is deprecated. Use option "dhcp_start" from group "ctlplane-subnet".
Deprecated: Option "dhcp_end" from group "DEFAULT" is deprecated. Use option "dhcp_end" from group "ctlplane-subnet".
Deprecated: Option "undercloud_
}}}
Traceback (most recent call last):
File "/home/
return func(*args, **keywargs)
File "tripleoclient/
self.
File "tripleoclient/
dry_
File "tripleoclient/
CONF.
File "tripleoclient/
with open(service_
IOError: [Errno 2] No such file or directory: '/etc/pki/
summary: |
- tripleoclient unit tests reporting failure trying to access - /etc/pki/instack-certs/undercloud.pem + tripleoclient unit tests read config from ~/undercloud.conf if exists |
description: | updated |
Fix proposed to branch: master /review. openstack. org/617992
Review: https:/