Project

General

Profile

Revision f370cc85

Added by Thomas McKay over 6 years ago

fixes #16501 - subnets import not setting proxies

Changed the vcr recording by adding --reload-cache to all the hammer commands. This hopefully will avoid the intermittent failures due to fetching the v2.json.

View differences:

test/fixtures/vcr_cassettes/resources/content_hosts_import/create_and_update.yml
22681 22681
  recorded_at: Tue, 16 Aug 2016 19:38:32 GMT
22682 22682
- request:
22683 22683
    method: get
22684
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/15/subscriptions
22685
    body:
22686
      encoding: US-ASCII
22687
      string: ''
22688
    headers:
22689
      Accept:
22690
      - application/json;version=2
22691
      Accept-Encoding:
22692
      - gzip, deflate
22693
      User-Agent:
22694
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
22695
      Content-Type:
22696
      - application/json
22697
      Host:
22698
      - katello.example.com:50191
22699
  response:
22700
    status:
22701
      code: 200
22702
      message: OK
22703
    headers:
22704
      Date:
22705
      - Wed, 07 Sep 2016 12:00:58 GMT
22706
      Server:
22707
      - Apache/2.4.6 (CentOS)
22708
      X-Frame-Options:
22709
      - SAMEORIGIN
22710
      X-Xss-Protection:
22711
      - 1; mode=block
22712
      X-Content-Type-Options:
22713
      - nosniff
22714
      Foreman-Version:
22715
      - 1.13.0-develop
22716
      Foreman-Api-Version:
22717
      - '2'
22718
      Content-Type:
22719
      - application/json; charset=utf-8
22720
      Apipie-Checksum:
22721
      - 9544abef9cf8343005f07ed8c9f1f8e7
22722
      Etag:
22723
      - W/"28f980ca6d7d7d8bdbe90747a65a208f-gzip"
22724
      Cache-Control:
22725
      - max-age=0, private, must-revalidate
22726
      X-Request-Id:
22727
      - ae8b5e7a-cf97-4137-9195-2fff1a2a1e10
22728
      X-Runtime:
22729
      - '0.268705'
22730
      Via:
22731
      - 1.1 katello.example.com:50191
22732
      Vary:
22733
      - Accept-Encoding
22734
      Content-Length:
22735
      - '119'
22736
      Set-Cookie:
22737
      - _session_id=109743957f70bcbdea2bf974b6ad3b09; path=/; HttpOnly
22738
    body:
22739
      encoding: ASCII-8BIT
22740
      string: |
