ovirt metrics debug

From hudecof, 6 Years ago, written in Bash, viewed 398 times. This paste will cross the great divide in 1 Second.
URL https://tools.apps.hudecof.net/paste/view/1d493d52 Embed
Download Paste or View Raw
  1. [PROD] root@dipostat01.cnc.sk: /home/phudec # sudo yum repolist
  2. Loaded plugins: fastestmirror
  3. Loading mirror speeds from cached hostfile
  4.  * base: tux.rainside.sk
  5.  * epel: mirror.vutbr.cz
  6.  * extras: tux.rainside.sk
  7.  * updates: tux.rainside.sk
  8. repo id                              repo name                                    status
  9. !base/7/x86_64                       CentOS-7 - Base                               9,591
  10. !centos-openshift-origin             CentOS OpenShift Origin                      104+41
  11. !centos-openshift-origin14-candidate CentOS OpenShift Origin14 Candidate            19+8
  12. !centos-openshift-origin15-candidate CentOS OpenShift Origin15 Candidate            27+8
  13. !centos-openshift-origin36-candidate CentOS OpenShift Origin36 Candidate            22+8
  14. !centos-openshift-origin37-candidate CentOS OpenShift Origin37 Candidate            27+8
  15. !centos-openshift-origin38-candidate CentOS OpenShift Origin38 Candidate            25+8
  16. !centos-openshift-origin39-candidate CentOS OpenShift Origin39 Candidate            24+8
  17. !epel/x86_64                         Extra Packages for Enterprise Linux 7 - x86_ 12,461
  18. !extras/7/x86_64                     CentOS-7 - Extras                               448
  19. !updates/7/x86_64                    CentOS-7 - Updates                            2,416
  20. !zabbix/x86_64                       Zabbix Official Repository - x86_64             132
  21. !zabbix-non-supported/x86_64         Zabbix Official Repository non-supported - x      4
  22. repolist: 25,300
  23.  
  24. [PROD] root@dipostat01.cnc.sk: ~ # sudo rpm -q ansible
  25. ansible-2.4.2.0-2.el7.noarch
  26.  
  27. [PROD] root@dipostat01.cnc.sk: ~ # repoquery -i ansible
  28.  
  29. Name        : ansible
  30. Version     : 2.4.2.0
  31. Release     : 2.el7
  32. Architecture: noarch
  33. Size        : 40059005
  34. Packager    : CentOS BuildSystem <http://bugs.centos.org>
  35. Group       : Development/Libraries
  36. URL         : http://ansible.com
  37. Repository  : extras
  38. Summary     : SSH-based configuration management, deployment, and task execution system
  39. Source      : ansible-2.4.2.0-2.el7.src.rpm
  40. Description :
  41.  
  42. Ansible is a radically simple model-driven configuration management,
  43. multi-node deployment, and remote task execution system. Ansible works
  44. over SSH and does not require any software or daemons to be installed
  45. on remote nodes. Extension modules can be written in any language and
  46. are transferred to managed machines automatically.
  47.  
  48. [PROD] root@dipostat01.cnc.sk: ~ # sudo rpm -q openshift-ansible
  49. package openshift-ansible is not installed
  50.  
  51. [PROD] root@dipostat01.cnc.sk: ~ # repoquery -i openshift-ansible
  52.  
  53. Name        : openshift-ansible
  54. Version     : 3.9.0
  55. Release     : 0.53.0.git.1.e139fd5.el7
  56. Architecture: noarch
  57. Size        : 57165
  58. Packager    : CBS <cbs@centos.org>
  59. Group       : Unspecified
  60. URL         : https://github.com/openshift/openshift-ansible
  61. Repository  : centos-openshift-origin39-candidate
  62. Summary     : Openshift and Atomic Enterprise Ansible
  63. Source      : openshift-ansible-3.9.0-0.53.0.git.1.e139fd5.el7.src.rpm
  64. Description :
  65. Openshift and Atomic Enterprise Ansible
  66.  
  67. This repo contains Ansible code and playbooks
  68. for Openshift and Atomic Enterprise.
  69.  
  70. [PROD] root@dipostat01.cnc.sk: ~ # rpm -q origin
  71. origin-3.9.0-0.alpha.4.el7.git.23454.881f1dd.x86_64
  72.  
  73. [PROD] root@dipostat01.cnc.sk: ~ # repoquery -i origin
  74.  
  75. [PROD] root@dipostat01.cnc.sk: ~ # cat /root/openshift-ansible/roles/lib_utils/callback_plugins/aa_version_requirement.py
  76. #!/usr/bin/python
  77.  
  78. """
  79. This callback plugin verifies the required minimum version of Ansible
  80. is installed for proper operation of the OpenShift Ansible Installer.
  81. The plugin is named with leading `aa_` to ensure this plugin is loaded
  82. first (alphanumerically) by Ansible.
  83. """
  84. import sys
  85. from ansible import __version__
  86.  
  87. if __version__ < '2.0':
  88.     # pylint: disable=import-error,no-name-in-module
  89.     # Disabled because pylint warns when Ansible v2 is installed
  90.     from ansible.callbacks import display as pre2_display
  91.     CallbackBase = object
  92.  
  93.     def display(*args, **kwargs):
  94.         """Set up display function for pre Ansible v2"""
  95.         pre2_display(*args, **kwargs)
  96. else:
  97.     from ansible.plugins.callback import CallbackBase
  98.     from ansible.utils.display import Display
  99.  
  100.     def display(*args, **kwargs):
  101.         """Set up display function for Ansible v2"""
  102.         display_instance = Display()
  103.         display_instance.display(*args, **kwargs)
  104.  
  105.  
  106. # Set to minimum required Ansible version
  107. REQUIRED_VERSION = '2.4.3.0'
  108. DESCRIPTION = "Supported versions: %s or newer" % REQUIRED_VERSION
  109.  
  110.  
  111. def version_requirement(version):
  112.     """Test for minimum required version"""
  113.     return version >= REQUIRED_VERSION
  114.  
  115.  
  116. class CallbackModule(CallbackBase):
  117.     """
  118.     Ansible callback plugin
  119.     """
  120.  
  121.     CALLBACK_VERSION = 1.0
  122.     CALLBACK_NAME = 'version_requirement'
  123.  
  124.     def __init__(self):
  125.         """
  126.         Version verification is performed in __init__ to catch the
  127.         requirement early in the execution of Ansible and fail gracefully
  128.         """
  129.         super(CallbackModule, self).__init__()
  130.  
  131.         if not version_requirement(__version__):
  132.             display(
  133.                 'FATAL: Current Ansible version (%s) is not supported. %s'
  134.                 % (__version__, DESCRIPTION), color='red')
  135.             sys.exit(1)
  136.            
  137. [PROD] root@dipostat01.cnc.sk: ~ # ls -alrtF /etc/origin/logging
  138. total 172
  139. drwx------. 6 root root   72 Apr  5 22:44 ../
  140. -rw-r--r--. 1 root root 1050 Apr  5 22:44 ca.crt
  141. -rw-------. 1 root root 1679 Apr  5 22:44 ca.key
  142. -rw-r--r--. 1 root root 4263 Apr  5 22:44 signing.conf
  143. -rw-------. 1 root root 1679 Apr  5 22:44 kibana-internal.key
  144. -rw-r--r--. 1 root root 2246 Apr  5 22:44 kibana-internal.crt
  145. -rw-r--r--. 1 root root 2201 Apr  5 22:45 mux.crt
  146. -rw-------. 1 root root 1675 Apr  5 22:45 mux.key
  147. -rw-r--r--. 1 root root   64 Apr  5 22:45 mux_shared_key
  148. -rw-------. 1 root root 1679 Apr  5 22:45 es.key
  149. -rw-r--r--. 1 root root 2185 Apr  5 22:45 es.crt
  150. -rw-r--r--. 1 root root  321 Apr  5 22:45 server-tls.json
  151. -rw-r--r--. 1 root root    0 Apr  5 22:45 ca.crt.srl
  152. -rw-r--r--. 1 root root 1704 Apr  5 22:46 system.logging.fluentd.key
  153. -rw-r--r--. 1 root root  960 Apr  5 22:46 system.logging.fluentd.csr
  154. -rw-r--r--. 1 root root 1196 Apr  5 22:46 system.logging.fluentd.crt
  155. -rw-r--r--. 1 root root 1196 Apr  5 22:46 03.pem
  156. -rw-r--r--. 1 root root 1704 Apr  5 22:46 system.logging.kibana.key
  157. -rw-r--r--. 1 root root  960 Apr  5 22:46 system.logging.kibana.csr
  158. -rw-r--r--. 1 root root 1196 Apr  5 22:46 system.logging.kibana.crt
  159. -rw-r--r--. 1 root root 1196 Apr  5 22:46 04.pem
  160. -rw-r--r--. 1 root root 1704 Apr  5 22:46 system.logging.curator.key
  161. -rw-r--r--. 1 root root  960 Apr  5 22:46 system.logging.curator.csr
  162. -rw-r--r--. 1 root root 1196 Apr  5 22:46 system.logging.curator.crt
  163. -rw-r--r--. 1 root root 1196 Apr  5 22:46 05.pem
  164. -rw-r--r--. 1 root root 1704 Apr  5 22:46 system.admin.key
  165. -rw-r--r--. 1 root root  948 Apr  5 22:46 system.admin.csr
  166. -rw-r--r--. 1 root root 1184 Apr  5 22:46 system.admin.crt
  167. -rw-r--r--. 1 root root 1184 Apr  5 22:46 06.pem
  168. -rw-r--r--. 1 root root 1708 Apr  5 22:46 system.logging.mux.key
  169. -rw-r--r--. 1 root root  956 Apr  5 22:46 system.logging.mux.csr
  170. -rw-r--r--. 1 root root    3 Apr  5 22:46 ca.serial.txt.old
  171. -rw-r--r--. 1 root root  375 Apr  5 22:46 ca.db.old
  172. -rw-r--r--. 1 root root   20 Apr  5 22:46 ca.db.attr.old
  173. -rw-r--r--. 1 root root 1192 Apr  5 22:46 system.logging.mux.crt
  174. -rw-r--r--. 1 root root 1192 Apr  5 22:46 07.pem
  175. -rw-r--r--. 1 root root 1708 Apr  5 22:46 system.logging.es.key
  176. -rw-r--r--. 1 root root  952 Apr  5 22:46 system.logging.es.csr
  177. -rw-r--r--. 1 root root    3 Apr  5 22:47 ca.serial.txt
  178. -rw-r--r--. 1 root root   20 Apr  5 22:47 ca.db.attr
  179. -rw-r--r--. 1 root root  448 Apr  5 22:47 ca.db
  180. -rw-r--r--. 1 root root 1188 Apr  5 22:47 system.logging.es.crt
  181. -rw-r--r--. 1 root root 1188 Apr  5 22:47 08.pem
  182. drwxr-xr-x. 2 root root 4096 Apr  5 22:47 ./
  183.  
  184. [PROD] root@dipostat01.cnc.sk: ~/openshift-ansible # git remote -v
  185. origin  https://github.com/openshift/openshift-ansible.git (fetch)
  186. origin  https://github.com/openshift/openshift-ansible.git (push)
  187. [PROD] root@dipostat01.cnc.sk: ~/openshift-ansible # git status
  188. # On branch release-3.9
  189. nothing to commit, working directory clean
  190.  

Reply to "ovirt metrics debug"

Here you can reply to the paste above