Project

General

Profile

Revision ff467024

Added by Thomas McKay almost 6 years ago

vcr - full re-record

View differences:

test/fixtures/vcr_cassettes/resources/content_hosts/hypervisor_prefix.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/196/subscriptions?full_results=true
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
      - devel.example.com:50083
22
  response:
23
    status:
24
      code: 200
25
      message: OK
26
    headers:
27
      Date:
28
      - Mon, 27 Mar 2017 18:05:43 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
      - e1df2e8d43e22495b02a53b48e3b5298
43
      Cache-Control:
44
      - max-age=0, private, must-revalidate
45
      X-Request-Id:
46
      - 087ae632-2f11-44f4-8e34-b1bbea8f3ff3
47
      X-Runtime:
48
      - '0.092727'
49
      X-Powered-By:
50
      - Phusion Passenger 4.0.18
51
      Etag:
52
      - '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
53
      Status:
54
      - 200 OK
55
      Vary:
56
      - Accept-Encoding
57
      Content-Length:
58
      - '119'
59
      Content-Type:
60
      - application/json; charset=utf-8
61
      Set-Cookie:
62
      - _session_id=cec10cc5e1dd226c558f95b215297fc6; path=/; secure; HttpOnly
63
    body:
64
      encoding: ASCII-8BIT
65
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
66

  
67
'
68
    http_version: 
69
  recorded_at: Mon, 27 Mar 2017 18:05:50 GMT
70
- request:
71
    method: get
72
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/197/subscriptions?full_results=true
73
    body:
74
      encoding: US-ASCII
75
      string: ''
76
    headers:
77
      Accept:
78
      - application/json;version=2
79
      Accept-Encoding:
80
      - gzip, deflate
81
      User-Agent:
82
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
83
      Content-Type:
84
      - application/json
85
      Accept-Language:
86
      - en
87
      Host:
88
      - devel.example.com:50083
89
  response:
90
    status:
91
      code: 200
92
      message: OK
93
    headers:
94
      Date:
95
      - Mon, 27 Mar 2017 18:05:45 GMT
96
      Server:
97
      - Apache/2.4.6 (Red Hat Enterprise Linux)
98
      X-Frame-Options:
99
      - SAMEORIGIN
100
      X-Xss-Protection:
101
      - 1; mode=block
102
      X-Content-Type-Options:
103
      - nosniff
104
      Foreman-Version:
105
      - 1.11.0.54
106
      Foreman-Api-Version:
107
      - '2'
108
      Apipie-Checksum:
109
      - e1df2e8d43e22495b02a53b48e3b5298
110
      Cache-Control:
111
      - max-age=0, private, must-revalidate
112
      X-Request-Id:
113
      - f09ec2a4-d5b3-4c4c-a245-1b1044eee130
114
      X-Runtime:
115
      - '0.110802'
116
      X-Powered-By:
117
      - Phusion Passenger 4.0.18
118
      Etag:
119
      - '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
120
      Status:
121
      - 200 OK
122
      Vary:
123
      - Accept-Encoding
124
      Content-Length:
125
      - '119'
126
      Content-Type:
127
      - application/json; charset=utf-8
128
      Set-Cookie:
129
      - _session_id=1eec2b77c8e48f7ed77e9b29c94734c5; path=/; secure; HttpOnly
130
    body:
131
      encoding: ASCII-8BIT
132
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
133

  
134
'
135
    http_version: 
136
  recorded_at: Mon, 27 Mar 2017 18:05:52 GMT
137
- request:
138
    method: put
139
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/196
140
    body:
141
      encoding: UTF-8
142
      string: '{"host":{"subscription_facet_attributes":{"autoheal":false,"hypervisor_guest_uuids":["Test
143
        Corporation/abcprefixguest"]}}}'
144
    headers:
145
      Accept:
146
      - application/json;version=2
147
      Accept-Encoding:
148
      - gzip, deflate
149
      User-Agent:
150
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
151
      Content-Type:
152
      - application/json
153
      Accept-Language:
154
      - en
155
      Content-Length:
156
      - '122'
157
      Host:
158
      - devel.example.com:50083
159
  response:
160
    status:
161
      code: 200
162
      message: OK
163
    headers:
164
      Date:
165
      - Mon, 27 Mar 2017 18:05:45 GMT
166
      Server:
167
      - Apache/2.4.6 (Red Hat Enterprise Linux)
168
      X-Frame-Options:
169
      - SAMEORIGIN
170
      X-Xss-Protection:
171
      - 1; mode=block
172
      X-Content-Type-Options:
173
      - nosniff
174
      Foreman-Version:
175
      - 1.11.0.54
176
      Foreman-Api-Version:
177
      - '2'
178
      Apipie-Checksum:
179
      - e1df2e8d43e22495b02a53b48e3b5298
180
      Cache-Control:
181
      - max-age=0, private, must-revalidate
182
      X-Request-Id:
183
      - 7549a33d-b008-4156-858a-1a931e4f9d49
184
      X-Runtime:
185
      - '0.676572'
186
      X-Powered-By:
187
      - Phusion Passenger 4.0.18
188
      Etag:
189
      - '"37ef66a968858507a8c33d913dcfe22d-gzip"'
190
      Status:
191
      - 200 OK
192
      Vary:
193
      - Accept-Encoding
194
      Content-Length:
195
      - '3516'
196
      Content-Type:
197
      - application/json; charset=utf-8
198
      Set-Cookie:
199
      - _session_id=8480dcbc755c3c86dee1782f463e6461; path=/; secure; HttpOnly
200
      - request_method=PUT; path=/
201
    body:
202
      encoding: ASCII-8BIT
203
      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":"abcprefixhv","image_id":null,"image_name":null,"created_at":"2017-03-27
204
        18:05:42 UTC","updated_at":"2017-03-27 18:05:43 UTC","last_compile":"2017-03-27
205
        18:05:43 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
206
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
207
        not calculate errata status, ensure host is registered and katello-agent is
208
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"abcprefixhv","id":196,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":195,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","content_view_id":2,"content_view_name":"Default
209
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
210
        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":201,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","last_checkin":"2017-03-27
211
        18:05:42 UTC","service_level":null,"release_version":null,"autoheal":false,"registered_at":"2017-03-27
212
        18:05:42 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[{"name":"abcprefixguest","id":197}],"installed_products":[]},"content_host_id":201,"parameters":[],"interfaces":[{"id":197,"name":"abcprefixhv","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":"abcprefixhv","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"1","memory::memtotal":"4","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2017-03-27T18:05:43+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}}'
213
    http_version: 
214
  recorded_at: Mon, 27 Mar 2017 18:05:52 GMT
215
- request:
216
    method: get
217
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/197
218
    body:
219
      encoding: US-ASCII
220
      string: ''
221
    headers:
222
      Accept:
223
      - application/json;version=2
224
      Accept-Encoding:
225
      - gzip, deflate
226
      User-Agent:
227
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
228
      Content-Type:
229
      - application/json
230
      Accept-Language:
231
      - en
232
      Host:
233
      - devel.example.com:50083
234
  response:
235
    status:
236
      code: 200
237
      message: OK
238
    headers:
239
      Date:
240
      - Mon, 27 Mar 2017 18:05:47 GMT
241
      Server:
242
      - Apache/2.4.6 (Red Hat Enterprise Linux)
243
      X-Frame-Options:
244
      - SAMEORIGIN
245
      X-Xss-Protection:
246
      - 1; mode=block
247
      X-Content-Type-Options:
248
      - nosniff
249
      Foreman-Version:
250
      - 1.11.0.54
251
      Foreman-Api-Version:
252
      - '2'
253
      Apipie-Checksum:
254
      - e1df2e8d43e22495b02a53b48e3b5298
255
      Cache-Control:
256
      - max-age=0, private, must-revalidate
257
      X-Request-Id:
258
      - f9e0d373-9500-42e5-a5b6-e84663a19406
259
      X-Runtime:
260
      - '0.378343'
261
      X-Powered-By:
262
      - Phusion Passenger 4.0.18
263
      Etag:
