Project

General

Profile

Revision 1327c177

Added by Thomas McKay about 6 years ago

vcr - full recording

View differences:

test/fixtures/vcr_cassettes/resources/content_hosts/columns_config_options.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?per_page=999999
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
16
      Content-Type:
17
      - application/json
18
      Accept-Language:
19
      - en
20
      Host:
21
      - katello.example.com:50083
22
  response:
23
    status:
24
      code: 200
25
      message: OK
26
    headers:
27
      Date:
28
      - Wed, 30 Nov 2016 14:55:42 GMT
29
      Server:
30
      - Apache/2.4.6 (Red Hat Enterprise Linux)
31
      X-Frame-Options:
32
      - SAMEORIGIN
33
      X-Xss-Protection:
34
      - 1; mode=block
35
      X-Content-Type-Options:
36
      - nosniff
37
      Foreman-Version:
38
      - 1.11.0.54
39
      Foreman-Api-Version:
40
      - '2'
41
      Apipie-Checksum:
42
      - ef9e7a17d630b8c2cc5b7e016c24efe7
43
      Cache-Control:
44
      - max-age=0, private, must-revalidate
45
      X-Request-Id:
46
      - 675b87cf-0859-4cbe-8a5c-0841b888d0de
47
      X-Runtime:
48
      - '0.309025'
49
      X-Powered-By:
50
      - Phusion Passenger 4.0.18
51
      Etag:
52
      - '"f78da5fcb20e48bfcf5b097571b5f7e6-gzip"'
53
      Status:
54
      - 200 OK
55
      Vary:
56
      - Accept-Encoding
57
      Content-Length:
58
      - '4438'
59
      Content-Type:
60
      - application/json; charset=utf-8
61
      Set-Cookie:
62
      - _session_id=cc957fb3ae36491fe6a5a98ff0bbce34; path=/; secure; HttpOnly
63
    body:
64
      encoding: ASCII-8BIT
65
      string: |
66
        {
67
          "total": 2,
68
          "subtotal": 2,
69
          "page": 1,
70
          "per_page": 999999,
71
          "search": null,
72
          "sort": {
73
            "by": null,
74
            "order": null
75
          },
76
          "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-11-28 20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28 20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"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":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","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":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28 20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:51 UTC"},"content_host_id":76},{"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-11-28 20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28 20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"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":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","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":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28 20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:43 UTC"},"content_host_id":75}]
77
        }
78
    http_version: 
79
  recorded_at: Wed, 30 Nov 2016 14:55:50 GMT
80
- request:
81
    method: get
82
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/76
83
    body:
84
      encoding: US-ASCII
85
      string: ''
86
    headers:
87
      Accept:
88
      - application/json;version=2
89
      Accept-Encoding:
90
      - gzip, deflate
91
      User-Agent:
92
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
93
      Content-Type:
94
      - application/json
95
      Accept-Language:
96
      - en
97
      Host:
98
      - katello.example.com:50083
99
  response:
100
    status:
101
      code: 200
102
      message: OK
103
    headers:
104
      Date:
105
      - Wed, 30 Nov 2016 14:55:43 GMT
106
      Server:
107
      - Apache/2.4.6 (Red Hat Enterprise Linux)
108
      X-Frame-Options:
109
      - SAMEORIGIN
110
      X-Xss-Protection:
111
      - 1; mode=block
112
      X-Content-Type-Options:
113
      - nosniff
114
      Foreman-Version:
115
      - 1.11.0.54
116
      Foreman-Api-Version:
117
      - '2'
118
      Apipie-Checksum:
119
      - ef9e7a17d630b8c2cc5b7e016c24efe7
120
      Cache-Control:
121
      - max-age=0, private, must-revalidate
122
      X-Request-Id:
123
      - 8807c384-7508-4b10-8357-5a6a0caae7eb
124
      X-Runtime:
125
      - '0.368454'
126
      X-Powered-By:
127
      - Phusion Passenger 4.0.18
128
      Etag:
129
      - '"a8d8460c5ab2bcf1b209ce031c3478af-gzip"'
130
      Status:
131
      - 200 OK
132
      Vary:
133
      - Accept-Encoding
134
      Content-Length:
135
      - '3855'
136
      Content-Type:
137
      - application/json; charset=utf-8
138
      Set-Cookie:
139
      - _session_id=8b581300dfe456257f369f0df90e3eba; path=/; secure; HttpOnly
140
    body:
141
      encoding: ASCII-8BIT
142
      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-11-28
143
        20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28
144
        20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
145
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
146
        not calculate errata status, ensure host is registered and katello-agent is
147
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default
148
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
149
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28
150
        20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
151
        20:09:51 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8edf4d0ab8","productId":"69","productName":"Red
152
        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-11-28T20:09:54.253+0000","updated":"2016-11-28T20:09:54.253+0000"}]},"content_host_id":76,"parameters":[],"interfaces":[{"id":77,"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
153
        Corporation/testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:52+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}}'
154
    http_version: 
155
  recorded_at: Wed, 30 Nov 2016 14:55:50 GMT
156
- request:
157
    method: get
158
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/75
159
    body:
160
      encoding: US-ASCII
161
      string: ''
162
    headers:
163
      Accept:
164
      - application/json;version=2
165
      Accept-Encoding:
166
      - gzip, deflate
167
      User-Agent:
168
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
169
      Content-Type:
170
      - application/json
171
      Accept-Language:
172
      - en
173
      Host:
174
      - katello.example.com:50083
175
  response:
176
    status:
177
      code: 200
178
      message: OK
179
    headers:
180
      Date:
181
      - Wed, 30 Nov 2016 14:55:43 GMT
182
      Server:
183
      - Apache/2.4.6 (Red Hat Enterprise Linux)
184
      X-Frame-Options:
185
      - SAMEORIGIN
186
      X-Xss-Protection:
187
      - 1; mode=block
188
      X-Content-Type-Options:
189
      - nosniff
190
      Foreman-Version:
191
      - 1.11.0.54
192
      Foreman-Api-Version:
193
      - '2'
194
      Apipie-Checksum:
195
      - ef9e7a17d630b8c2cc5b7e016c24efe7
196
      Cache-Control:
197
      - max-age=0, private, must-revalidate
198
      X-Request-Id:
199
      - cce612d9-5eb7-4fda-87c4-06cbcbb74828
200
      X-Runtime:
201
      - '0.315601'
202
      X-Powered-By:
203
      - Phusion Passenger 4.0.18
204
      Etag:
205
      - '"4b2cb7da45ed5b9e852d4c4d60aea7a3-gzip"'
206
      Status:
207
      - 200 OK
208
      Vary:
209
      - Accept-Encoding
210
      Content-Length:
211
      - '3825'
212
      Content-Type:
213
      - application/json; charset=utf-8
214
      Set-Cookie:
215
      - _session_id=cff4f133876dbbee2c616539cca16524; path=/; secure; HttpOnly
216
    body:
217
      encoding: ASCII-8BIT
218
      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-11-28
219
        20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28
220
        20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
221
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
222
        not calculate errata status, ensure host is registered and katello-agent is
223
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","content_view_id":2,"content_view_name":"Default
224
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
225
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28
226
        20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
227
        20:09:43 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8ec7910aa4","productId":"69","productName":"Red
228
        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-11-28T20:09:48.177+0000","updated":"2016-11-28T20:09:48.177+0000"}]},"content_host_id":75,"parameters":[],"interfaces":[{"id":76,"name":"testvm","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt::is_guest":"true","virt::uuid":"Test
229
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"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","network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:44+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}}'
230
    http_version: 
231
  recorded_at: Wed, 30 Nov 2016 14:55:50 GMT
232
- request:
233
    method: get
234
    uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?per_page=999999
235
    body:
236
      encoding: US-ASCII
237
      string: ''
238
    headers:
239
      Accept:
240
      - application/json;version=2
241
      Accept-Encoding:
242
      - gzip, deflate
243
      User-Agent:
244
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
245
      Content-Type:
246
      - application/json
247
      Accept-Language:
248
      - en
249
      Host:
250
      - katello.example.com:50083
251
  response:
252
    status:
253
      code: 200
254
      message: OK
255
    headers:
256
      Date:
257
      - Wed, 30 Nov 2016 14:55:44 GMT
258
      Server:
259
      - Apache/2.4.6 (Red Hat Enterprise Linux)
260
      X-Frame-Options:
261
      - SAMEORIGIN
262
      X-Xss-Protection:
263
      - 1; mode=block
264
      X-Content-Type-Options:
265
      - nosniff
266
      Foreman-Version:
267
      - 1.11.0.54
268
      Foreman-Api-Version:
269
      - '2'
270
      Apipie-Checksum:
271
      - ef9e7a17d630b8c2cc5b7e016c24efe7
272
      Cache-Control:
273
      - max-age=0, private, must-revalidate
274
      X-Request-Id:
275
      - 34c14ae2-e361-44f3-a532-bd6c9b6f310d
276
      X-Runtime:
277
      - '0.337985'
278
      X-Powered-By:
279
      - Phusion Passenger 4.0.18
280
      Etag:
281
      - '"f78da5fcb20e48bfcf5b097571b5f7e6-gzip"'
282
      Status:
283
      - 200 OK
284
      Vary:
285
      - Accept-Encoding
286
      Content-Length:
287
      - '4438'
288
      Content-Type:
289
      - application/json; charset=utf-8
290
      Set-Cookie:
291
      - _session_id=a0e352466491324e7bb789142ccc50d8; path=/; secure; HttpOnly
292
    body:
293
      encoding: ASCII-8BIT
294
      string: |
295
        {
296
          "total": 2,
297
          "subtotal": 2,
298
          "page": 1,
299
          "per_page": 999999,
300
          "search": null,
301
          "sort": {
302
            "by": null,
303
            "order": null
304
          },
305
          "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-11-28 20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28 20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"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":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","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":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28 20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:51 UTC"},"content_host_id":76},{"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-11-28 20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28 20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"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":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","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":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28 20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:43 UTC"},"content_host_id":75}]
306
        }
307
    http_version: 
308
  recorded_at: Wed, 30 Nov 2016 14:55:51 GMT
309
- request:
310
    method: get
311
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/76
312
    body:
313
      encoding: US-ASCII
314
      string: ''
315
    headers:
316
      Accept:
317
      - application/json;version=2
318
      Accept-Encoding:
319
      - gzip, deflate
320
      User-Agent:
321
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
322
      Content-Type:
323
      - application/json
324
      Accept-Language:
325
      - en
326
      Host:
327
      - katello.example.com:50083
328
  response:
329
    status:
330
      code: 200
331
      message: OK
332
    headers:
333
      Date:
334
      - Wed, 30 Nov 2016 14:55:44 GMT
335
      Server:
336
      - Apache/2.4.6 (Red Hat Enterprise Linux)
337
      X-Frame-Options:
338
      - SAMEORIGIN
339
      X-Xss-Protection:
340
      - 1; mode=block
341
      X-Content-Type-Options:
342
      - nosniff
343
      Foreman-Version:
344
      - 1.11.0.54
345
      Foreman-Api-Version:
346
      - '2'
347
      Apipie-Checksum:
348
      - ef9e7a17d630b8c2cc5b7e016c24efe7
349
      Cache-Control:
350
      - max-age=0, private, must-revalidate
351
      X-Request-Id:
352
      - daf7a8da-d0ab-4dd5-ad13-882143cea2f2
353
      X-Runtime:
354
      - '0.341577'
355
      X-Powered-By:
356
      - Phusion Passenger 4.0.18
357
      Etag:
358
      - '"a8d8460c5ab2bcf1b209ce031c3478af-gzip"'
359
      Status:
360
      - 200 OK
361
      Vary:
362
      - Accept-Encoding
363
      Content-Length:
364
      - '3855'
365
      Content-Type:
366
      - application/json; charset=utf-8
367
      Set-Cookie:
368
      - _session_id=891011430f1a9fff19d5b18df0e88826; path=/; secure; HttpOnly
369
    body:
370
      encoding: ASCII-8BIT
371
      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-11-28
372
        20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28
373
        20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
374
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
375
        not calculate errata status, ensure host is registered and katello-agent is
376
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default
377
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
378
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28
379
        20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
380
        20:09:51 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8edf4d0ab8","productId":"69","productName":"Red
381
        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-11-28T20:09:54.253+0000","updated":"2016-11-28T20:09:54.253+0000"}]},"content_host_id":76,"parameters":[],"interfaces":[{"id":77,"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
382
        Corporation/testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:52+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}}'
383
    http_version: 
384
  recorded_at: Wed, 30 Nov 2016 14:55:52 GMT
385
- request:
386
    method: get
387
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/75
388
    body:
389
      encoding: US-ASCII
390
      string: ''
391
    headers:
392
      Accept:
393
      - application/json;version=2
394
      Accept-Encoding:
395
      - gzip, deflate
396
      User-Agent:
397
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
398
      Content-Type:
399
      - application/json
400
      Accept-Language:
401
      - en
402
      Host:
403
      - katello.example.com:50083
404
  response:
405
    status:
406
      code: 200
407
      message: OK
408
    headers:
409
      Date:
410
      - Wed, 30 Nov 2016 14:55:45 GMT
411
      Server:
412
      - Apache/2.4.6 (Red Hat Enterprise Linux)
413
      X-Frame-Options:
414
      - SAMEORIGIN
415
      X-Xss-Protection:
416
      - 1; mode=block
417
      X-Content-Type-Options:
418
      - nosniff
419
      Foreman-Version:
420
      - 1.11.0.54
421
      Foreman-Api-Version:
422
      - '2'
423
      Apipie-Checksum:
424
      - ef9e7a17d630b8c2cc5b7e016c24efe7
425
      Cache-Control:
426
      - max-age=0, private, must-revalidate
427
      X-Request-Id:
428
      - 4befd131-1b0d-4f50-9bc8-b4a832952e89
429
      X-Runtime:
430
      - '0.311879'
431
      X-Powered-By:
432
      - Phusion Passenger 4.0.18
433
      Etag:
434
      - '"4b2cb7da45ed5b9e852d4c4d60aea7a3-gzip"'
435
      Status:
436
      - 200 OK
437
      Vary:
438
      - Accept-Encoding
439
      Content-Length:
440
      - '3825'
441
      Content-Type:
442
      - application/json; charset=utf-8
443
      Set-Cookie:
444
      - _session_id=d93f7583c5849fca18ac3926c283486c; path=/; secure; HttpOnly
445
    body:
446
      encoding: ASCII-8BIT
447
      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-11-28
448
        20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28
449
        20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
450
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
451
        not calculate errata status, ensure host is registered and katello-agent is
452
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","content_view_id":2,"content_view_name":"Default
453
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
454
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28
455
        20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
456
        20:09:43 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8ec7910aa4","productId":"69","productName":"Red
457
        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-11-28T20:09:48.177+0000","updated":"2016-11-28T20:09:48.177+0000"}]},"content_host_id":75,"parameters":[],"interfaces":[{"id":76,"name":"testvm","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt::is_guest":"true","virt::uuid":"Test
458
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"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","network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:44+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}}'
459
    http_version: 
460
  recorded_at: Wed, 30 Nov 2016 14:55:52 GMT
461
- request:
462
    method: get
463
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/5
464
    body:
465
      encoding: US-ASCII
466
      string: ''
467
    headers:
468
      Accept:
469
      - application/json;version=2
470
      Accept-Encoding:
471
      - gzip, deflate
472
      User-Agent:
473
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
474
      Content-Type:
475
      - application/json
476
      Accept-Language:
477
      - en
478
      Host:
479
      - katello.example.com:50083
480
  response:
481
    status:
482
      code: 200
483
      message: OK
484
    headers:
485
      Date:
486
      - Thu, 01 Dec 2016 19:48:18 GMT
487
      Server:
488
      - Apache/2.4.6 (Red Hat Enterprise Linux)
489
      X-Frame-Options:
490
      - SAMEORIGIN
491
      X-Xss-Protection:
492
      - 1; mode=block
493
      X-Content-Type-Options:
494
      - nosniff
495
      Foreman-Version:
496
      - 1.11.0.54
497
      Foreman-Api-Version:
498
      - '2'
499
      Apipie-Checksum:
500
      - e1df2e8d43e22495b02a53b48e3b5298
501
      Cache-Control:
502
      - max-age=0, private, must-revalidate
503
      X-Request-Id:
504
      - 9cd2f999-712e-4c22-9420-5727d1062721
505
      X-Runtime:
506
      - '0.369601'
507
      X-Powered-By:
508
      - Phusion Passenger 4.0.18
509
      Etag:
510
      - '"cf81da108a11e360aea86c52d67b931a-gzip"'
511
      Status:
512
      - 200 OK
513
      Vary:
514
      - Accept-Encoding
515
      Content-Length:
516
      - '4358'
517
      Content-Type:
518
      - application/json; charset=utf-8
519
      Set-Cookie:
520
      - _session_id=2ad6a70d615e341dc8b508978097d62f; path=/; secure; HttpOnly
521
    body:
522
      encoding: ASCII-8BIT
523
      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":"testhypervisor1","image_id":null,"image_name":null,"created_at":"2016-12-01
524
        19:36:16 UTC","updated_at":"2016-12-01 19:36:18 UTC","last_compile":"2016-12-01
525
        19:36:18 UTC","global_status":2,"global_status_label":"Error","organization_id":3,"organization_name":"Test
526
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
527
        not calculate errata status, ensure host is registered and katello-agent is
528
        installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testhypervisor1","id":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"f57a2054-16b2-4745-87cd-c6d4116c4d47","content_view_id":2,"content_view_name":"Default
529
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
530
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":4,"uuid":"f57a2054-16b2-4745-87cd-c6d4116c4d47","last_checkin":"2016-12-01
531
        19:36:16 UTC","service_level":"","release_version":null,"autoheal":true,"registered_at":"2016-12-01
532
        19:36:17 UTC","activation_keys":[],"compliance_reasons":["Red Hat Enterprise
533
        Linux for Virtual Datacenters, Premium (DERIVED SKU): Guest has not been reported
534
        on any host and is using a temporary unmapped guest subscription.","Red Hat
535
        OpenShift Enterprise: Not supported by a valid subscription."],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbedffb90622","productId":"69","productName":"Red
536
        Hat Enterprise Linux Server","version":"7.2","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2016-12-02T19:36:17.124+0000","created":"2016-12-01T19:48:06.713+0000","updated":"2016-12-01T19:48:06.713+0000"},{"id":"ff80808158bbd8b50158bbedffb90623","productId":"290","productName":"Red
537
        Hat OpenShift Enterprise","version":"7.2","arch":"x86_64","status":"red","startDate":null,"endDate":null,"created":"2016-12-01T19:48:06.713+0000","updated":"2016-12-01T19:48:06.713+0000"}]},"content_host_id":4,"parameters":[],"interfaces":[{"id":5,"name":"testhypervisor1","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":"testhypervisor1","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"2","memory::memtotal":"3882752","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7.2","virt::is_guest":"true","virt::uuid":"Test
538
        Corporation/testhypervisor1","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-01T19:36:18+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}}'
539
    http_version: 
540
  recorded_at: Thu, 01 Dec 2016 19:48:26 GMT
541
- request:
542
    method: get
543
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/5
544
    body:
545
      encoding: US-ASCII
546
      string: ''
547
    headers:
548
      Accept:
549
      - application/json;version=2
550
      Accept-Encoding:
551
      - gzip, deflate
552
      User-Agent:
553
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
554
      Content-Type:
555
      - application/json
556
      Accept-Language:
557
      - en
558
      Host:
559
      - katello.example.com:50083
560
  response:
561
    status:
562
      code: 200
563
      message: OK
564
    headers:
565
      Date:
566
      - Thu, 01 Dec 2016 19:48:19 GMT
567
      Server:
568
      - Apache/2.4.6 (Red Hat Enterprise Linux)
569
      X-Frame-Options:
570
      - SAMEORIGIN
571
      X-Xss-Protection:
572
      - 1; mode=block
573
      X-Content-Type-Options:
574
      - nosniff
575
      Foreman-Version:
576
      - 1.11.0.54
577
      Foreman-Api-Version:
578
      - '2'
579
      Apipie-Checksum:
580
      - e1df2e8d43e22495b02a53b48e3b5298
581
      Cache-Control:
582
      - max-age=0, private, must-revalidate
583
      X-Request-Id:
584
      - 9496f394-c7bb-4bf6-ae7a-c8c1d1c10aa2
585
      X-Runtime:
586
      - '0.325839'
587
      X-Powered-By:
588
      - Phusion Passenger 4.0.18
589
      Etag:
590
      - '"cf81da108a11e360aea86c52d67b931a-gzip"'
591
      Status:
592
      - 200 OK
593
      Vary:
594
      - Accept-Encoding
595
      Content-Length:
596
      - '4358'
597
      Content-Type:
598
      - application/json; charset=utf-8
599
      Set-Cookie:
600
      - _session_id=eb6681accdc457385c7bdef31d93fca3; path=/; secure; HttpOnly
601
    body:
602
      encoding: ASCII-8BIT
603
      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":"testhypervisor1","image_id":null,"image_name":null,"created_at":"2016-12-01
604
        19:36:16 UTC","updated_at":"2016-12-01 19:36:18 UTC","last_compile":"2016-12-01
605
        19:36:18 UTC","global_status":2,"global_status_label":"Error","organization_id":3,"organization_name":"Test
606
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
607
        not calculate errata status, ensure host is registered and katello-agent is
608
        installed","subscription_status":2,"subscription_status_label":"Unentitled","name":"testhypervisor1","id":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"f57a2054-16b2-4745-87cd-c6d4116c4d47","content_view_id":2,"content_view_name":"Default
609
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
610
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":4,"uuid":"f57a2054-16b2-4745-87cd-c6d4116c4d47","last_checkin":"2016-12-01
611
        19:36:16 UTC","service_level":"","release_version":null,"autoheal":true,"registered_at":"2016-12-01
612
        19:36:17 UTC","activation_keys":[],"compliance_reasons":["Red Hat Enterprise
613
        Linux for Virtual Datacenters, Premium (DERIVED SKU): Guest has not been reported
614
        on any host and is using a temporary unmapped guest subscription.","Red Hat
615
        OpenShift Enterprise: Not supported by a valid subscription."],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbedffb90622","productId":"69","productName":"Red
616
        Hat Enterprise Linux Server","version":"7.2","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2016-12-02T19:36:17.124+0000","created":"2016-12-01T19:48:06.713+0000","updated":"2016-12-01T19:48:06.713+0000"},{"id":"ff80808158bbd8b50158bbedffb90623","productId":"290","productName":"Red
617
        Hat OpenShift Enterprise","version":"7.2","arch":"x86_64","status":"red","startDate":null,"endDate":null,"created":"2016-12-01T19:48:06.713+0000","updated":"2016-12-01T19:48:06.713+0000"}]},"content_host_id":4,"parameters":[],"interfaces":[{"id":5,"name":"testhypervisor1","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":"testhypervisor1","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"2","memory::memtotal":"3882752","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7.2","virt::is_guest":"true","virt::uuid":"Test
618
        Corporation/testhypervisor1","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-01T19:36:18+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}}'
619
    http_version: 
620
  recorded_at: Thu, 01 Dec 2016 19:48:27 GMT
621
- request:
622
    method: get
623
    uri: https://admin:changeme@katello.example.com:50083/api/status
5
    uri: https://admin:changeme@satlap.example.com/api/status
624 6
    body:
625 7
      encoding: US-ASCII
626 8
      string: ''
......
631 13
      - "*/*"
632 14
      User-Agent:
633 15
      - Ruby
16
      Host:
17
      - satlap.example.com
634 18
  response:
635 19
    status:
636 20
      code: 200
637 21
      message: OK
638 22
    headers:
639 23
      Date:
640
      - Thu, 01 Dec 2016 19:53:08 GMT
24
      - Tue, 13 Dec 2016 14:47:18 GMT
641 25
      Server:
642 26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
643 27
      X-Frame-Options:
......
655 39
      Cache-Control:
656 40
      - max-age=0, private, must-revalidate
657 41
      X-Request-Id:
658
      - 36a56f88-1ccf-4efa-b464-2ccd2e53fcf9
42
      - 81ffe5f8-c321-47c9-a343-178969f7e922
659 43
      X-Runtime:
660
      - '0.065091'
44
      - '0.031676'
661 45
      X-Powered-By:
662 46
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=40c3266bf54fef863b134a6fe680fb2b; path=/; secure; HttpOnly
663 49
      Etag:
664 50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
665 51
      Status:
......
668 54
      - '66'
669 55
      Content-Type:
670 56
      - application/json; charset=utf-8
671
      Set-Cookie:
672
      - _session_id=7012eb9c12601e48bc965fec97de2507; path=/; secure; HttpOnly
673 57
    body:
674 58
      encoding: UTF-8
675 59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
676 60
    http_version: 
677
  recorded_at: Thu, 01 Dec 2016 19:53:15 GMT
61
  recorded_at: Tue, 13 Dec 2016 14:47:16 GMT
678 62
- request:
679 63
    method: get
680
    uri: https://admin:changeme@katello.example.com:50083/api/v2/plugins
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
681 65
    body:
682 66
      encoding: US-ASCII
683 67
      string: ''
......
688 72
      - "*/*"
689 73
      User-Agent:
690 74
      - Ruby
75
      Host:
76
      - satlap.example.com
691 77
  response:
692 78
    status:
693 79
      code: 200
694 80
      message: OK
695 81
    headers:
696 82
      Date:
697
      - Thu, 01 Dec 2016 19:53:08 GMT
83
      - Tue, 13 Dec 2016 14:47:18 GMT
698 84
      Server:
699 85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
700 86
      X-Frame-Options:
......
712 98
      Cache-Control:
713 99
      - max-age=0, private, must-revalidate
714 100
      X-Request-Id:
715
      - 5e0e66ec-7f25-4328-a3bb-653c827da669
101
      - 51f3cc4a-f8e1-402b-82d9-cecd34b4429e
716 102
      X-Runtime:
717
      - '0.042158'
103
      - '0.033498'
718 104
      X-Powered-By:
719 105
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=9eaaee01809ee1b5e7741aae3e334949; path=/; secure; HttpOnly
720 108
      Etag:
721 109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
722 110
      Status:
......
727 115
      - '1338'
728 116
      Content-Type:
729 117
      - application/json; charset=utf-8
730
      Set-Cookie:
731
      - _session_id=92e5a297ef73ad325d16a736f81fb551; path=/; secure; HttpOnly
732 118
    body:
733 119
      encoding: ASCII-8BIT
734 120
      string: !binary |-
......
807 193
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
808 194
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
809 195
    http_version: 
810
  recorded_at: Thu, 01 Dec 2016 19:53:16 GMT
196
  recorded_at: Tue, 13 Dec 2016 14:47:16 GMT
811 197
- request:
812 198
    method: get
813
    uri: https://katello.example.com:50083/apidoc/v2.en.json
199
    uri: https://satlap.example.com/apidoc/v2.en.json
814 200
    body:
815 201
      encoding: US-ASCII
816 202
      string: ''
......
826 212
      Accept-Language:
827 213
      - en
828 214
      Host:
829
      - katello.example.com:50083
215
      - satlap.example.com
830 216
  response:
831 217
    status:
832 218
      code: 200
833 219
      message: OK
834 220
    headers:
835 221
      Date:
836
      - Thu, 01 Dec 2016 19:53:08 GMT
222
      - Tue, 13 Dec 2016 14:47:18 GMT
837 223
      Server:
838 224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
839 225
      X-Frame-Options:
......
851 237
      Apipie-Checksum:
852 238
      - e1df2e8d43e22495b02a53b48e3b5298
853 239
      X-Request-Id:
854
      - e5a15e23-5f75-4933-8450-5ade8c0e8aec
240
      - a9ca25a8-cd3b-4233-8ed4-ac4d6f2de4b8
855 241
      X-Runtime:
856
      - '0.011567'
242
      - '0.004722'
857 243
      X-Powered-By:
858 244
      - Phusion Passenger 4.0.18
859 245
      Status:
......
20492 19878
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
20493 19879
        ZW4uaHRtbCJ9fQ==
20494 19880
    http_version: 
20495
  recorded_at: Thu, 01 Dec 2016 19:53:16 GMT
19881
  recorded_at: Tue, 13 Dec 2016 14:47:16 GMT
20496 19882
- request:
20497 19883
    method: get
20498
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999
19884
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?full_results=true
20499 19885
    body:
20500 19886
      encoding: US-ASCII
20501 19887
      string: ''
......
20511 19897
      Accept-Language:
20512 19898
      - en
20513 19899
      Host:
20514
      - katello.example.com:50083
19900
      - satlap.example.com
20515 19901
  response:
20516 19902
    status:
20517 19903
      code: 200
20518 19904
      message: OK
20519 19905
    headers:
20520 19906
      Date:
20521
      - Thu, 01 Dec 2016 19:53:08 GMT
19907
      - Tue, 13 Dec 2016 14:47:18 GMT
20522 19908
      Server:
20523 19909
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20524 19910
      X-Frame-Options:
......
20536 19922
      Cache-Control:
20537 19923
      - max-age=0, private, must-revalidate
20538 19924
      X-Request-Id:
20539
      - 18025bbd-76b0-4f8d-9752-019b36723520
19925
      - d4a9ea8d-2f6b-4146-a017-d4c3b2a96231
20540 19926
      X-Runtime:
20541
      - '0.075729'
19927
      - '0.033567'
20542 19928
      X-Powered-By:
20543 19929
      - Phusion Passenger 4.0.18
19930
      Set-Cookie:
19931
      - _session_id=21af6493ecab0fd4d18a254e746989bb; path=/; secure; HttpOnly
20544 19932
      Etag:
20545
      - '"eb4279f4302ae26ee0d5569fa70ed751-gzip"'
19933
      - '"307661b689c047972a4830fc1c360f91-gzip"'
20546 19934
      Status:
20547 19935
      - 200 OK
20548 19936
      Vary:
20549 19937
      - Accept-Encoding
20550 19938
      Content-Length:
20551
      - '563'
19939
      - '559'
20552 19940
      Content-Type:
20553 19941
      - application/json; charset=utf-8
20554
      Set-Cookie:
20555
      - _session_id=31d28fdad53b76f9a9fa941b9b1d5810; path=/; secure; HttpOnly
20556 19942
    body:
20557 19943
      encoding: ASCII-8BIT
20558 19944
      string: |
......
20560 19946
          "total": 2,
20561 19947
          "subtotal": 2,
20562 19948
          "page": 1,
20563
          "per_page": 999999,
19949
          "per_page": 20,
20564 19950
          "search": null,
20565 19951
          "sort": {
20566 19952
            "by": null,
20567 19953
            "order": null
20568 19954
          },
20569
          "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"}]
19955
          "results": [{"label":"Default_Organization","created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:58 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 11:49:10 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20570 19956
        }
20571 19957
    http_version: 
20572
  recorded_at: Thu, 01 Dec 2016 19:53:16 GMT
19958
  recorded_at: Tue, 13 Dec 2016 14:47:16 GMT
20573 19959
- request:
20574 19960
    method: get
20575
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
19961
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
20576 19962
    body:
20577 19963
      encoding: US-ASCII
20578 19964
      string: ''
......
20588 19974
      Accept-Language:
20589 19975
      - en
20590 19976
      Host:
20591
      - katello.example.com:50083
19977
      - satlap.example.com
20592 19978
  response:
20593 19979
    status:
20594 19980
      code: 200
20595 19981
      message: OK
20596 19982
    headers:
20597 19983
      Date:
20598
      - Thu, 01 Dec 2016 19:53:08 GMT
19984
      - Tue, 13 Dec 2016 14:47:19 GMT
20599 19985
      Server:
20600 19986
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20601 19987
      X-Frame-Options:
......
20613 19999
      Cache-Control:
20614 20000
      - max-age=0, private, must-revalidate
20615 20001
      X-Request-Id:
20616
      - e6a6c7fa-5fd4-455d-ba9c-6457241ca0ae
20002
      - a3b54d33-2daf-4e31-8513-ca38782f72b5
20617 20003
      X-Runtime:
20618
      - '0.056397'
20004
      - '0.039122'
20619 20005
      X-Powered-By:
20620 20006
      - Phusion Passenger 4.0.18
20007
      Set-Cookie:
20008
      - _session_id=a5626879938b71ffb2bc27a9d24a747c; path=/; secure; HttpOnly
20621 20009
      Etag:
20622
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
20010
      - '"dece488d5a182a19a03a777e7a66a6cd-gzip"'
20623 20011
      Status:
20624 20012
      - 200 OK
20625 20013
      Vary:
......
20628 20016
      - '388'
20629 20017
      Content-Type:
20630 20018
      - application/json; charset=utf-8
20631
      Set-Cookie:
20632
      - _session_id=f6c0382dd606533a9f13312a6dfc80cb; path=/; secure; HttpOnly
20633 20019
    body:
20634 20020
      encoding: ASCII-8BIT
20635 20021
      string: |
......
20643 20029
            "by": null,
20644 20030
            "order": null
20645 20031
          },
20646
          "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"}]
20032
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 11:49:10 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20647 20033
        }
20648 20034
    http_version: 
20649
  recorded_at: Thu, 01 Dec 2016 19:53:16 GMT
20035
  recorded_at: Tue, 13 Dec 2016 14:47:16 GMT
20650 20036
- request:
20651 20037
    method: get
20652
    uri: https://admin:changeme@katello.example.com:50083/api/organizations/3/hosts?per_page=999999&search
20038
    uri: https://admin:changeme@satlap.example.com/api/organizations/8/hosts?full_results=true&search
20653 20039
    body:
20654 20040
      encoding: US-ASCII
20655 20041
      string: ''
......
20665 20051
      Accept-Language:
20666 20052
      - en
20667 20053
      Host:
20668
      - katello.example.com:50083
20054
      - satlap.example.com
20669 20055
  response:
20670 20056
    status:
20671 20057
      code: 200
20672 20058
      message: OK
20673 20059
    headers:
20674 20060
      Date:
20675
      - Thu, 01 Dec 2016 19:53:08 GMT
20061
      - Tue, 13 Dec 2016 14:47:19 GMT
20676 20062
      Server:
20677 20063
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20678 20064
      X-Frame-Options:
......
20690 20076
      Cache-Control:
20691 20077
      - max-age=0, private, must-revalidate
20692 20078
      X-Request-Id:
20693
      - b8441567-286f-4603-9436-c849dbec83f8
20079
      - 980dd62f-977d-49b1-a116-074c26db6e9e
20694 20080
      X-Runtime:
20695
      - '0.222756'
20081
      - '0.156213'
20696 20082
      X-Powered-By:
20697 20083
      - Phusion Passenger 4.0.18
20084
      Set-Cookie:
20085
      - _session_id=e1a89edcd3a001f98dc29e066ca37de2; path=/; secure; HttpOnly
20698 20086
      Etag:
20699
      - '"9effda062073f183f72d512484846af0-gzip"'
20087
      - '"0093e4891c5402618c30013556e3debc-gzip"'
20700 20088
      Status:
20701 20089
      - 200 OK
20702 20090
      Vary:
20703 20091
      - Accept-Encoding
20704 20092
      Content-Length:
20705
      - '4430'
20093
      - '4426'
20706 20094
      Content-Type:
20707 20095
      - application/json; charset=utf-8
20708
      Set-Cookie:
20709
      - _session_id=9c0cb902adcf77d0e6b5c11483261d72; path=/; secure; HttpOnly
20710 20096
    body:
20711 20097
      encoding: ASCII-8BIT
20712 20098
      string: |
......
20714 20100
          "total": 2,
20715 20101
          "subtotal": 2,
20716 20102
          "page": 1,
20717
          "per_page": 999999,
20103
          "per_page": 20,
20718 20104
          "search": null,
20719 20105
          "sort": {
20720 20106
            "by": null,
20721 20107
            "order": null
20722 20108
          },
20723
          "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}]
20109
          "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-13 11:01:00 UTC","updated_at":"2016-12-13 11:49:06 UTC","last_compile":"2016-12-13 11:01:02 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"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":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","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":"a39750b1-252f-41d2-8f8d-646ecd711e02","last_checkin":"2016-12-13 11:01:00 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13 11:01:01 UTC"},"content_host_id":5},{"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-13 10:58:55 UTC","updated_at":"2016-12-13 11:48:59 UTC","last_compile":"2016-12-13 10:58:57 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"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":4,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","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":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","last_checkin":"2016-12-13 10:58:55 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13 10:58:56 UTC"},"content_host_id":4}]
20724 20110
        }
20725 20111
    http_version: 
20726
  recorded_at: Thu, 01 Dec 2016 19:53:16 GMT
20112
  recorded_at: Tue, 13 Dec 2016 14:47:16 GMT
20727 20113
- request:
20728 20114
    method: get
20729
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/7
20115
    uri: https://admin:changeme@satlap.example.com/api/hosts/5
20730 20116
    body:
20731 20117
      encoding: US-ASCII
20732 20118
      string: ''
......
20742 20128
      Accept-Language:
20743 20129
      - en
20744 20130
      Host:
20745
      - katello.example.com:50083
20131
      - satlap.example.com
20746 20132
  response:
20747 20133
    status:
20748 20134
      code: 200
20749 20135
      message: OK
20750 20136
    headers:
20751 20137
      Date:
20752
      - Thu, 01 Dec 2016 19:53:08 GMT
20138
      - Tue, 13 Dec 2016 14:47:19 GMT
20753 20139
      Server:
20754 20140
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20755 20141
      X-Frame-Options:
......
20767 20153
      Cache-Control:
20768 20154
      - max-age=0, private, must-revalidate
20769 20155
      X-Request-Id:
20770
      - 17c8d5bd-0369-4eb2-ad60-ddf6e2704ced
20156
      - 0e80f9c5-a1d2-44c9-8dd2-20b25f85fbb7
20771 20157
      X-Runtime:
20772
      - '0.318279'
20158
      - '0.305075'
20773 20159
      X-Powered-By:
20774 20160
      - Phusion Passenger 4.0.18
20161
      Set-Cookie:
20162
      - _session_id=bde0e1f2f01dda49375a87c3771ee1ae; path=/; secure; HttpOnly
20775 20163
      Etag:
20776
      - '"e448a5d58bd7bf77d82743a538004059-gzip"'
20164
      - '"ad5c0377fc0b2c053648e4100b6ef71c-gzip"'
20777 20165
      Status:
20778 20166
      - 200 OK
20779 20167
      Vary:
......
20782 20170
      - '3850'
20783 20171
      Content-Type:
20784 20172
      - application/json; charset=utf-8
20785
      Set-Cookie:
20786
      - _session_id=cad29ba05f76307ff6100558cce5d2e9; path=/; secure; HttpOnly
20787 20173
    body:
20788 20174
      encoding: ASCII-8BIT
20789
      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
20790
        19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01
20791
        19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20175
      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-13
20176
        11:01:00 UTC","updated_at":"2016-12-13 11:49:06 UTC","last_compile":"2016-12-13
20177
        11:01:02 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
20792 20178
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20793 20179
        not calculate errata status, ensure host is registered and katello-agent is
20794
        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
20180
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","content_view_id":2,"content_view_name":"Default
20795 20181
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20796
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01
20797
        19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
20798
        19:38:28 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe53a530599","productId":"69","productName":"Red
20799
        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
20800
        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}}'
20182
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","last_checkin":"2016-12-13
20183
        11:01:00 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13
20184
        11:01:01 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f7d7ccd506f2","productId":"69","productName":"Red
20185
        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-13T11:01:04.853+0000","updated":"2016-12-13T11:01:04.853+0000"}]},"content_host_id":5,"parameters":[],"interfaces":[{"id":5,"name":"testphysical","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"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
20186
        Corporation/testphysical","system::certificate_version":"3.2","network::hostname":"testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-13T11:01:02+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}}'
20801 20187
    http_version: 
20802
  recorded_at: Thu, 01 Dec 2016 19:53:16 GMT
20188
  recorded_at: Tue, 13 Dec 2016 14:47:17 GMT
20803 20189
- request:
20804 20190
    method: get
20805
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/6
20191
    uri: https://admin:changeme@satlap.example.com/api/hosts/4
20806 20192
    body:
20807 20193
      encoding: US-ASCII
20808 20194
      string: ''
......
20818 20204
      Accept-Language:
20819 20205
      - en
20820 20206
      Host:
20821
      - katello.example.com:50083
20207
      - satlap.example.com
20822 20208
  response:
20823 20209
    status:
20824 20210
      code: 200
20825 20211
      message: OK
20826 20212
    headers:
20827 20213
      Date:
20828
      - Thu, 01 Dec 2016 19:53:09 GMT
20214
      - Tue, 13 Dec 2016 14:47:19 GMT
20829 20215
      Server:
20830 20216
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20831 20217
      X-Frame-Options:
......
20843 20229
      Cache-Control:
20844 20230
      - max-age=0, private, must-revalidate
20845 20231
      X-Request-Id:
20846
      - cf4c7cb7-fa38-4018-bac2-012218b4431a
20232
      - 928a31ec-42a7-4aed-aad6-ac84a2fff429
20847 20233
      X-Runtime:
20848
      - '0.322330'
20234
      - '0.288450'
20849 20235
      X-Powered-By:
20850 20236
      - Phusion Passenger 4.0.18
20237
      Set-Cookie:
20238
      - _session_id=b643f823b0d15c4c87a8e7f05438fc0d; path=/; secure; HttpOnly
20851 20239
      Etag:
20852
      - '"e46e20167be651c7a23bc7ab096d6df7-gzip"'
20240
      - '"6450bb45f7cdc8ae0fdc6a0fb74f6bd7-gzip"'
20853 20241
      Status:
20854 20242
      - 200 OK
20855 20243
      Vary:
......
20858 20246
      - '3820'
20859 20247
      Content-Type:
20860 20248
      - application/json; charset=utf-8
20861
      Set-Cookie:
20862
      - _session_id=9d69b51540701ae4a5fb62acd4579e1f; path=/; secure; HttpOnly
20863 20249
    body:
20864 20250
      encoding: ASCII-8BIT
20865
      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
20866
        19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01
20867
        19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20251
      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-13
20252
        10:58:55 UTC","updated_at":"2016-12-13 11:48:59 UTC","last_compile":"2016-12-13
20253
        10:58:57 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
20868 20254
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20869 20255
        not calculate errata status, ensure host is registered and katello-agent is
20870
        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
20256
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":4,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","content_view_id":2,"content_view_name":"Default
20871 20257
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20872
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01
20873
        19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
20874
        19:37:05 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe41f0e03f7","productId":"69","productName":"Red
20875
        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
20876
        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}}'
20258
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","last_checkin":"2016-12-13
20259
        10:58:55 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13
20260
        10:58:56 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f7d7a08106d8","productId":"69","productName":"Red
20261
        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-13T11:00:53.505+0000","updated":"2016-12-13T11:00:53.505+0000"}]},"content_host_id":4,"parameters":[],"interfaces":[{"id":4,"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
20262
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-13T10:58:57+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}}'
20877 20263
    http_version: 
20878
  recorded_at: Thu, 01 Dec 2016 19:53:17 GMT
20264
  recorded_at: Tue, 13 Dec 2016 14:47:17 GMT
20879 20265
- request:
20880 20266
    method: get
20881
    uri: https://admin:changeme@katello.example.com:50083/api/status
20267
    uri: https://admin:changeme@satlap.example.com/api/status
20882 20268
    body:
20883 20269
      encoding: US-ASCII
20884 20270
      string: ''
......
20889 20275
      - "*/*"
20890 20276
      User-Agent:
20891 20277
      - Ruby
20278
      Host:
20279
      - satlap.example.com
20892 20280
  response:
20893 20281
    status:
20894 20282
      code: 200
20895 20283
      message: OK
20896 20284
    headers:
20897 20285
      Date:
20898
      - Thu, 01 Dec 2016 19:53:09 GMT
20286
      - Tue, 13 Dec 2016 14:47:19 GMT
20899 20287
      Server:
20900 20288
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20901 20289
      X-Frame-Options:
......
20913 20301
      Cache-Control:
20914 20302
      - max-age=0, private, must-revalidate
20915 20303
      X-Request-Id:
20916
      - 0cd6ed38-a780-4a41-9ce9-c57697aa2564
20304
      - ddb6eb57-1ac1-48f8-b09e-94a53956797e
20917 20305
      X-Runtime:
20918
      - '0.040376'
20306
      - '0.034690'
20919 20307
      X-Powered-By:
20920 20308
      - Phusion Passenger 4.0.18
20309
      Set-Cookie:
20310
      - _session_id=73a41ab9cf6ebe5992c4a310344d1b37; path=/; secure; HttpOnly
20921 20311
      Etag:
20922 20312
      - '"8e3341d0a4cc328651f7391aed11fef8"'
20923 20313
      Status:
......
20926 20316
      - '66'
20927 20317
      Content-Type:
20928 20318
      - application/json; charset=utf-8
20929
      Set-Cookie:
20930
      - _session_id=72ea66f7cc473681657c92750afcaf34; path=/; secure; HttpOnly
20931 20319
    body:
20932 20320
      encoding: UTF-8
20933 20321
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
20934 20322
    http_version: 
20935
  recorded_at: Thu, 01 Dec 2016 19:53:17 GMT
20323
  recorded_at: Tue, 13 Dec 2016 14:47:17 GMT
20936 20324
- request:
20937 20325
    method: get
20938
    uri: https://admin:changeme@katello.example.com:50083/api/v2/plugins
20326
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
20939 20327
    body:
20940 20328
      encoding: US-ASCII
20941 20329
      string: ''
......
20946 20334
      - "*/*"
20947 20335
      User-Agent:
20948 20336
      - Ruby
20337
      Host:
20338
      - satlap.example.com
20949 20339
  response:
20950 20340
    status:
20951 20341
      code: 200
20952 20342
      message: OK
20953 20343
    headers:
20954 20344
      Date:
20955
      - Thu, 01 Dec 2016 19:53:09 GMT
20345
      - Tue, 13 Dec 2016 14:47:19 GMT
20956 20346
      Server:
20957 20347
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20958 20348
      X-Frame-Options:
......
20970 20360
      Cache-Control:
20971 20361
      - max-age=0, private, must-revalidate
20972 20362
      X-Request-Id:
20973
      - f2d61379-0b63-46f0-bb29-f63cbd77fce3
20363
      - 71698c9a-694e-444e-9562-ef96bfb2e6a4
20974 20364
      X-Runtime:
20975
      - '0.037371'
20365
      - '0.030246'
20976 20366
      X-Powered-By:
20977 20367
      - Phusion Passenger 4.0.18
20368
      Set-Cookie:
20369
      - _session_id=69724d9bf604e96c45f34d450433f1e2; path=/; secure; HttpOnly
20978 20370
      Etag:
20979 20371
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
20980 20372
      Status:
......
20985 20377
      - '1338'
20986 20378
      Content-Type:
20987 20379
      - application/json; charset=utf-8
20988
      Set-Cookie:
20989
      - _session_id=70291fb871fbe40ccdf99cfe9abae2d7; path=/; secure; HttpOnly
20990 20380
    body:
20991 20381
      encoding: ASCII-8BIT
20992 20382
      string: !binary |-
......
21065 20455
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
21066 20456
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
21067 20457
    http_version: 
21068
  recorded_at: Thu, 01 Dec 2016 19:53:17 GMT
20458
  recorded_at: Tue, 13 Dec 2016 14:47:17 GMT
21069 20459
- request:
21070 20460
    method: get
21071
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999
20461
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?full_results=true
21072 20462
    body:
21073 20463
      encoding: US-ASCII
21074 20464
      string: ''
......
21084 20474
      Accept-Language:
21085 20475
      - en
21086 20476
      Host:
21087
      - katello.example.com:50083
20477
      - satlap.example.com
21088 20478
  response:
21089 20479
    status:
21090 20480
      code: 200
21091 20481
      message: OK
21092 20482
    headers:
21093 20483
      Date:
21094
      - Thu, 01 Dec 2016 19:53:09 GMT
20484
      - Tue, 13 Dec 2016 14:47:19 GMT
21095 20485
      Server:
21096 20486
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21097 20487
      X-Frame-Options:
......
21109 20499
      Cache-Control:
21110 20500
      - max-age=0, private, must-revalidate
21111 20501
      X-Request-Id:
21112
      - 308af0d0-427e-42f1-b641-4b9a62d9d9d7
20502
      - 15ef6cd4-a196-4906-a039-1787d72df097
21113 20503
      X-Runtime:
21114
      - '0.056044'
20504
      - '0.046511'
21115 20505
      X-Powered-By:
21116 20506
      - Phusion Passenger 4.0.18
20507
      Set-Cookie:
20508
      - _session_id=5c6a55ab67fa81bb86e4a503ef79f5a1; path=/; secure; HttpOnly
21117 20509
      Etag:
21118
      - '"eb4279f4302ae26ee0d5569fa70ed751-gzip"'
20510
      - '"307661b689c047972a4830fc1c360f91-gzip"'
21119 20511
      Status:
21120 20512
      - 200 OK
21121 20513
      Vary:
21122 20514
      - Accept-Encoding
21123 20515
      Content-Length:
21124
      - '563'
20516
      - '559'
21125 20517
      Content-Type:
21126 20518
      - application/json; charset=utf-8
21127
      Set-Cookie:
21128
      - _session_id=3114b0183266db3c449e0e418e094169; path=/; secure; HttpOnly
21129 20519
    body:
21130 20520
      encoding: ASCII-8BIT
21131 20521
      string: |
......
21133 20523
          "total": 2,
21134 20524
          "subtotal": 2,
21135 20525
          "page": 1,
21136
          "per_page": 999999,
20526
          "per_page": 20,
21137 20527
          "search": null,
21138 20528
          "sort": {
21139 20529
            "by": null,
21140 20530
            "order": null
21141 20531
          },
21142
          "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"}]
