2016-10-10 14:30:32 |
Ionuț Bîru |
description |
I have a simple setup all in one installation with the following configuration.
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/stable/newton with latest commit being 04605cae23bd84b19efed1fd08358bfce2bb0ddc
root@ubuntu:/etc/openstack_deploy# cat openstack_user_config.yml
# 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.226.2,172.29.226.255
- 172.29.230.2,172.29.230.255
- 172.29.234.2,172.29.234,255
global_overrides:
internal_lb_vip_address: 172.29.226.2
# your external VIP you want to use for HAPROXY
external_lb_vip_address: IP_PUBLIC
management_bridge: "br-mgmt"
tunnel_bridge: "br-vxlan"
provider_networks:
# container network
- network:
group_binds:
- all_containers
- hosts
type: "raw"
container_bridge: "br-mgmt"
container_interface: "eth1"
container_type: "veth"
ip_from_q: "container"
is_container_address: true
is_ssh_address: true
# vxlan network
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
ip_from_q: "tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "bond1"
type: "flat"
net_name: "flat"
# vlan network
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
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-infra_hosts:
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:/etc/openstack_deploy# cat user_variables.yml
debug: false
glance_default_store: file
haproxy_keepalived_external_vip_cidr: "{{external_lb_vip_address}}/32"
haproxy_keepalived_internal_vip_cidr: "{{internal_lb_vip_address}}/32"
root@ubuntu:/etc/openstack_deploy/conf.d# cat gnocchi.yml
metrics_hosts:
ctrl1:
ip: 192.168.1.2
root@ubuntu:/etc/openstack_deploy/conf.d# cat ceilometer.yml
metering-compute_hosts:
ctrl1:
ip: 192.168.1.2
metering-infra_hosts:
ctrl1:
ip: 192.168.1.2 |
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/stable/newton with latest commit being 04605cae23bd84b19efed1fd08358bfce2bb0ddc
root@ubuntu:/etc/openstack_deploy# cat openstack_user_config.yml
# 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.226.2,172.29.226.255
- 172.29.230.2,172.29.230.255
- 172.29.234.2,172.29.234,255
global_overrides:
internal_lb_vip_address: 172.29.226.2
# your external VIP you want to use for HAPROXY
external_lb_vip_address: IP_PUBLIC
management_bridge: "br-mgmt"
tunnel_bridge: "br-vxlan"
provider_networks:
# container network
- network:
group_binds:
- all_containers
- hosts
type: "raw"
container_bridge: "br-mgmt"
container_interface: "eth1"
container_type: "veth"
ip_from_q: "container"
is_container_address: true
is_ssh_address: true
# vxlan network
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vxlan"
container_type: "veth"
container_interface: "eth10"
ip_from_q: "tunnel"
type: "vxlan"
range: "1:1000"
net_name: "vxlan"
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth12"
host_bind_override: "bond1"
type: "flat"
net_name: "flat"
# vlan network
- network:
group_binds:
- neutron_linuxbridge_agent
container_bridge: "br-vlan"
container_type: "veth"
container_interface: "eth11"
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-infra_hosts:
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:/etc/openstack_deploy# cat user_variables.yml
debug: false
glance_default_store: file
haproxy_keepalived_external_vip_cidr: "{{external_lb_vip_address}}/32"
haproxy_keepalived_internal_vip_cidr: "{{internal_lb_vip_address}}/32"
root@ubuntu:/etc/openstack_deploy/conf.d# cat gnocchi.yml
metrics_hosts:
ctrl1:
ip: 192.168.1.2
root@ubuntu:/etc/openstack_deploy/conf.d# cat ceilometer.yml
metering-compute_hosts:
ctrl1:
ip: 192.168.1.2
metering-infra_hosts:
ctrl1:
ip: 192.168.1.2 |
|