264
      - '"1a64c17ae4ef4177f6ae8d52780cc51d-gzip"'
265
      Status:
266
      - 200 OK
267
      Vary:
268
      - Accept-Encoding
269
      Content-Length:
270
      - '3566'
271
      Content-Type:
272
      - application/json; charset=utf-8
273
      Set-Cookie:
274
      - _session_id=c8d796afdfa384610972c8c4ff7cacc3; path=/; secure; HttpOnly
275
    body:
276
      encoding: ASCII-8BIT
277
      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":"abcprefixguest","image_id":null,"image_name":null,"created_at":"2017-03-27
278
        18:05:44 UTC","updated_at":"2017-03-27 18:05:45 UTC","last_compile":"2017-03-27
279
        18:05:45 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
280
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
281
        not calculate errata status, ensure host is registered and katello-agent is
282
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"abcprefixguest","id":197,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":196,"uuid":"8f544a54-0b9d-4070-9401-11c7d64d95e3","content_view_id":2,"content_view_name":"Default
283
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
284
        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":202,"uuid":"8f544a54-0b9d-4070-9401-11c7d64d95e3","last_checkin":"2017-03-27
285
        18:05:44 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27
286
        18:05:44 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":{"name":"abcprefixhv","id":196},"virtual_guests":[],"installed_products":[]},"content_host_id":202,"parameters":[],"interfaces":[{"id":198,"name":"abcprefixguest","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"cpu::cpu(s)":"1","system::certificate_version":"3.2","network::hostname":"abcprefixguest","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"1","memory::memtotal":"4","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"true","virt::uuid":"Test
287
        Corporation/abcprefixguest","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2017-03-27T18:05:45+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}}'
288
    http_version: 
289
  recorded_at: Mon, 27 Mar 2017 18:05:53 GMT
290
- request:
291
    method: get
292
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/196
293
    body:
294
      encoding: US-ASCII
295
      string: ''
296
    headers:
297
      Accept:
298
      - application/json;version=2
299
      Accept-Encoding:
300
      - gzip, deflate
301
      User-Agent:
302
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
303
      Content-Type:
304
      - application/json
305
      Accept-Language:
306
      - en
307
      Host:
308
      - devel.example.com:50083
309
  response:
310
    status:
311
      code: 200
312
      message: OK
313
    headers:
314
      Date:
315
      - Mon, 27 Mar 2017 18:05:47 GMT
316
      Server:
317
      - Apache/2.4.6 (Red Hat Enterprise Linux)
318
      X-Frame-Options:
319
      - SAMEORIGIN
320
      X-Xss-Protection:
321
      - 1; mode=block
322
      X-Content-Type-Options:
323
      - nosniff
324
      Foreman-Version:
325
      - 1.11.0.54
326
      Foreman-Api-Version:
327
      - '2'
328
      Apipie-Checksum:
329
      - e1df2e8d43e22495b02a53b48e3b5298
330
      Cache-Control:
331
      - max-age=0, private, must-revalidate
332
      X-Request-Id:
333
      - 43578078-45b8-471f-bd3b-3c32a3b94117
334
      X-Runtime:
335
      - '0.353343'
336
      X-Powered-By:
337
      - Phusion Passenger 4.0.18
338
      Etag:
339
      - '"37ef66a968858507a8c33d913dcfe22d-gzip"'
340
      Status:
341
      - 200 OK
342
      Vary:
343
      - Accept-Encoding
344
      Content-Length:
345
      - '3516'
346
      Content-Type:
347
      - application/json; charset=utf-8
348
      Set-Cookie:
349
      - _session_id=a8f6de1745f6f99c3b35a04f4ff9b6db; path=/; secure; HttpOnly
350
    body:
351
      encoding: ASCII-8BIT
352
      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":"abcprefixhv","image_id":null,"image_name":null,"created_at":"2017-03-27
353
        18:05:42 UTC","updated_at":"2017-03-27 18:05:43 UTC","last_compile":"2017-03-27
354
        18:05:43 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
355
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
356
        not calculate errata status, ensure host is registered and katello-agent is
357
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"abcprefixhv","id":196,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":195,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","content_view_id":2,"content_view_name":"Default
358
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
359
        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":201,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","last_checkin":"2017-03-27
360
        18:05:42 UTC","service_level":null,"release_version":null,"autoheal":false,"registered_at":"2017-03-27
361
        18:05:42 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[{"name":"abcprefixguest","id":197}],"installed_products":[]},"content_host_id":201,"parameters":[],"interfaces":[{"id":197,"name":"abcprefixhv","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":"abcprefixhv","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"1","memory::memtotal":"4","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2017-03-27T18:05:43+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}}'
362
    http_version: 
363
  recorded_at: Mon, 27 Mar 2017 18:05:54 GMT
364
- request:
365
    method: get
366
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/196/subscriptions?organization_id=3
367
    body:
368
      encoding: US-ASCII
369
      string: ''
370
    headers:
371
      Accept:
372
      - application/json;version=2
373
      Accept-Encoding:
374
      - gzip, deflate
375
      User-Agent:
376
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
377
      Content-Type:
378
      - application/json
379
      Accept-Language:
380
      - en
381
      Host:
382
      - devel.example.com:50083
383
  response:
384
    status:
385
      code: 200
386
      message: OK
387
    headers:
388
      Date:
389
      - Mon, 27 Mar 2017 18:05:47 GMT
390
      Server:
391
      - Apache/2.4.6 (Red Hat Enterprise Linux)
392
      X-Frame-Options:
393
      - SAMEORIGIN
394
      X-Xss-Protection:
395
      - 1; mode=block
396
      X-Content-Type-Options:
397
      - nosniff
398
      Foreman-Version:
399
      - 1.11.0.54
400
      Foreman-Api-Version:
401
      - '2'
402
      Apipie-Checksum:
403
      - e1df2e8d43e22495b02a53b48e3b5298
404
      Cache-Control:
405
      - max-age=0, private, must-revalidate
406
      X-Request-Id:
407
      - 59888bd2-40ff-4bd0-b31e-22a3f362c946
408
      X-Runtime:
409
      - '0.123815'
410
      X-Powered-By:
411
      - Phusion Passenger 4.0.18
412
      Etag:
413
      - '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
414
      Status:
415
      - 200 OK
416
      Vary:
417
      - Accept-Encoding
418
      Content-Length:
419
      - '119'
420
      Content-Type:
421
      - application/json; charset=utf-8
422
      Set-Cookie:
423
      - _session_id=2baadc8ce00a34f8fa91220e9f97d750; path=/; secure; HttpOnly
424
    body:
425
      encoding: ASCII-8BIT
426
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
427

  
428
'
429
    http_version: 
430
  recorded_at: Mon, 27 Mar 2017 18:05:54 GMT
431
- request:
432
    method: get
433
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/197/subscriptions?organization_id=3
434
    body:
435
      encoding: US-ASCII
436
      string: ''
437
    headers:
438
      Accept:
439
      - application/json;version=2
440
      Accept-Encoding:
441
      - gzip, deflate
442
      User-Agent:
443
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
444
      Content-Type:
445
      - application/json
446
      Accept-Language:
447
      - en
448
      Host:
449
      - devel.example.com:50083
450
  response:
451
    status:
452
      code: 200
453
      message: OK
454
    headers:
455
      Date:
456
      - Mon, 27 Mar 2017 18:05:48 GMT
457
      Server:
458
      - Apache/2.4.6 (Red Hat Enterprise Linux)
459
      X-Frame-Options:
460
      - SAMEORIGIN
461
      X-Xss-Protection:
462
      - 1; mode=block
463
      X-Content-Type-Options:
464
      - nosniff
465
      Foreman-Version:
466
      - 1.11.0.54
467
      Foreman-Api-Version:
468
      - '2'
469
      Apipie-Checksum:
470
      - e1df2e8d43e22495b02a53b48e3b5298
471
      Cache-Control:
472
      - max-age=0, private, must-revalidate
473
      X-Request-Id:
474
      - 5c25ce93-1f6a-4e3c-97cd-3b395dc6b888
475
      X-Runtime:
476
      - '0.107572'
477
      X-Powered-By:
478
      - Phusion Passenger 4.0.18
479
      Etag:
480
      - '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
481
      Status:
482
      - 200 OK
483
      Vary:
484
      - Accept-Encoding
485
      Content-Length:
486
      - '119'
487
      Content-Type:
488
      - application/json; charset=utf-8
489
      Set-Cookie:
490
      - _session_id=3b942d97a8a3caef449874700a2c98f6; path=/; secure; HttpOnly
491
    body:
492
      encoding: ASCII-8BIT
493
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
494

  
495
'
496
    http_version: 
497
  recorded_at: Mon, 27 Mar 2017 18:05:54 GMT
498
- request:
499
    method: delete
500
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/196
501
    body:
502
      encoding: US-ASCII
503
      string: ''
504
    headers:
505
      Accept:
506
      - application/json;version=2
507
      Accept-Encoding:
508
      - gzip, deflate
509
      User-Agent:
510
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
511
      Content-Type:
512
      - application/json
513
      Accept-Language:
514
      - en
515
      Host:
516
      - devel.example.com:50083
517
  response:
518
    status:
519
      code: 200
520
      message: OK
521
    headers:
522
      Date:
523
      - Mon, 27 Mar 2017 18:05:48 GMT
524
      Server:
525
      - Apache/2.4.6 (Red Hat Enterprise Linux)
526
      X-Frame-Options:
527
      - SAMEORIGIN
528
      X-Xss-Protection:
529
      - 1; mode=block
530
      X-Content-Type-Options:
531
      - nosniff
532
      Foreman-Version:
533
      - 1.11.0.54
534
      Foreman-Api-Version:
535
      - '2'
536
      Apipie-Checksum:
537
      - e1df2e8d43e22495b02a53b48e3b5298
538
      Cache-Control:
539
      - max-age=0, private, must-revalidate
540
      X-Request-Id:
541
      - 388a4f66-ba67-4840-9fa7-940999207ff3
542
      X-Runtime:
543
      - '0.905987'
544
      X-Powered-By:
545
      - Phusion Passenger 4.0.18
546
      Etag:
547
      - '"bb29addfca12cebcbc7015b25e8bfb73-gzip"'
548
      Status:
549
      - 200 OK
550
      Vary:
551
      - Accept-Encoding
552
      Content-Length:
553
      - '1365'
554
      Content-Type:
555
      - application/json; charset=utf-8
556
      Set-Cookie:
557
      - _session_id=dd7175d093d706440807ca81f5737070; path=/; secure; HttpOnly
558
      - request_method=DELETE; path=/
559
    body:
560
      encoding: ASCII-8BIT
561
      string: '{"id":196,"name":"abcprefixhv","last_compile":"2017-03-27T18:05:43.000Z","last_report":null,"updated_at":"2017-03-27T18:05:43.833Z","created_at":"2017-03-27T18:05:42.529Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"abcprefixhv","image_id":null,"organization_id":3,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":0,"lookup_value_matcher":"fqdn=abcprefixhv","openscap_proxy_id":null,"content_facet_attributes":{"id":195,"host_id":196,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":201,"host_id":196,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","last_checkin":"2017-03-27T18:05:42.588Z","service_level":null,"release_version":null,"autoheal":false,"registered_at":"2017-03-27T18:05:42.773Z"}}'
562
    http_version: 
563
  recorded_at: Mon, 27 Mar 2017 18:05:55 GMT
564
- request:
565
    method: delete
566
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/197
567
    body:
568
      encoding: US-ASCII
569
      string: ''
570
    headers:
571
      Accept:
572
      - application/json;version=2
573
      Accept-Encoding:
574
      - gzip, deflate
575
      User-Agent:
576
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
577
      Content-Type:
578
      - application/json
579
      Accept-Language:
580
      - en
581
      Host:
582
      - devel.example.com:50083
583
  response:
584
    status:
585
      code: 200
586
      message: OK
587
    headers:
588
      Date:
589
      - Mon, 27 Mar 2017 18:05:49 GMT
590
      Server:
591
      - Apache/2.4.6 (Red Hat Enterprise Linux)
592
      X-Frame-Options:
593
      - SAMEORIGIN
594
      X-Xss-Protection:
595
      - 1; mode=block
596
      X-Content-Type-Options:
597
      - nosniff
598
      Foreman-Version:
599
      - 1.11.0.54
600
      Foreman-Api-Version:
601
      - '2'
602
      Apipie-Checksum:
603
      - e1df2e8d43e22495b02a53b48e3b5298
604
      Cache-Control:
605
      - max-age=0, private, must-revalidate
606
      X-Request-Id:
607
      - 5c408693-3a3d-48cd-b063-51d9dc1fc431
608
      X-Runtime:
609
      - '2.011408'
610
      X-Powered-By:
611
      - Phusion Passenger 4.0.18
612
      Etag:
613
      - '"64fc7c6de08826bf77095352a814331a-gzip"'
614
      Status:
615
      - 200 OK
616
      Vary:
617
      - Accept-Encoding
618
      Content-Length:
619
      - '1373'
620
      Content-Type:
621
      - application/json; charset=utf-8
622
      Set-Cookie:
623
      - _session_id=95bb8ae8fd8a460df904411524771a15; path=/; secure; HttpOnly
624
      - request_method=DELETE; path=/
625
    body:
626
      encoding: ASCII-8BIT
627
      string: '{"id":197,"name":"abcprefixguest","last_compile":"2017-03-27T18:05:45.000Z","last_report":null,"updated_at":"2017-03-27T18:05:45.686Z","created_at":"2017-03-27T18:05:44.194Z","root_pass":null,"architecture_id":null,"operatingsystem_id":null,"environment_id":null,"ptable_id":null,"medium_id":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"puppet_proxy_id":null,"certname":"abcprefixguest","image_id":null,"organization_id":3,"location_id":2,"otp":null,"realm_id":null,"compute_profile_id":null,"provision_method":"build","content_source_id":null,"grub_pass":"","discovery_rule_id":null,"content_view_id":null,"lifecycle_environment_id":null,"global_status":0,"lookup_value_matcher":"fqdn=abcprefixguest","openscap_proxy_id":null,"content_facet_attributes":{"id":196,"host_id":197,"uuid":"8f544a54-0b9d-4070-9401-11c7d64d95e3","content_view_id":2,"lifecycle_environment_id":2,"kickstart_repository_id":null},"subscription_facet_attributes":{"id":202,"host_id":197,"uuid":"8f544a54-0b9d-4070-9401-11c7d64d95e3","last_checkin":"2017-03-27T18:05:44.214Z","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27T18:05:44.389Z"}}'
628
    http_version: 
629
  recorded_at: Mon, 27 Mar 2017 18:05:57 GMT
630
- request:
631
    method: get
5 632
    uri: https://admin:changeme@devel.example.com:50083/api/status
6 633
    body:
7 634
      encoding: US-ASCII
......
21 648
      message: OK
22 649
    headers:
23 650
      Date:
24
      - Mon, 27 Mar 2017 18:05:41 GMT
651
      - Mon, 27 Mar 2017 18:34:31 GMT
25 652
      Server:
26 653
      - Apache/2.4.6 (Red Hat Enterprise Linux)
27 654
      X-Frame-Options:
......
39 666
      Cache-Control:
40 667
      - max-age=0, private, must-revalidate
41 668
      X-Request-Id:
42
      - c565f7dd-c34c-4949-8fa2-18b65369efea
669
      - aff40a80-e8c6-4cb0-8dab-aefcf1f824be
43 670
      X-Runtime:
44
      - '0.077433'
671
      - '0.069842'
45 672
      X-Powered-By:
46 673
      - Phusion Passenger 4.0.18
47 674
      Etag:
......
53 680
      Content-Type:
54 681
      - application/json; charset=utf-8
55 682
      Set-Cookie:
56
      - _session_id=11e273080334c24aa6dffa348c188eab; path=/; secure; HttpOnly
683
      - _session_id=b5ef570813f80fc8594a134d0313ed3d; path=/; secure; HttpOnly
57 684
    body:
58 685
      encoding: UTF-8
59 686
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
60 687
    http_version: 
61
  recorded_at: Mon, 27 Mar 2017 18:05:47 GMT
688
  recorded_at: Mon, 27 Mar 2017 18:34:37 GMT
62 689
- request:
63 690
    method: get
64 691
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
80 707
      message: OK
81 708
    headers:
82 709
      Date:
83
      - Mon, 27 Mar 2017 18:05:41 GMT
710
      - Mon, 27 Mar 2017 18:34:31 GMT
84 711
      Server:
85 712
      - Apache/2.4.6 (Red Hat Enterprise Linux)
86 713
      X-Frame-Options:
......
98 725
      Cache-Control:
99 726
      - max-age=0, private, must-revalidate
100 727
      X-Request-Id:
101
      - 7939b992-8832-4833-a092-6efc98962ac4
728
      - e5b2d023-a137-4dea-a7b3-f72e1c809078
102 729
      X-Runtime:
103
      - '0.037122'
730
      - '0.043806'
104 731
      X-Powered-By:
105 732
      - Phusion Passenger 4.0.18
106 733
      Etag:
......
114 741
      Content-Type:
115 742
      - application/json; charset=utf-8
116 743
      Set-Cookie:
117
      - _session_id=9f36007b1fd55dd06b3d090fce2435d9; path=/; secure; HttpOnly
744
      - _session_id=32b5a608a47a66733cb18da4bd9a6a81; path=/; secure; HttpOnly
118 745
    body:
119 746
      encoding: ASCII-8BIT
120 747
      string: !binary |-
......
193 820
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
194 821
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
195 822
    http_version: 
196
  recorded_at: Mon, 27 Mar 2017 18:05:47 GMT
823
  recorded_at: Mon, 27 Mar 2017 18:34:37 GMT
197 824
- request:
198 825
    method: get
199 826
    uri: https://devel.example.com:50083/apidoc/v2.en.json
......
219 846
      message: OK
220 847
    headers:
221 848
      Date:
222
      - Mon, 27 Mar 2017 18:05:41 GMT
849
      - Mon, 27 Mar 2017 18:34:31 GMT
223 850
      Server:
224 851
      - Apache/2.4.6 (Red Hat Enterprise Linux)
225 852
      X-Frame-Options:
......
237 864
      Apipie-Checksum:
238 865
      - e1df2e8d43e22495b02a53b48e3b5298
239 866
      X-Request-Id:
240
      - 04d31997-e067-4460-95fa-b1341dd95f51
867
      - a3970eb6-a240-44be-98bd-ce822dcf1139
241 868
      X-Runtime:
242
      - '0.008679'
869
      - '0.011950'
243 870
      X-Powered-By:
244 871
      - Phusion Passenger 4.0.18
245 872
      Status:
......
19878 20505
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
19879 20506
        ZW4uaHRtbCJ9fQ==
19880 20507
    http_version: 
19881
  recorded_at: Mon, 27 Mar 2017 18:05:47 GMT
20508
  recorded_at: Mon, 27 Mar 2017 18:34:37 GMT
19882 20509
- request:
19883 20510
    method: get
19884 20511
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
19904 20531
      message: OK
19905 20532
    headers:
19906 20533
      Date:
19907
      - Mon, 27 Mar 2017 18:05:41 GMT
20534
      - Mon, 27 Mar 2017 18:34:31 GMT
19908 20535
      Server:
19909 20536
      - Apache/2.4.6 (Red Hat Enterprise Linux)
19910 20537
      X-Frame-Options:
......
19922 20549
      Cache-Control:
19923 20550
      - max-age=0, private, must-revalidate
19924 20551
      X-Request-Id:
19925
      - 0e642a34-7a48-4d1c-8df9-dd376ebae9f1
20552
      - d63fa601-9364-4689-8dc4-1547940ac7ec
19926 20553
      X-Runtime:
19927
      - '0.078870'
20554
      - '0.054698'
19928 20555
      X-Powered-By:
19929 20556
      - Phusion Passenger 4.0.18
19930 20557
      Etag:
19931
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
20558
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
19932 20559
      Status:
19933 20560
      - 200 OK
19934 20561
      Vary:
......
19938 20565
      Content-Type:
19939 20566
      - application/json; charset=utf-8
19940 20567
      Set-Cookie:
19941
      - _session_id=02d0f8d0b2bb3fd38feec2e1548a401b; path=/; secure; HttpOnly
20568
      - _session_id=ab3228f1f6f44bdd7f0c18e3b67ca137; path=/; secure; HttpOnly
19942 20569
    body:
19943 20570
      encoding: ASCII-8BIT
19944 20571
      string: |
......
19952 20579
            "by": null,
19953 20580
            "order": null
19954 20581
          },
19955
          "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"}]
20582
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
19956 20583
        }
19957 20584
    http_version: 
19958
  recorded_at: Mon, 27 Mar 2017 18:05:47 GMT
20585
  recorded_at: Mon, 27 Mar 2017 18:34:37 GMT
19959 20586
- request:
19960 20587
    method: get
19961 20588
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?per_page=1
......
19981 20608
      message: OK
19982 20609
    headers:
19983 20610
      Date:
19984
      - Mon, 27 Mar 2017 18:05:41 GMT
20611
      - Mon, 27 Mar 2017 18:34:31 GMT
19985 20612
      Server:
19986 20613
      - Apache/2.4.6 (Red Hat Enterprise Linux)
19987 20614
      X-Frame-Options:
......
19999 20626
      Cache-Control:
20000 20627
      - max-age=0, private, must-revalidate
20001 20628
      X-Request-Id:
20002
      - 6fefb7f3-f033-41d4-a494-27ed348e63c3
20629
      - 8d2f63de-2a8b-4fa6-94dc-1b5e8b5ebb70
20003 20630
      X-Runtime:
20004
      - '0.116437'
20631
      - '0.564120'
20005 20632
      X-Powered-By:
20006 20633
      - Phusion Passenger 4.0.18
20007 20634
      Etag:
20008
      - '"c7b5f9500f4b16e2a0ccdab75fa46175-gzip"'
20635
      - '"aa071a3b0682e7e6e0310fa5e49927ac-gzip"'
20009 20636
      Status:
20010 20637
      - 200 OK
20011 20638
      Vary:
......
20015 20642
      Content-Type:
20016 20643
      - application/json; charset=utf-8
20017 20644
      Set-Cookie:
20018
      - _session_id=f7c29cd44f8cbd1974eb66e2778a01e4; path=/; secure; HttpOnly
20645
      - _session_id=4d0d0b7b06e5241f38e59d0a1ac37bed; path=/; secure; HttpOnly
20019 20646
    body:
20020 20647
      encoding: ASCII-8BIT
20021 20648
      string: |
......
20029 20656
            "by": null,
20030 20657
            "order": null
20031 20658
          },
20032
          "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}]
20659
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6}]
20033 20660
        }
20034 20661
    http_version: 
20035
  recorded_at: Mon, 27 Mar 2017 18:05:48 GMT
20662
  recorded_at: Mon, 27 Mar 2017 18:34:38 GMT
20036 20663
- request:
20037 20664
    method: get
20038 20665
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?page=1&per_page=20
......
20058 20685
      message: OK
20059 20686
    headers:
20060 20687
      Date:
20061
      - Mon, 27 Mar 2017 18:05:41 GMT
20688
      - Mon, 27 Mar 2017 18:34:32 GMT
20062 20689
      Server:
20063 20690
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20064 20691
      X-Frame-Options:
......
20076 20703
      Cache-Control:
20077 20704
      - max-age=0, private, must-revalidate
20078 20705
      X-Request-Id:
20079
      - 23a7a19f-4b04-45b6-8864-fc265d93174b
20706
      - 5f1366c6-4300-454d-8e14-7ef919dc5e93
20080 20707
      X-Runtime:
20081
      - '0.230788'
20708
      - '0.199463'
20082 20709
      X-Powered-By:
20083 20710
      - Phusion Passenger 4.0.18
20084 20711
      Etag:
20085
      - '"45ecf6e7a477c9531ef71cc8635b2810-gzip"'
20712
      - '"790c22d6d1fcf8c0b08afacb06f8909f-gzip"'
20086 20713
      Status:
20087 20714
      - 200 OK
20088 20715
      Vary:
......
20092 20719
      Content-Type:
20093 20720
      - application/json; charset=utf-8
20094 20721
      Set-Cookie:
20095
      - _session_id=85cbdf9b731fa8a14ab2a610a323847e; path=/; secure; HttpOnly
20722
      - _session_id=5a44663302e62e7d950b23f5b0fce58e; path=/; secure; HttpOnly
20096 20723
    body:
20097 20724
      encoding: ASCII-8BIT
20098 20725
      string: |
......
20106 20733
            "by": null,
20107 20734
            "order": null
20108 20735
          },
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-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}]
20736
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
20110 20737
        }
20111 20738
    http_version: 
20112
  recorded_at: Mon, 27 Mar 2017 18:05:48 GMT
20739
  recorded_at: Mon, 27 Mar 2017 18:34:38 GMT
20113 20740
- request:
20114 20741
    method: get
20115 20742
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/environments?per_page=999999
......
20135 20762
      message: OK
20136 20763
    headers:
20137 20764
      Date:
20138
      - Mon, 27 Mar 2017 18:05:42 GMT
20765
      - Mon, 27 Mar 2017 18:34:32 GMT
20139 20766
      Server:
20140 20767
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20141 20768
      X-Frame-Options:
......
20153 20780
      Cache-Control:
20154 20781
      - max-age=0, private, must-revalidate
20155 20782
      X-Request-Id:
20156
      - c8fbccaf-5575-4d5f-89a7-9fac32f2f786
20783
      - 9982e682-40be-4beb-a392-2bef46a35099
20157 20784
      X-Runtime:
20158
      - '0.096019'
20785
      - '0.093670'
20159 20786
      X-Powered-By:
20160 20787
      - Phusion Passenger 4.0.18
20161 20788
      Etag:
......
20169 20796
      Content-Type:
20170 20797
      - application/json; charset=utf-8
20171 20798
      Set-Cookie:
20172
      - _session_id=40c6d43095d5b811a03f74b320124f81; path=/; secure; HttpOnly
20799
      - _session_id=4887da42763dfe943e444597c49ade4f; path=/; secure; HttpOnly
20173 20800
    body:
20174 20801
      encoding: ASCII-8BIT
20175 20802
      string: '{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test,
......
20186 20813

  
20187 20814
'
20188 20815
    http_version: 
20189
  recorded_at: Mon, 27 Mar 2017 18:05:48 GMT
20816
  recorded_at: Mon, 27 Mar 2017 18:34:38 GMT
20190 20817
- request:
20191 20818
    method: get
20192 20819
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/content_views?per_page=999999
......
20212 20839
      message: OK
20213 20840
    headers:
20214 20841
      Date:
20215
      - Mon, 27 Mar 2017 18:05:42 GMT
20842
      - Mon, 27 Mar 2017 18:34:32 GMT
20216 20843
      Server:
20217 20844
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20218 20845
      X-Frame-Options:
......
20230 20857
      Cache-Control:
20231 20858
      - max-age=0, private, must-revalidate
20232 20859
      X-Request-Id:
20233
      - a9c27c5c-8249-4e89-adff-c67f05e67bb7
20860
      - eb07b41b-62b0-4b9b-8909-d3e3fe7dcd39
20234 20861
      X-Runtime:
20235
      - '0.054884'
20862
      - '0.068816'
20236 20863
      X-Powered-By:
20237 20864
      - Phusion Passenger 4.0.18
20238 20865
      Etag:
......
20246 20873
      Content-Type:
20247 20874
      - application/json; charset=utf-8
20248 20875
      Set-Cookie:
20249
      - _session_id=ba9431911accdf05fc5e48665358676a; path=/; secure; HttpOnly
20876
      - _session_id=5fafc938a63e4f353e89038b32242113; path=/; secure; HttpOnly
20250 20877
    body:
20251 20878
      encoding: ASCII-8BIT
20252 20879
      string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
......
20263 20890

  
20264 20891
'
20265 20892
    http_version: 
20266
  recorded_at: Mon, 27 Mar 2017 18:05:48 GMT
20893
  recorded_at: Mon, 27 Mar 2017 18:34:38 GMT
20267 20894
- request:
20268 20895
    method: post
20269 20896
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/subscriptions
......
20291 20918
      message: OK
20292 20919
    headers:
20293 20920
      Date:
20294
      - Mon, 27 Mar 2017 18:05:42 GMT
20921
      - Mon, 27 Mar 2017 18:34:32 GMT
20295 20922
      Server:
20296 20923
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20297 20924
      X-Frame-Options:
......
20309 20936
      Cache-Control:
20310 20937
      - max-age=0, private, must-revalidate
20311 20938
      X-Request-Id:
20312
      - df759cd0-81d9-4170-bc6e-1073c78a2097
20939
      - 8b93b0f1-041d-4c71-b308-3541edefeec7
20313 20940
      X-Runtime:
20314
      - '1.564635'
20941
      - '1.551275'
20315 20942
      X-Powered-By:
20316 20943
      - Phusion Passenger 4.0.18
20317 20944
      Etag:
20318
      - '"fddd640676043bf9a3e05f41b5ae95c6-gzip"'
20945
      - '"1449c28d143c06b65bc14de57931866e-gzip"'
20319 20946
      Status:
20320 20947
      - 200 OK
20321 20948
      Vary:
......
20325 20952
      Content-Type:
20326 20953
      - application/json; charset=utf-8
20327 20954
      Set-Cookie:
20328
      - _session_id=31951a0cdebb8799b9a21775291ede6e; path=/; secure; HttpOnly
20955
      - _session_id=56bbdddcd86a99eeb8a5778683704164; path=/; secure; HttpOnly
20329 20956
      - request_method=POST; path=/
20330 20957
    body:
20331 20958
      encoding: ASCII-8BIT
20332
      string: '  {"id":196,"name":"abcprefixhv","content_view":"Default Organization
20959
      string: '  {"id":212,"name":"abcprefixhv","content_view":"Default Organization
20333 20960
        View","content_view_id":null,"environment":"Library"}
20334 20961

  
20335 20962
'
20336 20963
    http_version: 
20337
  recorded_at: Mon, 27 Mar 2017 18:05:50 GMT
20964
  recorded_at: Mon, 27 Mar 2017 18:34:40 GMT
20338 20965
- request:
20339 20966
    method: get
20340
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/196/subscriptions?full_results=true
20967
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/212/subscriptions?full_results=true
20341 20968
    body:
20342 20969
      encoding: US-ASCII
20343 20970
      string: ''
......
20360 20987
      message: OK
20361 20988
    headers:
20362 20989
      Date:
20363
      - Mon, 27 Mar 2017 18:05:43 GMT
20990
      - Mon, 27 Mar 2017 18:34:34 GMT
20364 20991
      Server:
20365 20992
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20366 20993
      X-Frame-Options:
......
20378 21005
      Cache-Control:
20379 21006
      - max-age=0, private, must-revalidate
20380 21007
      X-Request-Id:
20381
      - 087ae632-2f11-44f4-8e34-b1bbea8f3ff3
21008
      - 23e24fcc-c63c-45ab-a880-cc03c9251392
20382 21009
      X-Runtime:
20383
      - '0.092727'
21010
      - '0.092635'
20384 21011
      X-Powered-By:
20385 21012
      - Phusion Passenger 4.0.18
20386 21013
      Etag:
......
20394 21021
      Content-Type:
20395 21022
      - application/json; charset=utf-8
20396 21023
      Set-Cookie:
20397
      - _session_id=cec10cc5e1dd226c558f95b215297fc6; path=/; secure; HttpOnly
21024
      - _session_id=febbf62d0fb71e1b2847bcad4ccf132a; path=/; secure; HttpOnly
20398 21025
    body:
20399 21026
      encoding: ASCII-8BIT
20400 21027
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
20401 21028

  
20402 21029
'
20403 21030
    http_version: 
20404
  recorded_at: Mon, 27 Mar 2017 18:05:50 GMT
21031
  recorded_at: Mon, 27 Mar 2017 18:34:40 GMT
20405 21032
- request:
20406 21033
    method: post
20407 21034
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/subscriptions
......
20430 21057
      message: OK
20431 21058
    headers:
20432 21059
      Date:
20433
      - Mon, 27 Mar 2017 18:05:44 GMT
21060
      - Mon, 27 Mar 2017 18:34:34 GMT
20434 21061
      Server:
20435 21062
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20436 21063
      X-Frame-Options:
......
20448 21075
      Cache-Control:
20449 21076
      - max-age=0, private, must-revalidate
20450 21077
      X-Request-Id:
20451
      - af3bea7d-b8f0-4f10-89af-4b7234597b12
21078
      - efae2f2c-751c-4878-b994-2cedf877a633
20452 21079
      X-Runtime:
20453
      - '1.704342'
21080
      - '1.779214'
20454 21081
      X-Powered-By:
20455 21082
      - Phusion Passenger 4.0.18
20456 21083
      Etag:
20457
      - '"7442c61ce80260c81ac76050bfbc6d81-gzip"'
21084
      - '"32af9eb33ab994a320a6d7585eabcf89-gzip"'
20458 21085
      Status:
20459 21086
      - 200 OK
20460 21087
      Vary:
......
20464 21091
      Content-Type:
20465 21092
      - application/json; charset=utf-8
20466 21093
      Set-Cookie:
20467
      - _session_id=63ae140031df635db0903b714f899936; path=/; secure; HttpOnly
21094
      - _session_id=f4787325db1a92f94aa4c0d5cc20b90c; path=/; secure; HttpOnly
20468 21095
      - request_method=POST; path=/
20469 21096
    body:
20470 21097
      encoding: ASCII-8BIT
20471
      string: '  {"id":197,"name":"abcprefixguest","content_view":"Default Organization
21098
      string: '  {"id":213,"name":"abcprefixguest","content_view":"Default Organization
20472 21099
        View","content_view_id":null,"environment":"Library"}
20473 21100

  
20474 21101
'
20475 21102
    http_version: 
20476
  recorded_at: Mon, 27 Mar 2017 18:05:51 GMT
21103
  recorded_at: Mon, 27 Mar 2017 18:34:42 GMT
20477 21104
- request:
20478 21105
    method: get
20479
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/197/subscriptions?full_results=true
21106
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/213/subscriptions?full_results=true
20480 21107
    body:
20481 21108
      encoding: US-ASCII
20482 21109
      string: ''
......
20499 21126
      message: OK
20500 21127
    headers:
20501 21128
      Date:
20502
      - Mon, 27 Mar 2017 18:05:45 GMT
21129
      - Mon, 27 Mar 2017 18:34:36 GMT
20503 21130
      Server:
20504 21131
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20505 21132
      X-Frame-Options:
......
20517 21144
      Cache-Control:
20518 21145
      - max-age=0, private, must-revalidate
20519 21146
      X-Request-Id:
20520
      - f09ec2a4-d5b3-4c4c-a245-1b1044eee130
21147
      - aad21769-3c28-4dee-99c5-d1df3afffbad
20521 21148
      X-Runtime:
20522
      - '0.110802'
21149
      - '0.103855'
20523 21150
      X-Powered-By:
20524 21151
      - Phusion Passenger 4.0.18
20525 21152
      Etag:
......
20533 21160
      Content-Type:
20534 21161
      - application/json; charset=utf-8
20535 21162
      Set-Cookie:
20536
      - _session_id=1eec2b77c8e48f7ed77e9b29c94734c5; path=/; secure; HttpOnly
21163
      - _session_id=88f5de431333ea2b7eadcab9b8c8e643; path=/; secure; HttpOnly
20537 21164
    body:
20538 21165
      encoding: ASCII-8BIT
20539 21166
      string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
20540 21167

  
20541 21168
'
20542 21169
    http_version: 
20543
  recorded_at: Mon, 27 Mar 2017 18:05:52 GMT
21170
  recorded_at: Mon, 27 Mar 2017 18:34:42 GMT
20544 21171
- request:
20545 21172
    method: put
20546
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/196
21173
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/212
20547 21174
    body:
20548 21175
      encoding: UTF-8
20549 21176
      string: '{"host":{"subscription_facet_attributes":{"autoheal":false,"hypervisor_guest_uuids":["Test
......
20569 21196
      message: OK
20570 21197
    headers:
20571 21198
      Date:
20572
      - Mon, 27 Mar 2017 18:05:45 GMT
21199
      - Mon, 27 Mar 2017 18:34:36 GMT
20573 21200
      Server:
20574 21201
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20575 21202
      X-Frame-Options:
......
20587 21214
      Cache-Control:
20588 21215
      - max-age=0, private, must-revalidate
20589 21216
      X-Request-Id:
20590
      - 7549a33d-b008-4156-858a-1a931e4f9d49
21217
      - d1922bb5-0186-47e3-baec-bef19bdcc773
20591 21218
      X-Runtime:
20592
      - '0.676572'
21219
      - '0.657545'
20593 21220
      X-Powered-By:
20594 21221
      - Phusion Passenger 4.0.18
20595 21222
      Etag:
20596
      - '"37ef66a968858507a8c33d913dcfe22d-gzip"'
21223
      - '"5312278a271a6b565f18eb9245bb1912-gzip"'
20597 21224
      Status:
20598 21225
      - 200 OK
20599 21226
      Vary:
......
20603 21230
      Content-Type:
20604 21231
      - application/json; charset=utf-8
20605 21232
      Set-Cookie:
20606
      - _session_id=8480dcbc755c3c86dee1782f463e6461; path=/; secure; HttpOnly
21233
      - _session_id=86f999b34b6d835be037d027337586ab; path=/; secure; HttpOnly
20607 21234
      - request_method=PUT; path=/
20608 21235
    body:
20609 21236
      encoding: ASCII-8BIT
20610 21237
      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":"abcprefixhv","image_id":null,"image_name":null,"created_at":"2017-03-27
20611
        18:05:42 UTC","updated_at":"2017-03-27 18:05:43 UTC","last_compile":"2017-03-27
20612
        18:05:43 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
21238
        18:34:32 UTC","updated_at":"2017-03-27 18:34:34 UTC","last_compile":"2017-03-27
21239
        18:34:33 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20613 21240
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20614 21241
        not calculate errata status, ensure host is registered and katello-agent is
20615
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"abcprefixhv","id":196,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":195,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","content_view_id":2,"content_view_name":"Default
21242
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"abcprefixhv","id":212,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":211,"uuid":"aa15d014-62fe-4431-826c-f3f34fb227d5","content_view_id":2,"content_view_name":"Default
20616 21243
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20617
        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":201,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","last_checkin":"2017-03-27
20618
        18:05:42 UTC","service_level":null,"release_version":null,"autoheal":false,"registered_at":"2017-03-27
20619
        18:05:42 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[{"name":"abcprefixguest","id":197}],"installed_products":[]},"content_host_id":201,"parameters":[],"interfaces":[{"id":197,"name":"abcprefixhv","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":"abcprefixhv","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"1","memory::memtotal":"4","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2017-03-27T18:05:43+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}}'
21244
        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":217,"uuid":"aa15d014-62fe-4431-826c-f3f34fb227d5","last_checkin":"2017-03-27
21245
        18:34:32 UTC","service_level":null,"release_version":null,"autoheal":false,"registered_at":"2017-03-27
21246
        18:34:33 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[{"name":"abcprefixguest","id":213}],"installed_products":[]},"content_host_id":217,"parameters":[],"interfaces":[{"id":213,"name":"abcprefixhv","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":"abcprefixhv","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"1","memory::memtotal":"4","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"6.4","virt::is_guest":"false","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2017-03-27T18:34:33+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}}'
20620 21247
    http_version: 
20621
  recorded_at: Mon, 27 Mar 2017 18:05:52 GMT
21248
  recorded_at: Mon, 27 Mar 2017 18:34:43 GMT
20622 21249
- request:
20623 21250
    method: get
20624 21251
    uri: https://admin:changeme@devel.example.com:50083/api/status
......
20640 21267
      message: OK
20641 21268
    headers:
20642 21269
      Date:
20643
      - Mon, 27 Mar 2017 18:05:46 GMT
21270
      - Mon, 27 Mar 2017 18:34:36 GMT
20644 21271
      Server:
20645 21272
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20646 21273
      X-Frame-Options:
......
20658 21285
      Cache-Control:
20659 21286
      - max-age=0, private, must-revalidate
20660 21287
      X-Request-Id:
20661
      - 7c492093-5b15-42f1-9b07-9e0490f633c7
21288
      - a2516d9c-f2a3-4241-8e10-f4c03e56bb95
20662 21289
      X-Runtime:
20663
      - '0.027829'
21290
      - '0.104548'
20664 21291
      X-Powered-By:
20665 21292
      - Phusion Passenger 4.0.18
20666 21293
      Etag:
......
20672 21299
      Content-Type:
20673 21300
      - application/json; charset=utf-8
20674 21301
      Set-Cookie:
20675
      - _session_id=0a7628ff9bcbbd34a3140e6d0338a4b6; path=/; secure; HttpOnly
21302
      - _session_id=fb7d18d798a1e877775eff125445e951; path=/; secure; HttpOnly
20676 21303
    body:
20677 21304
      encoding: UTF-8
20678 21305
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
20679 21306
    http_version: 
20680
  recorded_at: Mon, 27 Mar 2017 18:05:52 GMT
21307
  recorded_at: Mon, 27 Mar 2017 18:34:43 GMT
20681 21308
- request:
20682 21309
    method: get
20683 21310
    uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
......
20699 21326
      message: OK
20700 21327
    headers:
20701 21328
      Date:
20702
      - Mon, 27 Mar 2017 18:05:46 GMT
21329
      - Mon, 27 Mar 2017 18:34:37 GMT
20703 21330
      Server:
20704 21331
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20705 21332
      X-Frame-Options:
......
20717 21344
      Cache-Control:
20718 21345
      - max-age=0, private, must-revalidate
20719 21346
      X-Request-Id:
20720
      - c05369ad-29f0-4ab6-98fc-3cccaba653f3
21347
      - aeea3781-92bf-44e1-8462-18f23aa04cb6
20721 21348
      X-Runtime:
20722
      - '0.030520'
21349
      - '0.094666'
20723 21350
      X-Powered-By:
20724 21351
      - Phusion Passenger 4.0.18
20725 21352
      Etag:
......
20733 21360
      Content-Type:
20734 21361
      - application/json; charset=utf-8
20735 21362
      Set-Cookie:
20736
      - _session_id=cdfe9193f917eeb800ea69ab8938e3c1; path=/; secure; HttpOnly
21363
      - _session_id=f139fe962e41960102df309dbfe07b67; path=/; secure; HttpOnly
20737 21364
    body:
20738 21365
      encoding: ASCII-8BIT
20739 21366
      string: !binary |-
......
20812 21439
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
20813 21440
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
20814 21441
    http_version: 
20815
  recorded_at: Mon, 27 Mar 2017 18:05:52 GMT
21442
  recorded_at: Mon, 27 Mar 2017 18:34:43 GMT
20816 21443
- request:
20817 21444
    method: get
20818 21445
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?full_results=true
......
20838 21465
      message: OK
20839 21466
    headers:
20840 21467
      Date:
20841
      - Mon, 27 Mar 2017 18:05:46 GMT
21468
      - Mon, 27 Mar 2017 18:34:37 GMT
20842 21469
      Server:
20843 21470
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20844 21471
      X-Frame-Options:
......
20856 21483
      Cache-Control:
20857 21484
      - max-age=0, private, must-revalidate
20858 21485
      X-Request-Id:
20859
      - c8a0ed35-42f2-4fc0-8ca3-baa3064e86de
21486
      - 2bf29996-4f13-4259-8bfa-7d8b68634bba
20860 21487
      X-Runtime:
20861
      - '0.051289'
21488
      - '0.135696'
20862 21489
      X-Powered-By:
20863 21490
      - Phusion Passenger 4.0.18
20864 21491
      Etag:
20865
      - '"c19a9ec0c44c3ce2af3dae673f2a45e0-gzip"'
21492
      - '"73a5bc88d138c8b8b28447e7d89ee3cd-gzip"'
20866 21493
      Status:
20867 21494
      - 200 OK
20868 21495
      Vary:
......
20872 21499
      Content-Type:
20873 21500
      - application/json; charset=utf-8
20874 21501
      Set-Cookie:
20875
      - _session_id=ccc8199cc84021b78368b06b5cc1b480; path=/; secure; HttpOnly
21502
      - _session_id=13b35f8346887ef02b6ff24b222fbbe0; path=/; secure; HttpOnly
20876 21503
    body:
20877 21504
      encoding: ASCII-8BIT
20878 21505
      string: |
......
20886 21513
            "by": null,
20887 21514
            "order": null
20888 21515
          },
20889
          "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"}]
21516
          "results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20890 21517
        }
20891 21518
    http_version: 
20892
  recorded_at: Mon, 27 Mar 2017 18:05:52 GMT
21519
  recorded_at: Mon, 27 Mar 2017 18:34:43 GMT
20893 21520
- request:
20894 21521
    method: get
20895 21522
    uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
......
20915 21542
      message: OK
20916 21543
    headers:
20917 21544
      Date:
20918
      - Mon, 27 Mar 2017 18:05:46 GMT
21545
      - Mon, 27 Mar 2017 18:34:37 GMT
20919 21546
      Server:
20920 21547
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20921 21548
      X-Frame-Options:
......
20933 21560
      Cache-Control:
20934 21561
      - max-age=0, private, must-revalidate
20935 21562
      X-Request-Id:
20936
      - 8f1cd1a0-5a15-4423-bf63-e4f359587fed
21563
      - 5509b08d-4972-4a19-8c9f-43ea7e068d8b
20937 21564
      X-Runtime:
20938
      - '0.062810'
21565
      - '0.133805'
20939 21566
      X-Powered-By:
20940 21567
      - Phusion Passenger 4.0.18
20941 21568
      Etag:
20942
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
21569
      - '"45c0a1d1908621d8a984de3fe2b76754-gzip"'
20943 21570
      Status:
20944 21571
      - 200 OK
20945 21572
      Vary:
......
20949 21576
      Content-Type:
20950 21577
      - application/json; charset=utf-8
20951 21578
      Set-Cookie:
20952
      - _session_id=3e3a106674ff588be85a4e9085bbeee8; path=/; secure; HttpOnly
21579
      - _session_id=b1c373558430e7a816b95ea331119802; path=/; secure; HttpOnly
20953 21580
    body:
20954 21581
      encoding: ASCII-8BIT
20955 21582
      string: |
......
20963 21590
            "by": null,
20964 21591
            "order": null
20965 21592
          },
20966
          "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"}]
21593
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:28:18 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20967 21594
        }
20968 21595
    http_version: 
20969
  recorded_at: Mon, 27 Mar 2017 18:05:53 GMT
21596
  recorded_at: Mon, 27 Mar 2017 18:34:43 GMT
20970 21597
- request:
20971 21598
    method: get
20972 21599
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?per_page=1&search=name~abc
......
20992 21619
      message: OK
20993 21620
    headers:
20994 21621
      Date:
20995
      - Mon, 27 Mar 2017 18:05:46 GMT
21622
      - Mon, 27 Mar 2017 18:34:37 GMT
20996 21623
      Server:
20997 21624
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20998 21625
      X-Frame-Options:
......
21010 21637
      Cache-Control:
21011 21638
      - max-age=0, private, must-revalidate
21012 21639
      X-Request-Id:
21013
      - de3a4a21-cc15-4753-bdf7-814c21046fb1
21640
      - 48f78540-267c-4dfb-a7d7-3dc9b082c8a5
21014 21641
      X-Runtime:
21015
      - '0.159400'
21642
      - '0.192092'
21016 21643
      X-Powered-By:
21017 21644
      - Phusion Passenger 4.0.18
21018 21645
      Etag:
21019
      - '"2c0644de0dac0b35dd064f06fea0dbb9-gzip"'
21646
      - '"36c41eff43f31529c266a1e3554c731a-gzip"'
21020 21647
      Status:
21021 21648
      - 200 OK
21022 21649
      Vary:
......
21026 21653
      Content-Type:
21027 21654
      - application/json; charset=utf-8
21028 21655
      Set-Cookie:
21029
      - _session_id=2f746dd7600d4b4b07f498e8680d4412; path=/; secure; HttpOnly
21656
      - _session_id=2e4826cc4cadd6dbe39bf55c32f8578a; path=/; secure; HttpOnly
21030 21657
    body:
21031 21658
      encoding: ASCII-8BIT
21032 21659
      string: |
......
21040 21667
            "by": null,
21041 21668
            "order": null
21042 21669
          },
21043
          "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":"abcprefixguest","image_id":null,"image_name":null,"created_at":"2017-03-27 18:05:44 UTC","updated_at":"2017-03-27 18:05:45 UTC","last_compile":"2017-03-27 18:05:45 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":"abcprefixguest","id":197,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":196,"uuid":"8f544a54-0b9d-4070-9401-11c7d64d95e3","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":202,"uuid":"8f544a54-0b9d-4070-9401-11c7d64d95e3","last_checkin":"2017-03-27 18:05:44 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:05:44 UTC"},"content_host_id":202}]
21670
          "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":"abcprefixguest","image_id":null,"image_name":null,"created_at":"2017-03-27 18:34:34 UTC","updated_at":"2017-03-27 18:34:36 UTC","last_compile":"2017-03-27 18:34:35 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":"abcprefixguest","id":213,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":212,"uuid":"5b207e75-a84b-4a5f-8681-f6c42780207f","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":218,"uuid":"5b207e75-a84b-4a5f-8681-f6c42780207f","last_checkin":"2017-03-27 18:34:34 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:34:34 UTC"},"content_host_id":218}]
21044 21671
        }
21045 21672
    http_version: 
21046
  recorded_at: Mon, 27 Mar 2017 18:05:53 GMT
21673
  recorded_at: Mon, 27 Mar 2017 18:34:43 GMT
21047 21674
- request:
21048 21675
    method: get
21049 21676
    uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?page=1&per_page=20&search=name~abc
......
21069 21696
      message: OK
21070 21697
    headers:
21071 21698
      Date:
21072
      - Mon, 27 Mar 2017 18:05:47 GMT
21699
      - Mon, 27 Mar 2017 18:34:37 GMT
21073 21700
      Server:
21074 21701
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21075 21702
      X-Frame-Options:
......
21087 21714
      Cache-Control:
21088 21715
      - max-age=0, private, must-revalidate
21089 21716
      X-Request-Id:
21090
      - 0fbaa154-2bb7-43a3-861b-7511cef910da
21717
      - 3f36b1c0-60b0-4850-9c14-000350ea2f0d
21091 21718
      X-Runtime:
21092
      - '0.170074'
21719
      - '0.214754'
21093 21720
      X-Powered-By:
21094 21721
      - Phusion Passenger 4.0.18
21095 21722
      Etag:
21096
      - '"77c4fef93b8e0b96fe858e59765665ca-gzip"'
21723
      - '"0b663073583593fa4ca0e0f3f0058391-gzip"'
21097 21724
      Status:
21098 21725
      - 200 OK
21099 21726
      Vary:
......
21103 21730
      Content-Type:
21104 21731
      - application/json; charset=utf-8
21105 21732
      Set-Cookie:
21106
      - _session_id=c4a79796254c15d0d2a638a010994887; path=/; secure; HttpOnly
21733
      - _session_id=0cecc60f9a85e042a02c983740b49186; path=/; secure; HttpOnly
21107 21734
    body:
21108 21735
      encoding: ASCII-8BIT
21109 21736
      string: |
......
21117 21744
            "by": null,
21118 21745
            "order": null
21119 21746
          },
21120
          "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":"abcprefixguest","image_id":null,"image_name":null,"created_at":"2017-03-27 18:05:44 UTC","updated_at":"2017-03-27 18:05:45 UTC","last_compile":"2017-03-27 18:05:45 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":"abcprefixguest","id":197,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":196,"uuid":"8f544a54-0b9d-4070-9401-11c7d64d95e3","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":202,"uuid":"8f544a54-0b9d-4070-9401-11c7d64d95e3","last_checkin":"2017-03-27 18:05:44 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:05:44 UTC"},"content_host_id":202},{"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":"abcprefixhv","image_id":null,"image_name":null,"created_at":"2017-03-27 18:05:42 UTC","updated_at":"2017-03-27 18:05:43 UTC","last_compile":"2017-03-27 18:05:43 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":"abcprefixhv","id":196,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":195,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","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":201,"uuid":"14612f4c-55b3-4f8c-8275-6509e13419dd","last_checkin":"2017-03-27 18:05:42 UTC","service_level":null,"release_version":null,"autoheal":false,"registered_at":"2017-03-27 18:05:42 UTC"},"content_host_id":201}]
21747
          "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":"abcprefixguest","image_id":null,"image_name":null,"created_at":"2017-03-27 18:34:34 UTC","updated_at":"2017-03-27 18:34:36 UTC","last_compile":"2017-03-27 18:34:35 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":"abcprefixguest","id":213,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":212,"uuid":"5b207e75-a84b-4a5f-8681-f6c42780207f","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":218,"uuid":"5b207e75-a84b-4a5f-8681-f6c42780207f","last_checkin":"2017-03-27 18:34:34 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2017-03-27 18:34:34 UTC"},"content_host_id":218},{"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":"abcprefixhv","image_id":null,"image_name":null,"created_at":"2017-03-27 18:34:32 UTC","updated_at":"2017-03-27 18:34:34 UTC","last_compile":"2017-03-27 18:34:33 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":"abcprefixhv","id":212,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":211,"uuid":"aa15d014-62fe-4431-826c-f3f34fb227d5","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":217,"uuid":"aa15d014-62fe-4431-826c-f3f34fb227d5","last_checkin":"2017-03-27 18:34:32 UTC","service_level":null,"release_version":null,"autoheal":false,"registered_at":"2017-03-27 18:34:33 UTC"},"content_host_id":217}]
21121 21748
        }
21122 21749
    http_version: 
21123
  recorded_at: Mon, 27 Mar 2017 18:05:53 GMT
21750
  recorded_at: Mon, 27 Mar 2017 18:34:44 GMT
21124 21751
- request:
21125 21752
    method: get
21126
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/197
21753
    uri: https://admin:changeme@devel.example.com:50083/api/hosts/213
21127 21754
    body:
21128 21755
      encoding: US-ASCII
21129 21756
      string: ''
......
21146 21773
      message: OK
21147 21774
    headers:
21148 21775
      Date:
21149
      - Mon, 27 Mar 2017 18:05:47 GMT
21776
      - Mon, 27 Mar 2017 18:34:37 GMT
21150 21777
      Server:
21151 21778
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21152 21779
      X-Frame-Options:
......
21164 21791
      Cache-Control:
21165 21792
      - max-age=0, private, must-revalidate
21166 21793
      X-Request-Id:
21167
      - f9e0d373-9500-42e5-a5b6-e84663a19406
21794
      - b1a2dec7-6677-4195-a21f-4d725aa290c8
21168 21795
      X-Runtime:
21169
      - '0.378343'
21796
      - '0.350492'
21170 21797
      X-Powered-By:
21171 21798
      - Phusion Passenger 4.0.18
21172 21799
      Etag:
21173
      - '"1a64c17ae4ef4177f6ae8d52780cc51d-gzip"'
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff