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: [Installing preq pip packages for lem toolset] ************************** | |
failed: [578160-infra01.eng-lon3-2.rpc.rackspace.com] => {"cmd": "/usr/bin/pip install paramiko", "failed": true} | |
msg: stdout: Downloading/unpacking paramiko | |
Downloading/unpacking pyasn1>=0.1.7 (from paramiko) | |
Downloading pyasn1-0.1.9-py2.py3-none-any.whl | |
Downloading/unpacking cryptography>=1.1 (from paramiko) | |
Running setup.py (path:/tmp/pip_build_root/cryptography/setup.py) egg_info for package cryptography | |
no previously-included directories found matching 'docs/_build' | |
warning: no previously-included files matching '*' found under directory 'vectors' |
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
// main.go | |
package main | |
import ( | |
"time" | |
"github.com/kataras/iris" | |
"github.com/kataras/iris/config" | |
"github.com/kataras/iris/middleware/basicauth" | |
"github.com/kataras/iris/middleware/logger" |
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
denn8098@MN80JQG3QN:/tmp$ diff -u f5-config.py ~/PycharmProjects/rpc_lem/lem-aide/user-tools/f5_config.py | |
--- f5-config.py 2016-08-03 12:18:47.000000000 -0500 | |
+++ /Users/denn8098/PycharmProjects/rpc_lem/lem-aide/user-tools/f5_config.py 2016-03-31 15:07:50.000000000 -0500 | |
@@ -16,17 +16,32 @@ | |
# (c) 2014, Kevin Carter <[email protected]> | |
import argparse | |
import json | |
-import os | |
+import os,sys | |
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
#!/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^^}" |
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
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 |
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
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: |
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
#!/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 |
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
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 |
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
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', | |
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
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 | |
| |
OlderNewer