Advertisement
kmajumder

Untitled

Mar 22nd, 2019
145
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 15.58 KB | None | 0 0
  1. PLAY [Setup Bricks] ************************************************************
  2.  
  3. TASK [Gathering Facts] *********************************************************
  4. ok: [10.70.43.46]
  5.  
  6. TASK [Install ansible dependencies] ********************************************
  7. ok: [10.70.43.46] => (item=policycoreutils-python)
  8.  
  9. TASK [gluster.infra/roles/firewall_config : Start firewalld if not already started] ***
  10. ok: [10.70.43.46]
  11.  
  12. TASK [gluster.infra/roles/firewall_config : check if required variables are set] ***
  13. skipping: [10.70.43.46]
  14.  
  15. TASK [gluster.infra/roles/firewall_config : Open/Close firewalld ports] ********
  16. ok: [10.70.43.46] => (item=2049/tcp)
  17. ok: [10.70.43.46] => (item=54321/tcp)
  18. ok: [10.70.43.46] => (item=5900/tcp)
  19. ok: [10.70.43.46] => (item=5900-6923/tcp)
  20. ok: [10.70.43.46] => (item=5666/tcp)
  21. ok: [10.70.43.46] => (item=16514/tcp)
  22.  
  23. TASK [gluster.infra/roles/firewall_config : Add/Delete services to firewalld rules] ***
  24. ok: [10.70.43.46] => (item=glusterfs)
  25.  
  26. TASK [gluster.infra/roles/backend_setup : Gather facts to determine the OS distribution] ***
  27. ok: [10.70.43.46]
  28.  
  29. TASK [gluster.infra/roles/backend_setup : Change to Install lvm tools for debian systems.] ***
  30. skipping: [10.70.43.46]
  31.  
  32. TASK [gluster.infra/roles/backend_setup : Change to Install lvm tools for RHEL systems.] ***
  33. ok: [10.70.43.46]
  34.  
  35. TASK [gluster.infra/roles/backend_setup : Install python-yaml package for Debian systems] ***
  36. skipping: [10.70.43.46]
  37.  
  38. TASK [gluster.infra/roles/backend_setup : Initialize vdo_devs array] ***********
  39. ok: [10.70.43.46]
  40.  
  41. TASK [gluster.infra/roles/backend_setup : Record VDO devices (if any)] *********
  42. skipping: [10.70.43.46] => (item={u'vgname': u'gluster_vg_sdb', u'pvname': u'/dev/sdb'})
  43.  
  44. TASK [gluster.infra/roles/backend_setup : Enable and start vdo service] ********
  45. skipping: [10.70.43.46]
  46.  
  47. TASK [gluster.infra/roles/backend_setup : Create VDO with specified size] ******
  48. skipping: [10.70.43.46]
  49.  
  50. TASK [gluster.infra/roles/backend_setup : Check if valid disktype is provided] ***
  51. skipping: [10.70.43.46]
  52.  
  53. TASK [gluster.infra/roles/backend_setup : Set PV data alignment for JBOD] ******
  54. skipping: [10.70.43.46]
  55.  
  56. TASK [gluster.infra/roles/backend_setup : Set PV data alignment for RAID] ******
  57. ok: [10.70.43.46]
  58.  
  59. TASK [gluster.infra/roles/backend_setup : Set VG physical extent size for RAID] ***
  60. ok: [10.70.43.46]
  61.  
  62. TASK [gluster.infra/roles/backend_setup : Create volume groups] ****************
  63. ok: [10.70.43.46] => (item={u'vgname': u'gluster_vg_sdb', u'pvname': u'/dev/sdb'})
  64.  
  65. TASK [gluster.infra/roles/backend_setup : Create thick logical volume] *********
  66. ok: [10.70.43.46] => (item={u'lvname': u'gluster_lv_engine', u'vgname': u'gluster_vg_sdb', u'size': u'100G'})
  67.  
  68. TASK [gluster.infra/roles/backend_setup : Calculate chunksize for RAID6/RAID10/RAID5] ***
  69. ok: [10.70.43.46]
  70.  
  71. TASK [gluster.infra/roles/backend_setup : Set chunksize for JBOD] **************
  72. skipping: [10.70.43.46]
  73.  
  74. TASK [gluster.infra/roles/backend_setup : Create a LV thinpool] ****************
  75. ok: [10.70.43.46] => (item={u'vgname': u'gluster_vg_sdb', u'thinpoolname': u'gluster_thinpool_gluster_vg_sdb', u'poolmetadatasize': u'1G'})
  76. ok: [10.70.43.46] => (item={u'vgname': u'gluster_vg_sdb', u'thinpoolname': u'gluster_thinpool_gluster_vg_sdb', u'poolmetadatasize': u'1G'})
  77.  
  78. TASK [gluster.infra/roles/backend_setup : Create thin logical volume] **********
  79. ok: [10.70.43.46] => (item={u'lvname': u'gluster_lv_data', u'vgname': u'gluster_vg_sdb', u'thinpool': u'gluster_thinpool_gluster_vg_sdb', u'lvsize': u'50G'})
  80. ok: [10.70.43.46] => (item={u'lvname': u'gluster_lv_vmstore', u'vgname': u'gluster_vg_sdb', u'thinpool': u'gluster_thinpool_gluster_vg_sdb', u'lvsize': u'50G'})
  81.  
  82. TASK [gluster.infra/roles/backend_setup : Extend volume group] *****************
  83. skipping: [10.70.43.46]
  84.  
  85. TASK [gluster.infra/roles/backend_setup : Change attributes of LV] *************
  86. skipping: [10.70.43.46]
  87.  
  88. TASK [gluster.infra/roles/backend_setup : Create LV for cache] *****************
  89. skipping: [10.70.43.46]
  90.  
  91. TASK [gluster.infra/roles/backend_setup : Create metadata LV for cache] ********
  92. skipping: [10.70.43.46]
  93.  
  94. TASK [gluster.infra/roles/backend_setup : Convert logical volume to a cache pool LV] ***
  95. skipping: [10.70.43.46]
  96.  
  97. TASK [gluster.infra/roles/backend_setup : Convert logical volume to a cache pool LV without cachemetalvname] ***
  98. skipping: [10.70.43.46]
  99.  
  100. TASK [gluster.infra/roles/backend_setup : Convert an existing logical volume to a cache LV] ***
  101. skipping: [10.70.43.46]
  102.  
  103. TASK [gluster.infra/roles/backend_setup : Set XFS options for JBOD] ************
  104. ok: [10.70.43.46]
  105.  
  106. TASK [gluster.infra/roles/backend_setup : Set XFS options for RAID devices] ****
  107. ok: [10.70.43.46]
  108.  
  109. TASK [gluster.infra/roles/backend_setup : Create filesystem on thin logical vols] ***
  110. ok: [10.70.43.46] => (item={u'lvname': u'gluster_lv_data', u'vgname': u'gluster_vg_sdb', u'thinpool': u'gluster_thinpool_gluster_vg_sdb', u'lvsize': u'50G'})
  111. ok: [10.70.43.46] => (item={u'lvname': u'gluster_lv_vmstore', u'vgname': u'gluster_vg_sdb', u'thinpool': u'gluster_thinpool_gluster_vg_sdb', u'lvsize': u'50G'})
  112.  
  113. TASK [gluster.infra/roles/backend_setup : Create filesystem on thick logical vols] ***
  114. ok: [10.70.43.46] => (item={u'lvname': u'gluster_lv_engine', u'vgname': u'gluster_vg_sdb', u'size': u'100G'})
  115.  
  116. TASK [gluster.infra/roles/backend_setup : Create mount directories if not already present] ***
  117. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/engine', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_engine'})
  118. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/data', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_data'})
  119. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/vmstore', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_vmstore'})
  120.  
  121. TASK [gluster.infra/roles/backend_setup : Set mount options for VDO] ***********
  122. skipping: [10.70.43.46]
  123.  
  124. TASK [gluster.infra/roles/backend_setup : Mount the vdo devices (If any)] ******
  125. skipping: [10.70.43.46] => (item={u'path': u'/gluster_bricks/engine', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_engine'})
  126. skipping: [10.70.43.46] => (item={u'path': u'/gluster_bricks/data', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_data'})
  127. skipping: [10.70.43.46] => (item={u'path': u'/gluster_bricks/vmstore', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_vmstore'})
  128.  
  129. TASK [gluster.infra/roles/backend_setup : Mount the devices] *******************
  130. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/engine', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_engine'})
  131. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/data', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_data'})
  132. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/vmstore', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_vmstore'})
  133.  
  134. TASK [gluster.infra/roles/backend_setup : Set Gluster specific SeLinux context on the bricks] ***
  135. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/engine', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_engine'})
  136. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/data', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_data'})
  137. ok: [10.70.43.46] => (item={u'path': u'/gluster_bricks/vmstore', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_vmstore'})
  138.  
  139. TASK [gluster.infra/roles/backend_setup : restore file(s) default SELinux security contexts] ***
  140. changed: [10.70.43.46] => (item={u'path': u'/gluster_bricks/engine', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_engine'})
  141. changed: [10.70.43.46] => (item={u'path': u'/gluster_bricks/data', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_data'})
  142. changed: [10.70.43.46] => (item={u'path': u'/gluster_bricks/vmstore', u'vgname': u'gluster_vg_sdb', u'lvname': u'gluster_lv_vmstore'})
  143.  
  144. TASK [gluster.infra/roles/backend_reset : unmount the directories (if mounted)] ***
  145. skipping: [10.70.43.46]
  146.  
  147. TASK [gluster.infra/roles/backend_reset : Delete volume groups] ****************
  148. skipping: [10.70.43.46]
  149.  
  150. TASK [gluster.infra/roles/backend_reset : Remove VDO devices] ******************
  151. skipping: [10.70.43.46]
  152.  
  153. PLAY [Deploy HCI] **************************************************************
  154.  
  155. TASK [Gathering Facts] *********************************************************
  156. ok: [10.70.43.46]
  157.  
  158. TASK [gluster.features/roles/nfs_ganesha : Create temporary storage directory] ***
  159. skipping: [10.70.43.46]
  160.  
  161. TASK [gluster.features/roles/nfs_ganesha : Get the name of the directory created] ***
  162. skipping: [10.70.43.46]
  163.  
  164. TASK [gluster.features/roles/nfs_ganesha : check if gluster_features_ganesha_clusternodes is set] ***
  165. skipping: [10.70.43.46]
  166.  
  167. TASK [gluster.features/roles/nfs_ganesha : Define service port] ****************
  168. skipping: [10.70.43.46] => (item=^#(STATD_PORT=.*))
  169. skipping: [10.70.43.46] => (item=^#(LOCKD_TCPPORT=.*))
  170. skipping: [10.70.43.46] => (item=^#(LOCKD_UDPPORT=.*))
  171.  
  172. TASK [gluster.features/roles/nfs_ganesha : Check packages installed, if not install] ***
  173. skipping: [10.70.43.46] => (item=glusterfs-ganesha)
  174. skipping: [10.70.43.46] => (item=nfs-ganesha)
  175. skipping: [10.70.43.46] => (item=corosync)
  176. skipping: [10.70.43.46] => (item=pacemaker)
  177. skipping: [10.70.43.46] => (item=libntirpc)
  178. skipping: [10.70.43.46] => (item=pcs)
  179.  
  180. TASK [gluster.features/roles/nfs_ganesha : Restart services] *******************
  181. skipping: [10.70.43.46] => (item=nfslock)
  182. skipping: [10.70.43.46] => (item=nfs-config)
  183. skipping: [10.70.43.46] => (item=rpc-statd)
  184.  
  185. TASK [gluster.features/roles/nfs_ganesha : Stop services] **********************
  186. skipping: [10.70.43.46] => (item=nfs-server)
  187.  
  188. TASK [gluster.features/roles/nfs_ganesha : Disable service] ********************
  189. skipping: [10.70.43.46] => (item=nfs-server)
  190.  
  191. TASK [gluster.features/roles/nfs_ganesha : Enable services] ********************
  192. skipping: [10.70.43.46] => (item=glusterfssharedstorage)
  193. skipping: [10.70.43.46] => (item=nfs-ganesha)
  194. skipping: [10.70.43.46] => (item=network)
  195. skipping: [10.70.43.46] => (item=pcsd)
  196. skipping: [10.70.43.46] => (item=pacemaker)
  197.  
  198. TASK [gluster.features/roles/nfs_ganesha : Start services] *********************
  199. skipping: [10.70.43.46] => (item=network)
  200. skipping: [10.70.43.46] => (item=pcsd)
  201.  
  202. TASK [gluster.features/roles/nfs_ganesha : Create a user hacluster if not already present] ***
  203. skipping: [10.70.43.46]
  204.  
  205. TASK [gluster.features/roles/nfs_ganesha : Set the password for hacluster] *****
  206. skipping: [10.70.43.46]
  207.  
  208. TASK [gluster.features/roles/nfs_ganesha : Set the hacluster user the same password on new nodes] ***
  209. skipping: [10.70.43.46]
  210.  
  211. TASK [gluster.features/roles/nfs_ganesha : Pcs cluster authenticate the hacluster on new nodes] ***
  212. skipping: [10.70.43.46]
  213.  
  214. TASK [gluster.features/roles/nfs_ganesha : Pause for a few seconds after pcs auth] ***
  215. skipping: [10.70.43.46]
  216.  
  217. TASK [gluster.features/roles/nfs_ganesha : Set gluster_use_execmem flag on and keep it persistent] ***
  218. skipping: [10.70.43.46] => (item=gluster_use_execmem)
  219. skipping: [10.70.43.46] => (item=ganesha_use_fusefs)
  220.  
  221. TASK [gluster.features/roles/nfs_ganesha : check if gluster_features_ganesha_masternode is set] ***
  222. skipping: [10.70.43.46]
  223.  
  224. TASK [gluster.features/roles/nfs_ganesha : Copy the ssh keys to the local machine] ***
  225. skipping: [10.70.43.46] => (item=secret.pem.pub)
  226. skipping: [10.70.43.46] => (item=secret.pem)
  227.  
  228. TASK [gluster.features/roles/nfs_ganesha : check if gluster_features_ganesha_newnodes_vip is set] ***
  229. skipping: [10.70.43.46]
  230.  
  231. TASK [gluster.features/roles/nfs_ganesha : Copy the public key to remote nodes] ***
  232. skipping: [10.70.43.46]
  233.  
  234. TASK [gluster.features/roles/nfs_ganesha : Copy the private key to remote node] ***
  235. skipping: [10.70.43.46]
  236.  
  237. TASK [gluster.features/roles/nfs_ganesha : Deploy the pubkey on all nodes] *****
  238. skipping: [10.70.43.46]
  239.  
  240. TASK [gluster.features/roles/nfs_ganesha : Make the volume a gluster shared volume] ***
  241. skipping: [10.70.43.46]
  242.  
  243. TASK [gluster.features/roles/nfs_ganesha : Generate ssh key in one of the nodes in HA cluster] ***
  244. skipping: [10.70.43.46]
  245.  
  246. TASK [gluster.features/roles/nfs_ganesha : Copy the ssh keys to the local machine] ***
  247. skipping: [10.70.43.46] => (item=secret.pem.pub)
  248. skipping: [10.70.43.46] => (item=secret.pem)
  249.  
  250. TASK [gluster.features/roles/nfs_ganesha : Create configuration directory for nfs_ganesha] ***
  251. skipping: [10.70.43.46]
  252.  
  253. TASK [gluster.features/roles/nfs_ganesha : Copy ganesha.conf to config directory on shared volume] ***
  254. skipping: [10.70.43.46]
  255.  
  256. TASK [gluster.features/roles/nfs_ganesha : Create ganesha-ha.conf file] ********
  257. skipping: [10.70.43.46]
  258.  
  259. TASK [gluster.features/roles/nfs_ganesha : Enable NFS Ganesha] *****************
  260. skipping: [10.70.43.46]
  261.  
  262. TASK [gluster.features/roles/nfs_ganesha : Pause for 30 seconds (takes a while to enable NFS Ganesha)] ***
  263. skipping: [10.70.43.46]
  264.  
  265. TASK [gluster.features/roles/nfs_ganesha : Check NFS Ganesha status] ***********
  266. skipping: [10.70.43.46]
  267.  
  268. TASK [gluster.features/roles/nfs_ganesha : Report NFS Ganesha status] **********
  269. skipping: [10.70.43.46]
  270.  
  271. TASK [gluster.features/roles/nfs_ganesha : Report NFS Ganesha status (If any errors)] ***
  272. skipping: [10.70.43.46]
  273.  
  274. TASK [gluster.features/roles/nfs_ganesha : check if gluster_features_ganesha_volume is set] ***
  275. skipping: [10.70.43.46]
  276.  
  277. TASK [gluster.features/roles/nfs_ganesha : Export the NFS Ganesha volume] ******
  278. skipping: [10.70.43.46]
  279.  
  280. TASK [gluster.features/roles/nfs_ganesha : Copy the public key to remote nodes] ***
  281. skipping: [10.70.43.46]
  282.  
  283. TASK [gluster.features/roles/nfs_ganesha : Copy the private key to remote node] ***
  284. skipping: [10.70.43.46]
  285.  
  286. TASK [gluster.features/roles/nfs_ganesha : Deploy the pubkey on all nodes] *****
  287. skipping: [10.70.43.46]
  288.  
  289. TASK [gluster.features/roles/nfs_ganesha : Adds a node to the cluster] *********
  290. skipping: [10.70.43.46]
  291.  
  292. TASK [gluster.features/roles/nfs_ganesha : Report ganesha add-node status] *****
  293. skipping: [10.70.43.46]
  294.  
  295. TASK [gluster.features/roles/nfs_ganesha : Delete the temporary directory] *****
  296. skipping: [10.70.43.46]
  297.  
  298. TASK [gluster.features/roles/gluster_hci : Check if packages are installed, if not install] ***
  299. ok: [10.70.43.46] => (item=vdsm)
  300. ok: [10.70.43.46] => (item=vdsm-gluster)
  301. ok: [10.70.43.46] => (item=ovirt-host)
  302. ok: [10.70.43.46] => (item=screen)
  303.  
  304. TASK [gluster.features/roles/gluster_hci : Enable and start glusterd and chronyd] ***
  305. ok: [10.70.43.46] => (item=chronyd)
  306. ok: [10.70.43.46] => (item=glusterd)
  307. ok: [10.70.43.46] => (item=firewalld)
  308.  
  309. TASK [gluster.features/roles/gluster_hci : Add user qemu to gluster group] *****
  310. ok: [10.70.43.46]
  311.  
  312. TASK [gluster.features/roles/gluster_hci : Disable the hook scripts] ***********
  313. changed: [10.70.43.46] => (item=/var/lib/glusterd/hooks/1/set/post/S30samba-set.sh)
  314. changed: [10.70.43.46] => (item=/var/lib/glusterd/hooks/1/start/post/S30samba-start.sh)
  315. changed: [10.70.43.46] => (item=/var/lib/glusterd/hooks/1/stop/pre/S30samba-stop.sh)
  316. changed: [10.70.43.46] => (item=/var/lib/glusterd/hooks/1/reset/post/S31ganesha-reset.sh)
  317. changed: [10.70.43.46] => (item=/var/lib/glusterd/hooks/1//start/post/S31ganesha-start.sh)
  318. changed: [10.70.43.46] => (item=/var/lib/glusterd/hooks/1/start/post/S29CTDBsetup.sh)
  319. changed: [10.70.43.46] => (item=/var/lib/glusterd/hooks/1/stop/pre/S29CTDB-teardown.sh)
  320.  
  321. TASK [gluster.features/roles/gluster_hci : Check if valid FQDN is provided] ****
  322. failed: [10.70.43.46 -> localhost] (item=10.70.43.46) => {"changed": true, "cmd": ["dig", "10.70.43.46", "+short"], "delta": "0:00:00.037135", "end": "2019-03-22 16:13:32.990992", "failed_when_result": true, "item": "10.70.43.46", "rc": 0, "start": "2019-03-22 16:13:32.953857", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
  323.  
  324. NO MORE HOSTS LEFT *************************************************************
  325. to retry, use: --limit @/usr/share/cockpit/ovirt-dashboard/ansible/hc_wizard.retry
  326.  
  327. PLAY RECAP *********************************************************************
  328. 10.70.43.46 : ok=28 changed=2 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement