Advertisement
kmajumder

Untitled

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