Skip to content

Instantly share code, notes, and snippets.

View danehans's full-sized avatar

Daneyon Hansen danehans

View GitHub Profile
apiVersion: v1
kind: Service
metadata:
labels:
name: web
role: service
name: web
spec:
type: NodePort
ports:
@danehans
danehans / gist:6f867cb16956de0dbe07
Created March 3, 2016 07:06
gemini_vss_deploy_verification
# Ansible completes the playbook
....
PLAY RECAP ********************************************************************
172.22.111.161 : ok=296 changed=59 unreachable=0 failed=0
# SSH into the deployed node
[root@gemini ansible]# ssh [email protected]
Last login: Thu Mar 3 06:48:48 2016 from 172.22.111.248
CoreOS stable (926.0.0)
Update Strategy: No Reboots
@danehans
danehans / devstack_git_log
Created March 3, 2016 19:34
magnum_devstack_setup
/opt/stack/devstack# git log --oneline
b01a3c3 Merge "Followup comment fix from alt_demo user creation"
c6b5fe3 Merge "Skip ovs_ and ebtables_dump if needed commands not present"
6c888d2 Merge "localize user/project variables in tempest"
@danehans
danehans / gist:9caa1d7c57e69c416a8a
Last active March 7, 2016 19:15
kube_contrib_test_failure
# hack/verify-all.sh -v
Skipping hack/../hack/verify-all.sh
hack/../hack/verify-gofmt.sh: line 25: go: command not found
hack/../hack/verify-golint.sh: line 26: golint: command not found
@danehans
danehans / fail_run
Last active March 9, 2016 00:15
ansible_networkd_route_mgt
TASK: [Create internal networkd file] *****************
fatal: [172.22.111.161] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'list' object has no attribute 'split'", 'failed': True}
fatal: [172.22.111.161] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'list' object has no attribute 'split'", 'failed': True}
@danehans
danehans / web-app.yml
Last active January 31, 2017 18:41
kube web-app test
apiVersion: v1
kind: Service
metadata:
labels:
name: web
role: service
name: web
spec:
type: NodePort
ports:
@danehans
danehans / coreos_ansible_facts
Created March 22, 2016 16:45
coreos_ansible_facts
core-master | success >> {
"ansible_facts": {
"ansible_all_ipv4_addresses": [
"10.30.118.83",
"2.0.49.0",
"2.0.49.1"
],
"ansible_all_ipv6_addresses": [
"fe80::a64c:11ff:fe13:4494",
"fe80::a64c:11ff:fe13:4493",
@danehans
danehans / ansible_ver
Last active March 23, 2016 20:38
ansible_2.x_contrib_coreos_fail
# ansible --version
ansible 2.0.1.0
config file =
configured module search path = Default w/o overrides
@danehans
danehans / ansible_deploy
Last active March 24, 2016 19:58
kolla_issues
$ kolla-ansible prechecks
Pre-deployment checking : ansible-playbook -i /usr/share/kolla/ansible/inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml /usr/share/kolla/ansible/prechecks.yml
PLAY [all] ********************************************************************
GATHERING FACTS ***************************************************************
ok: [localhost]
TASK: [prechecks | Checking free port for Cinder API] *************************
ok: [localhost]
@danehans
danehans / addons_issue
Last active March 29, 2016 21:38
kube_addons_service_issue
$ systemctl status kube-addons -l
● kube-addons.service - Kubernetes Addon Object Manager
Loaded: loaded (/etc/systemd/system/kube-addons.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2016-03-29 21:03:26 UTC; 34min ago
Docs: https://github.com/GoogleCloudPlatform/kubernetes
Main PID: 9105 (kube-addons.sh)
Memory: 1.0M
CPU: 55.069s
CGroup: /system.slice/kube-addons.service
├─ 9105 /bin/bash /opt/bin/kubernetes/kube-addons.sh