Advertisement
Guest User

Untitled

a guest
Mar 28th, 2017
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 40.53 KB | None | 0 0
  1. (linchpin) [vagrant@localhost beaker]$ linchpin rise
  2. debug:: searching linchpin_config file from path ::
  3. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linchpin_config.yml
  4. debug:: searching linchpin_config file from path ::
  5. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linch-pin/linchpin_config.yml
  6. debug:: searching linchpin_config file from path ::
  7. ~/.linchpin_config.yml
  8. debug:: searching linchpin_config file from path ::
  9. /home/vagrant/devel/linch-pin/linchpin_config.yml
  10. debug:: File found returning ::
  11. /home/vagrant/devel/linch-pin/linchpin_config.yml
  12. debug:: searching linchpin_config file from path ::
  13. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linchpin_config.yml
  14. debug:: searching linchpin_config file from path ::
  15. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linch-pin/linchpin_config.yml
  16. debug:: searching linchpin_config file from path ::
  17. ~/.linchpin_config.yml
  18. debug:: searching linchpin_config file from path ::
  19. /home/vagrant/devel/linch-pin/linchpin_config.yml
  20. debug:: File found returning ::
  21. /home/vagrant/devel/linch-pin/linchpin_config.yml
  22. debug::print file path
  23. /home/vagrant/devel/linch-pin/linchpin_config.yml
  24. Finding topology in local folder ./topology
  25. debug:: searching linchpin_config file from path ::
  26. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linchpin_config.yml
  27. debug:: searching linchpin_config file from path ::
  28. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linch-pin/linchpin_config.yml
  29. debug:: searching linchpin_config file from path ::
  30. ~/.linchpin_config.yml
  31. debug:: searching linchpin_config file from path ::
  32. /home/vagrant/devel/linch-pin/linchpin_config.yml
  33. debug:: File found returning ::
  34. /home/vagrant/devel/linch-pin/linchpin_config.yml
  35. debug::print file path
  36. /home/vagrant/devel/linch-pin/linchpin_config.yml
  37. Finding layout in local folder ./layouts
  38. {'linchpin_config': '/home/vagrant/devel/linch-pin/linchpin_config.yml', 'inventory_layout_file': '/home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/layouts/cinch.yml', 'state': 'present', 'outputfolder_path': '/home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/outputs', 'inventory_outputs_path': '/home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/inventories', 'topology': '/home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/topologies/cinch.yml'}
  39. debug:: module path ::/home/vagrant/devel/linch-pin/library
  40.  
  41. PLAY [including the configuration files] ***************************************
  42.  
  43. TASK [Include linchpin_config] *************************************************
  44. ok: [localhost] => (item=/home/vagrant/devel/linch-pin/linchpin_config.yml)
  45.  
  46. PLAY [schema check and Pre Provisioning Activities on topology_file] **********
  47.  
  48. TASK [common : DEBUG: topology and schema] *************************************
  49. ok: [localhost] => {
  50. "msg": "topology: /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/topologies/cinch.yml schema: /home/vagrant/devel/linch-pin/provision/../ex_schemas/schema_v3.json"
  51. }
  52.  
  53. TASK [common : schema check for given topology file] ***************************
  54. ok: [localhost]
  55.  
  56. TASK [common : set fact for saving topology_job_ids] ***************************
  57. ok: [localhost]
  58.  
  59. TASK [common : filtering the output for openstack resource groups] *************
  60. ok: [localhost]
  61.  
  62. TASK [common : filtering the output for aws resource groups] *******************
  63. ok: [localhost]
  64.  
  65. TASK [common : filtering the output for google cloud resource groups] **********
  66. ok: [localhost]
  67.  
  68. TASK [common : filtering the output for duffy resource groups] *****************
  69. ok: [localhost]
  70.  
  71. TASK [common : filtering the output for libvirt resource groups] ***************
  72. ok: [localhost]
  73.  
  74. TASK [common : filtering the output for rackspace resource groups] *************
  75. ok: [localhost]
  76.  
  77. TASK [common : filtering the output for beaker] ********************************
  78. ok: [localhost]
  79.  
  80. TASK [common : Registering resource group vars from topology] ******************
  81. skipping: [localhost]
  82.  
  83. TASK [common : output vars] ****************************************************
  84. ok: [localhost]
  85.  
  86. PLAY [Provisioning resources based on resource group type] *********************
  87.  
  88. TASK [openstack : DEBUG:: Openstack resource group list] ***********************
  89. skipping: [localhost]
  90.  
  91. TASK [openstack : declaring output vars] ***************************************
  92. skipping: [localhost]
  93.  
  94. TASK [openstack : Initiating Provisioning/Deprovioning of resources Openstack resource group] ***
  95.  
  96. TASK [aws : Provisioning aws resources] ****************************************
  97. skipping: [localhost]
  98.  
  99. TASK [aws : declaring output vars] *********************************************
  100. skipping: [localhost]
  101.  
  102. TASK [aws : Initiating Provisioning of resources aws resource group] **********
  103.  
  104. TASK [aws : Initiating teardown of resources aws resource group] **************
  105.  
  106. TASK [gcloud : DEBUG:: gcloud resource group list] *****************************
  107. skipping: [localhost]
  108.  
  109. TASK [gcloud : declaring output vars for topology outputs of gce] **************
  110. skipping: [localhost]
  111.  
  112. TASK [gcloud : Initiating Provisioning of resources in gcloud resource group] *
  113.  
  114. TASK [duffy : DEBUG:: Duffy resource group list] *******************************
  115. skipping: [localhost]
  116.  
  117. TASK [duffy : declaring output vars] *******************************************
  118. skipping: [localhost]
  119.  
  120. TASK [duffy : Initiating Provisioning of duffy resource group] *****************
  121.  
  122. TASK [duffy : Initiating Teardown of duffy resource group] *********************
  123.  
  124. TASK [libvirt : declaring output vars] *****************************************
  125. skipping: [localhost]
  126.  
  127. TASK [libvirt : Initiating libvirt resource group] *****************************
  128.  
  129. TASK [rackspace : DEBUG:: rackspace resource group list] ***********************
  130. skipping: [localhost]
  131.  
  132. TASK [rackspace : declaring output vars] ***************************************
  133. skipping: [localhost]
  134.  
  135. TASK [rackspace : Initiating Provisioning/Deprovioning of resources rackspace resource group] ***
  136.  
  137. TASK [beaker : allocate beaker outputs] ****************************************
  138. ok: [localhost]
  139.  
  140. TASK [beaker : debug] **********************************************************
  141. ok: [localhost] => {
  142. "bkr_res_grps": [
  143. {
  144. "job_group": "ci-ops-central",
  145. "recipesets": [
  146. {
  147. "arch": "x86_64",
  148. "arches": [
  149. "X86_64"
  150. ],
  151. "count": 2,
  152. "distro": "RHEL-6.5",
  153. "hostrequire": [
  154. "arch=X86_64"
  155. ],
  156. "keyvalue": [
  157. "MEMORY>1000",
  158. "DISKSPACE>20000"
  159. ]
  160. }
  161. ],
  162. "res_group_type": "beaker",
  163. "resource_group_name": "cinch-group"
  164. }
  165. ]
  166. }
  167.  
  168. TASK [beaker : provision beaker systems] ***************************************
  169. changed: [localhost] => (item={u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]})
  170.  
  171. TASK [beaker : fetch beaker details] *******************************************
  172. changed: [localhost] => (item={u'_ansible_parsed': True, u'changed': True, u'_ansible_no_log': False, u'success': False, u'res': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}, u'_ansible_item_result': True, u'ids': [u'1784724', u'1784725'], u'invocation': {u'module_name': u'bkr_server', u'module_args': {u'cancel_message': u'Job canceled by Ansible', u'state': u'present', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}}, u'_ansible_item_label': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}})
  173.  
  174. TASK [beaker : debug] **********************************************************
  175. ok: [localhost] => {
  176. "_topology_outputs_beaker_server": {
  177. "changed": true,
  178. "msg": "All items completed",
  179. "results": [
  180. {
  181. "_ansible_item_label": {
  182. "_ansible_item_label": {
  183. "job_group": "ci-ops-central",
  184. "recipesets": [
  185. {
  186. "arch": "x86_64",
  187. "arches": [
  188. "X86_64"
  189. ],
  190. "count": 2,
  191. "distro": "RHEL-6.5",
  192. "hostrequire": [
  193. "arch=X86_64"
  194. ],
  195. "keyvalue": [
  196. "MEMORY>1000",
  197. "DISKSPACE>20000"
  198. ]
  199. }
  200. ],
  201. "res_group_type": "beaker",
  202. "resource_group_name": "cinch-group"
  203. },
  204. "_ansible_item_result": true,
  205. "_ansible_no_log": false,
  206. "_ansible_parsed": true,
  207. "changed": true,
  208. "ids": [
  209. "1784724",
  210. "1784725"
  211. ],
  212. "invocation": {
  213. "module_args": {
  214. "cancel_message": "Job canceled by Ansible",
  215. "job_group": "ci-ops-central",
  216. "recipesets": [
  217. {
  218. "arch": "x86_64",
  219. "arches": [
  220. "X86_64"
  221. ],
  222. "count": 2,
  223. "distro": "RHEL-6.5",
  224. "hostrequire": [
  225. "arch=X86_64"
  226. ],
  227. "keyvalue": [
  228. "MEMORY>1000",
  229. "DISKSPACE>20000"
  230. ]
  231. }
  232. ],
  233. "state": "present"
  234. },
  235. "module_name": "bkr_server"
  236. },
  237. "res": {
  238. "job_group": "ci-ops-central",
  239. "recipesets": [
  240. {
  241. "arch": "x86_64",
  242. "arches": [
  243. "X86_64"
  244. ],
  245. "count": 2,
  246. "distro": "RHEL-6.5",
  247. "hostrequire": [
  248. "arch=X86_64"
  249. ],
  250. "keyvalue": [
  251. "MEMORY>1000",
  252. "DISKSPACE>20000"
  253. ]
  254. }
  255. ],
  256. "res_group_type": "beaker",
  257. "resource_group_name": "cinch-group"
  258. },
  259. "success": false
  260. },
  261. "_ansible_item_result": true,
  262. "_ansible_no_log": false,
  263. "_ansible_parsed": true,
  264. "changed": true,
  265. "hosts": [
  266. {
  267. "arch": "x86_64",
  268. "distro": "RHEL-6.5",
  269. "family": "RedHatEnterpriseLinux6",
  270. "id": "1784724",
  271. "result": "Pass",
  272. "status": "Running",
  273. "system": "example.com",
  274. "variant": "Client"
  275. },
  276. {
  277. "arch": "x86_64",
  278. "distro": "RHEL-6.5",
  279. "family": "RedHatEnterpriseLinux6",
  280. "id": "1784725",
  281. "result": "Pass",
  282. "status": "Running",
  283. "system": "example.comm",
  284. "variant": "Client"
  285. }
  286. ],
  287. "invocation": {
  288. "module_args": {
  289. "ids": [
  290. "1784724",
  291. "1784725"
  292. ],
  293. "max_attempts": 60,
  294. "skip_no_system": false
  295. },
  296. "module_name": "bkr_info"
  297. },
  298. "result": {
  299. "_ansible_item_label": {
  300. "job_group": "ci-ops-central",
  301. "recipesets": [
  302. {
  303. "arch": "x86_64",
  304. "arches": [
  305. "X86_64"
  306. ],
  307. "count": 2,
  308. "distro": "RHEL-6.5",
  309. "hostrequire": [
  310. "arch=X86_64"
  311. ],
  312. "keyvalue": [
  313. "MEMORY>1000",
  314. "DISKSPACE>20000"
  315. ]
  316. }
  317. ],
  318. "res_group_type": "beaker",
  319. "resource_group_name": "cinch-group"
  320. },
  321. "_ansible_item_result": true,
  322. "_ansible_no_log": false,
  323. "_ansible_parsed": true,
  324. "changed": true,
  325. "ids": [
  326. "1784724",
  327. "1784725"
  328. ],
  329. "invocation": {
  330. "module_args": {
  331. "cancel_message": "Job canceled by Ansible",
  332. "job_group": "ci-ops-central",
  333. "recipesets": [
  334. {
  335. "arch": "x86_64",
  336. "arches": [
  337. "X86_64"
  338. ],
  339. "count": 2,
  340. "distro": "RHEL-6.5",
  341. "hostrequire": [
  342. "arch=X86_64"
  343. ],
  344. "keyvalue": [
  345. "MEMORY>1000",
  346. "DISKSPACE>20000"
  347. ]
  348. }
  349. ],
  350. "state": "present"
  351. },
  352. "module_name": "bkr_server"
  353. },
  354. "res": {
  355. "job_group": "ci-ops-central",
  356. "recipesets": [
  357. {
  358. "arch": "x86_64",
  359. "arches": [
  360. "X86_64"
  361. ],
  362. "count": 2,
  363. "distro": "RHEL-6.5",
  364. "hostrequire": [
  365. "arch=X86_64"
  366. ],
  367. "keyvalue": [
  368. "MEMORY>1000",
  369. "DISKSPACE>20000"
  370. ]
  371. }
  372. ],
  373. "res_group_type": "beaker",
  374. "resource_group_name": "cinch-group"
  375. },
  376. "success": false
  377. },
  378. "success": true
  379. }
  380. ]
  381. }
  382. }
  383.  
  384. TASK [beaker : append beaker outputs] ******************************************
  385. ok: [localhost] => (item={u'_ansible_parsed': True, u'changed': True, u'_ansible_no_log': False, u'success': True, u'_ansible_item_result': True, u'hosts': [{u'status': u'Running', u'family': u'RedHatEnterpriseLinux6', u'variant': u'Client', u'system': u'example.com', u'result': u'Pass', u'arch': u'x86_64', u'id': u'1784724', u'distro': u'RHEL-6.5'}, {u'status': u'Running', u'family': u'RedHatEnterpriseLinux6', u'variant': u'Client', u'system': u'example.comm', u'result': u'Pass', u'arch': u'x86_64', u'id': u'1784725', u'distro': u'RHEL-6.5'}], u'result': {u'_ansible_parsed': True, u'changed': True, u'_ansible_no_log': False, u'success': False, u'res': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}, u'_ansible_item_result': True, u'ids': [u'1784724', u'1784725'], u'invocation': {u'module_name': u'bkr_server', u'module_args': {u'job_group': u'ci-ops-central', u'state': u'present', u'cancel_message': u'Job canceled by Ansible', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}}, u'_ansible_item_label': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}}, u'invocation': {u'module_name': u'bkr_info', u'module_args': {u'max_attempts': 60, u'ids': [u'1784724', u'1784725'], u'skip_no_system': False}}, u'_ansible_item_label': {u'_ansible_parsed': True, u'changed': True, u'_ansible_no_log': False, u'success': False, u'res': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}, u'_ansible_item_result': True, u'ids': [u'1784724', u'1784725'], u'invocation': {u'module_name': u'bkr_server', u'module_args': {u'cancel_message': u'Job canceled by Ansible', u'state': u'present', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}}, u'_ansible_item_label': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}}})
  386.  
  387. TASK [beaker : Initiating Teardown of beaker resource group] *******************
  388. skipping: [localhost] => (item=[{u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}, u'/home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/outputs/cinch-test.output.yaml'])
  389.  
  390. PLAY [Writing contents to file] ************************************************
  391.  
  392. TASK [output_writer : include_vars] ********************************************
  393. ok: [localhost]
  394.  
  395. TASK [output_writer : Updating topology_outputs] *******************************
  396. ok: [localhost]
  397.  
  398. TASK [output_writer : Create output directories] *******************************
  399. ok: [localhost] => (item=/home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/outputs)
  400. ok: [localhost] => (item=/home/vagrant/devel/linch-pin/provision/../inventory)
  401.  
  402. TASK [output_writer : DEBUG:: topology_outputs] ********************************
  403. ok: [localhost] => {
  404. "msg": {
  405. "aws_cfn_res": [],
  406. "aws_ec2_key_res": [],
  407. "aws_ec2_res": [],
  408. "aws_s3_res": [],
  409. "beaker_res": [
  410. {
  411. "arch": "x86_64",
  412. "distro": "RHEL-6.5",
  413. "family": "RedHatEnterpriseLinux6",
  414. "id": "1784724",
  415. "result": "Pass",
  416. "status": "Running",
  417. "system": "example.com",
  418. "variant": "Client"
  419. },
  420. {
  421. "arch": "x86_64",
  422. "distro": "RHEL-6.5",
  423. "family": "RedHatEnterpriseLinux6",
  424. "id": "1784725",
  425. "result": "Pass",
  426. "status": "Running",
  427. "system": "example.comm",
  428. "variant": "Client"
  429. }
  430. ],
  431. "duffy_res": [],
  432. "gcloud_gce_res": [],
  433. "libvirt_res": [],
  434. "os_heat_res": [],
  435. "os_keypair_res": [],
  436. "os_obj_res": [],
  437. "os_server_res": [],
  438. "os_sg_res": [],
  439. "os_volume_res": [],
  440. "rax_server_res": []
  441. }
  442. }
  443.  
  444. TASK [output_writer : DEBUG:: inventory_layout] ********************************
  445. <redacted>
  446. TASK [output_writer : Generate outputs when async is false] ********************
  447. changed: [localhost]
  448.  
  449. TASK [output_writer : Async:: Updating topology_outputs] ***********************
  450. skipping: [localhost]
  451.  
  452. TASK [output_writer : register var for async_outputs_os_server] ****************
  453. skipping: [localhost]
  454.  
  455. TASK [output_writer : Wait on jobs] ********************************************
  456.  
  457. TASK [output_writer : register var for async_outputs_os_obj] *******************
  458. skipping: [localhost]
  459.  
  460. TASK [output_writer : Wait on jobs] ********************************************
  461.  
  462. TASK [output_writer : register var for async_outputs_os_obj] *******************
  463. skipping: [localhost]
  464.  
  465. TASK [output_writer : Wait on jobs] ********************************************
  466.  
  467. TASK [output_writer : register var for async_outputs_os_server] ****************
  468. skipping: [localhost]
  469.  
  470. TASK [output_writer : Wait on jobs] ********************************************
  471.  
  472. TASK [output_writer : register var for async_outputs_aws_ec2] ******************
  473. skipping: [localhost]
  474.  
  475. TASK [output_writer : Wait on jobs] ********************************************
  476.  
  477. TASK [output_writer : register var for async_outputs_aws_ec2] ******************
  478. skipping: [localhost]
  479.  
  480. TASK [output_writer : Wait on jobs] ********************************************
  481.  
  482. TASK [output_writer : register var for async_outputs_aws_ec2] ******************
  483. skipping: [localhost]
  484.  
  485. TASK [output_writer : Wait on jobs] ********************************************
  486.  
  487. TASK [output_writer : Async:: Updating topology_outputs after wait] ************
  488. skipping: [localhost]
  489.  
  490. TASK [output_writer : Generate outputs when async is true] *********************
  491. skipping: [localhost]
  492.  
  493. TASK [output_writer : set name for linchpin_output_file for inventory generation] ***
  494. ok: [localhost]
  495.  
  496. PLAY [inventory generation role] ***********************************************
  497.  
  498. TASK [inventory_gen : include_vars] ********************************************
  499. ok: [localhost]
  500.  
  501. TASK [inventory_gen : Updating topology_outputs] *******************************
  502. ok: [localhost]
  503.  
  504. TASK [inventory_gen : DEBUG:: inventory_layout] ********************************
  505. <redacted>
  506.  
  507. TASK [inventory_gen : Parse inventory layout as a ordered dict] ****************
  508. ok: [localhost]
  509.  
  510. TASK [inventory_gen : DEBUG:: inventory_outputs_path ##########] ***************
  511. ok: [localhost] => {
  512. "msg": "/home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/inventories"
  513. }
  514.  
  515. TASK [inventory_gen : Updating inventory_output_file with the absolute path] ***
  516. ok: [localhost]
  517.  
  518. TASK [inventory_gen : Generate Generic Inventory] ******************************
  519. ok: [localhost]
  520.  
  521. PLAY RECAP *********************************************************************
  522. localhost : ok=32 changed=3 unreachable=0 failed=0
  523.  
  524.  
  525.  
  526. 5 directories, 7 files
  527. (linchpin) [vagrant@localhost beaker]$ linchpin drop
  528. debug:: searching linchpin_config file from path ::
  529. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linchpin_config.yml
  530. debug:: searching linchpin_config file from path ::
  531. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linch-pin/linchpin_config.yml
  532. debug:: searching linchpin_config file from path ::
  533. ~/.linchpin_config.yml
  534. debug:: searching linchpin_config file from path ::
  535. /home/vagrant/devel/linch-pin/linchpin_config.yml
  536. debug:: File found returning ::
  537. /home/vagrant/devel/linch-pin/linchpin_config.yml
  538. debug:: searching linchpin_config file from path ::
  539. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linchpin_config.yml
  540. debug:: searching linchpin_config file from path ::
  541. /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/linch-pin/linchpin_config.yml
  542. debug:: searching linchpin_config file from path ::
  543. ~/.linchpin_config.yml
  544. debug:: searching linchpin_config file from path ::
  545. /home/vagrant/devel/linch-pin/linchpin_config.yml
  546. debug:: File found returning ::
  547. /home/vagrant/devel/linch-pin/linchpin_config.yml
  548. debug::print file path
  549. /home/vagrant/devel/linch-pin/linchpin_config.yml
  550. Finding topology in local folder ./topology
  551. debug:: module path ::/home/vagrant/devel/linch-pin/library
  552.  
  553. PLAY [including the configuration files] ***************************************
  554.  
  555. TASK [Include linchpin_config] *************************************************
  556. ok: [localhost] => (item=/home/vagrant/devel/linch-pin/linchpin_config.yml)
  557.  
  558. PLAY [schema check and Pre Provisioning Activities on topology_file] **********
  559.  
  560. TASK [common : DEBUG: topology and schema] *************************************
  561. ok: [localhost] => {
  562. "msg": "topology: /home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/topologies/cinch.yml schema: /home/vagrant/devel/linch-pin/provision/../ex_schemas/schema_v3.json"
  563. }
  564.  
  565. TASK [common : schema check for given topology file] ***************************
  566. ok: [localhost]
  567.  
  568. TASK [common : set fact for saving topology_job_ids] ***************************
  569. ok: [localhost]
  570.  
  571. TASK [common : filtering the output for openstack resource groups] *************
  572. ok: [localhost]
  573.  
  574. TASK [common : filtering the output for aws resource groups] *******************
  575. ok: [localhost]
  576.  
  577. TASK [common : filtering the output for google cloud resource groups] **********
  578. ok: [localhost]
  579.  
  580. TASK [common : filtering the output for duffy resource groups] *****************
  581. ok: [localhost]
  582.  
  583. TASK [common : filtering the output for libvirt resource groups] ***************
  584. ok: [localhost]
  585.  
  586. TASK [common : filtering the output for rackspace resource groups] *************
  587. ok: [localhost]
  588.  
  589. TASK [common : filtering the output for beaker] ********************************
  590. ok: [localhost]
  591.  
  592. TASK [common : Registering resource group vars from topology] ******************
  593. skipping: [localhost]
  594.  
  595. TASK [common : output vars] ****************************************************
  596. ok: [localhost]
  597.  
  598. PLAY [Provisioning resources based on resource group type] *********************
  599.  
  600. TASK [openstack : DEBUG:: Openstack resource group list] ***********************
  601. skipping: [localhost]
  602.  
  603. TASK [openstack : declaring output vars] ***************************************
  604. skipping: [localhost]
  605.  
  606. TASK [openstack : Initiating Provisioning/Deprovioning of resources Openstack resource group] ***
  607.  
  608. TASK [aws : Provisioning aws resources] ****************************************
  609. skipping: [localhost]
  610.  
  611. TASK [aws : declaring output vars] *********************************************
  612. skipping: [localhost]
  613.  
  614. TASK [aws : Initiating Provisioning of resources aws resource group] **********
  615.  
  616. TASK [aws : Initiating teardown of resources aws resource group] **************
  617.  
  618. TASK [gcloud : DEBUG:: gcloud resource group list] *****************************
  619. skipping: [localhost]
  620.  
  621. TASK [gcloud : declaring output vars for topology outputs of gce] **************
  622. skipping: [localhost]
  623.  
  624. TASK [gcloud : Initiating Provisioning of resources in gcloud resource group] *
  625.  
  626. TASK [duffy : DEBUG:: Duffy resource group list] *******************************
  627. skipping: [localhost]
  628.  
  629. TASK [duffy : declaring output vars] *******************************************
  630. skipping: [localhost]
  631.  
  632. TASK [duffy : Initiating Provisioning of duffy resource group] *****************
  633.  
  634. TASK [duffy : Initiating Teardown of duffy resource group] *********************
  635.  
  636. TASK [libvirt : declaring output vars] *****************************************
  637. skipping: [localhost]
  638.  
  639. TASK [libvirt : Initiating libvirt resource group] *****************************
  640.  
  641. TASK [rackspace : DEBUG:: rackspace resource group list] ***********************
  642. skipping: [localhost]
  643.  
  644. TASK [rackspace : declaring output vars] ***************************************
  645. skipping: [localhost]
  646.  
  647. TASK [rackspace : Initiating Provisioning/Deprovioning of resources rackspace resource group] ***
  648.  
  649. TASK [beaker : allocate beaker outputs] ****************************************
  650. ok: [localhost]
  651.  
  652. TASK [beaker : debug] **********************************************************
  653. skipping: [localhost]
  654.  
  655. TASK [beaker : provision beaker systems] ***************************************
  656. skipping: [localhost] => (item={u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]})
  657.  
  658. TASK [beaker : fetch beaker details] *******************************************
  659. skipping: [localhost] => (item={u'skipped': True, u'_ansible_no_log': False, u'skip_reason': u'Conditional check failed', u'res': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}, u'_ansible_item_result': True, u'changed': False, u'_ansible_item_label': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}})
  660.  
  661. TASK [beaker : debug] **********************************************************
  662. skipping: [localhost]
  663.  
  664. TASK [beaker : append beaker outputs] ******************************************
  665. skipping: [localhost] => (item={u'skipped': True, u'_ansible_no_log': False, u'skip_reason': u'Conditional check failed', u'_ansible_item_result': True, u'result': {u'skipped': True, u'_ansible_no_log': False, u'skip_reason': u'Conditional check failed', u'res': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}, u'_ansible_item_result': True, u'changed': False, u'_ansible_item_label': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}}, u'changed': False, u'_ansible_item_label': {u'skipped': True, u'_ansible_no_log': False, u'skip_reason': u'Conditional check failed', u'res': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}, u'_ansible_item_result': True, u'changed': False, u'_ansible_item_label': {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}}})
  666.  
  667. TASK [beaker : Initiating Teardown of beaker resource group] *******************
  668. included: /home/vagrant/devel/linch-pin/provision/roles/beaker/tasks/teardown_resource_group.yml for localhost
  669.  
  670. TASK [beaker : DEBUG:: teardown of resource group {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]}] ***
  671. ok: [localhost] => {
  672. "msg": "The current server obj is {u'resource_group_name': u'cinch-group', u'res_group_type': u'beaker', u'job_group': u'ci-ops-central', u'recipesets': [{u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'}]} "
  673. }
  674.  
  675. TASK [beaker : Parsing topology output file] ***********************************
  676. changed: [localhost]
  677.  
  678. TASK [beaker : debug topo_output] **********************************************
  679. ok: [localhost] => {
  680. "topo_output['output']['content']['beaker_res']": [
  681. {
  682. "arch": "x86_64",
  683. "distro": "RHEL-6.5",
  684. "family": "RedHatEnterpriseLinux6",
  685. "id": "1784724",
  686. "result": "Pass",
  687. "status": "Running",
  688. "system": "example.com",
  689. "variant": "Client"
  690. },
  691. {
  692. "arch": "x86_64",
  693. "distro": "RHEL-6.5",
  694. "family": "RedHatEnterpriseLinux6",
  695. "id": "1784725",
  696. "result": "Pass",
  697. "status": "Running",
  698. "system": "example.comm",
  699. "variant": "Client"
  700. }
  701. ]
  702. }
  703.  
  704. TASK [beaker : init job_ids] ***************************************************
  705. ok: [localhost]
  706.  
  707. TASK [beaker : build job_id list] **********************************************
  708. ok: [localhost] => (item={u'status': u'Running', u'family': u'RedHatEnterpriseLinux6', u'variant': u'Client', u'system': u'example.com', u'result': u'Pass', u'arch': u'x86_64', u'id': u'1784724', u'distro': u'RHEL-6.5'})
  709. ok: [localhost] => (item={u'status': u'Running', u'family': u'RedHatEnterpriseLinux6', u'variant': u'Client', u'system': u'example.comm', u'result': u'Pass', u'arch': u'x86_64', u'id': u'1784725', u'distro': u'RHEL-6.5'})
  710.  
  711. TASK [beaker : job_ids] ********************************************************
  712. ok: [localhost] => {
  713. "job_ids": [
  714. "J:1784724",
  715. "J:1784725"
  716. ]
  717. }
  718.  
  719. TASK [beaker : make ids a dict] ************************************************
  720. ok: [localhost]
  721.  
  722. TASK [beaker : combine dicts] **************************************************
  723. ok: [localhost] => (item={u'count': 2, u'hostrequire': [u'arch=X86_64'], u'arches': [u'X86_64'], u'keyvalue': [u'MEMORY>1000', u'DISKSPACE>20000'], u'arch': u'x86_64', u'distro': u'RHEL-6.5'})
  724.  
  725. TASK [beaker : combined] *******************************************************
  726. ok: [localhost] => {
  727. "combined": {
  728. "arch": "x86_64",
  729. "arches": [
  730. "X86_64"
  731. ],
  732. "count": 2,
  733. "distro": "RHEL-6.5",
  734. "hostrequire": [
  735. "arch=X86_64"
  736. ],
  737. "ids": [
  738. "J:1784724",
  739. "J:1784725"
  740. ],
  741. "keyvalue": [
  742. "MEMORY>1000",
  743. "DISKSPACE>20000"
  744. ]
  745. }
  746. }
  747.  
  748. TASK [beaker : teardown beaker systems] ****************************************
  749. changed: [localhost]
  750.  
  751. PLAY [Writing contents to file] ************************************************
  752.  
  753. TASK [output_writer : include_vars] ********************************************
  754. skipping: [localhost]
  755.  
  756. TASK [output_writer : Updating topology_outputs] *******************************
  757. ok: [localhost]
  758.  
  759. TASK [output_writer : Create output directories] *******************************
  760. ok: [localhost] => (item=/home/vagrant/devel/cinch-docs-internal/examples/linch-pin-topologies/beaker/outputs)
  761. ok: [localhost] => (item=/home/vagrant/devel/linch-pin/provision/../inventory)
  762.  
  763. TASK [output_writer : DEBUG:: topology_outputs] ********************************
  764. ok: [localhost] => {
  765. "msg": {
  766. "aws_cfn_res": [],
  767. "aws_ec2_key_res": [],
  768. "aws_ec2_res": [],
  769. "aws_s3_res": [],
  770. "beaker_res": [],
  771. "duffy_res": [],
  772. "gcloud_gce_res": [],
  773. "libvirt_res": [],
  774. "os_heat_res": [],
  775. "os_keypair_res": [],
  776. "os_obj_res": [],
  777. "os_server_res": [],
  778. "os_sg_res": [],
  779. "os_volume_res": [],
  780. "rax_server_res": []
  781. }
  782. }
  783.  
  784. TASK [output_writer : DEBUG:: inventory_layout] ********************************
  785. skipping: [localhost]
  786.  
  787. TASK [output_writer : Generate outputs when async is false] ********************
  788. skipping: [localhost]
  789.  
  790. TASK [output_writer : Async:: Updating topology_outputs] ***********************
  791. skipping: [localhost]
  792.  
  793. TASK [output_writer : register var for async_outputs_os_server] ****************
  794. skipping: [localhost]
  795.  
  796. TASK [output_writer : Wait on jobs] ********************************************
  797.  
  798. TASK [output_writer : register var for async_outputs_os_obj] *******************
  799. skipping: [localhost]
  800.  
  801. TASK [output_writer : Wait on jobs] ********************************************
  802.  
  803. TASK [output_writer : register var for async_outputs_os_obj] *******************
  804. skipping: [localhost]
  805.  
  806. TASK [output_writer : Wait on jobs] ********************************************
  807.  
  808. TASK [output_writer : register var for async_outputs_os_server] ****************
  809. skipping: [localhost]
  810.  
  811. TASK [output_writer : Wait on jobs] ********************************************
  812.  
  813. TASK [output_writer : register var for async_outputs_aws_ec2] ******************
  814. skipping: [localhost]
  815.  
  816. TASK [output_writer : Wait on jobs] ********************************************
  817.  
  818. TASK [output_writer : register var for async_outputs_aws_ec2] ******************
  819. skipping: [localhost]
  820.  
  821. TASK [output_writer : Wait on jobs] ********************************************
  822.  
  823. TASK [output_writer : register var for async_outputs_aws_ec2] ******************
  824. skipping: [localhost]
  825.  
  826. TASK [output_writer : Wait on jobs] ********************************************
  827.  
  828. TASK [output_writer : Async:: Updating topology_outputs after wait] ************
  829. skipping: [localhost]
  830.  
  831. TASK [output_writer : Generate outputs when async is true] *********************
  832. skipping: [localhost]
  833.  
  834. TASK [output_writer : set name for linchpin_output_file for inventory generation] ***
  835. skipping: [localhost]
  836.  
  837. PLAY [inventory generation role] ***********************************************
  838.  
  839. TASK [inventory_gen : include_vars] ********************************************
  840. skipping: [localhost]
  841.  
  842. TASK [inventory_gen : Updating topology_outputs] *******************************
  843. skipping: [localhost]
  844.  
  845. TASK [inventory_gen : DEBUG:: inventory_layout] ********************************
  846. skipping: [localhost]
  847.  
  848. TASK [inventory_gen : Parse inventory layout as a ordered dict] ****************
  849. skipping: [localhost]
  850.  
  851. TASK [inventory_gen : DEBUG:: inventory_outputs_path ##########] ***************
  852. skipping: [localhost]
  853.  
  854. TASK [inventory_gen : Updating inventory_output_file with the absolute path] ***
  855. skipping: [localhost]
  856.  
  857. TASK [inventory_gen : Generate Generic Inventory] ******************************
  858. skipping: [localhost]
  859.  
  860. PLAY RECAP *********************************************************************
  861. localhost : ok=27 changed=2 unreachable=0 failed=0
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement