/etc/hosts is not populated anymore
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
High
|
Jesse Pretorius |
Bug Description
I have a simple setup all in one installation with the following configuration.
As operating system is Ubuntu 14.04.
I noticed that after setup-hosts /etc/hosts wasn't populated.
I usually use ssh hostname to connect to the containers.
I'm using the branch origin/
root@ubuntu:
# container networks, safe to leave these as defaults
cidr_networks:
container: 172.29.226.0/22
tunnel: 172.29.230.0/22
storage: 172.29.234.0/22
# IPs from your tunnel and container networks that you want to reserve for the hosts
used_ips:
- 172.29.
- 172.29.
- 172.29.
global_overrides:
internal_
# your external VIP you want to use for HAPROXY
external_
management_
tunnel_bridge: "br-vxlan"
provider_
# container network
- network:
- all_containers
- hosts
type: "raw"
ip_from_q: "container"
# vxlan network
- network:
- neutron_
ip_from_q: "tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
- network:
- neutron_
type: "flat"
net_name: "flat"
# vlan network
- network:
- neutron_
type: "vlan"
range: "1:1000"
net_name: "vlan"
shared-infra_hosts:
ctrl1:
ip: 192.168.1.2
repo-infra_hosts:
ctrl1:
ip: 192.168.1.2
os-infra_hosts:
ctrl1:
ip: 192.168.1.2
storage-
ctrl1:
ip: 192.168.1.2
network_hosts:
ctrl1:
ip: 192.168.1.2
identity_hosts:
ctrl1:
ip: 192.168.1.2
log_hosts:
ctrl1:
ip: 192.168.1.2
haproxy_hosts:
ctrl1:
ip: 192.168.1.2
compute_hosts:
ctrl1:
ip: 192.168.1.2
root@ubuntu:
debug: false
glance_
haproxy_
haproxy_
root@ubuntu:
metrics_hosts:
ctrl1:
ip: 192.168.1.2
root@ubuntu:
metering-
ctrl1:
ip: 192.168.1.2
metering-
ctrl1:
ip: 192.168.1.2
description: | updated |
Changed in openstack-ansible: | |
assignee: | nobody → Jesse Pretorius (jesse-pretorius) |
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Low |
FYI if you have an AIO, there is no need for keepalived. :)
Could you dump your /etc/hosts too?