Advertisement
Guest User

Untitled

a guest
May 12th, 2016
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.32 KB | None | 0 0
  1. TASK: [galera_server | Check that WSREP is ready] *****************************
  2. <192.168.20.132> ESTABLISH CONNECTION FOR USER: root
  3. <192.168.20.132> REMOTE_MODULE command /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf extended-status | egrep '(wsrep_ready|wsrep_evs_state)' #USE_SHELL
  4. <192.168.20.132> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.20.132 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
  5. <192.168.20.132> REMOTE_MODULE command /usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf extended-status | egrep '(wsrep_ready|wsrep_evs_state)' #USE_SHELL
  6. <192.168.20.132> EXEC ssh -C -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/root/.ansible/cp/ansible-ssh-%h-%p-%r" -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 192.168.20.132 /bin/sh -c 'LANG=en_US.UTF-8 LC_CTYPE=en_US.UTF-8 /usr/bin/python'
  7. Result from run 1 is: {u'cmd': u"/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf extended-status | egrep '(wsrep_ready|wsrep_evs_state)'", u'end': u'2016-05-12 13:38:25.751663', u'stdout': u'', u'changed': True, 'attempts': 1, u'start': u'2016-05-12 13:38:25.745252', u'delta': u'0:00:00.006411', u'stderr': u"\x07/usr/bin/mysqladmin: connect to server at 'localhost' failed\nerror: 'Access denied for user (using password: YES)'", u'rc': 1, u'warnings': []}
  8. failed: [infra1_galera_container-861571ec] => {"attempts": 1, "changed": true, "cmd": "/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf extended-status | egrep '(wsrep_ready|wsrep_evs_state)'", "delta": "0:00:00.006411", "end": "2016-05-12 13:38:25.751663", "rc": 1, "start": "2016-05-12 13:38:25.745252", "stdout_lines": [], "warnings": []}
  9. stderr: /usr/bin/mysqladmin: connect to server at 'localhost' failed
  10. error: 'Access denied for user 'root'@'localhost' (using password: YES)'
  11.  
  12.  
  13.  
  14. root@infra1_galera_container-861571ec:~# cat /etc/mysql/debian.cnf
  15. # Ansible managed: /opt/openstack-ansible/playbooks/roles/galera_server/templates/debian.cnf.j2 modified on 2016-05-09 23:54:18 by root on dep2
  16.  
  17. [client]
  18. host = localhost
  19. user = root
  20. password = None
  21. socket = /var/run/mysqld/mysqld.sock
  22.  
  23. [mysql_upgrade]
  24. host = localhost
  25. user = root
  26. password = None
  27. socket = /var/run/mysqld/mysqld.sock
  28. basedir = /usr
  29. root@infra1_galera_container-861571ec:~# exit
  30.  
  31.  
  32.  
  33.  
  34. root@infra1_galera_container-861571ec:~# cat /var/log/mysql_logs/galera_server_error.log
  35. 160512 13:02:52 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
  36. 160512 13:02:52 mysqld_safe WSREP: Running position recovery with --log_error='/var/lib/mysql/wsrep_recovery.xwey0o' --pid-file='/var/lib/mysql/infra1_galera_container-861571ec-recover.pid'
  37. 160512 13:02:52 [Note] /usr/sbin/mysqld (mysqld 10.0.25-MariaDB-1~trusty-wsrep) starting as process 6560 ...
  38. 160512 13:03:06 mysqld_safe WSREP: Recovered position 00000000-0000-0000-0000-000000000000:-1
  39. 160512 13:03:06 [Note] /usr/sbin/mysqld (mysqld 10.0.25-MariaDB-1~trusty-wsrep) starting as process 6701 ...
  40. 160512 13:03:06 [Note] WSREP: Read nil XID from storage engines, skipping position init
  41. 160512 13:03:06 [Note] WSREP: wsrep_load(): loading provider library '/usr/lib/galera/libgalera_smm.so'
  42. 160512 13:03:06 [Note] WSREP: wsrep_load(): Galera 25.3.15(r3578) by Codership Oy <info@codership.com> loaded successfully.
  43. 160512 13:03:06 [Note] WSREP: CRC-32C: using hardware acceleration.
  44. 160512 13:03:06 [Warning] WSREP: Could not open state file for reading: '/var/lib/mysql//grastate.dat'
  45. 160512 13:03:06 [Note] WSREP: Found saved state: 00000000-0000-0000-0000-000000000000:-1
  46. 160512 13:03:06 [Note] WSREP: Passing config to GCS: base_dir = /var/lib/mysql/; base_host = 192.168.20.132; base_port = 4567; cert.log_conflicts = no; debug = no; evs.auto_evict = 0; evs.delay_margin = PT1S; evs.delayed_keep_period = PT30S; evs.inactive_check_period = PT0.5S; evs.inactive_timeout = PT15S; evs.join_retrans_period = PT1S; evs.max_install_timeouts = 3; evs.send_window = 4; evs.stats_report_period = PT1M; evs.suspect_timeout = PT5S; evs.user_send_window = 2; evs.view_forget_timeout = PT24H; gcache.dir = /var/lib/mysql/; gcache.keep_pages_size = 0; gcache.mem_size = 0; gcache.name = /var/lib/mysql//galera.cache; gcache.page_size = 128M; gcache.size = 1024M; gcs.fc_debug = 0; gcs.fc_factor = 1.0; gcs.fc_limit = 16; gcs.fc_master_slave = no; gcs.max_packet_size = 64500; gcs.max_throttle = 0.25; gcs.recv_q_hard_limit = 9223372036854775807; gcs.recv_q_soft_limit = 0.25; gcs.sync_donor = no; gmcast.segment = 0; gmcast.version = 0; pc.announce_timeout = PT3S; pc.checksum = false; pc.ignore_quorum = false; pc.ignore_sb = fal
  47. 160512 13:03:06 [Note] WSREP: Service thread queue flushed.
  48. 160512 13:03:06 [Note] WSREP: Assign initial position for certification: -1, protocol version: -1
  49. 160512 13:03:06 [Note] WSREP: wsrep_sst_grab()
  50. 160512 13:03:06 [Note] WSREP: Start replication
  51. 160512 13:03:06 [Note] WSREP: 'wsrep-new-cluster' option used, bootstrapping the cluster
  52. 160512 13:03:06 [Note] WSREP: Setting initial position to 00000000-0000-0000-0000-000000000000:-1
  53. 160512 13:03:06 [Note] WSREP: protonet asio version 0
  54. 160512 13:03:06 [Note] WSREP: Using CRC-32C for message checksums.
  55. 160512 13:03:06 [Note] WSREP: backend: asio
  56. 160512 13:03:06 [Warning] WSREP: access file(/var/lib/mysql//gvwstate.dat) failed(No such file or directory)
  57. 160512 13:03:06 [Note] WSREP: restore pc from disk failed
  58. 160512 13:03:06 [Note] WSREP: GMCast version 0
  59. 160512 13:03:06 [Note] WSREP: (659f3a91, 'tcp://0.0.0.0:4567') listening at tcp://0.0.0.0:4567
  60. 160512 13:03:06 [Note] WSREP: (659f3a91, 'tcp://0.0.0.0:4567') multicast: , ttl: 1
  61. 160512 13:03:06 [Note] WSREP: EVS version 0
  62. 160512 13:03:06 [Note] WSREP: gcomm: bootstrapping new group 'openstack_galera_cluster'
  63. 160512 13:03:06 [Note] WSREP: start_prim is enabled, turn off pc_recovery
  64. 160512 13:03:06 [Note] WSREP: Node 659f3a91 state prim
  65. 160512 13:03:06 [Note] WSREP: view(view_id(PRIM,659f3a91,1) memb {
  66. 659f3a91,0
  67. } joined {
  68. } left {
  69. } partitioned {
  70. })
  71. 160512 13:03:06 [Note] WSREP: save pc into disk
  72. 160512 13:03:06 [Note] WSREP: discarding pending addr without UUID: tcp://192.168.20.132:4567
  73. 160512 13:03:06 [Note] WSREP: discarding pending addr proto entry 0x7f7336044500
  74. 160512 13:03:06 [Note] WSREP: discarding pending addr without UUID: tcp://192.168.20.150:4567
  75. 160512 13:03:06 [Note] WSREP: discarding pending addr proto entry 0x7f7336044800
  76. 160512 13:03:06 [Note] WSREP: discarding pending addr without UUID: tcp://192.168.20.159:4567
  77. 160512 13:03:06 [Note] WSREP: discarding pending addr proto entry 0x7f73360448c0
  78. 160512 13:03:06 [Note] WSREP: gcomm: connected
  79. 160512 13:03:06 [Note] WSREP: Changing maximum packet size to 64500, resulting msg size: 32636
  80. 160512 13:03:06 [Note] WSREP: Shifting CLOSED -> OPEN (TO: 0)
  81. 160512 13:03:06 [Note] WSREP: Opened channel 'openstack_galera_cluster'
  82. 160512 13:03:06 [Note] WSREP: New COMPONENT: primary = yes, bootstrap = no, my_idx = 0, memb_num = 1
  83. 160512 13:03:06 [Note] WSREP: Waiting for SST to complete.
  84. 160512 13:03:06 [Note] WSREP: Starting new group from scratch: 659ffdf0-1863-11e6-9b57-da85308e0174
  85. 160512 13:03:06 [Note] WSREP: STATE_EXCHANGE: sent state UUID: 65a02442-1863-11e6-bf05-da92b8261bd3
  86. 160512 13:03:06 [Note] WSREP: STATE EXCHANGE: sent state msg: 65a02442-1863-11e6-bf05-da92b8261bd3
  87. 160512 13:03:06 [Note] WSREP: STATE EXCHANGE: got state msg: 65a02442-1863-11e6-bf05-da92b8261bd3 from 0 (infra1_galera_container-861571ec)
  88. 160512 13:03:06 [Note] WSREP: Quorum results:
  89. version = 3,
  90. component = PRIMARY,
  91. conf_id = 0,
  92. members = 1/1 (joined/total),
  93. act_id = 0,
  94. last_appl. = -1,
  95. protocols = 0/7/3 (gcs/repl/appl),
  96. group UUID = 659ffdf0-1863-11e6-9b57-da85308e0174
  97. 160512 13:03:06 [Note] WSREP: Flow-control interval: [16, 16]
  98. 160512 13:03:06 [Note] WSREP: Restored state OPEN -> JOINED (0)
  99. 160512 13:03:06 [Note] WSREP: Member 0.0 (infra1_galera_container-861571ec) synced with group.
  100. 160512 13:03:06 [Note] WSREP: Shifting JOINED -> SYNCED (TO: 0)
  101. 160512 13:03:06 [Note] WSREP: New cluster view: global state: 659ffdf0-1863-11e6-9b57-da85308e0174:0, view# 1: Primary, number of nodes: 1, my index: 0, protocol version 3
  102. 160512 13:03:06 [Note] WSREP: SST complete, seqno: 0
  103. 160512 13:03:06 [Note] InnoDB: Using mutexes to ref count buffer pool pages
  104. 160512 13:03:06 [Note] InnoDB: The InnoDB memory heap is disabled
  105. 160512 13:03:06 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
  106. 160512 13:03:06 [Note] InnoDB: Memory barrier is not used
  107. 160512 13:03:06 [Note] InnoDB: Compressed tables use zlib 1.2.8
  108. 160512 13:03:06 [Note] InnoDB: Using Linux native AIO
  109. 160512 13:03:06 [Note] InnoDB: Using CPU crc32 instructions
  110. 160512 13:03:06 [Note] InnoDB: Initializing buffer pool, size = 4.0G
  111. 160512 13:03:07 [Note] InnoDB: Completed initialization of buffer pool
  112. 160512 13:03:07 [Note] InnoDB: Highest supported file format is Barracuda.
  113. 160512 13:03:07 [Note] InnoDB: 128 rollback segment(s) are active.
  114. 160512 13:03:07 [Note] InnoDB: Waiting for purge to start
  115. 160512 13:03:07 [Note] InnoDB: Percona XtraDB (http://www.percona.com) 5.6.29-76.2 started; log sequence number 1617086
  116. 160512 13:03:07 [Note] Plugin 'FEEDBACK' is disabled.
  117. 160512 13:03:07 [Note] Server socket created on IP: '::'.
  118. 160512 13:03:07 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
  119. 160512 13:03:07 [Note] WSREP: REPL Protocols: 7 (3, 2)
  120. 160512 13:03:07 [Note] WSREP: Service thread queue flushed.
  121. 160512 13:03:07 [Note] WSREP: Assign initial position for certification: 0, protocol version: 3
  122. 160512 13:03:07 [Note] WSREP: Service thread queue flushed.
  123. 160512 13:03:07 [Note] WSREP: Synchronized with group, ready for connections
  124. 160512 13:03:07 [Note] WSREP: wsrep_notify_cmd is not defined, skipping notification.
  125. 160512 13:03:07 [Note] /usr/sbin/mysqld: ready for connections.
  126. Version: '10.0.25-MariaDB-1~trusty-wsrep' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution, wsrep_25.13.raf7f02e
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement