Revision ff467024
Added by Thomas McKay almost 6 years ago
test/fixtures/vcr_cassettes/resources/content_hosts/export_subscriptions.yml | ||
---|---|---|
465 | 465 |
message: OK |
466 | 466 |
headers: |
467 | 467 |
Date: |
468 |
- Mon, 27 Mar 2017 18:05:51 GMT
|
|
468 |
- Mon, 27 Mar 2017 18:35:26 GMT
|
|
469 | 469 |
Server: |
470 | 470 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
471 | 471 |
X-Frame-Options: |
... | ... | |
483 | 483 |
Cache-Control: |
484 | 484 |
- max-age=0, private, must-revalidate |
485 | 485 |
X-Request-Id: |
486 |
- dc72e752-4b59-4f39-bd0e-ca6e4b23c3ec
|
|
486 |
- 5a57a06c-94e7-47b5-ba87-8b4cfa9d87ec
|
|
487 | 487 |
X-Runtime: |
488 |
- '0.031958'
|
|
488 |
- '0.040879'
|
|
489 | 489 |
X-Powered-By: |
490 | 490 |
- Phusion Passenger 4.0.18 |
491 | 491 |
Etag: |
... | ... | |
497 | 497 |
Content-Type: |
498 | 498 |
- application/json; charset=utf-8 |
499 | 499 |
Set-Cookie: |
500 |
- _session_id=ca6cb940a24d8086a63f9b9bca349da1; path=/; secure; HttpOnly
|
|
500 |
- _session_id=0d4a8e8acfad19c11744aa784bdcf7f0; path=/; secure; HttpOnly
|
|
501 | 501 |
body: |
502 | 502 |
encoding: UTF-8 |
503 | 503 |
string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}' |
504 | 504 |
http_version: |
505 |
recorded_at: Mon, 27 Mar 2017 18:05:58 GMT
|
|
505 |
recorded_at: Mon, 27 Mar 2017 18:35:33 GMT
|
|
506 | 506 |
- request: |
507 | 507 |
method: get |
508 | 508 |
uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins |
... | ... | |
524 | 524 |
message: OK |
525 | 525 |
headers: |
526 | 526 |
Date: |
527 |
- Mon, 27 Mar 2017 18:05:51 GMT
|
|
527 |
- Mon, 27 Mar 2017 18:35:26 GMT
|
|
528 | 528 |
Server: |
529 | 529 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
530 | 530 |
X-Frame-Options: |
... | ... | |
542 | 542 |
Cache-Control: |
543 | 543 |
- max-age=0, private, must-revalidate |
544 | 544 |
X-Request-Id: |
545 |
- 3074e8df-131f-4e0a-b3c7-25aaf190267f
|
|
545 |
- 72e4bbae-5668-4bba-be30-680beaab4205
|
|
546 | 546 |
X-Runtime: |
547 |
- '0.029677'
|
|
547 |
- '0.048142'
|
|
548 | 548 |
X-Powered-By: |
549 | 549 |
- Phusion Passenger 4.0.18 |
550 | 550 |
Etag: |
... | ... | |
558 | 558 |
Content-Type: |
559 | 559 |
- application/json; charset=utf-8 |
560 | 560 |
Set-Cookie: |
561 |
- _session_id=76256cae226058dd7523f369934e863c; path=/; secure; HttpOnly
|
|
561 |
- _session_id=c381ce84f7559c92507e24a0bfb4f1ff; path=/; secure; HttpOnly
|
|
562 | 562 |
body: |
563 | 563 |
encoding: ASCII-8BIT |
564 | 564 |
string: !binary |- |
... | ... | |
637 | 637 |
ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2 |
638 | 638 |
ZXJzaW9uIjoiMS4wLjEzIn1dCn0K |
639 | 639 |
http_version: |
640 |
recorded_at: Mon, 27 Mar 2017 18:05:58 GMT
|
|
640 |
recorded_at: Mon, 27 Mar 2017 18:35:33 GMT
|
|
641 | 641 |
- request: |
642 | 642 |
method: get |
643 | 643 |
uri: https://devel.example.com:50083/apidoc/v2.en.json |
... | ... | |
663 | 663 |
message: OK |
664 | 664 |
headers: |
665 | 665 |
Date: |
666 |
- Mon, 27 Mar 2017 18:05:51 GMT
|
|
666 |
- Mon, 27 Mar 2017 18:35:26 GMT
|
|
667 | 667 |
Server: |
668 | 668 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
669 | 669 |
X-Frame-Options: |
... | ... | |
681 | 681 |
Apipie-Checksum: |
682 | 682 |
- e1df2e8d43e22495b02a53b48e3b5298 |
683 | 683 |
X-Request-Id: |
684 |
- 69aacbde-fcbf-49c4-b67c-bfd12ae02e33
|
|
684 |
- 2e8b7393-4485-4015-bc13-57b3461147b3
|
|
685 | 685 |
X-Runtime: |
686 |
- '0.006642'
|
|
686 |
- '0.004859'
|
|
687 | 687 |
X-Powered-By: |
688 | 688 |
- Phusion Passenger 4.0.18 |
689 | 689 |
Status: |
... | ... | |
20322 | 20322 |
Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu |
20323 | 20323 |
ZW4uaHRtbCJ9fQ== |
20324 | 20324 |
http_version: |
20325 |
recorded_at: Mon, 27 Mar 2017 18:05:58 GMT
|
|
20325 |
recorded_at: Mon, 27 Mar 2017 18:35:33 GMT
|
|
20326 | 20326 |
- request: |
20327 | 20327 |
method: get |
20328 | 20328 |
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?full_results=true |
... | ... | |
20348 | 20348 |
message: OK |
20349 | 20349 |
headers: |
20350 | 20350 |
Date: |
20351 |
- Mon, 27 Mar 2017 18:05:52 GMT
|
|
20351 |
- Mon, 27 Mar 2017 18:35:27 GMT
|
|
20352 | 20352 |
Server: |
20353 | 20353 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
20354 | 20354 |
X-Frame-Options: |
... | ... | |
20366 | 20366 |
Cache-Control: |
20367 | 20367 |
- max-age=0, private, must-revalidate |
20368 | 20368 |
X-Request-Id: |
20369 |
- 208bf81d-a17a-4144-a855-c45070dda03c
|
|
20369 |
- 9e5f0421-af92-4234-b244-fc106d3b6ce6
|
|
20370 | 20370 |
X-Runtime: |
20371 |
- '0.084367'
|
|
20371 |
- '0.056352'
|
|
20372 | 20372 |
X-Powered-By: |
20373 | 20373 |
- Phusion Passenger 4.0.18 |
20374 | 20374 |
Etag: |
20375 |
- '"c19a9ec0c44c3ce2af3dae673f2a45e0-gzip"'
|
|
20375 |
- '"73a5bc88d138c8b8b28447e7d89ee3cd-gzip"'
|
|
20376 | 20376 |
Status: |
20377 | 20377 |
- 200 OK |
20378 | 20378 |
Vary: |
... | ... | |
20382 | 20382 |
Content-Type: |
20383 | 20383 |
- application/json; charset=utf-8 |
20384 | 20384 |
Set-Cookie: |
20385 |
- _session_id=c85aa5a40ae8a273906a8a313107a2ca; path=/; secure; HttpOnly
|
|
20385 |
- _session_id=4113ffb8aa9df785f278b13025a72a54; path=/; secure; HttpOnly
|
|
20386 | 20386 |
body: |
20387 | 20387 |
encoding: ASCII-8BIT |
20388 | 20388 |
string: | |
... | ... | |
20396 | 20396 |
"by": null, |
20397 | 20397 |
"order": null |
20398 | 20398 |
}, |
20399 |
"results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:45:39 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
|
|
20399 |
"results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
|
|
20400 | 20400 |
} |
20401 | 20401 |
http_version: |
20402 |
recorded_at: Mon, 27 Mar 2017 18:05:58 GMT
|
|
20402 |
recorded_at: Mon, 27 Mar 2017 18:35:33 GMT
|
|
20403 | 20403 |
- request: |
20404 | 20404 |
method: get |
20405 | 20405 |
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22 |
... | ... | |
20425 | 20425 |
message: OK |
20426 | 20426 |
headers: |
20427 | 20427 |
Date: |
20428 |
- Mon, 27 Mar 2017 18:05:52 GMT
|
|
20428 |
- Mon, 27 Mar 2017 18:35:27 GMT
|
|
20429 | 20429 |
Server: |
20430 | 20430 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
20431 | 20431 |
X-Frame-Options: |
... | ... | |
20443 | 20443 |
Cache-Control: |
20444 | 20444 |
- max-age=0, private, must-revalidate |
20445 | 20445 |
X-Request-Id: |
20446 |
- 10164379-1a51-42f7-addd-374842ee46d3
|
|
20446 |
- 1c673ba1-0339-4a2b-b3e1-60faf7298715
|
|
20447 | 20447 |
X-Runtime: |
20448 |
- '0.082090'
|
|
20448 |
- '0.036272'
|
|
20449 | 20449 |
X-Powered-By: |
20450 | 20450 |
- Phusion Passenger 4.0.18 |
20451 | 20451 |
Etag: |
20452 |
- '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
|
|
20452 |
- '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
|
|
20453 | 20453 |
Status: |
20454 | 20454 |
- 200 OK |
20455 | 20455 |
Vary: |
... | ... | |
20459 | 20459 |
Content-Type: |
20460 | 20460 |
- application/json; charset=utf-8 |
20461 | 20461 |
Set-Cookie: |
20462 |
- _session_id=0b598684671f08e4f0663e3412f704d2; path=/; secure; HttpOnly
|
|
20462 |
- _session_id=4acfd011ee115961fa3ee1f68d044734; path=/; secure; HttpOnly
|
|
20463 | 20463 |
body: |
20464 | 20464 |
encoding: ASCII-8BIT |
20465 | 20465 |
string: | |
... | ... | |
20473 | 20473 |
"by": null, |
20474 | 20474 |
"order": null |
20475 | 20475 |
}, |
20476 |
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:45:39 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
|
|
20476 |
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
|
|
20477 | 20477 |
} |
20478 | 20478 |
http_version: |
20479 |
recorded_at: Mon, 27 Mar 2017 18:05:58 GMT
|
|
20479 |
recorded_at: Mon, 27 Mar 2017 18:35:33 GMT
|
|
20480 | 20480 |
- request: |
20481 | 20481 |
method: get |
20482 | 20482 |
uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?per_page=1&search |
... | ... | |
20502 | 20502 |
message: OK |
20503 | 20503 |
headers: |
20504 | 20504 |
Date: |
20505 |
- Mon, 27 Mar 2017 18:05:52 GMT
|
|
20505 |
- Mon, 27 Mar 2017 18:35:27 GMT
|
|
20506 | 20506 |
Server: |
20507 | 20507 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
20508 | 20508 |
X-Frame-Options: |
... | ... | |
20520 | 20520 |
Cache-Control: |
20521 | 20521 |
- max-age=0, private, must-revalidate |
20522 | 20522 |
X-Request-Id: |
20523 |
- 870232f7-24ba-46fe-a24d-210ea2f9c5a4
|
|
20523 |
- 81cdf67b-d7b0-4b2d-8ffb-8c6f5ace63f1
|
|
20524 | 20524 |
X-Runtime: |
20525 |
- '0.112050'
|
|
20525 |
- '0.127672'
|
|
20526 | 20526 |
X-Powered-By: |
20527 | 20527 |
- Phusion Passenger 4.0.18 |
20528 | 20528 |
Etag: |
20529 |
- '"c7b5f9500f4b16e2a0ccdab75fa46175-gzip"'
|
|
20529 |
- '"aa071a3b0682e7e6e0310fa5e49927ac-gzip"'
|
|
20530 | 20530 |
Status: |
20531 | 20531 |
- 200 OK |
20532 | 20532 |
Vary: |
... | ... | |
20536 | 20536 |
Content-Type: |
20537 | 20537 |
- application/json; charset=utf-8 |
20538 | 20538 |
Set-Cookie: |
20539 |
- _session_id=efc488f23f7ab3456486989b5b0d9fa6; path=/; secure; HttpOnly
|
|
20539 |
- _session_id=c72ae2261641955ab1fa7767b186f760; path=/; secure; HttpOnly
|
|
20540 | 20540 |
body: |
20541 | 20541 |
encoding: ASCII-8BIT |
20542 | 20542 |
string: | |
... | ... | |
20550 | 20550 |
"by": null, |
20551 | 20551 |
"order": null |
20552 | 20552 |
}, |
20553 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6}]
|
|
20553 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6}]
|
|
20554 | 20554 |
} |
20555 | 20555 |
http_version: |
20556 |
recorded_at: Mon, 27 Mar 2017 18:05:58 GMT
|
|
20556 |
recorded_at: Mon, 27 Mar 2017 18:35:33 GMT
|
|
20557 | 20557 |
- request: |
20558 | 20558 |
method: get |
20559 | 20559 |
uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?page=1&per_page=20&search |
... | ... | |
20579 | 20579 |
message: OK |
20580 | 20580 |
headers: |
20581 | 20581 |
Date: |
20582 |
- Mon, 27 Mar 2017 18:05:52 GMT
|
|
20582 |
- Mon, 27 Mar 2017 18:35:27 GMT
|
|
20583 | 20583 |
Server: |
20584 | 20584 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
20585 | 20585 |
X-Frame-Options: |
... | ... | |
20597 | 20597 |
Cache-Control: |
20598 | 20598 |
- max-age=0, private, must-revalidate |
20599 | 20599 |
X-Request-Id: |
20600 |
- cf7edb50-0d00-4f9d-89bc-54c82a490623
|
|
20600 |
- 68090e0c-fd81-442a-99ac-f84a508b9212
|
|
20601 | 20601 |
X-Runtime: |
20602 |
- '0.179756'
|
|
20602 |
- '0.161666'
|
|
20603 | 20603 |
X-Powered-By: |
20604 | 20604 |
- Phusion Passenger 4.0.18 |
20605 | 20605 |
Etag: |
20606 |
- '"45ecf6e7a477c9531ef71cc8635b2810-gzip"'
|
|
20606 |
- '"790c22d6d1fcf8c0b08afacb06f8909f-gzip"'
|
|
20607 | 20607 |
Status: |
20608 | 20608 |
- 200 OK |
20609 | 20609 |
Vary: |
... | ... | |
20613 | 20613 |
Content-Type: |
20614 | 20614 |
- application/json; charset=utf-8 |
20615 | 20615 |
Set-Cookie: |
20616 |
- _session_id=db8a79b0fcbddf0b82e4c4dae0a6b571; path=/; secure; HttpOnly
|
|
20616 |
- _session_id=7440905cfc46c2ed6f22513244c19128; path=/; secure; HttpOnly
|
|
20617 | 20617 |
body: |
20618 | 20618 |
encoding: ASCII-8BIT |
20619 | 20619 |
string: | |
... | ... | |
20627 | 20627 |
"by": null, |
20628 | 20628 |
"order": null |
20629 | 20629 |
}, |
20630 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
|
|
20630 |
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
|
|
20631 | 20631 |
} |
20632 | 20632 |
http_version: |
20633 |
recorded_at: Mon, 27 Mar 2017 18:05:58 GMT
|
|
20633 |
recorded_at: Mon, 27 Mar 2017 18:35:33 GMT
|
|
20634 | 20634 |
- request: |
20635 | 20635 |
method: get |
20636 | 20636 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/7 |
... | ... | |
20656 | 20656 |
message: OK |
20657 | 20657 |
headers: |
20658 | 20658 |
Date: |
20659 |
- Mon, 27 Mar 2017 18:05:52 GMT
|
|
20659 |
- Mon, 27 Mar 2017 18:35:27 GMT
|
|
20660 | 20660 |
Server: |
20661 | 20661 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
20662 | 20662 |
X-Frame-Options: |
... | ... | |
20674 | 20674 |
Cache-Control: |
20675 | 20675 |
- max-age=0, private, must-revalidate |
20676 | 20676 |
X-Request-Id: |
20677 |
- 55ebc162-1758-4bd8-baf8-dcd61cb4d276
|
|
20677 |
- cc52bf49-0c53-4d2e-b1c3-2e2e440a54ee
|
|
20678 | 20678 |
X-Runtime: |
20679 |
- '0.357148'
|
|
20679 |
- '0.324124'
|
|
20680 | 20680 |
X-Powered-By: |
20681 | 20681 |
- Phusion Passenger 4.0.18 |
20682 | 20682 |
Etag: |
20683 |
- '"e448a5d58bd7bf77d82743a538004059-gzip"'
|
|
20683 |
- '"f06552997466e07602f8d7e5d026e2db-gzip"'
|
|
20684 | 20684 |
Status: |
20685 | 20685 |
- 200 OK |
20686 | 20686 |
Vary: |
... | ... | |
20690 | 20690 |
Content-Type: |
20691 | 20691 |
- application/json; charset=utf-8 |
20692 | 20692 |
Set-Cookie: |
20693 |
- _session_id=5e83732a4a7b1ac3633a8bb3ffaa38c3; path=/; secure; HttpOnly
|
|
20693 |
- _session_id=9f5056cf46f2afefc73912d9f80376c8; path=/; secure; HttpOnly
|
|
20694 | 20694 |
body: |
20695 | 20695 |
encoding: ASCII-8BIT |
20696 | 20696 |
string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 |
20697 |
19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01
|
|
20697 |
19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01
|
|
20698 | 20698 |
19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test |
20699 | 20699 |
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could |
20700 | 20700 |
not calculate errata status, ensure host is registered and katello-agent is |
... | ... | |
20706 | 20706 |
Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-01T19:38:31.891+0000","updated":"2016-12-01T19:38:31.891+0000"}]},"content_host_id":6,"parameters":[],"interfaces":[{"id":7,"name":"testphysical","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testphysical","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"8","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test |
20707 | 20707 |
Corporation/testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-01T19:38:30+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}' |
20708 | 20708 |
http_version: |
20709 |
recorded_at: Mon, 27 Mar 2017 18:05:59 GMT
|
|
20709 |
recorded_at: Mon, 27 Mar 2017 18:35:34 GMT
|
|
20710 | 20710 |
- request: |
20711 | 20711 |
method: get |
20712 | 20712 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/6 |
... | ... | |
20732 | 20732 |
message: OK |
20733 | 20733 |
headers: |
20734 | 20734 |
Date: |
20735 |
- Mon, 27 Mar 2017 18:05:52 GMT
|
|
20735 |
- Mon, 27 Mar 2017 18:35:27 GMT
|
|
20736 | 20736 |
Server: |
20737 | 20737 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
20738 | 20738 |
X-Frame-Options: |
... | ... | |
20750 | 20750 |
Cache-Control: |
20751 | 20751 |
- max-age=0, private, must-revalidate |
20752 | 20752 |
X-Request-Id: |
20753 |
- 793c94a0-e6e1-4702-86ab-0c9a3de90175
|
|
20753 |
- a7ec232e-9b3b-4160-95da-0d67092b67a6
|
|
20754 | 20754 |
X-Runtime: |
20755 |
- '0.313766'
|
|
20755 |
- '0.411189'
|
|
20756 | 20756 |
X-Powered-By: |
20757 | 20757 |
- Phusion Passenger 4.0.18 |
20758 | 20758 |
Etag: |
20759 |
- '"e46e20167be651c7a23bc7ab096d6df7-gzip"'
|
|
20759 |
- '"645c7a2212b1806ef5700003b42abd8f-gzip"'
|
|
20760 | 20760 |
Status: |
20761 | 20761 |
- 200 OK |
20762 | 20762 |
Vary: |
... | ... | |
20766 | 20766 |
Content-Type: |
20767 | 20767 |
- application/json; charset=utf-8 |
20768 | 20768 |
Set-Cookie: |
20769 |
- _session_id=5a841d3b6f20b24b031e7ab0ee58b38f; path=/; secure; HttpOnly
|
|
20769 |
- _session_id=10bfca779e8824658552a8d11d267592; path=/; secure; HttpOnly
|
|
20770 | 20770 |
body: |
20771 | 20771 |
encoding: ASCII-8BIT |
20772 | 20772 |
string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 |
20773 |
19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01
|
|
20773 |
19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01
|
|
20774 | 20774 |
19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test |
20775 | 20775 |
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could |
20776 | 20776 |
not calculate errata status, ensure host is registered and katello-agent is |
... | ... | |
20782 | 20782 |
Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-01T19:37:19.374+0000","updated":"2016-12-01T19:37:19.374+0000"}]},"content_host_id":5,"parameters":[],"interfaces":[{"id":6,"name":"testvm","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testvm","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"4","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test |
20783 | 20783 |
Corporation/testvm","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-01T19:37:06+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}' |
20784 | 20784 |
http_version: |
20785 |
recorded_at: Mon, 27 Mar 2017 18:05:59 GMT
|
|
20785 |
recorded_at: Mon, 27 Mar 2017 18:35:34 GMT
|
|
20786 | 20786 |
- request: |
20787 | 20787 |
method: get |
20788 | 20788 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/7/subscriptions?full_results=true&organization_id=3 |
... | ... | |
20808 | 20808 |
message: OK |
20809 | 20809 |
headers: |
20810 | 20810 |
Date: |
20811 |
- Mon, 27 Mar 2017 18:05:53 GMT
|
|
20811 |
- Mon, 27 Mar 2017 18:35:28 GMT
|
|
20812 | 20812 |
Server: |
20813 | 20813 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
20814 | 20814 |
X-Frame-Options: |
... | ... | |
20826 | 20826 |
Cache-Control: |
20827 | 20827 |
- max-age=0, private, must-revalidate |
20828 | 20828 |
X-Request-Id: |
20829 |
- 43957269-ffad-48b2-bd2e-5ff05b5557a5
|
|
20829 |
- eb854c6a-77ae-49ea-b3ae-376e6c7288d3
|
|
20830 | 20830 |
X-Runtime: |
20831 |
- '0.278961'
|
|
20831 |
- '0.254439'
|
|
20832 | 20832 |
X-Powered-By: |
20833 | 20833 |
- Phusion Passenger 4.0.18 |
20834 | 20834 |
Etag: |
... | ... | |
20842 | 20842 |
Content-Type: |
20843 | 20843 |
- application/json; charset=utf-8 |
20844 | 20844 |
Set-Cookie: |
20845 |
- _session_id=7a0d4892022192b2e411bccb835ad698; path=/; secure; HttpOnly
|
|
20845 |
- _session_id=58acba1d222f8168527f72fba90c63ce; path=/; secure; HttpOnly
|
|
20846 | 20846 |
body: |
20847 | 20847 |
encoding: ASCII-8BIT |
20848 | 20848 |
string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red |
... | ... | |
20851 | 20851 |
|
20852 | 20852 |
' |
20853 | 20853 |
http_version: |
20854 |
recorded_at: Mon, 27 Mar 2017 18:05:59 GMT
|
|
20854 |
recorded_at: Mon, 27 Mar 2017 18:35:34 GMT
|
|
20855 | 20855 |
- request: |
20856 | 20856 |
method: get |
20857 | 20857 |
uri: https://admin:changeme@devel.example.com:50083/api/hosts/6/subscriptions?full_results=true&organization_id=3 |
... | ... | |
20877 | 20877 |
message: OK |
20878 | 20878 |
headers: |
20879 | 20879 |
Date: |
20880 |
- Mon, 27 Mar 2017 18:05:53 GMT
|
|
20880 |
- Mon, 27 Mar 2017 18:35:28 GMT
|
|
20881 | 20881 |
Server: |
20882 | 20882 |
- Apache/2.4.6 (Red Hat Enterprise Linux) |
20883 | 20883 |
X-Frame-Options: |
... | ... | |
20895 | 20895 |
Cache-Control: |
20896 | 20896 |
- max-age=0, private, must-revalidate |
20897 | 20897 |
X-Request-Id: |
20898 |
- 5e5bc538-35c3-4d47-9442-41b32d8ce5db
|
|
20898 |
- c0257ad4-5aaf-4f62-a331-deac85819483
|
|
20899 | 20899 |
X-Runtime: |
20900 |
- '0.249313'
|
|
20900 |
- '0.286593'
|
|
20901 | 20901 |
X-Powered-By: |
20902 | 20902 |
- Phusion Passenger 4.0.18 |
20903 | 20903 |
Etag: |
... | ... | |
20911 | 20911 |
Content-Type: |
20912 | 20912 |
- application/json; charset=utf-8 |
20913 | 20913 |
Set-Cookie: |
20914 |
- _session_id=4a8e878977d9d7722bdcd45eac2db39a; path=/; secure; HttpOnly
|
|
20914 |
- _session_id=d425d547f79e5faf54ad10a9897ae5a8; path=/; secure; HttpOnly
|
|
20915 | 20915 |
body: |
20916 | 20916 |
encoding: ASCII-8BIT |
20917 | 20917 |
string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red |
... | ... | |
20920 | 20920 |
|
20921 | 20921 |
' |
20922 | 20922 |
http_version: |
20923 |
recorded_at: Mon, 27 Mar 2017 18:06:00 GMT
|
|
20923 |
recorded_at: Mon, 27 Mar 2017 18:35:35 GMT
|
|
20924 | 20924 |
recorded_with: VCR 3.0.3 |
Also available in: Unified diff
vcr - full re-record