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
--- | |
# This playbook deploys base environment for Openstack Icehouse. | |
- hosts: all | |
user: root | |
remote_user: root | |
sudo: yes | |
roles: | |
- ntp-standalone | |
- hosts-prep |
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
TASK: [hosts-prep | Install Key] ********************************************** | |
failed: [controller1] => {"failed": true} | |
msg: invalid key specified: =ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC03cAuj2RZKujTD/cma55nMe1XC1jc9KxzMnPSwjhRVwKD3P2Ic08Hx6CVtPORcMf8M9NBlO5idvkwKWgH7wlFORz7WJA0HopuBiWiLCnbVot16t97cs52GdGv4JOP6VBfzU0mVBOhY7lPfZGtuAMzmHKQETod1pEhQFAQ4pPYejZ7BFO1KULfKhKCVpnKXZj8eIddAejdySODo4RneHF5c0cNu9EqSmZXrUqQnteZDNhEVoGW30rtNSbwPUC1DX0P9rClFK2zdhKnaFdb6rOXajNJMiBR39KZjLZbcmTZ1K5ObwJlZLOfKmUb22BGmUaInohfrp598vSlVsWt4x6f |
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
ExpiresActive On | |
ExpiresByType image/jpg "access plus 1 year" | |
ExpiresByType image/jpeg "access plus 1 year" | |
ExpiresByType image/gif "access plus 1 year" | |
ExpiresByType image/png "access plus 1 year" | |
ExpiresByType text/css "access plus 1 month" | |
ExpiresByType application/pdf "access plus 1 month" | |
ExpiresByType text/x-javascript "access plus 1 month" | |
ExpiresByType application/x-shockwave-flash "access plus 1 month" | |
ExpiresByType image/x-icon "access plus 1 year" |
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
Options +FollowSymlinks | |
RewriteEngine On | |
RewriteBase / | |
RewriteRule ^(.+)\.jpg$ /$1.png [NC,L] |
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
failed: [phx1comp011] => (item={'src': '/var/lib/nova/.ssh/authorized_keys', 'name': 'authorized_keys', 'file_mode': '0640', 'dir_mode': '0750'}) => {"err": "Memcache key not found", "failed": true, "item": {"dir_mode": "0750", "file | |
_mode": "0640", "name": "authorized_keys", "src": "/var/lib/nova/.ssh/authorized_keys"}, "rc": 1} |
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
oot@controller1_galera_container-17591727:~# cat /var/log/mysql/galera_server_error.log | |
141030 15:24:18 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql | |
141030 15:24:18 mysqld_safe WSREP: Running position recovery with --log_error='/var/lib/mysql/wsrep_recovery.DWqzQd' --pid-file='/var/lib/mysql/controller1_galera_container-17591727-recover.pid' | |
141030 15:24:18 mysqld_safe WSREP: Failed to recover position: | |
'141030 15:24:18 InnoDB: The InnoDB memory heap is disabled | |
141030 15:24:18 InnoDB: Mutexes and rw_locks use GCC atomic builtins | |
141030 15:24:18 InnoDB: Compressed tables use zlib 1.2.8 | |
141030 15:24:18 InnoDB: Using Linux native AIO | |
141030 15:24:18 InnoDB: Initializing buffer pool, size = 2.0G | |
141030 15:24:18 InnoDB: Completed initialization of buffer pool |
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
TASK: [common | Install PIP] ************************************************** | |
failed: [logger1] => {"attempts": 3, "changed": false, "cmd": "python /opt/get-pip.py", "delta": "0:00:06.061303", "end": "2014-10-24 13:14:51.731910", "failed": true, "rc": 2, "start": "2014-10-24 13:14:45.670607", "stdout_lines": ["Ignoring indexes: https://pypi.python.org/simple/", "Downloading/unpacking pip", " http://rpc-slushee.rackspace.com/python_packages/9.0.0/ uses an insecure transport scheme (http). Consider using https if rpc-slushee.rackspace.com has it available", "Downloading/unpacking setuptools", " http://rpc-slushee.rackspace.com/python_packages/9.0.0/ uses an insecure transport scheme (http). Consider using https if rpc-slushee.rackspace.com has it available", " Downloading setuptools-6.0.2-py2.py3-none-any.whl", "Cleaning up...", "Exception:", "Traceback (most recent call last):", " File \"/tmp/tmpB0M0dW/pip.zip/pip/basecommand.py\", line 122, in main", " status = self.run(options, args)", " File \"/t |
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
haproxy_hosts: | |
haproxy1: | |
ip: 192.168.236.60 | |
EOF | |
cd /opt/ansible-lxc-rpc/rpc_deployment | |
/opt/ansible-lxc-rpc/scripts/pw-token-gen.py --file /etc/rpc_deploy/user_variables.yml | |
ansible-playbook -e @/etc/rpc_deploy/user_variables.yml playbooks/setup/host-setup.yml |
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
cd /opt/ansible-lxc-rpc/rpc_deployment | |
/opt/ansible-lxc-rpc/scripts/pw-token-gen.py --file /etc/rpc_deploy/user_variables.yml | |
ansible-playbook -e @/etc/rpc_deploy/user_variables.yml playbooks/setup/host-setup.yml | |
(aslaen@js_rMBP)-(03:02 PMThu Oct 23)-(rpc9) | |
$ vagrant status | |
Current machine states: |
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
{ | |
"name": "598484-CinderTier1-10-syd.syd.local", | |
"chef_environment": "rpcs", | |
"default_attributes": { | |
}, | |
"override_attributes": { | |
"cinder": { | |
"config":{ | |
"storage_availability_zone": "Tier1" | |
} |