ConfigFileValueError: Value for option host is not valid: localhost is not IPv4 or IPv6 address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
BaGPipe |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The /etc/bagpipe-
```
[API]
# BGP component API IP address and port
host=localhost
port=8082
```
Unless changing `localhost` to `0.0.0.0`, the following error is being thrown:
```
# bagpipe-bgp -v
Option "verbose" from group "DEFAULT" is deprecated for removal. Its value may be silently ignored in the future.
2017-03-17 22:25:49.066 14818 INFO networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
2017-03-17 22:25:49.067 14818 ERROR networking_
```
Sorry, for totally failing to follow up here on this bug.
This has been fixed some time ago, in https:/ /review. openstack. org/#/c/ 460494/ .
It is now supported to providing either a hostname or an IP address for this parameter.