20532
          "results": [{"label":"Default_Organization","created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:58 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 11:49:10 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21143 20533
        }
21144 20534
    http_version: 
21145
  recorded_at: Thu, 01 Dec 2016 19:53:17 GMT
20535
  recorded_at: Tue, 13 Dec 2016 14:47:17 GMT
21146 20536
- request:
21147 20537
    method: get
21148
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
20538
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
21149 20539
    body:
21150 20540
      encoding: US-ASCII
21151 20541
      string: ''
......
21161 20551
      Accept-Language:
21162 20552
      - en
21163 20553
      Host:
21164
      - katello.example.com:50083
20554
      - satlap.example.com
21165 20555
  response:
21166 20556
    status:
21167 20557
      code: 200
21168 20558
      message: OK
21169 20559
    headers:
21170 20560
      Date:
21171
      - Thu, 01 Dec 2016 19:53:09 GMT
20561
      - Tue, 13 Dec 2016 14:47:20 GMT
21172 20562
      Server:
21173 20563
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21174 20564
      X-Frame-Options:
......
21186 20576
      Cache-Control:
21187 20577
      - max-age=0, private, must-revalidate
21188 20578
      X-Request-Id:
21189
      - e0f43149-0805-42e0-b05c-e515d79fdfe4
20579
      - 98f7ff75-85de-4136-8106-d8ad99d4be73
21190 20580
      X-Runtime:
21191
      - '0.077385'
20581
      - '0.051209'
21192 20582
      X-Powered-By:
21193 20583
      - Phusion Passenger 4.0.18
20584
      Set-Cookie:
20585
      - _session_id=6c76983fcaa1c9edb9d84097bc86b53a; path=/; secure; HttpOnly
21194 20586
      Etag:
21195
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
20587
      - '"dece488d5a182a19a03a777e7a66a6cd-gzip"'
21196 20588
      Status:
21197 20589
      - 200 OK
21198 20590
      Vary:
......
21201 20593
      - '388'
21202 20594
      Content-Type:
21203 20595
      - application/json; charset=utf-8
21204
      Set-Cookie:
21205
      - _session_id=94618cf53e66a6320e78ca4e92475541; path=/; secure; HttpOnly
21206 20596
    body:
21207 20597
      encoding: ASCII-8BIT
21208 20598
      string: |
......
21216 20606
            "by": null,
21217 20607
            "order": null
21218 20608
          },
21219
          "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"}]
20609
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 11:49:10 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
21220 20610
        }
21221 20611
    http_version: 
21222
  recorded_at: Thu, 01 Dec 2016 19:53:17 GMT
20612
  recorded_at: Tue, 13 Dec 2016 14:47:17 GMT
21223 20613
- request:
21224 20614
    method: get
21225
    uri: https://admin:changeme@katello.example.com:50083/api/organizations/3/hosts?per_page=999999&search
20615
    uri: https://admin:changeme@satlap.example.com/api/organizations/8/hosts?full_results=true&search
21226 20616
    body:
21227 20617
      encoding: US-ASCII
21228 20618
      string: ''
......
21238 20628
      Accept-Language:
21239 20629
      - en
21240 20630
      Host:
21241
      - katello.example.com:50083
20631
      - satlap.example.com
21242 20632
  response:
21243 20633
    status:
21244 20634
      code: 200
21245 20635
      message: OK
21246 20636
    headers:
21247 20637
      Date:
21248
      - Thu, 01 Dec 2016 19:53:09 GMT
20638
      - Tue, 13 Dec 2016 14:47:20 GMT
21249 20639
      Server:
21250 20640
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21251 20641
      X-Frame-Options:
......
21263 20653
      Cache-Control:
21264 20654
      - max-age=0, private, must-revalidate
21265 20655
      X-Request-Id:
21266
      - 0a36ae61-f428-4c7a-93d5-821ce70983e9
20656
      - 2843f83e-1781-4d53-a666-dfa5d9e0fde7
21267 20657
      X-Runtime:
21268
      - '0.237186'
20658
      - '0.159412'
21269 20659
      X-Powered-By:
21270 20660
      - Phusion Passenger 4.0.18
20661
      Set-Cookie:
20662
      - _session_id=aafed549eccf33fe81170e6e3cd12e4b; path=/; secure; HttpOnly
21271 20663
      Etag:
21272
      - '"9effda062073f183f72d512484846af0-gzip"'
20664
      - '"0093e4891c5402618c30013556e3debc-gzip"'
21273 20665
      Status:
21274 20666
      - 200 OK
21275 20667
      Vary:
21276 20668
      - Accept-Encoding
21277 20669
      Content-Length:
21278
      - '4430'
20670
      - '4426'
21279 20671
      Content-Type:
21280 20672
      - application/json; charset=utf-8
21281
      Set-Cookie:
21282
      - _session_id=17aa630606bd220dde6c011145111258; path=/; secure; HttpOnly
21283 20673
    body:
21284 20674
      encoding: ASCII-8BIT
21285 20675
      string: |
......
21287 20677
          "total": 2,
21288 20678
          "subtotal": 2,
21289 20679
          "page": 1,
21290
          "per_page": 999999,
20680
          "per_page": 20,
21291 20681
          "search": null,
21292 20682
          "sort": {
21293 20683
            "by": null,
21294 20684
            "order": null
21295 20685
          },
21296
          "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}]
20686
          "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-13 11:01:00 UTC","updated_at":"2016-12-13 11:49:06 UTC","last_compile":"2016-12-13 11:01:02 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"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":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","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":"a39750b1-252f-41d2-8f8d-646ecd711e02","last_checkin":"2016-12-13 11:01:00 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13 11:01:01 UTC"},"content_host_id":5},{"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-13 10:58:55 UTC","updated_at":"2016-12-13 11:48:59 UTC","last_compile":"2016-12-13 10:58:57 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"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":4,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","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":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","last_checkin":"2016-12-13 10:58:55 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13 10:58:56 UTC"},"content_host_id":4}]
21297 20687
        }
21298 20688
    http_version: 
21299
  recorded_at: Thu, 01 Dec 2016 19:53:17 GMT
20689
  recorded_at: Tue, 13 Dec 2016 14:47:17 GMT
21300 20690
- request:
21301 20691
    method: get
21302
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/7
20692
    uri: https://admin:changeme@satlap.example.com/api/hosts/5
21303 20693
    body:
21304 20694
      encoding: US-ASCII
21305 20695
      string: ''
......
21315 20705
      Accept-Language:
21316 20706
      - en
21317 20707
      Host:
21318
      - katello.example.com:50083
20708
      - satlap.example.com
21319 20709
  response:
21320 20710
    status:
21321 20711
      code: 200
21322 20712
      message: OK
21323 20713
    headers:
21324 20714
      Date:
21325
      - Thu, 01 Dec 2016 19:53:10 GMT
20715
      - Tue, 13 Dec 2016 14:47:20 GMT
21326 20716
      Server:
21327 20717
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21328 20718
      X-Frame-Options:
......
21340 20730
      Cache-Control:
21341 20731
      - max-age=0, private, must-revalidate
21342 20732
      X-Request-Id:
21343
      - 36ffe5e1-100b-4412-a2fd-b42babad891c
20733
      - 80c51c00-2550-44cd-b81f-28dde8c0462d
21344 20734
      X-Runtime:
21345
      - '0.411395'
20735
      - '0.301674'
21346 20736
      X-Powered-By:
21347 20737
      - Phusion Passenger 4.0.18
20738
      Set-Cookie:
20739
      - _session_id=5e1d03030990d988872493eaf162f369; path=/; secure; HttpOnly
21348 20740
      Etag:
21349
      - '"e448a5d58bd7bf77d82743a538004059-gzip"'
20741
      - '"ad5c0377fc0b2c053648e4100b6ef71c-gzip"'
21350 20742
      Status:
21351 20743
      - 200 OK
21352 20744
      Vary:
......
21355 20747
      - '3850'
21356 20748
      Content-Type:
21357 20749
      - application/json; charset=utf-8
21358
      Set-Cookie:
21359
      - _session_id=34714294719481de7d6a0c5b518a6f02; path=/; secure; HttpOnly
21360 20750
    body:
21361 20751
      encoding: ASCII-8BIT
21362
      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
21363
        19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01
21364
        19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20752
      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-13
20753
        11:01:00 UTC","updated_at":"2016-12-13 11:49:06 UTC","last_compile":"2016-12-13
20754
        11:01:02 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff