Last active
October 3, 2016 10:30
-
-
Save a1git/f55bde9e46f58fb608e6bb87d9c7224c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##openstack_user_config | |
--- | |
cidr_networks: | |
container: 172.29.236.0/22 | |
tunnel: 172.29.240.0/22 | |
storage: 172.29.244.0/22 | |
used_ips: | |
- "172.29.236.1,172.29.236.100" | |
- "172.29.240.1,172.29.240.100" | |
- "172.29.244.1,172.29.244.100" | |
global_overrides: | |
internal_lb_vip_address: cloud101int.stack31.com | |
external_lb_vip_address: cloud101.stack31.com | |
management_bridge: br-mgmt | |
tunnel_bridge: br-vxlan | |
provider_networks: | |
- 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 | |
- network: | |
group_binds: | |
- glance_api | |
- cinder_api | |
- cinder_volume | |
- nova_compute | |
# Uncomment the next line if using swift with a storage network. | |
# - swift_proxy | |
type: "raw" | |
container_bridge: "br-storage" | |
container_type: "veth" | |
container_interface: "eth2" | |
container_mtu: "9000" | |
ip_from_q: "storage" | |
- network: | |
group_binds: | |
- neutron_linuxbridge_agent | |
container_bridge: "br-vxlan" | |
container_type: "veth" | |
container_interface: "eth10" | |
container_mtu: "9000" | |
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: "eth11" | |
type: "vlan" | |
range: "101:200,301:400" | |
net_name: "vlan" | |
- network: | |
group_binds: | |
- neutron_linuxbridge_agent | |
container_bridge: "br-vlan" | |
container_type: "veth" | |
container_interface: "eth12" | |
host_bind_override: "eth12" | |
type: "flat" | |
net_name: "flat" | |
shared-infra_hosts: | |
c14: | |
ip: 172.29.236.14 | |
c15: | |
ip: 172.29.236.15 | |
c16: | |
ip: 172.29.236.16 | |
repo-infra_hosts: | |
c14: | |
ip: 172.29.236.14 | |
c15: | |
ip: 172.29.236.15 | |
c16: | |
ip: 172.29.236.16 | |
os-infra_hosts: | |
c14: | |
ip: 172.29.236.14 | |
c15: | |
ip: 172.29.236.15 | |
c16: | |
ip: 172.29.236.16 | |
identity_hosts: | |
c14: | |
ip: 172.29.236.14 | |
c15: | |
ip: 172.29.236.15 | |
c16: | |
ip: 172.29.236.16 | |
network_hosts: | |
c14: | |
ip: 172.29.236.14 | |
c15: | |
ip: 172.29.236.15 | |
c16: | |
ip: 172.29.236.16 | |
compute_hosts: | |
c23: | |
ip: 172.29.236.23 | |
c24: | |
ip: 172.29.236.24 | |
c25: | |
ip: 172.29.236.25 | |
storage-infra_hosts: | |
c14: | |
ip: 172.29.236.14 | |
c15: | |
ip: 172.29.236.15 | |
c16: | |
ip: 172.29.236.16 | |
storage_hosts: | |
c14: | |
ip: 172.29.236.14 | |
container_vars: | |
cinder_backends: | |
limit_container_types: cinder_volume | |
rbd: | |
volume_group: cinder-volumes | |
volume_driver: cinder.volume.drivers.rbd.RBDDriver | |
volume_backend_name: rbd | |
rbd_pool: cinder-volumes | |
rbd_ceph_conf: /etc/ceph/ceph.conf | |
rbd_user: cinder | |
c15: | |
ip: 172.29.236.15 | |
container_vars: | |
cinder_backends: | |
limit_container_types: cinder_volume | |
rbd: | |
volume_group: cinder-volumes | |
volume_driver: cinder.volume.drivers.rbd.RBDDriver | |
volume_backend_name: rbd | |
rbd_pool: cinder-volumes | |
rbd_ceph_conf: /etc/ceph/ceph.conf | |
rbd_user: cinder | |
c16: | |
ip: 172.29.236.16 | |
container_vars: | |
cinder_backends: | |
limit_container_types: cinder_volume | |
rbd: | |
volume_group: cinder-volumes | |
volume_driver: cinder.volume.drivers.rbd.RBDDriver | |
volume_backend_name: rbd | |
rbd_pool: cinder-volumes | |
rbd_ceph_conf: /etc/ceph/ceph.conf | |
rbd_user: cinder | |
log_hosts: | |
c13: | |
ip: 172.29.236.13 | |
haproxy_hosts: | |
c14: | |
ip: 172.29.236.14 | |
c15: | |
ip: 172.29.236.15 | |
c16: | |
ip: 172.29.236.16 | |
##################### user variables | |
--- | |
debug: true | |
glance_default_store: rbd | |
glance_notification_driver: noop | |
glance_ceph_client: glance | |
glance_rbd_store_pool: glance-images | |
glance_rbd_store_chunk_size: 8 | |
nova_libvirt_images_rbd_pool: ephemeral-vms | |
cinder_ceph_client: cinder | |
cephx: true | |
ceph_mons: | |
- 172.29.244.20 | |
- 172.29.244.21 | |
- 172.29.244.22 | |
haproxy_keepalived_external_vip_cidr: "10.11.12.3/22" | |
haproxy_keepalived_internal_vip_cidr: "172.29.236.3/22" | |
haproxy_keepalived_external_interface: ens2 | |
haproxy_keepalived_internal_interface: br-mgmt | |
haproxy_keepalived_external_virtual_router_id: 10 | |
haproxy_keepalived_internal_virtual_router_id: 11 | |
haproxy_user_ssl_cert: /opt/stack31.crt | |
haproxy_user_ssl_key: /opt/stack31.key | |
neutron_plugin_base: | |
- router | |
- firewall | |
- neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv2 | |
- metering | |
- qos | |
#### /etc/openstack_deploy/env.d/cinder.yml | |
--- | |
container_skel: | |
cinder_volumes_container: | |
belongs_to: | |
- storage-infra_containers | |
properties: | |
is_metal: false | |
$ ssh c20 ceph osd tree | |
Warning: Permanently added 'c20,172.29.244.20' (ECDSA) to the list of known hosts. | |
# id weight type name up/down reweight | |
-1 2.85 root default | |
-2 0.9499 host c20 | |
0 0.19 osd.0 up 1 | |
1 0.19 osd.1 up 1 | |
2 0.19 osd.2 up 1 | |
3 0.19 osd.3 up 1 | |
4 0.19 osd.4 up 1 | |
-3 0.9499 host c21 | |
5 0.19 osd.5 up 1 | |
6 0.19 osd.6 up 1 | |
7 0.19 osd.7 up 1 | |
8 0.19 osd.8 up 1 | |
9 0.19 osd.9 up 1 | |
-4 0.9499 host c22 | |
10 0.19 osd.10 up 1 | |
11 0.19 osd.11 up 1 | |
12 0.19 osd.12 up 1 | |
13 0.19 osd.13 up 1 | |
14 0.19 osd.14 up 1 | |
# root @ deploy in ~ [10:29:27] | |
$ ssh c20 ceph status | |
Warning: Permanently added 'c20,172.29.244.20' (ECDSA) to the list of known hosts. | |
cluster 221eb93e-af1e-49f6-841d-8bad275f50ef | |
health HEALTH_OK | |
monmap e1: 3 mons at {c20=172.29.244.20:6789/0,c21=172.29.244.21:6789/0,c22=172.29.244.22:6789/0}, election epoch 8, quorum 0,1,2 c20,c21,c22 | |
osdmap e86: 15 osds: 15 up, 15 in | |
pgmap v156: 768 pgs, 3 pools, 0 bytes data, 2 objects | |
557 MB used, 2923 GB / 2923 GB avail | |
768 active+clean | |
# root @ deploy in ~ [10:29:31] | |
$ ssh c20 ceph df | |
Warning: Permanently added 'c20,172.29.244.20' (ECDSA) to the list of known hosts. | |
GLOBAL: | |
SIZE AVAIL RAW USED %RAW USED | |
2923G 2923G 557M 0.02 | |
POOLS: | |
NAME ID USED %USED MAX AVAIL OBJECTS | |
cinder-volumes 3 0 0 974G 1 | |
glance-images 4 0 0 974G 1 | |
ephemeral-vms 5 0 0 974G 0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment