Skip to content

Instantly share code, notes, and snippets.

View major's full-sized avatar
🤠
Yeehaw.

Major Hayden major

🤠
Yeehaw.
View GitHub Profile
@major
major / pike-reno-analysis.rst
Created November 29, 2017 19:24
OSA Pike Reno Analysis

Pike Release Note Analysis

Major Hayden, Nov 2017

Availability

  • Keystone rolling upgrade status checks are available
3181 drops at net_tx_action+0 (0xffffffff81585aa0)
1 drops at ipv6_rcv+161 (0xffffffff81643b51)
4 drops at net_tx_action+0 (0xffffffff81585aa0)
3 drops at ip_rcv_finish+1b4 (0xffffffff815c9e24)
3241 drops at net_tx_action+0 (0xffffffff81585aa0)
1 drops at ipv6_rcv+161 (0xffffffff81643b51)
1 drops at __brk_limit+3dc2d6a8 (0xffffffffc003e6a8)
3 drops at net_tx_action+0 (0xffffffff81585aa0)
3 drops at ip_rcv_finish+1b4 (0xffffffff815c9e24)
1 drops at __brk_limit+3dc2d6a8 (0xffffffffc003e6a8)
@major
major / clouds.yaml
Created October 13, 2017 17:49
Rackspace openstackclient configuration
clouds:
rax:
profile: rackspace
auth:
project_id: account_number
username: username
password: password (not API key)
region_name: DFW,ORD,IAD
2017-10-13 13:11:25.215295 | TASK [os_keystone : Debug the ansible_play_hosts variable] *********************
2017-10-13 13:11:25.242905 | Friday 13 October 2017 13:11:25 +0000 (0:00:00.185) 0:18:39.932 ********
2017-10-13 13:11:25.318950 | ok: [keystone1] => {
2017-10-13 13:11:25.319033 | "ansible_play_hosts": [
2017-10-13 13:11:25.319060 | "keystone1",
2017-10-13 13:11:25.319082 | "keystone2"
2017-10-13 13:11:25.319099 | ]
2017-10-13 13:11:25.319115 | }
2017-10-13 13:11:25.375350 |
2017-10-13 13:11:25.375442 | TASK [os_keystone : Debug the inventory_hostname variable] *********************
+---------------------------------------------------+---------+-------------------------------+
| Zuulv2 Jobs for 510588 | | |
+---------------------------------------------------+---------+-------------------------------+
| gate-ansible-hardening-docs-ubuntu-xenial | Success | https://is.gd/X6ApXB |
| gate-ansible-hardening-linters-ubuntu-xenial | Running | telnet://149.202.171.89:19885 |
| gate-ansible-hardening-ansible-func-centos-7 | Success | https://is.gd/9JAGJq |
| gate-ansible-hardening-ansible-func-ubuntu-xenial | Running | telnet://158.69.78.111:19885 |
| gate-ansible-hardening-ansible-func-opensuse-423 | Success | https://is.gd/aVXikv |
| gate-ansible-hardening-ansible-func-debian-jessie | Success | https://is.gd/oSSqj7 |
| gate-ansible-hardening-ansible-func-fedora-26 | Success | https://is.gd/LIa27T |
[root@argon-neutron-agents-container-7593242c ~]# ip maddr
1: lo
inet 224.0.0.1
inet6 ff02::1
inet6 ff01::1
2: tap05126c81-fb
link 01:00:5e:00:00:01
link 33:33:00:00:00:01
inet 224.0.0.1
inet6 ff02::1
In [15]: regex = re.compile('^gate-ansible-hardening-.*-ubuntu-trusty.*$')
In [16]: regex.findall('gate-ansible-hardening-ansible-func_rhel6-ubuntu-trusty')
Out[16]: ['gate-ansible-hardening-ansible-func_rhel6-ubuntu-trusty']
1093:Jun 21 11:02:24 neon-neutron-agents-container-ec4f03fc sudo: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/openstack/venvs/neutron-15.1.6/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ip netns exec qrouter-073bfb68-c953-40e5-9164-d4e9ddaae568 arping -A -I qr-5ab6f60e-ce -c 1 -w 1.5 192.168.69.1
1094:Jun 21 11:02:26 neon-neutron-agents-container-ec4f03fc sudo: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/openstack/venvs/neutron-15.1.6/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ip netns exec qrouter-073bfb68-c953-40e5-9164-d4e9ddaae568 arping -U -I qg-bde089b1-97 -c 1 -w 1.5 192.168.252.8
1095:Jun 21 11:02:28 neon-neutron-agents-container-ec4f03fc sudo: neutron : TTY=unknown ; PWD=/ ; USER=root ; COMMAND=/openstack/venvs/neutron-15.1.6/bin/neutron-rootwrap /etc/neutron/rootwrap.conf ip netns exec qrouter-073bfb68-c953-40e5-9164-d4e9ddaae568 arping -U -I qg-bde089b1-97 -c 1 -w 1.5 192.168.252.17
1096:Jun 21 11:02:30 neon-neutron-agents-container-ec4f03fc sudo: neutron : TTY=unknown
@major
major / ansible_profile_tasks.txt
Last active August 11, 2017 15:33
Ansible: dnf vs yum
Friday 11 August 2017 15:22:34 +0000 (0:00:10.568) 0:04:10.359 *********
===============================================================================
Install large_package_list using yum ----------------------------------- 99.01s
Install large_package_list using dnf module ---------------------------- 54.88s
Clean cache & update metadata with yum --------------------------------- 46.13s
Clean cache & update metadata with dnf --------------------------------- 21.19s
Remove large_package_list using yum ------------------------------------ 17.45s
Remove large_package_list using dnf module ----------------------------- 10.57s
Gathering Facts --------------------------------------------------------- 0.63s
Gathering Facts --------------------------------------------------------- 0.41s
2017-08-09 07:29:43 mhayden is there a place where i should report that with examples?
2017-08-09 07:36:08 mordred mhayden: here is a fine place - you have examples you say?
2017-08-09 07:36:20 mhayden let me dig up a few gate logs
2017-08-09 07:36:55 mhayden mordred: check out the CentOS gate jobs here -> https://review.openstack.org/#/c/491807/ https://review.openstack.org/#/c/491905/
2017-08-09 07:37:26 mhayden a specific example -> http://logs.openstack.org/05/491905/3/check/gate-openstack-ansible-galera_client-ansible-func-centos-7/5a2b5da/console.html#_2017-08-08_21_25_45_969512
2017-08-09 07:37:47 mhayden this pre-script is missing -> https://github.com/openstack-infra/project-config/blob/2a25cacd4c42737ff5c81568ee04a3b44f0d2da0/jenkins/jobs/ansible-role-jobs.yaml#L80-L88
2017-08-09 07:38:03 mhayden and the shell script after install-distro-packages is an older version
2017-08-09 07:38:17 openstackgerrit Merged openstack-infra/nodepool feature/zuulv3: Fix detail headers order for nodepool list https:/