I hereby claim:
- I am mudpuppy12 on github.
- I am dedemarc (https://keybase.io/dedemarc) on keybase.
- I have a public key ASBC6mW2p9fBoD9pyB0nb9kimx-jsAsLaGMPvjVbdE2mOwo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
- name: dns pdns directories | |
file: path="{{ item.path }}" mode={{ item.mode|default('0755') }} owner={{ item.owner|default('root') }} group={{ item.group|default('root') }} state=directory | |
with_items: "{{ dns_pdns_directories }}" | |
- name: dns pdns template files | |
template: src={{ item.src }}.j2 dest={{ item.dest|default( '/' + item.src ) }} mode={{ item.mode|default('0644') }} owner={{ item.owner|default('root') }} group={{ item.group|default('root') }} | |
with_items: "{{ dns_pdns_template_files }}" | |
- name: dns pdns copy files | |
copy: src={{ item.src }} dest={{ item.dest|default( '/' + item.src ) }} mode={{ item.mode|default('0644') }} owner={{ item.owner|default('root') }} group={{ item.group|default('root') }} |
--- | |
- hosts: localhost | |
gather_facts: yes | |
tasks: | |
- name: Print some debug information | |
vars: | |
msg: | | |
Module Variables ("vars"): | |
-------------------------------- |
root@725159-infra01-utility-container-5fe3f4bf:~# openstack stack create --template testheat.yml puppystack | |
ERROR: Property error: : resources.test_vm.properties.image: : Error validating value 'ubuntu-14.04-cloud': No images matching {'name': u'ubuntu-14.04-cloud'}. (HTTP 404) | |
root@725159-infra01-utility-container-5fe3f4bf:~# glance image-list | grep ubuntu-14.04-cloud | |
| 04641ea0-f24e-45cb-ab81-2400fbbd5e0b | ubuntu-14.04-cloud | |
| |
root@729100-infra01-utility-container-5b22864e:~# i2 node-show 729507 | |
+------------------------+--------------------------------------------------------------------------+ | |
| Property | Value | | |
+------------------------+--------------------------------------------------------------------------+ | |
| chassis_uuid | | | |
| clean_step | {} | | |
| console_enabled | False | | |
| created_at | 2017-03-07T20:26:23+00:00 | | |
| driver | agent_ipmitool | | |
| driver_info | {u'ipmi_password': u'******', u'ipmi_address': u'10.15.243.238', | |
Asynchronous exception for node 0cdf4f61-2b3e-4ad9-8da9-c5691a30b9c4: | | |
| | Node failed to check cleaning progress. Exception: | | |
| | HTTPConnectionPool(host='172.30.245.227', port=9999): Max retries | | |
| | exceeded with url: /v1/commands (Caused by | | |
| | NewConnectionError('<requests.packages.urllib3.connection.HTTPConnection | | |
| | object at 0x7f983ace1850>: Failed to establish a new connection: [Errno | | |
| | 110] ETIMEDOUT',)) | | |
| name | 729497 |
#!/usr/bin/env python | |
## Made to clean up duplicate entries for KiR | |
## Proof of concept as | |
## | |
## | |
## curl https://iad3.kir.kickstart.rackspace.com/dc/api/inventory/get_ids_by_server_number/605090 | python -m json.tool \ | |
## | grep 'id' | awk '{print $2}' | tr -d '"' | tr -d ',' | while read object_id; do echo $object_id; sleep 1; \ | |
## curl https://iad3.kir.kickstart.rackspace.com/dc/api/inventory/remove/$object_id; echo; echo; sleep 1; done |
cidr_networks: | |
container: 172.25.240.0/22 | |
storage: 172.25.244.0/22 | |
tunnel: 172.25.236.0/22 | |
compute_hosts: | |
578147-compute03: | |
ip: 172.25.240.5 | |
672157-compute01: | |
ip: 172.25.240.12 | |
672158-compute02: |
FCFS-IAD3-4: | |
account: 4788235 | |
availability_type: FCFS | |
dc: IAD3 | |
dc_id: 1 | |
external_api_endpoint: 204.232.135.162 | |
first_ip: 4 | |
fw_id: 7 | |
hw_type: Dell | |
internal_api_endpoint: null |
#!/usr/bin/env bash | |
# Just a note, if your running this on a mac, sed sux, use gsed as it's not the same on ubuntu | |
if [ -z "$LAB_NAME" ]; then | |
echo "Need to set LAB_NAME before using." | |
exit | |
fi | |
UPPER_NAME="${LAB_NAME^^}" |