This file contains hidden or 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
#!/bin/bash | |
# Move to the root directory as starting point | |
cd /root/rpcops-onmetal-labconfigurator | |
# Set host bond0.XXX and dummy bond0.222 | |
__HOST_BOND_INT__=( bond0.200 bond0.222 ) | |
# Get host bond0.XXX address [public] | |
__HOST_IP__=`ip addr show dev "${__HOST_BOND_INT__[0]}"|awk '/inet/ { split($2, ip, "/"); print ip[1]; exit }'` |
This file contains hidden or 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
# This file describes the network interfaces available on your system | |
# and how to activate them. For more information, see interfaces(5). | |
### NOTE ### | |
# this is for >> DELL << SantaClara nodes | |
# LENOVO: | |
# p2p1 in place of em1 | |
# p2p2 in place of em2 | |
# p1p1 in place of p3p1 | |
# p1p2 in place of p3p2 |
This file contains hidden or 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
--- | |
- name: "Deploy OpenStack-Ansible" | |
hosts: localhost | |
remote_user: root | |
serial: 1 | |
tasks: | |
- name: Remove ansible symlink if it does exist | |
shell: "if [ -L /opt/ansible-runtime/bin/ansible ]; then unlink /opt/ansible-runtime/bin/ansible; fi;" |
This file contains hidden or 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
root@deploy:~# cat /etc/kolla/globals.yml | |
--- | |
# You can use this file to override _any_ variable throughout Kolla. | |
# Additional options can be found in the 'kolla/ansible/group_vars/all.yml' file. | |
# Default value of all the commented parameters are shown here, To override | |
# the default value uncomment the parameter and change its value. | |
################### | |
# Kolla options | |
################### |
This file contains hidden or 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
root@deploy:~# cat /etc/kolla/passwords.yml | |
aodh_database_password: Sn5pjRH8jQpns6NQcFubfMZeytk4VVAoCNW4VRb5 | |
aodh_keystone_password: kUhouaIR5B656k52lMOrmnFafvFUBXX7HHKIhEIX | |
barbican_database_password: iuMpJ1Qj7KIaTH4jQ0qeCYF95rtBW1ykN4gGVDZH | |
barbican_keystone_password: 7usxTWdq7gn26HKhlvOvojVS2lpqQ4bRyTIOTvhw | |
bifrost_ssh_key: | |
private_key: '-----BEGIN RSA PRIVATE KEY----- | |
MIIJKQIBAAKCAgEAp8kEBrw+/te4JO5vxENYdlJesQygrYo6y7FtMJp0znf8UwuN |
This file contains hidden or 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
root@deploy:/opt/kolla# cat ansible/inventory/multinode | |
# These initial groups are the only groups required to be modified. The | |
# additional groups are for more control of the environment. | |
[control] | |
# These hostname must be resolvable from your deployment host | |
infra01 ansible_ssh_host=172.29.176.101 | |
infra03 ansible_ssh_host=172.29.176.103 | |
infra02 ansible_ssh_host=172.29.176.102 | |
# The above can also be specified as follows: |
This file contains hidden or 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
root@deploy:/opt/kolla# cat /etc/kolla/config/neutron/ml2_conf.ini | |
[ml2] | |
type_drivers = flat,vlan,vxlan | |
tenant_network_types = vxlan | |
mechanism_drivers = linuxbridge,l2population | |
[ml2_type_vlan] | |
network_vlan_ranges = vlan:205:209 | |
[ml2_type_flat] |
This file contains hidden or 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
#!/usr/bin/python | |
""" | |
OpenStack exporter for the prometheus monitoring system | |
Copyright (C) 2016 Canonical, Ltd. | |
Authors: | |
Jacek Nykis <[email protected]> | |
Laurent Sesques <[email protected]> |
This file contains hidden or 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
root@infra01-utility-container-c99af07d:~# python healthcheck.py --image d9b4fd09-deb5-4dae-8924-38e05782cc3a | |
!! No account number or token provided. MaaS will not be checked. | |
** Starting service checks... | |
Version 1 is deprecated, use alternative version 2 instead. | |
WARNING:cinderclient.api_versions:Version 1 is deprecated, use alternative version 2 instead. | |
** Cinder volume service found. Will test functionality. | |
** Database shows no issues. :) | |
** Nova shows no issues. :) | |
** Neutron shows no issues. :) | |
** Cinder shows no issues. :) |
This file contains hidden or 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
#!/usr/bin/python | |
""" | |
OpenStack exporter for the prometheus monitoring system | |
Copyright (C) 2016 Canonical, Ltd. | |
Authors: | |
Jacek Nykis <[email protected]> | |
Laurent Sesques <[email protected]> |