Skip to content

Instantly share code, notes, and snippets.

View gist:ac589606f422c4385beb32ad4912d29f
TASK: [rabbitmq_server | Enable queue mirroring] ******************************
<172.29.237.5> ESTABLISH CONNECTION FOR USER: root
<172.29.237.5> REMOTE_MODULE rabbitmq_policy tags=ha-mode=all name=HA pattern='^(?!amq\.).*'
<172.29.238.145> ESTABLISH CONNECTION FOR USER: root
<172.29.237.5> EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.29.237.5 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
<172.29.238.145> REMOTE_MODULE rabbitmq_policy tags=ha-mode=all name=HA pattern='^(?!amq\.).*'
<172.29.237.41> ESTABLISH CONNECTION FOR USER: root
<172.29.238.145> EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no
View gist:a56c850f9a9141c44807b666f90b2b30
root@c14_utility_container-33c0ad2d:~# openstack project list
+----------------------------------+---------+
| ID | Name |
+----------------------------------+---------+
| 6814624cf955469f94a0c0f3ddadf537 | admin |
| 6ffac97c22b944028c4c56fa6ab275e5 | service |
| a67b1ff0c68344539dec80a928b41177 | guest |
| bae8e7d4a90448a3b42972bd89da96e7 | demo |
| e19377896761409d98db189d8b6589ad | dev |
| f574dacfba094611a782368a80e065ee | office |
View gist:a9a0a0c7db8f40c9302705a0f22047de
---
haproxy_use_keepalived: true
apply_security_hardening: false
keystone_public_endpoint: "{{ keystone_service_publicuri }}"
haproxy_keepalived_external_vip_cidr: "10.11.12.3/22"
haproxy_keepalived_internal_vip_cidr: "172.29.236.3/22"
haproxy_keepalived_external_interface: "eth0"
haproxy_keepalived_internal_interface: "br-mgmt"
View gist:f3f1c684d1c8e62b1e9575fbf69e1955
git clone https://github.com/openstack/openstack-ansible.git /opt/openstack-ansible
git fetch https://git.openstack.org/openstack/openstack-ansible refs/changes/99/277199/32 && git cherry-pick FETCH_HEAD
./scripts/bootstrap-ansible.sh
openstack-ansible setup-hosts.yml
openstack-ansible setup-infrastructure.yml
openstack-ansible setup-openstack.yml
https://URL/ (for horizon) = 503 503 Service Unavailable No server is available to handle this request.
View gist:8c9ad6cd8f5e62319ee0b1774e6a1335
---
haproxy_use_keepalived: true
apply_security_hardening: false
haproxy_keepalived_external_vip_cidr: "10.11.12.3/22"
haproxy_keepalived_internal_vip_cidr: "172.29.236.3/22"
haproxy_keepalived_external_interface: "eth0"
haproxy_keepalived_internal_interface: "br-mgmt"
haproxy_user_ssl_cert: /opt/ssl/admin0.cert
View gist:3dea0e796c26577da6936fac0251b947
#/etc/openstack_deploy/openstack_user_config.yml
---
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.50"
View network-interfaces-ovs-infra
# controllers
#
# https://wiki.debian.org/NetworkConfiguration
#
# The loopback network interface.
auto lo
iface lo inet loopback
# The two gigabit interfaces will be controller by OVS
View network-interfaces-ovs-compute
#
# https://wiki.debian.org/NetworkConfiguration
#
# The loopback network interface.
auto lo
iface lo inet loopback
# Additional network interfaces go below.
auto em49
View ovs-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.30"
- "172.29.239.231,172.29.239.254"
View ovs-user-variables
---
# Copyright 2014, Rackspace US, Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software