This file contains hidden or 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
| #!/bin/bash | |
| cd ~/projects/ARO-HCP/test | |
| find cmd e2e e2e-setup pkg util -name *.go -print0 \ | |
| | xargs -0 -I'{}' -- git blame -wet '{}' \ | |
| | sed 's/^[^<]*<\([^>]*\)>.*/\1/' \ | |
| | sort \ | |
| | uniq -c \ | |
| | sort -nr -k1 \ | |
| | awk '{sum += $1; counts[NR] = $1; emails[NR] = $2} | |
| END {for (i=1; i<=NR; i++) printf "%6d %5.2f%% %s\n", counts[i], counts[i]/sum*100, emails[i]}' \ |
This file contains hidden or 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
| - hosts: gluster | |
| user: root | |
| tasks: | |
| - name: Create a trusted storage pool | |
| gluster_peer: | |
| state: present | |
| nodes: "{{ groups['gluster'] }}" | |
| run_once: yes |
This file contains hidden or 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: Check if ntp is installed | |
| command: rpm -q ntp | |
| register: rpm_q_ntp | |
| changed_when: False | |
| failed_when: rpm_q_ntp.rc > 1 |
This file contains hidden or 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
| Nov 23 11:09:01 mbukatov-usm1-gl1.example.com mnt-brick_gama_disperse_1-1[15659]: [2017-11-23 16:09:01.051463] M [MSGID: 113075] [posix-helpers.c:1907:posix_health_check_thread_proc] 0-volume_gama_disperse_4_plus_2x2-posix: health-check failed, going down | |
| Nov 23 11:09:01 mbukatov-usm1-gl1.example.com mnt-brick_gama_disperse_1-1[15659]: [2017-11-23 16:09:01.053220] M [MSGID: 113075] [posix-helpers.c:1926:posix_health_check_thread_proc] 0-volume_gama_disperse_4_plus_2x2-posix: still alive! -> SIGTERM |
This file contains hidden or 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@mbukatov-usm1-server ~]# rpm -q tendrl-notifier | |
| tendrl-notifier-1.5.4-3.el7rhgs.noarch | |
| [root@mbukatov-usm1-server ~]# cat /etc/tendrl/notifier/snmp.conf.yaml | |
| # V2 end point details | |
| # Enable the below lines if v2 end point to be used for SNMP notifications | |
| # Note: For different communities make different similar entries below additionally | |
| # Here default community is public | |
| # V2 is auth less | |
| # v2_endpoint: |
This file contains hidden or 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
| Nov 10 12:19:41 mbukatov-usm1-client.usmqe.example.com systemd[1]: Stopped Simple Network Management Protocol (SNMP) Trap Daemon.. | |
| Nov 10 12:25:45 mbukatov-usm1-client.usmqe.example.com systemd[1]: Starting Simple Network Management Protocol (SNMP) Trap Daemon.... | |
| Nov 10 12:25:45 mbukatov-usm1-client.usmqe.example.com snmptrapd[13948]: NET-SNMP version 5.7.2 | |
| Nov 10 12:25:45 mbukatov-usm1-client.usmqe.example.com systemd[1]: Started Simple Network Management Protocol (SNMP) Trap Daemon.. | |
| Nov 10 12:26:26 mbukatov-usm1-client.usmqe.example.com snmptrapd[13948]: 2017-11-10 12:26:26 mbukatov-usm1-server.usmqe.example.com [UDP: [10.37.169.90]:41092->[10.37.169.25]:162]: | |
| DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (0) 0:00:00.00 SNMPv2-MIB::snmpTrapOID.0 = OID: SNMPv2-MIB::coldStart SNMPv2-SMI::private.2312.19.1.0 = STRING: "[Tendrl Alert] Brick Status, WARNING: status changed-Status of brick: mbukatov-usm1-gl5.usm |
This file contains hidden or 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
| # etcdctl --endpoints http://${HOSTNAME}:2379 get /nodes/e6c74e78-6692-427c-98aa-6a386739a3f4/NodeContext/fqdn | |
| mbukatov-usm1-gl2.example.com | |
| # etcdctl --endpoints http://${HOSTNAME}:2379 ls /indexes/tags/provisioner/ | |
| /indexes/tags/provisioner/c6d2854f-c5be-4e39-83cd-ceea2c39df41 | |
| # etcdctl --endpoints http://${HOSTNAME}:2379 get /indexes/tags/provisioner/c6d2854f-c5be-4e39-83cd-ceea2c39df41 | |
| ["e6c74e78-6692-427c-98aa-6a386739a3f4"] | |
| # etcdctl --endpoints http://${HOSTNAME}:2379 get /nodes/e6c74e78-6692-427c-98aa-6a386739a3f4/NodeContext/tags | |
| ["detected_cluster/f04f1852e450992d62eece2fbd851389d593dfb9b9114279204703a67b37a2ee", "tendrl/integration/gluster", "tendrl/node_e6c74e78-6692-427c-98aa-6a386739a3f4", "tendrl/integration/c6d2854f-c5be-4e39-83cd-ceea2c39df41", "provisioner/c6d2854f-c5be-4e39-83cd-ceea2c39df41", "gluster/server", "tendrl/node"] |
This file contains hidden or 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
| libcgroup-0.41-13.el7.x86_64 | |
| setup-2.8.71-7.el7.noarch | |
| gssproxy-0.7.0-4.el7.x86_64 | |
| glibc-common-2.17-196.el7.x86_64 | |
| quota-nls-4.01-14.el7.noarch | |
| kernel-3.10.0-693.el7.x86_64 | |
| zlib-1.2.7-17.el7.x86_64 | |
| cloud-init-0.7.9-9.el7.centos.2.x86_64 | |
| nspr-4.13.1-1.0.el7_3.x86_64 | |
| libuuid-2.23.2-43.el7.x86_64 |
This file contains hidden or 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
| Certificate: | |
| Data: | |
| Version: 3 (0x2) | |
| Serial Number: 11050 (0x2b2a) | |
| Signature Algorithm: sha1WithRSAEncryption | |
| Issuer: CN=ooo.example.com | |
| Validity | |
| Not Before: Oct 12 14:40:43 2017 GMT | |
| Not After : Oct 12 14:40:43 2019 GMT | |
| Subject: C=CZ, ST=CZ, O=Red Hat, OU=USM - QE, CN=mbukatov-usm1-server.example.com |
NewerOlder