22741
        {"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
22742
    http_version: 
22743
  recorded_at: Wed, 07 Sep 2016 12:00:59 GMT
22744
- request:
22745
    method: put
22746
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/15
22747
    body:
22748
      encoding: UTF-8
22749
      string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":7,"content_view_id":4},"subscription_facet_attributes":{"facts":{"system.certificate_version":"3.2","network.hostname":"testhost1","cpu.core(s)_per_socket":"1","cpu.cpu_socket(s)":"1","memory.memtotal":"4","uname.machine":"x86_64","distribution.name":"RHEL","distribution.version":"6.4","virt.is_guest":false,"cpu.cpu(s)":1},"installed_products":null,"service_level":null}}}'
22750
    headers:
22751
      Accept:
22752
      - application/json;version=2
22753
      Accept-Encoding:
22754
      - gzip, deflate
22755
      User-Agent:
22756
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
22757
      Content-Type:
22758
      - application/json
22759
      Content-Length:
22760
      - '438'
22761
      Host:
22762
      - katello.example.com:50191
22763
  response:
22764
    status:
22765
      code: 200
22766
      message: OK
22767
    headers:
22768
      Date:
22769
      - Wed, 07 Sep 2016 12:01:04 GMT
22770
      Server:
22771
      - Apache/2.4.6 (CentOS)
22772
      X-Frame-Options:
22773
      - SAMEORIGIN
22774
      X-Xss-Protection:
22775
      - 1; mode=block
22776
      X-Content-Type-Options:
22777
      - nosniff
22778
      Foreman-Version:
22779
      - 1.13.0-develop
22780
      Foreman-Api-Version:
22781
      - '2'
22782
      Content-Type:
22783
      - application/json; charset=utf-8
22784
      Apipie-Checksum:
22785
      - 9544abef9cf8343005f07ed8c9f1f8e7
22786
      Etag:
22787
      - W/"39c551c41557f9200c55ccf346a6b2c3-gzip"
22788
      Cache-Control:
22789
      - max-age=0, private, must-revalidate
22790
      X-Request-Id:
22791
      - ddeab840-e044-413e-9468-5ca5fc0bb561
22792
      X-Runtime:
22793
      - '2.005716'
22794
      Via:
22795
      - 1.1 katello.example.com:50191
22796
      Vary:
22797
      - Accept-Encoding
22798
      Content-Length:
22799
      - '3405'
22800
      Set-Cookie:
22801
      - _session_id=511a8f14c6d14c922a747a579dffe31e; path=/; HttpOnly
22802
      - request_method=PUT; path=/
22803
    body:
22804
      encoding: ASCII-8BIT
22805
      string: '{"ip":null,"ip6":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,"subnet6_id":null,"subnet6_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":"testhost1","image_id":null,"image_name":null,"created_at":"2016-09-07
22806
        12:00:54 UTC","updated_at":"2016-09-07 12:00:58 UTC","last_compile":"2016-09-07
22807
        12:00:57 UTC","global_status":1,"global_status_label":"Warning","organization_id":9,"organization_name":"Test
22808
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":1,"errata_status_label":"Could
22809
        not calculate errata status, ensure host is registered and katello-agent is
22810
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":15,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":14,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","content_view_id":4,"content_view_name":"Default
22811
        Organization View","lifecycle_environment_id":7,"lifecycle_environment_name":"Library","content_view":{"id":4,"name":"Default
22812
        Organization View"},"lifecycle_environment":{"id":7,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":4,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_global_status":0,"subscription_facet_attributes":{"id":14,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","last_checkin":"2016-09-07
22813
        12:00:54 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-07
22814
        12:00:56 UTC","registered_through":null,"activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[]},"content_host_id":14,"interfaces":[{"id":17,"name":"testhost1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"parameters":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt":null,"distribution":null,"uname":null,"memory":null,"cpu":null,"network":null,"system":null,"_timestamp":"2016-09-07T08:00:57-04:00","cpu::cpu(s)":"1","virt::is_guest":"false","distribution::version":"6.4","distribution::name":"RHEL","uname::machine":"x86_64","memory::memtotal":"4","cpu::cpu_socket(s)":"1","cpu::core(s)_per_socket":"1","network::hostname":"testhost1","system::certificate_version":"3.2"},"content_source_id":null,"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}}'
22815
    http_version: 
22816
  recorded_at: Wed, 07 Sep 2016 12:01:07 GMT
22817
- request:
22818
    method: get
22819
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/15/subscriptions
22820
    body:
22821
      encoding: US-ASCII
22822
      string: ''
22823
    headers:
22824
      Accept:
22825
      - application/json;version=2
22826
      Accept-Encoding:
22827
      - gzip, deflate
22828
      User-Agent:
22829
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
22830
      Content-Type:
22831
      - application/json
22832
      Host:
22833
      - katello.example.com:50191
22834
  response:
22835
    status:
22836
      code: 200
22837
      message: OK
22838
    headers:
22839
      Date:
22840
      - Wed, 07 Sep 2016 12:01:06 GMT
22841
      Server:
22842
      - Apache/2.4.6 (CentOS)
22843
      X-Frame-Options:
22844
      - SAMEORIGIN
22845
      X-Xss-Protection:
22846
      - 1; mode=block
22847
      X-Content-Type-Options:
22848
      - nosniff
22849
      Foreman-Version:
22850
      - 1.13.0-develop
22851
      Foreman-Api-Version:
22852
      - '2'
22853
      Content-Type:
22854
      - application/json; charset=utf-8
22855
      Apipie-Checksum:
22856
      - 9544abef9cf8343005f07ed8c9f1f8e7
22857
      Etag:
22858
      - W/"28f980ca6d7d7d8bdbe90747a65a208f-gzip"
22859
      Cache-Control:
22860
      - max-age=0, private, must-revalidate
22861
      X-Request-Id:
22862
      - 9a869954-e9f8-4b1a-9b9e-8929f6d00b13
22863
      X-Runtime:
22864
      - '1.386750'
22865
      Via:
22866
      - 1.1 katello.example.com:50191
22867
      Vary:
22868
      - Accept-Encoding
22869
      Content-Length:
22870
      - '119'
22871
      Set-Cookie:
22872
      - _session_id=cbbdedc2ad06e436adab43adbaa4d347; path=/; HttpOnly
22873
    body:
22874
      encoding: ASCII-8BIT
22875
      string: |
22876
        {"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
22877
    http_version: 
22878
  recorded_at: Wed, 07 Sep 2016 12:01:08 GMT
22879
- request:
22880
    method: delete
22881
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/15
22882
    body:
22883
      encoding: US-ASCII
22884
      string: ''
22885
    headers:
22886
      Accept:
22887
      - application/json;version=2
22888
      Accept-Encoding:
22889
      - gzip, deflate
22890
      User-Agent:
22891
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
22892
      Content-Type:
22893
      - application/json
22894
      Accept-Language:
22895
      - en
22896
      Host:
22897
      - katello.example.com:50191
22898
  response:
22899
    status:
22900
      code: 200
22901
      message: OK
22902
    headers:
22903
      Date:
22904
      - Wed, 07 Sep 2016 12:01:10 GMT
22905
      Server:
22906
      - Apache/2.4.6 (CentOS)
22907
      X-Frame-Options:
22908
      - SAMEORIGIN
22909
      X-Xss-Protection:
22910
      - 1; mode=block
22911
      X-Content-Type-Options:
22912
      - nosniff
22913
      Foreman-Version:
22914
      - 1.13.0-develop
22915
      Foreman-Api-Version:
22916
      - '2'
22917
      Content-Type:
22918
      - application/json; charset=utf-8
22919
      Apipie-Checksum:
22920
      - 9544abef9cf8343005f07ed8c9f1f8e7
22921
      Etag:
22922
      - W/"2705f4e869720db84dd5d0e41c5307a2-gzip"
22923
      Cache-Control:
22924
      - max-age=0, private, must-revalidate
22925
      X-Request-Id:
22926
      - 7aa35664-4c1c-4924-b331-0a150e187785
22927
      X-Runtime:
22928
      - '3.138341'
22929
      Via:
22930
      - 1.1 katello.example.com:50191
22931
      Vary:
22932
      - Accept-Encoding
22933
      Content-Length:
22934
      - '1347'
22935
      Set-Cookie:
22936
      - _session_id=3130b75da47284cd13a7fcf9647f17d6; path=/; HttpOnly
22937
      - request_method=DELETE; path=/
22938
    body:
22939
      encoding: ASCII-8BIT
22940
      string: '{"id":15,"name":"testhost1","last_compile":"2016-09-07T12:00:57.000Z","last_report":null,"updated_at":"2016-09-07T12:00:58.202Z","created_at":"2016-09-07T12:00:54.493Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":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,"puppet_proxy_id":null,"certname":"testhost1","image_id":null,"organization_id":9,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","content_view_id":null,"lifecycle_environment_id":null,"global_status":1,"lookup_value_matcher":"fqdn=testhost1","pxe_loader":null,"content_facet_attributes":{"id":14,"host_id":15,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","content_view_id":4,"lifecycle_environment_id":7,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":14,"host_id":15,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","last_checkin":"2016-09-07T12:00:54.644Z","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-07T12:00:56.376Z","registered_through":null}}'
22941
    http_version: 
22942
  recorded_at: Wed, 07 Sep 2016 12:01:14 GMT
22943
- request:
22944
    method: get
22945
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/37/subscriptions
22946
    body:
22947
      encoding: US-ASCII
22948
      string: ''
22949
    headers:
22950
      Accept:
22951
      - application/json;version=2
22952
      Accept-Encoding:
22953
      - gzip, deflate
22954
      User-Agent:
22955
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
22956
      Content-Type:
22957
      - application/json
22958
      Host:
22959
      - katello.example.com:50191
22960
  response:
22961
    status:
22962
      code: 200
22963
      message: OK
22964
    headers:
22965
      Date:
22966
      - Fri, 09 Sep 2016 19:53:42 GMT
22967
      Server:
22968
      - Apache/2.4.6 (CentOS)
22969
      X-Frame-Options:
22970
      - SAMEORIGIN
22971
      X-Xss-Protection:
22972
      - 1; mode=block
22973
      X-Content-Type-Options:
22974
      - nosniff
22975
      Foreman-Version:
22976
      - 1.14.0-develop
22977
      Foreman-Api-Version:
22978
      - '2'
22979
      Content-Type:
22980
      - application/json; charset=utf-8
22981
      Apipie-Checksum:
22982
      - 9544abef9cf8343005f07ed8c9f1f8e7
22983
      Etag:
22984
      - W/"28f980ca6d7d7d8bdbe90747a65a208f-gzip"
22985
      Cache-Control:
22986
      - max-age=0, private, must-revalidate
22987
      X-Request-Id:
22988
      - 26b47dac-cc0c-4532-9eac-b42bac316b85
22989
      X-Runtime:
22990
      - '1.324722'
22991
      Via:
22992
      - 1.1 katello.example.com:50191
22993
      Vary:
22994
      - Accept-Encoding
22995
      Content-Length:
22996
      - '119'
22997
      Set-Cookie:
22998
      - _session_id=04691f6435ae620438a7c42d1219a416; path=/; HttpOnly
22999
    body:
23000
      encoding: ASCII-8BIT
23001
      string: |
23002
        {"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
23003
    http_version: 
23004
  recorded_at: Fri, 09 Sep 2016 19:53:43 GMT
23005
- request:
23006
    method: put
23007
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/37
23008
    body:
23009
      encoding: UTF-8
23010
      string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":7,"content_view_id":4},"subscription_facet_attributes":{"facts":{"system.certificate_version":"3.2","network.hostname":"testhost1","cpu.core(s)_per_socket":"1","cpu.cpu_socket(s)":"1","memory.memtotal":"4","uname.machine":"x86_64","distribution.name":"RHEL","distribution.version":"6.4","virt.is_guest":false,"cpu.cpu(s)":1},"installed_products":null,"service_level":null}}}'
23011
    headers:
23012
      Accept:
23013
      - application/json;version=2
23014
      Accept-Encoding:
23015
      - gzip, deflate
23016
      User-Agent:
23017
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
23018
      Content-Type:
23019
      - application/json
23020
      Content-Length:
23021
      - '438'
23022
      Host:
23023
      - katello.example.com:50191
23024
  response:
23025
    status:
23026
      code: 200
23027
      message: OK
23028
    headers:
23029
      Date:
23030
      - Fri, 09 Sep 2016 19:53:50 GMT
23031
      Server:
23032
      - Apache/2.4.6 (CentOS)
23033
      X-Frame-Options:
23034
      - SAMEORIGIN
23035
      X-Xss-Protection:
23036
      - 1; mode=block
23037
      X-Content-Type-Options:
23038
      - nosniff
23039
      Foreman-Version:
23040
      - 1.14.0-develop
23041
      Foreman-Api-Version:
23042
      - '2'
23043
      Content-Type:
23044
      - application/json; charset=utf-8
23045
      Apipie-Checksum:
23046
      - 9544abef9cf8343005f07ed8c9f1f8e7
23047
      Etag:
23048
      - W/"67fd405949c12b8b1a55c87c6135e258-gzip"
23049
      Cache-Control:
23050
      - max-age=0, private, must-revalidate
23051
      X-Request-Id:
23052
      - 9d0f799f-31ed-4522-b000-53bd6f80334b
23053
      X-Runtime:
23054
      - '3.196649'
23055
      Via:
23056
      - 1.1 katello.example.com:50191
23057
      Vary:
23058
      - Accept-Encoding
23059
      Content-Length:
23060
      - '3384'
23061
      Set-Cookie:
23062
      - _session_id=626eb1fbc060a59fc30d062698e7620d; path=/; HttpOnly
23063
      - request_method=PUT; path=/
23064
    body:
23065
      encoding: ASCII-8BIT
23066
      string: '{"ip":null,"ip6":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,"subnet6_id":null,"subnet6_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":"testhost1","image_id":null,"image_name":null,"created_at":"2016-09-09
23067
        19:53:37 UTC","updated_at":"2016-09-09 19:53:41 UTC","last_compile":"2016-09-09
23068
        19:53:41 UTC","global_status":1,"global_status_label":"Warning","organization_id":9,"organization_name":"Test
23069
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":1,"errata_status_label":"Could
23070
        not calculate errata status, ensure host is registered and katello-agent is
23071
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":37,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":36,"uuid":"aa569fae-4420-4edc-ba0b-b3cf2e9237b5","content_view_id":4,"content_view_name":"Default
23072
        Organization View","lifecycle_environment_id":7,"lifecycle_environment_name":"Library","content_view":{"id":4,"name":"Default
23073
        Organization View"},"lifecycle_environment":{"id":7,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":4,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_global_status":0,"subscription_facet_attributes":{"id":36,"uuid":"aa569fae-4420-4edc-ba0b-b3cf2e9237b5","last_checkin":"2016-09-09
23074
        19:53:37 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-09
23075
        19:53:39 UTC","registered_through":null,"activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[]},"interfaces":[{"id":39,"name":"testhost1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"parameters":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt":null,"distribution":null,"uname":null,"memory":null,"cpu":null,"network":null,"system":null,"_timestamp":"2016-09-09T15:53:41-04:00","cpu::cpu(s)":"1","virt::is_guest":"false","distribution::version":"6.4","distribution::name":"RHEL","uname::machine":"x86_64","memory::memtotal":"4","cpu::cpu_socket(s)":"1","cpu::core(s)_per_socket":"1","network::hostname":"testhost1","system::certificate_version":"3.2"},"content_source_id":null,"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}}'
23076
    http_version: 
23077
  recorded_at: Fri, 09 Sep 2016 19:53:54 GMT
23078
- request:
23079
    method: get
23080
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/37/subscriptions
23081
    body:
23082
      encoding: US-ASCII
23083
      string: ''
23084
    headers:
23085
      Accept:
23086
      - application/json;version=2
23087
      Accept-Encoding:
23088
      - gzip, deflate
23089
      User-Agent:
23090
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
23091
      Content-Type:
23092
      - application/json
23093
      Host:
23094
      - katello.example.com:50191
23095
  response:
23096
    status:
23097
      code: 200
23098
      message: OK
23099
    headers:
23100
      Date:
23101
      - Fri, 09 Sep 2016 19:53:53 GMT
23102
      Server:
23103
      - Apache/2.4.6 (CentOS)
23104
      X-Frame-Options:
23105
      - SAMEORIGIN
23106
      X-Xss-Protection:
23107
      - 1; mode=block
23108
      X-Content-Type-Options:
23109
      - nosniff
23110
      Foreman-Version:
23111
      - 1.14.0-develop
23112
      Foreman-Api-Version:
23113
      - '2'
23114
      Content-Type:
23115
      - application/json; charset=utf-8
23116
      Apipie-Checksum:
23117
      - 9544abef9cf8343005f07ed8c9f1f8e7
23118
      Etag:
23119
      - W/"28f980ca6d7d7d8bdbe90747a65a208f-gzip"
23120
      Cache-Control:
23121
      - max-age=0, private, must-revalidate
23122
      X-Request-Id:
23123
      - 9c743fed-89e1-42b2-b99d-bee61fad8cfb
23124
      X-Runtime:
23125
      - '0.301532'
23126
      Via:
23127
      - 1.1 katello.example.com:50191
23128
      Vary:
23129
      - Accept-Encoding
23130
      Content-Length:
23131
      - '119'
23132
      Set-Cookie:
23133
      - _session_id=8973b3e4f6480836cb34ea71a6c1e5fb; path=/; HttpOnly
23134
    body:
23135
      encoding: ASCII-8BIT
23136
      string: |
23137
        {"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
23138
    http_version: 
23139
  recorded_at: Fri, 09 Sep 2016 19:53:54 GMT
23140
- request:
23141
    method: delete
23142
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/37
23143
    body:
23144
      encoding: US-ASCII
23145
      string: ''
23146
    headers:
23147
      Accept:
23148
      - application/json;version=2
23149
      Accept-Encoding:
23150
      - gzip, deflate
23151
      User-Agent:
23152
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.1.10p492
23153
      Content-Type:
23154
      - application/json
23155
      Accept-Language:
23156
      - en
23157
      Host:
23158
      - katello.example.com:50191
23159
  response:
23160
    status:
23161
      code: 200
23162
      message: OK
23163
    headers:
23164
      Date:
23165
      - Fri, 09 Sep 2016 19:53:57 GMT
23166
      Server:
23167
      - Apache/2.4.6 (CentOS)
23168
      X-Frame-Options:
23169
      - SAMEORIGIN
23170
      X-Xss-Protection:
23171
      - 1; mode=block
23172
      X-Content-Type-Options:
23173
      - nosniff
23174
      Foreman-Version:
23175
      - 1.14.0-develop
23176
      Foreman-Api-Version:
23177
      - '2'
23178
      Content-Type:
23179
      - application/json; charset=utf-8
23180
      Apipie-Checksum:
23181
      - 9544abef9cf8343005f07ed8c9f1f8e7
23182
      Etag:
23183
      - W/"fdf59d79d8f4a8323fb80fe5ac5afa67-gzip"
23184
      Cache-Control:
23185
      - max-age=0, private, must-revalidate
23186
      X-Request-Id:
23187
      - f4813ccf-97a5-4d97-9f6d-9066b0270118
23188
      X-Runtime:
23189
      - '3.007681'
23190
      Via:
23191
      - 1.1 katello.example.com:50191
23192
      Vary:
23193
      - Accept-Encoding
23194
      Content-Length:
23195
      - '1347'
23196
      Set-Cookie:
23197
      - _session_id=f5d21363f93060f84de5a192f828ab95; path=/; HttpOnly
23198
      - request_method=DELETE; path=/
23199
    body:
23200
      encoding: ASCII-8BIT
23201
      string: '{"id":37,"name":"testhost1","last_compile":"2016-09-09T19:53:41.000Z","last_report":null,"updated_at":"2016-09-09T19:53:41.889Z","created_at":"2016-09-09T19:53:37.634Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":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,"puppet_proxy_id":null,"certname":"testhost1","image_id":null,"organization_id":9,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","content_view_id":null,"lifecycle_environment_id":null,"global_status":1,"lookup_value_matcher":"fqdn=testhost1","pxe_loader":null,"content_facet_attributes":{"id":36,"host_id":37,"uuid":"aa569fae-4420-4edc-ba0b-b3cf2e9237b5","content_view_id":4,"lifecycle_environment_id":7,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":36,"host_id":37,"uuid":"aa569fae-4420-4edc-ba0b-b3cf2e9237b5","last_checkin":"2016-09-09T19:53:37.820Z","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-09T19:53:39.698Z","registered_through":null}}'
23202
    http_version: 
23203
  recorded_at: Fri, 09 Sep 2016 19:54:01 GMT
23204
- request:
23205
    method: get
22684 23206
    uri: https://admin:changeme@katello.example.com:50191/api/status
22685 23207
    body:
22686 23208
      encoding: US-ASCII
......
22698 23220
      message: OK
22699 23221
    headers:
22700 23222
      Date:
22701
      - Wed, 07 Sep 2016 12:00:50 GMT
23223
      - Fri, 09 Sep 2016 20:02:37 GMT
22702 23224
      Server:
22703 23225
      - Apache/2.4.6 (CentOS)
22704 23226
      X-Frame-Options:
......
22708 23230
      X-Content-Type-Options:
22709 23231
      - nosniff
22710 23232
      Foreman-Version:
22711
      - 1.13.0-develop
23233
      - 1.14.0-develop
22712 23234
      Foreman-Api-Version:
22713 23235
      - '2'
22714 23236
      Content-Type:
......
22716 23238
      Apipie-Checksum:
22717 23239
      - 9544abef9cf8343005f07ed8c9f1f8e7
22718 23240
      Etag:
22719
      - W/"f536fd8685b76bb26a943d472593c93e-gzip"
23241
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
22720 23242
      Cache-Control:
22721 23243
      - max-age=0, private, must-revalidate
22722 23244
      X-Request-Id:
22723
      - 9b11448d-01d2-4b1c-9157-b0b82bc501a6
23245
      - 4ac24f5e-a298-4c3a-8d5f-fceb5ff37e91
22724 23246
      X-Runtime:
22725
      - '0.192219'
23247
      - '0.194707'
22726 23248
      Via:
22727 23249
      - 1.1 katello.example.com:50191
22728 23250
      Vary:
......
22730 23252
      Content-Length:
22731 23253
      - '81'
22732 23254
      Set-Cookie:
22733
      - _session_id=2c0be6883ff864b09149573f6b6224f1; path=/; HttpOnly
23255
      - _session_id=c2342a29d9fe5d9bdf8997bfed78bd3c; path=/; HttpOnly
22734 23256
    body:
22735 23257
      encoding: UTF-8
22736
      string: '{"result":"ok","status":200,"version":"1.13.0-develop","api_version":2}'
23258
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
22737 23259
    http_version: 
22738
  recorded_at: Wed, 07 Sep 2016 12:00:50 GMT
23260
  recorded_at: Fri, 09 Sep 2016 20:02:38 GMT
22739 23261
- request:
22740 23262
    method: get
22741 23263
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
......
22755 23277
      message: OK
22756 23278
    headers:
22757 23279
      Date:
22758
      - Wed, 07 Sep 2016 12:00:50 GMT
23280
      - Fri, 09 Sep 2016 20:02:37 GMT
22759 23281
      Server:
22760 23282
      - Apache/2.4.6 (CentOS)
22761 23283
      X-Frame-Options:
......
22765 23287
      X-Content-Type-Options:
22766 23288
      - nosniff
22767 23289
      Foreman-Version:
22768
      - 1.13.0-develop
23290
      - 1.14.0-develop
22769 23291
      Foreman-Api-Version:
22770 23292
      - '2'
22771 23293
      Content-Type:
......
22773 23295
      Apipie-Checksum:
22774 23296
      - 9544abef9cf8343005f07ed8c9f1f8e7
22775 23297
      Etag:
22776
      - W/"de0a55a439f41ab6fcd72b3d74503dcc-gzip"
23298
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
22777 23299
      Cache-Control:
22778 23300
      - max-age=0, private, must-revalidate
22779 23301
      X-Request-Id:
22780
      - 53ecc5a8-a1bf-4e2e-b52c-2166448b1a90
23302
      - 388ead5a-f7f7-4115-912f-b252f564137b
22781 23303
      X-Runtime:
22782
      - '0.162804'
23304
      - '0.162977'
22783 23305
      Via:
22784 23306
      - 1.1 katello.example.com:50191
22785 23307
      Vary:
22786 23308
      - Accept-Encoding
22787 23309
      Content-Length:
22788
      - '564'
23310
      - '566'
22789 23311
      Set-Cookie:
22790
      - _session_id=6ed20e08722a1590793d8f94d20d2e1f; path=/; HttpOnly
23312
      - _session_id=3f7026a55e111caa78797308c7a52fe2; path=/; HttpOnly
22791 23313
    body:
22792 23314
      encoding: ASCII-8BIT
22793 23315
      string: !binary |-
......
22806 23328
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
22807 23329
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
22808 23330
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
22809
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMCJ9LHsiaWQiOiJmb3JlbWFu
23331
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
22810 23332
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
22811 23333
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
22812 23334
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
......
22817 23339
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
22818 23340
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
22819 23341
    http_version: 
22820
  recorded_at: Wed, 07 Sep 2016 12:00:50 GMT
23342
  recorded_at: Fri, 09 Sep 2016 20:02:38 GMT
22821 23343
- request:
22822 23344
    method: get
22823 23345
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
22841 23363
      message: OK
22842 23364
    headers:
22843 23365
      Date:
22844
      - Wed, 07 Sep 2016 12:00:50 GMT
23366
      - Fri, 09 Sep 2016 20:02:37 GMT
22845 23367
      Server:
22846 23368
      - Apache/2.4.6 (CentOS)
22847 23369
      X-Frame-Options:
......
22851 23373
      X-Content-Type-Options:
22852 23374
      - nosniff
22853 23375
      Foreman-Version:
22854
      - 1.13.0-develop
23376
      - 1.14.0-develop
22855 23377
      Foreman-Api-Version:
22856 23378
      - '2'
22857 23379
      Content-Type:
......
22863 23385
      Cache-Control:
22864 23386
      - max-age=0, private, must-revalidate
22865 23387
      X-Request-Id:
22866
      - 9206a46b-0b18-460e-8991-16f93021b9e2
23388
      - 722d8db2-70ad-41c6-a964-2da4d184e96c
22867 23389
      X-Runtime:
22868
      - '0.209069'
23390
      - '1.270420'
22869 23391
      Via:
22870 23392
      - 1.1 katello.example.com:50191
22871 23393
      Vary:
......
22873 23395
      Content-Length:
22874 23396
      - '388'
22875 23397
      Set-Cookie:
22876
      - _session_id=00e00f4c78a90bfee99cf5a563a95f61; path=/; HttpOnly
23398
      - _session_id=b5acbb5f264fa1af4ccbb236696da339; path=/; HttpOnly
22877 23399
    body:
22878 23400
      encoding: ASCII-8BIT
22879 23401
      string: |
......
22890 23412
          "results": [{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
22891 23413
        }
22892 23414
    http_version: 
22893
  recorded_at: Wed, 07 Sep 2016 12:00:51 GMT
23415
  recorded_at: Fri, 09 Sep 2016 20:02:39 GMT
22894 23416
- request:
22895 23417
    method: get
22896 23418
    uri: https://admin:changeme@katello.example.com:50191/api/organizations/9/hosts?per_page=1
......
22914 23436
      message: OK
22915 23437
    headers:
22916 23438
      Date:
22917
      - Wed, 07 Sep 2016 12:00:50 GMT
23439
      - Fri, 09 Sep 2016 20:02:39 GMT
22918 23440
      Server:
22919 23441
      - Apache/2.4.6 (CentOS)
22920 23442
      X-Frame-Options:
......
22924 23446
      X-Content-Type-Options:
22925 23447
      - nosniff
22926 23448
      Foreman-Version:
22927
      - 1.13.0-develop
23449
      - 1.14.0-develop
22928 23450
      Foreman-Api-Version:
22929 23451
      - '2'
22930 23452
      Content-Type:
......
22936 23458
      Cache-Control:
22937 23459
      - max-age=0, private, must-revalidate
22938 23460
      X-Request-Id:
22939
      - 62bd044e-fb74-457e-8297-bb1348588bc3
23461
      - 9455a214-ea35-4a54-b4f7-7a485b623f73
22940 23462
      X-Runtime:
22941
      - '1.227261'
23463
      - '0.285471'
22942 23464
      Via:
22943 23465
      - 1.1 katello.example.com:50191
22944 23466
      Vary:
......
22946 23468
      Content-Length:
22947 23469
      - '150'
22948 23470
      Set-Cookie:
22949
      - _session_id=e088f3324ea9451f28c76d7e257beaf3; path=/; HttpOnly
23471
      - _session_id=ff5ae3c77cfea6f3134a9a0d957be01f; path=/; HttpOnly
22950 23472
    body:
22951 23473
      encoding: ASCII-8BIT
22952 23474
      string: |
......
22963 23485
          "results": []
22964 23486
        }
22965 23487
    http_version: 
22966
  recorded_at: Wed, 07 Sep 2016 12:00:52 GMT
23488
  recorded_at: Fri, 09 Sep 2016 20:02:40 GMT
22967 23489
- request:
22968 23490
    method: get
22969 23491
    uri: https://admin:changeme@katello.example.com:50191/api/organizations/9/hosts?page=1&per_page=20
......
22987 23509
      message: OK
22988 23510
    headers:
22989 23511
      Date:
22990
      - Wed, 07 Sep 2016 12:00:51 GMT
23512
      - Fri, 09 Sep 2016 20:02:39 GMT
22991 23513
      Server:
22992 23514
      - Apache/2.4.6 (CentOS)
22993 23515
      X-Frame-Options:
......
22997 23519
      X-Content-Type-Options:
22998 23520
      - nosniff
22999 23521
      Foreman-Version:
23000
      - 1.13.0-develop
23522
      - 1.14.0-develop
23001 23523
      Foreman-Api-Version:
23002 23524
      - '2'
23003 23525
      Content-Type:
......
23009 23531
      Cache-Control:
23010 23532
      - max-age=0, private, must-revalidate
23011 23533
      X-Request-Id:
23012
      - dffd2d73-324c-4c11-a8bc-096c8773e625
23534
      - 848b9323-82d9-4edd-858f-dc2b501a1721
23013 23535
      X-Runtime:
23014
      - '0.228356'
23536
      - '0.259329'
23015 23537
      Via:
23016 23538
      - 1.1 katello.example.com:50191
23017 23539
      Vary:
......
23019 23541
      Content-Length:
23020 23542
      - '151'
23021 23543
      Set-Cookie:
23022
      - _session_id=7bbe7b129d302ef44380301bb2781e06; path=/; HttpOnly
23544
      - _session_id=70ba195d6a9410e6f2b1a43d775731f9; path=/; HttpOnly
23023 23545
    body:
23024 23546
      encoding: ASCII-8BIT
23025 23547
      string: |
......
23036 23558
          "results": []
23037 23559
        }
23038 23560
    http_version: 
23039
  recorded_at: Wed, 07 Sep 2016 12:00:52 GMT
23561
  recorded_at: Fri, 09 Sep 2016 20:02:40 GMT
23040 23562
- request:
23041 23563
    method: get
23042 23564
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/environments?per_page=999999
......
23060 23582
      message: OK
23061 23583
    headers:
23062 23584
      Date:
23063
      - Wed, 07 Sep 2016 12:00:52 GMT
23585
      - Fri, 09 Sep 2016 20:02:39 GMT
23064 23586
      Server:
23065 23587
      - Apache/2.4.6 (CentOS)
23066 23588
      X-Frame-Options:
......
23070 23592
      X-Content-Type-Options:
23071 23593
      - nosniff
23072 23594
      Foreman-Version:
23073
      - 1.13.0-develop
23595
      - 1.14.0-develop
23074 23596
      Foreman-Api-Version:
23075 23597
      - '2'
23076 23598
      Content-Type:
......
23078 23600
      Apipie-Checksum:
23079 23601
      - 9544abef9cf8343005f07ed8c9f1f8e7
23080 23602
      Etag:
23081
      - W/"72eb5189b58585476c18e6ca0a61e065-gzip"
23603
      - W/"71a417dc2f3dfb1e7102347ec69b1aea-gzip"
23082 23604
      Cache-Control:
23083 23605
      - max-age=0, private, must-revalidate
23084 23606
      X-Request-Id:
23085
      - 9293e409-a9f2-4b9e-b50b-5cf4fe8fa0a4
23607
      - 0177de9b-38a4-4f90-a414-ca663ba3e2d3
23086 23608
      X-Runtime:
23087
      - '0.395284'
23609
      - '1.830642'
23088 23610
      Via:
23089 23611
      - 1.1 katello.example.com:50191
23090 23612
      Vary:
23091 23613
      - Accept-Encoding
23092 23614
      Content-Length:
23093
      - '819'
23615
      - '3209'
23094 23616
      Set-Cookie:
23095
      - _session_id=dd82e6391e15419418427d85ce2d2e35; path=/; HttpOnly
23617
      - _session_id=c8b2d606ebd1e62b661a8c270b39bb8a; path=/; HttpOnly
23096 23618
    body:
23097 23619
      encoding: ASCII-8BIT
23098 23620
      string: |
23099
        {"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":true,"id":7,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:05 UTC","updated_at":"2016-09-07 01:39:05 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":0,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
23621
        {"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:52 UTC","updated_at":"2016-09-08 17:34:52 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:56 UTC","updated_at":"2016-09-08 17:34:56 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":7,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:05 UTC","updated_at":"2016-09-07 01:39:05 UTC","prior":null,"successor":null,"counts":{"content_hosts":0,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":2,"docker_repositories":0,"ostree_repositories":0,"products":1},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:50 UTC","updated_at":"2016-09-08 17:34:50 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:58 UTC","updated_at":"2016-09-08 17:34:58 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
23100 23622
    http_version: 
23101
  recorded_at: Wed, 07 Sep 2016 12:00:53 GMT
23623
  recorded_at: Fri, 09 Sep 2016 20:02:42 GMT
23102 23624
- request:
23103 23625
    method: get
23104 23626
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/content_views?per_page=999999
......
23122 23644
      message: OK
23123 23645
    headers:
23124 23646
      Date:
23125
      - Wed, 07 Sep 2016 12:00:52 GMT
23647
      - Fri, 09 Sep 2016 20:02:41 GMT
23126 23648
      Server:
23127 23649
      - Apache/2.4.6 (CentOS)
23128 23650
      X-Frame-Options:
......
23132 23654
      X-Content-Type-Options:
23133 23655
      - nosniff
23134 23656
      Foreman-Version:
23135
      - 1.13.0-develop
23657
      - 1.14.0-develop
23136 23658
      Foreman-Api-Version:
23137 23659
      - '2'
23138 23660
      Content-Type:
......
23140 23662
      Apipie-Checksum:
23141 23663
      - 9544abef9cf8343005f07ed8c9f1f8e7
23142 23664
      Etag:
23143
      - W/"743c4dd5d90a19943d91f0ad8dc36aff-gzip"
23665
      - W/"a52550d7b5fb64c9f5aa0fcba24b3738-gzip"
23144 23666
      Cache-Control:
23145 23667
      - max-age=0, private, must-revalidate
23146 23668
      X-Request-Id:
23147
      - 3287b600-ccf3-48fe-8cc6-e5fbec4dab70
23669
      - 3ed5253b-33ce-4736-8cc9-746a27d35a3f
23148 23670
      X-Runtime:
23149
      - '1.328581'
23671
      - '1.475660'
23150 23672
      Via:
23151 23673
      - 1.1 katello.example.com:50191
23152 23674
      Vary:
23153 23675
      - Accept-Encoding
23154 23676
      Content-Length:
23155
      - '945'
23677
      - '1743'
23156 23678
      Set-Cookie:
23157
      - _session_id=89a583c7f604b07f0157cde3e3a89e5b; path=/; HttpOnly
23679
      - _session_id=98a123990e8624ea70773fb098488efb; path=/; HttpOnly
23158 23680
    body:
23159 23681
      encoding: ASCII-8BIT
23160 23682
      string: |
23161
        {"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default Organization View","label":"bd072dcb-fc48-4a08-87c5-4f09acf4c936","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:06 UTC","updated_at":"2016-09-07 01:39:06 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-09-07 01:39:06 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-07 01:39:06 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
23683
        {"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":5,"name":"Test Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:30 UTC","updated_at":"2016-09-08 17:34:33 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":5,"version":"1.0","published":"2016-09-08 17:34:33 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-08 17:34:33 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default Organization View","label":"bd072dcb-fc48-4a08-87c5-4f09acf4c936","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:06 UTC","updated_at":"2016-09-07 01:39:06 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-09-07 01:39:06 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-07 01:39:06 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
23162 23684
    http_version: 
23163
  recorded_at: Wed, 07 Sep 2016 12:00:54 GMT
23685
  recorded_at: Fri, 09 Sep 2016 20:02:43 GMT
23164 23686
- request:
23165 23687
    method: post
23166 23688
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/subscriptions
......
23186 23708
      message: OK
23187 23709
    headers:
23188 23710
      Date:
23189
      - Wed, 07 Sep 2016 12:00:53 GMT
23711
      - Fri, 09 Sep 2016 20:02:43 GMT
23190 23712
      Server:
23191 23713
      - Apache/2.4.6 (CentOS)
23192 23714
      X-Frame-Options:
......
23196 23718
      X-Content-Type-Options:
23197 23719
      - nosniff
23198 23720
      Foreman-Version:
23199
      - 1.13.0-develop
23721
      - 1.14.0-develop
23200 23722
      Foreman-Api-Version:
23201 23723
      - '2'
23202 23724
      Content-Type:
......
23204 23726
      Apipie-Checksum:
23205 23727
      - 9544abef9cf8343005f07ed8c9f1f8e7
23206 23728
      Etag:
23207
      - W/"cf8b16149de7cb8565ab5ba23ff95475-gzip"
23729
      - W/"3a3e2144840a0326b32c1bb56efd4022-gzip"
23208 23730
      Cache-Control:
23209 23731
      - max-age=0, private, must-revalidate
23210 23732
      X-Request-Id:
23211
      - 814ddcc1-7f3d-42e8-af6f-a1d53afcf097
23733
      - f5cf2385-b659-45ff-87d0-300533c23f8c
23212 23734
      X-Runtime:
23213
      - '4.458503'
23735
      - '4.496327'
23214 23736
      Via:
23215 23737
      - 1.1 katello.example.com:50191
23216 23738
      Vary:
......
23218 23740
      Content-Length:
23219 23741
      - '121'
23220 23742
      Set-Cookie:
23221
      - _session_id=87699a497590e4fbcb3f8f5cb5913357; path=/; HttpOnly
23743
      - _session_id=83b1bd78f359c32012798d2ce535f8ae; path=/; HttpOnly
23222 23744
      - request_method=POST; path=/
23223 23745
    body:
23224 23746
      encoding: ASCII-8BIT
23225 23747
      string: |2
23226
          {"id":15,"name":"testhost1","content_view":"Default Organization View","content_view_id":null,"environment":"Library"}
23748
          {"id":39,"name":"testhost1","content_view":"Default Organization View","content_view_id":null,"environment":"Library"}
23227 23749
    http_version: 
23228
  recorded_at: Wed, 07 Sep 2016 12:00:59 GMT
23750
  recorded_at: Fri, 09 Sep 2016 20:02:48 GMT
23229 23751
- request:
23230 23752
    method: get
23231
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/15/subscriptions
23753
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/39/subscriptions
23232 23754
    body:
23233 23755
      encoding: US-ASCII
23234 23756
      string: ''
......
23249 23771
      message: OK
23250 23772
    headers:
23251 23773
      Date:
23252
      - Wed, 07 Sep 2016 12:00:58 GMT
23774
      - Fri, 09 Sep 2016 20:02:47 GMT
23253 23775
      Server:
23254 23776
      - Apache/2.4.6 (CentOS)
23255 23777
      X-Frame-Options:
......
23259 23781
      X-Content-Type-Options:
23260 23782
      - nosniff
23261 23783
      Foreman-Version:
23262
      - 1.13.0-develop
23784
      - 1.14.0-develop
23263 23785
      Foreman-Api-Version:
23264 23786
      - '2'
23265 23787
      Content-Type:
......
23271 23793
      Cache-Control:
23272 23794
      - max-age=0, private, must-revalidate
23273 23795
      X-Request-Id:
23274
      - ae8b5e7a-cf97-4137-9195-2fff1a2a1e10
23796
      - e4dbec6e-d351-426d-a53c-674878fb634e
23275 23797
      X-Runtime:
23276
      - '0.268705'
23798
      - '1.321519'
23277 23799
      Via:
23278 23800
      - 1.1 katello.example.com:50191
23279 23801
      Vary:
......
23281 23803
      Content-Length:
23282 23804
      - '119'
23283 23805
      Set-Cookie:
23284
      - _session_id=109743957f70bcbdea2bf974b6ad3b09; path=/; HttpOnly
23806
      - _session_id=0683bbc7e2a96d69ace6b27238ff8691; path=/; HttpOnly
23285 23807
    body:
23286 23808
      encoding: ASCII-8BIT
23287 23809
      string: |
23288 23810
        {"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
23289 23811
    http_version: 
23290
  recorded_at: Wed, 07 Sep 2016 12:00:59 GMT
23812
  recorded_at: Fri, 09 Sep 2016 20:02:49 GMT
23291 23813
- request:
23292 23814
    method: get
23293 23815
    uri: https://admin:changeme@katello.example.com:50191/api/status
......
23307 23829
      message: OK
23308 23830
    headers:
23309 23831
      Date:
23310
      - Wed, 07 Sep 2016 12:00:58 GMT
23832
      - Fri, 09 Sep 2016 20:02:49 GMT
23311 23833
      Server:
23312 23834
      - Apache/2.4.6 (CentOS)
23313 23835
      X-Frame-Options:
......
23317 23839
      X-Content-Type-Options:
23318 23840
      - nosniff
23319 23841
      Foreman-Version:
23320
      - 1.13.0-develop
23842
      - 1.14.0-develop
23321 23843
      Foreman-Api-Version:
23322 23844
      - '2'
23323 23845
      Content-Type:
......
23325 23847
      Apipie-Checksum:
23326 23848
      - 9544abef9cf8343005f07ed8c9f1f8e7
23327 23849
      Etag:
23328
      - W/"f536fd8685b76bb26a943d472593c93e-gzip"
23850
      - W/"1316c9d778b9181476af8a9546423fb1-gzip"
23329 23851
      Cache-Control:
23330 23852
      - max-age=0, private, must-revalidate
23331 23853
      X-Request-Id:
23332
      - 81aa79e4-d3bd-45f9-93d8-34b467331a00
23854
      - 29090cb8-d838-442e-a10e-2ba7110877ff
23333 23855
      X-Runtime:
23334
      - '1.192613'
23856
      - '0.199112'
23335 23857
      Via:
23336 23858
      - 1.1 katello.example.com:50191
23337 23859
      Vary:
......
23339 23861
      Content-Length:
23340 23862
      - '81'
23341 23863
      Set-Cookie:
23342
      - _session_id=5e8310544dd07411ddef9452a54b9308; path=/; HttpOnly
23864
      - _session_id=c3b4d991a0bf316e6c08e09ea93a4a73; path=/; HttpOnly
23343 23865
    body:
23344 23866
      encoding: UTF-8
23345
      string: '{"result":"ok","status":200,"version":"1.13.0-develop","api_version":2}'
23867
      string: '{"result":"ok","status":200,"version":"1.14.0-develop","api_version":2}'
23346 23868
    http_version: 
23347
  recorded_at: Wed, 07 Sep 2016 12:01:00 GMT
23869
  recorded_at: Fri, 09 Sep 2016 20:02:49 GMT
23348 23870
- request:
23349 23871
    method: get
23350 23872
    uri: https://admin:changeme@katello.example.com:50191/api/v2/plugins
......
23364 23886
      message: OK
23365 23887
    headers:
23366 23888
      Date:
23367
      - Wed, 07 Sep 2016 12:00:59 GMT
23889
      - Fri, 09 Sep 2016 20:02:49 GMT
23368 23890
      Server:
23369 23891
      - Apache/2.4.6 (CentOS)
23370 23892
      X-Frame-Options:
......
23374 23896
      X-Content-Type-Options:
23375 23897
      - nosniff
23376 23898
      Foreman-Version:
23377
      - 1.13.0-develop
23899
      - 1.14.0-develop
23378 23900
      Foreman-Api-Version:
23379 23901
      - '2'
23380 23902
      Content-Type:
......
23382 23904
      Apipie-Checksum:
23383 23905
      - 9544abef9cf8343005f07ed8c9f1f8e7
23384 23906
      Etag:
23385
      - W/"de0a55a439f41ab6fcd72b3d74503dcc-gzip"
23907
      - W/"c547959b2afaff0cf0a8d731005e9365-gzip"
23386 23908
      Cache-Control:
23387 23909
      - max-age=0, private, must-revalidate
23388 23910
      X-Request-Id:
23389
      - f7a7d7e3-09f7-4f56-a4c5-6551e48d4d29
23911
      - 6974eb62-02d7-4998-9f78-3e8c153c7c9d
23390 23912
      X-Runtime:
23391
      - '0.183609'
23913
      - '0.170200'
23392 23914
      Via:
23393 23915
      - 1.1 katello.example.com:50191
23394 23916
      Vary:
23395 23917
      - Accept-Encoding
23396 23918
      Content-Length:
23397
      - '564'
23919
      - '566'
23398 23920
      Set-Cookie:
23399
      - _session_id=5df399ed8cbba406de52040f15f2acb9; path=/; HttpOnly
23921
      - _session_id=88b81dfc84ae015253b1b908fddd5d4f; path=/; HttpOnly
23400 23922
    body:
23401 23923
      encoding: ASCII-8BIT
23402 23924
      string: !binary |-
......
23415 23937
        Y2UuIEl0IGFsc28gb3B0aW9uYWxseSBwcm92aWRlcyBEeW5mbG93IGluZnJh
23416 23938
        c3RydWN0dXJlIGZvciB1c2luZyBpdCBmb3IgbWFuYWdpbmcgdGhlIHRhc2tz
23417 23939
        LlxuIiwidXJsIjoiaHR0cHM6Ly9naXRodWIuY29tL3RoZWZvcmVtYW4vZm9y
23418
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMCJ9LHsiaWQiOiJmb3JlbWFu
23940
        ZW1hbi10YXNrcyIsInZlcnNpb24iOiIwLjguMSJ9LHsiaWQiOiJmb3JlbWFu
23419 23941
        X2RvY2tlciIsIm5hbWUiOiJmb3JlbWFuX2RvY2tlciIsImF1dGhvciI6IkRh
23420 23942
        bmllbCBMb2JhdG8sIEFtb3MgQmVuYXJpIiwiZGVzY3JpcHRpb24iOiJQcm92
23421 23943
        aXNpb24gYW5kIG1hbmFnZSBEb2NrZXIgY29udGFpbmVycyBhbmQgaW1hZ2Vz
......
23426 23948
        ZW1lbnQgcGx1Z2luIGZvciBGb3JlbWFuIiwidXJsIjoiaHR0cDovL3d3dy5r
23427 23949
        YXRlbGxvLm9yZyIsInZlcnNpb24iOiIzLjIuMCJ9XQp9Cg==
23428 23950
    http_version: 
23429
  recorded_at: Wed, 07 Sep 2016 12:01:00 GMT
23951
  recorded_at: Fri, 09 Sep 2016 20:02:50 GMT
23430 23952
- request:
23431 23953
    method: get
23432 23954
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
23450 23972
      message: OK
23451 23973
    headers:
23452 23974
      Date:
23453
      - Wed, 07 Sep 2016 12:01:00 GMT
23975
      - Fri, 09 Sep 2016 20:02:49 GMT
23454 23976
      Server:
23455 23977
      - Apache/2.4.6 (CentOS)
23456 23978
      X-Frame-Options:
......
23460 23982
      X-Content-Type-Options:
23461 23983
      - nosniff
23462 23984
      Foreman-Version:
23463
      - 1.13.0-develop
23985
      - 1.14.0-develop
23464 23986
      Foreman-Api-Version:
23465 23987
      - '2'
23466 23988
      Content-Type:
......
23472 23994
      Cache-Control:
23473 23995
      - max-age=0, private, must-revalidate
23474 23996
      X-Request-Id:
23475
      - d1e2e70b-c8d0-475a-a23e-c8c628ba1b2b
23997
      - 73aa6512-e8b7-48b4-8384-490a165468d7
23476 23998
      X-Runtime:
23477
      - '0.237375'
23999
      - '0.224492'
23478 24000
      Via:
23479 24001
      - 1.1 katello.example.com:50191
23480 24002
      Vary:
......
23482 24004
      Content-Length:
23483 24005
      - '388'
23484 24006
      Set-Cookie:
23485
      - _session_id=2010a7f82d7e1e87a1b25657cdecfb0c; path=/; HttpOnly
24007
      - _session_id=5e233cc4b29783557f4f2563b7de0a74; path=/; HttpOnly
23486 24008
    body:
23487 24009
      encoding: ASCII-8BIT
23488 24010
      string: |
......
23499 24021
          "results": [{"label":"testcorp","created_at":"2016-09-07 01:39:03 UTC","updated_at":"2016-09-07 01:39:03 UTC","id":9,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
23500 24022
        }
23501 24023
    http_version: 
23502
  recorded_at: Wed, 07 Sep 2016 12:01:01 GMT
24024
  recorded_at: Fri, 09 Sep 2016 20:02:50 GMT
23503 24025
- request:
23504 24026
    method: get
23505 24027
    uri: https://admin:changeme@katello.example.com:50191/api/organizations/9/hosts?per_page=1
......
23523 24045
      message: OK
23524 24046
    headers:
23525 24047
      Date:
23526
      - Wed, 07 Sep 2016 12:01:00 GMT
24048
      - Fri, 09 Sep 2016 20:02:49 GMT
23527 24049
      Server:
23528 24050
      - Apache/2.4.6 (CentOS)
23529 24051
      X-Frame-Options:
......
23533 24055
      X-Content-Type-Options:
23534 24056
      - nosniff
23535 24057
      Foreman-Version:
23536
      - 1.13.0-develop
24058
      - 1.14.0-develop
23537 24059
      Foreman-Api-Version:
23538 24060
      - '2'
23539 24061
      Content-Type:
......
23541 24063
      Apipie-Checksum:
23542 24064
      - 9544abef9cf8343005f07ed8c9f1f8e7
23543 24065
      Etag:
23544
      - W/"0facde8d062bbb5d27d2ed925974859d-gzip"
24066
      - W/"55f09bd8e5558f6bbbc0ff46698a3bf1-gzip"
23545 24067
      Cache-Control:
23546 24068
      - max-age=0, private, must-revalidate
23547 24069
      X-Request-Id:
23548
      - 30fe4766-d262-42c0-9e79-f9f70f14891a
24070
      - f134e8da-9b7a-4fe2-964e-67c69ff1a944
23549 24071
      X-Runtime:
23550
      - '1.564091'
24072
      - '1.619736'
23551 24073
      Via:
23552 24074
      - 1.1 katello.example.com:50191
23553 24075
      Vary:
23554 24076
      - Accept-Encoding
23555 24077
      Content-Length:
23556
      - '2397'
24078
      - '2376'
23557 24079
      Set-Cookie:
23558
      - _session_id=c9c2cb2ed60540d725c143f7a527d2b5; path=/; HttpOnly
24080
      - _session_id=93d09c0b2cd31f2b356c05d018f9c6b8; path=/; HttpOnly
23559 24081
    body:
23560 24082
      encoding: ASCII-8BIT
23561 24083
      string: |
......
23569 24091
            "by": null,
23570 24092
            "order": null
23571 24093
          },
23572
          "results": [{"ip":null,"ip6":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,"subnet6_id":null,"subnet6_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":"testhost1","image_id":null,"image_name":null,"created_at":"2016-09-07 12:00:54 UTC","updated_at":"2016-09-07 12:00:58 UTC","last_compile":"2016-09-07 12:00:57 UTC","global_status":1,"global_status_label":"Warning","organization_id":9,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":1,"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":"testhost1","id":15,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":14,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","content_view_id":4,"content_view_name":"Default Organization View","lifecycle_environment_id":7,"lifecycle_environment_name":"Library","content_view":{"id":4,"name":"Default Organization View"},"lifecycle_environment":{"id":7,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_global_status":0,"subscription_facet_attributes":{"id":14,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","last_checkin":"2016-09-07 12:00:54 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-07 12:00:56 UTC","registered_through":null},"content_host_id":14}]
24094
          "results": [{"ip":null,"ip6":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,"subnet6_id":null,"subnet6_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":"testhost1","image_id":null,"image_name":null,"created_at":"2016-09-09 20:02:43 UTC","updated_at":"2016-09-09 20:02:47 UTC","last_compile":"2016-09-09 20:02:47 UTC","global_status":1,"global_status_label":"Warning","organization_id":9,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":1,"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":"testhost1","id":39,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":38,"uuid":"ce5ac60f-fba4-4796-b693-1a99ec0de9dc","content_view_id":4,"content_view_name":"Default Organization View","lifecycle_environment_id":7,"lifecycle_environment_name":"Library","content_view":{"id":4,"name":"Default Organization View"},"lifecycle_environment":{"id":7,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_global_status":0,"subscription_facet_attributes":{"id":38,"uuid":"ce5ac60f-fba4-4796-b693-1a99ec0de9dc","last_checkin":"2016-09-09 20:02:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-09 20:02:45 UTC","registered_through":null}}]
23573 24095
        }
23574 24096
    http_version: 
23575
  recorded_at: Wed, 07 Sep 2016 12:01:02 GMT
24097
  recorded_at: Fri, 09 Sep 2016 20:02:52 GMT
23576 24098
- request:
23577 24099
    method: get
23578 24100
    uri: https://admin:changeme@katello.example.com:50191/api/organizations/9/hosts?page=1&per_page=20
......
23596 24118
      message: OK
23597 24119
    headers:
23598 24120
      Date:
23599
      - Wed, 07 Sep 2016 12:01:02 GMT
24121
      - Fri, 09 Sep 2016 20:02:51 GMT
23600 24122
      Server:
23601 24123
      - Apache/2.4.6 (CentOS)
23602 24124
      X-Frame-Options:
......
23606 24128
      X-Content-Type-Options:
23607 24129
      - nosniff
23608 24130
      Foreman-Version:
23609
      - 1.13.0-develop
24131
      - 1.14.0-develop
23610 24132
      Foreman-Api-Version:
23611 24133
      - '2'
23612 24134
      Content-Type:
......
23614 24136
      Apipie-Checksum:
23615 24137
      - 9544abef9cf8343005f07ed8c9f1f8e7
23616 24138
      Etag:
23617
      - W/"70d56c03fa3cb06a112f7e2adf72c771-gzip"
24139
      - W/"0c38242c5a8c0bd96323b21818c60383-gzip"
23618 24140
      Cache-Control:
23619 24141
      - max-age=0, private, must-revalidate
23620 24142
      X-Request-Id:
23621
      - 110d30f4-8772-447f-8cf1-b5376dd7f0d0
24143
      - f0adfa15-58b6-43e2-94d5-a8f30c2613af
23622 24144
      X-Runtime:
23623
      - '0.587839'
24145
      - '0.565612'
23624 24146
      Via:
23625 24147
      - 1.1 katello.example.com:50191
23626 24148
      Vary:
23627 24149
      - Accept-Encoding
23628 24150
      Content-Length:
23629
      - '2398'
24151
      - '2377'
23630 24152
      Set-Cookie:
23631
      - _session_id=f8751ef202546180e0749af8480f7ae0; path=/; HttpOnly
24153
      - _session_id=2d453f9a3d98c0b6086d92d1eb38801c; path=/; HttpOnly
23632 24154
    body:
23633 24155
      encoding: ASCII-8BIT
23634 24156
      string: |
......
23642 24164
            "by": null,
23643 24165
            "order": null
23644 24166
          },
23645
          "results": [{"ip":null,"ip6":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,"subnet6_id":null,"subnet6_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":"testhost1","image_id":null,"image_name":null,"created_at":"2016-09-07 12:00:54 UTC","updated_at":"2016-09-07 12:00:58 UTC","last_compile":"2016-09-07 12:00:57 UTC","global_status":1,"global_status_label":"Warning","organization_id":9,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":1,"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":"testhost1","id":15,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":14,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","content_view_id":4,"content_view_name":"Default Organization View","lifecycle_environment_id":7,"lifecycle_environment_name":"Library","content_view":{"id":4,"name":"Default Organization View"},"lifecycle_environment":{"id":7,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_global_status":0,"subscription_facet_attributes":{"id":14,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","last_checkin":"2016-09-07 12:00:54 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-07 12:00:56 UTC","registered_through":null},"content_host_id":14}]
24167
          "results": [{"ip":null,"ip6":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,"subnet6_id":null,"subnet6_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":"testhost1","image_id":null,"image_name":null,"created_at":"2016-09-09 20:02:43 UTC","updated_at":"2016-09-09 20:02:47 UTC","last_compile":"2016-09-09 20:02:47 UTC","global_status":1,"global_status_label":"Warning","organization_id":9,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":1,"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":"testhost1","id":39,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":38,"uuid":"ce5ac60f-fba4-4796-b693-1a99ec0de9dc","content_view_id":4,"content_view_name":"Default Organization View","lifecycle_environment_id":7,"lifecycle_environment_name":"Library","content_view":{"id":4,"name":"Default Organization View"},"lifecycle_environment":{"id":7,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_global_status":0,"subscription_facet_attributes":{"id":38,"uuid":"ce5ac60f-fba4-4796-b693-1a99ec0de9dc","last_checkin":"2016-09-09 20:02:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-09 20:02:45 UTC","registered_through":null}}]
23646 24168
        }
23647 24169
    http_version: 
23648
  recorded_at: Wed, 07 Sep 2016 12:01:03 GMT
24170
  recorded_at: Fri, 09 Sep 2016 20:02:52 GMT
23649 24171
- request:
23650 24172
    method: get
23651 24173
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/environments?per_page=999999
......
23669 24191
      message: OK
23670 24192
    headers:
23671 24193
      Date:
23672
      - Wed, 07 Sep 2016 12:01:02 GMT
24194
      - Fri, 09 Sep 2016 20:02:52 GMT
23673 24195
      Server:
23674 24196
      - Apache/2.4.6 (CentOS)
23675 24197
      X-Frame-Options:
......
23679 24201
      X-Content-Type-Options:
23680 24202
      - nosniff
23681 24203
      Foreman-Version:
23682
      - 1.13.0-develop
24204
      - 1.14.0-develop
23683 24205
      Foreman-Api-Version:
23684 24206
      - '2'
23685 24207
      Content-Type:
......
23687 24209
      Apipie-Checksum:
23688 24210
      - 9544abef9cf8343005f07ed8c9f1f8e7
23689 24211
      Etag:
23690
      - W/"5a32bd5f1929400f504927dcdc43c585-gzip"
24212
      - W/"cd0ed747689587dca5475bfbded29fa2-gzip"
23691 24213
      Cache-Control:
23692 24214
      - max-age=0, private, must-revalidate
23693 24215
      X-Request-Id:
23694
      - 3918aebe-f42c-4a1d-8854-117817391c95
24216
      - 5bf02ac8-3df0-44cb-b7eb-185b220df500
23695 24217
      X-Runtime:
23696
      - '1.385520'
24218
      - '0.821622'
23697 24219
      Via:
23698 24220
      - 1.1 katello.example.com:50191
23699 24221
      Vary:
23700 24222
      - Accept-Encoding
23701 24223
      Content-Length:
23702
      - '819'
24224
      - '3209'
23703 24225
      Set-Cookie:
23704
      - _session_id=f056f751226c39372554e8a8e32c2bd8; path=/; HttpOnly
24226
      - _session_id=525e7ecccf24925a9909baca01b83b40; path=/; HttpOnly
23705 24227
    body:
23706 24228
      encoding: ASCII-8BIT
23707 24229
      string: |
23708
        {"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":true,"id":7,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:05 UTC","updated_at":"2016-09-07 01:39:05 UTC","prior":null,"successor":null,"counts":{"content_hosts":1,"content_views":0,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}}]}
24230
        {"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":9,"name":"Test","label":"Test","description":"Test, manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:52 UTC","updated_at":"2016-09-08 17:34:52 UTC","prior":{"name":"Development","id":8},"successor":{"name":"Production","id":10},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":10,"name":"Production","label":"Production","description":"Production, manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:56 UTC","updated_at":"2016-09-08 17:34:56 UTC","prior":{"name":"Test","id":9},"successor":{"name":"Archive","id":11},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":7,"name":"Library","label":"Library","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:05 UTC","updated_at":"2016-09-07 01:39:05 UTC","prior":null,"successor":null,"counts":{"content_hosts":1,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":2,"docker_repositories":0,"ostree_repositories":0,"products":1},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":8,"name":"Development","label":"Development","description":"Development, automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:50 UTC","updated_at":"2016-09-08 17:34:50 UTC","prior":{"name":"Library","id":7},"successor":{"name":"Test","id":9},"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":11,"name":"Archive","label":"Archive","description":"Archive, no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:58 UTC","updated_at":"2016-09-08 17:34:58 UTC","prior":{"name":"Production","id":10},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"create_lifecycle_environments":true,"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
23709 24231
    http_version: 
23710
  recorded_at: Wed, 07 Sep 2016 12:01:04 GMT
24232
  recorded_at: Fri, 09 Sep 2016 20:02:54 GMT
23711 24233
- request:
23712 24234
    method: get
23713 24235
    uri: https://admin:changeme@katello.example.com:50191/katello/api/organizations/9/content_views?per_page=999999
......
23731 24253
      message: OK
23732 24254
    headers:
23733 24255
      Date:
23734
      - Wed, 07 Sep 2016 12:01:04 GMT
24256
      - Fri, 09 Sep 2016 20:02:54 GMT
23735 24257
      Server:
23736 24258
      - Apache/2.4.6 (CentOS)
23737 24259
      X-Frame-Options:
......
23741 24263
      X-Content-Type-Options:
23742 24264
      - nosniff
23743 24265
      Foreman-Version:
23744
      - 1.13.0-develop
24266
      - 1.14.0-develop
23745 24267
      Foreman-Api-Version:
23746 24268
      - '2'
23747 24269
      Content-Type:
......
23749 24271
      Apipie-Checksum:
23750 24272
      - 9544abef9cf8343005f07ed8c9f1f8e7
23751 24273
      Etag:
23752
      - W/"743c4dd5d90a19943d91f0ad8dc36aff-gzip"
24274
      - W/"a52550d7b5fb64c9f5aa0fcba24b3738-gzip"
23753 24275
      Cache-Control:
23754 24276
      - max-age=0, private, must-revalidate
23755 24277
      X-Request-Id:
23756
      - a97ef78e-9c32-4dec-a48b-4b1755bb8398
24278
      - 3e067fc8-36c5-4317-ab76-aa55d8500776
23757 24279
      X-Runtime:
23758
      - '0.377772'
24280
      - '1.594699'
23759 24281
      Via:
23760 24282
      - 1.1 katello.example.com:50191
23761 24283
      Vary:
23762 24284
      - Accept-Encoding
23763 24285
      Content-Length:
23764
      - '945'
24286
      - '1743'
23765 24287
      Set-Cookie:
23766
      - _session_id=e720a1c109342717398de47b302a793f; path=/; HttpOnly
24288
      - _session_id=e844e4703edebdd4068a5499e554ed8e; path=/; HttpOnly
23767 24289
    body:
23768 24290
      encoding: ASCII-8BIT
23769 24291
      string: |
23770
        {"total":1,"subtotal":1,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default Organization View","label":"bd072dcb-fc48-4a08-87c5-4f09acf4c936","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:06 UTC","updated_at":"2016-09-07 01:39:06 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-09-07 01:39:06 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-07 01:39:06 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
24292
        {"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":5,"name":"Test Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-08 17:34:30 UTC","updated_at":"2016-09-08 17:34:33 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":5,"version":"1.0","published":"2016-09-08 17:34:33 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-08 17:34:33 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":4,"name":"Default Organization View","label":"bd072dcb-fc48-4a08-87c5-4f09acf4c936","description":null,"organization":{"name":"Test Corporation","label":"testcorp","id":9},"created_at":"2016-09-07 01:39:06 UTC","updated_at":"2016-09-07 01:39:06 UTC","environments":[{"id":7,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":4,"version":"1.0","published":"2016-09-07 01:39:06 UTC","environment_ids":[7]}],"components":[],"activation_keys":[],"last_published":"2016-09-07 01:39:06 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
23771 24293
    http_version: 
23772
  recorded_at: Wed, 07 Sep 2016 12:01:05 GMT
24294
  recorded_at: Fri, 09 Sep 2016 20:02:56 GMT
23773 24295
- request:
23774 24296
    method: put
23775
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/15
24297
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/39
23776 24298
    body:
23777 24299
      encoding: UTF-8
23778 24300
      string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":7,"content_view_id":4},"subscription_facet_attributes":{"facts":{"system.certificate_version":"3.2","network.hostname":"testhost1","cpu.core(s)_per_socket":"1","cpu.cpu_socket(s)":"1","memory.memtotal":"4","uname.machine":"x86_64","distribution.name":"RHEL","distribution.version":"6.4","virt.is_guest":false,"cpu.cpu(s)":1},"installed_products":null,"service_level":null}}}'
......
23795 24317
      message: OK
23796 24318
    headers:
23797 24319
      Date:
23798
      - Wed, 07 Sep 2016 12:01:04 GMT
24320
      - Fri, 09 Sep 2016 20:02:55 GMT
23799 24321
      Server:
23800 24322
      - Apache/2.4.6 (CentOS)
23801 24323
      X-Frame-Options:
......
23805 24327
      X-Content-Type-Options:
23806 24328
      - nosniff
23807 24329
      Foreman-Version:
23808
      - 1.13.0-develop
24330
      - 1.14.0-develop
23809 24331
      Foreman-Api-Version:
23810 24332
      - '2'
23811 24333
      Content-Type:
......
23813 24335
      Apipie-Checksum:
23814 24336
      - 9544abef9cf8343005f07ed8c9f1f8e7
23815 24337
      Etag:
23816
      - W/"39c551c41557f9200c55ccf346a6b2c3-gzip"
24338
      - W/"57a142a82cc5163281f6a3f97f871bf4-gzip"
23817 24339
      Cache-Control:
23818 24340
      - max-age=0, private, must-revalidate
23819 24341
      X-Request-Id:
23820
      - ddeab840-e044-413e-9468-5ca5fc0bb561
24342
      - 9c3c772a-21a6-4224-be06-2cafcf980547
23821 24343
      X-Runtime:
23822
      - '2.005716'
24344
      - '2.056534'
23823 24345
      Via:
23824 24346
      - 1.1 katello.example.com:50191
23825 24347
      Vary:
23826 24348
      - Accept-Encoding
23827 24349
      Content-Length:
23828
      - '3405'
24350
      - '3384'
23829 24351
      Set-Cookie:
23830
      - _session_id=511a8f14c6d14c922a747a579dffe31e; path=/; HttpOnly
24352
      - _session_id=98376f07659b4cf0a502d17ffc3857e8; path=/; HttpOnly
23831 24353
      - request_method=PUT; path=/
23832 24354
    body:
23833 24355
      encoding: ASCII-8BIT
23834
      string: '{"ip":null,"ip6":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,"subnet6_id":null,"subnet6_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":"testhost1","image_id":null,"image_name":null,"created_at":"2016-09-07
23835
        12:00:54 UTC","updated_at":"2016-09-07 12:00:58 UTC","last_compile":"2016-09-07
23836
        12:00:57 UTC","global_status":1,"global_status_label":"Warning","organization_id":9,"organization_name":"Test
24356
      string: '{"ip":null,"ip6":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,"subnet6_id":null,"subnet6_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":"testhost1","image_id":null,"image_name":null,"created_at":"2016-09-09
24357
        20:02:43 UTC","updated_at":"2016-09-09 20:02:47 UTC","last_compile":"2016-09-09
24358
        20:02:47 UTC","global_status":1,"global_status_label":"Warning","organization_id":9,"organization_name":"Test
23837 24359
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":1,"errata_status_label":"Could
23838 24360
        not calculate errata status, ensure host is registered and katello-agent is
23839
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":15,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":14,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","content_view_id":4,"content_view_name":"Default
24361
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testhost1","id":39,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":38,"uuid":"ce5ac60f-fba4-4796-b693-1a99ec0de9dc","content_view_id":4,"content_view_name":"Default
23840 24362
        Organization View","lifecycle_environment_id":7,"lifecycle_environment_name":"Library","content_view":{"id":4,"name":"Default
23841
        Organization View"},"lifecycle_environment":{"id":7,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":4,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_global_status":0,"subscription_facet_attributes":{"id":14,"uuid":"9357a52b-1725-4e85-805b-f88edb697a73","last_checkin":"2016-09-07
23842
        12:00:54 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-07
23843
        12:00:56 UTC","registered_through":null,"activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[]},"content_host_id":14,"interfaces":[{"id":17,"name":"testhost1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"parameters":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt":null,"distribution":null,"uname":null,"memory":null,"cpu":null,"network":null,"system":null,"_timestamp":"2016-09-07T08:00:57-04:00","cpu::cpu(s)":"1","virt::is_guest":"false","distribution::version":"6.4","distribution::name":"RHEL","uname::machine":"x86_64","memory::memtotal":"4","cpu::cpu_socket(s)":"1","cpu::core(s)_per_socket":"1","network::hostname":"testhost1","system::certificate_version":"3.2"},"content_source_id":null,"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}}'
24363
        Organization View"},"lifecycle_environment":{"id":7,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":4,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_global_status":0,"subscription_facet_attributes":{"id":38,"uuid":"ce5ac60f-fba4-4796-b693-1a99ec0de9dc","last_checkin":"2016-09-09
24364
        20:02:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-09-09
24365
        20:02:45 UTC","registered_through":null,"activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[]},"interfaces":[{"id":41,"name":"testhost1","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"parameters":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt":null,"distribution":null,"uname":null,"memory":null,"cpu":null,"network":null,"system":null,"_timestamp":"2016-09-09T16:02:47-04:00","cpu::cpu(s)":"1","virt::is_guest":"false","distribution::version":"6.4","distribution::name":"RHEL","uname::machine":"x86_64","memory::memtotal":"4","cpu::cpu_socket(s)":"1","cpu::core(s)_per_socket":"1","network::hostname":"testhost1","system::certificate_version":"3.2"},"content_source_id":null,"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}}'
23844 24366
    http_version: 
23845
  recorded_at: Wed, 07 Sep 2016 12:01:07 GMT
24367
  recorded_at: Fri, 09 Sep 2016 20:02:58 GMT
23846 24368
- request:
23847 24369
    method: get
23848
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/15/subscriptions
24370
    uri: https://admin:changeme@katello.example.com:50191/api/hosts/39/subscriptions
23849 24371
    body:
23850 24372
      encoding: US-ASCII
23851 24373
      string: ''
......
23866 24388
      message: OK
23867 24389
    headers:
23868 24390
      Date:
23869
      - Wed, 07 Sep 2016 12:01:06 GMT
24391
      - Fri, 09 Sep 2016 20:02:57 GMT
23870 24392
      Server:
23871 24393
      - Apache/2.4.6 (CentOS)
23872 24394
      X-Frame-Options:
......
23876 24398
      X-Content-Type-Options:
23877 24399
      - nosniff
23878 24400
      Foreman-Version:
23879
      - 1.13.0-develop
24401
      - 1.14.0-develop
23880 24402
      Foreman-Api-Version:
23881 24403
      - '2'
23882 24404
      Content-Type:
......
23888 24410
      Cache-Control:
23889 24411
      - max-age=0, private, must-revalidate
23890 24412
      X-Request-Id:
23891
      - 9a869954-e9f8-4b1a-9b9e-8929f6d00b13
24413
      - 1d073c16-c654-4662-aa43-138ce1bb99dc
23892 24414
      X-Runtime:
23893
      - '1.386750'
24415
      - '0.303174'
23894 24416
      Via:
23895 24417
      - 1.1 katello.example.com:50191
23896 24418
      Vary:
......
23898 24420
      Content-Length:
23899 24421
      - '119'
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff