Project

General

Profile

Revision 1327c177

Added by Thomas McKay about 6 years ago

vcr - full recording

View differences:

test/fixtures/vcr_cassettes/resources/content_hosts/itemized_columns_config_options.yml
2 2
http_interactions:
3 3
- request:
4 4
    method: get
5
    uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?per_page=999999
6
    body:
7
      encoding: US-ASCII
8
      string: ''
9
    headers:
10
      Accept:
11
      - application/json;version=2
12
      Accept-Encoding:
13
      - gzip, deflate
14
      User-Agent:
15
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
16
      Content-Type:
17
      - application/json
18
      Accept-Language:
19
      - en
20
      Host:
21
      - katello.example.com:50083
22
  response:
23
    status:
24
      code: 200
25
      message: OK
26
    headers:
27
      Date:
28
      - Wed, 30 Nov 2016 14:55:38 GMT
29
      Server:
30
      - Apache/2.4.6 (Red Hat Enterprise Linux)
31
      X-Frame-Options:
32
      - SAMEORIGIN
33
      X-Xss-Protection:
34
      - 1; mode=block
35
      X-Content-Type-Options:
36
      - nosniff
37
      Foreman-Version:
38
      - 1.11.0.54
39
      Foreman-Api-Version:
40
      - '2'
41
      Apipie-Checksum:
42
      - ef9e7a17d630b8c2cc5b7e016c24efe7
43
      Cache-Control:
44
      - max-age=0, private, must-revalidate
45
      X-Request-Id:
46
      - 5dc41e99-cf69-4155-bd70-6194765314ff
47
      X-Runtime:
48
      - '0.159433'
49
      X-Powered-By:
50
      - Phusion Passenger 4.0.18
51
      Etag:
52
      - '"f78da5fcb20e48bfcf5b097571b5f7e6-gzip"'
53
      Status:
54
      - 200 OK
55
      Vary:
56
      - Accept-Encoding
57
      Content-Length:
58
      - '4438'
59
      Content-Type:
60
      - application/json; charset=utf-8
61
      Set-Cookie:
62
      - _session_id=48cf966a91f4d986ee87cac88eca95f8; path=/; secure; HttpOnly
63
    body:
64
      encoding: ASCII-8BIT
65
      string: |
66
        {
67
          "total": 2,
68
          "subtotal": 2,
69
          "page": 1,
70
          "per_page": 999999,
71
          "search": null,
72
          "sort": {
73
            "by": null,
74
            "order": null
75
          },
76
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28 20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28 20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:51 UTC"},"content_host_id":76},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28 20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28 20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:43 UTC"},"content_host_id":75}]
77
        }
78
    http_version: 
79
  recorded_at: Wed, 30 Nov 2016 14:55:46 GMT
80
- request:
81
    method: get
82
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/76
83
    body:
84
      encoding: US-ASCII
85
      string: ''
86
    headers:
87
      Accept:
88
      - application/json;version=2
89
      Accept-Encoding:
90
      - gzip, deflate
91
      User-Agent:
92
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
93
      Content-Type:
94
      - application/json
95
      Accept-Language:
96
      - en
97
      Host:
98
      - katello.example.com:50083
99
  response:
100
    status:
101
      code: 200
102
      message: OK
103
    headers:
104
      Date:
105
      - Wed, 30 Nov 2016 14:55:39 GMT
106
      Server:
107
      - Apache/2.4.6 (Red Hat Enterprise Linux)
108
      X-Frame-Options:
109
      - SAMEORIGIN
110
      X-Xss-Protection:
111
      - 1; mode=block
112
      X-Content-Type-Options:
113
      - nosniff
114
      Foreman-Version:
115
      - 1.11.0.54
116
      Foreman-Api-Version:
117
      - '2'
118
      Apipie-Checksum:
119
      - ef9e7a17d630b8c2cc5b7e016c24efe7
120
      Cache-Control:
121
      - max-age=0, private, must-revalidate
122
      X-Request-Id:
123
      - 03a69ff7-22f0-4770-90b8-fb8baea2bf45
124
      X-Runtime:
125
      - '0.380430'
126
      X-Powered-By:
127
      - Phusion Passenger 4.0.18
128
      Etag:
129
      - '"a8d8460c5ab2bcf1b209ce031c3478af-gzip"'
130
      Status:
131
      - 200 OK
132
      Vary:
133
      - Accept-Encoding
134
      Content-Length:
135
      - '3855'
136
      Content-Type:
137
      - application/json; charset=utf-8
138
      Set-Cookie:
139
      - _session_id=65aff4c4e8f98941d0f39114210eca11; path=/; secure; HttpOnly
140
    body:
141
      encoding: ASCII-8BIT
142
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-11-28
143
        20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28
144
        20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
145
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
146
        not calculate errata status, ensure host is registered and katello-agent is
147
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default
148
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
149
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28
150
        20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
151
        20:09:51 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8edf4d0ab8","productId":"69","productName":"Red
152
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-11-28T20:09:54.253+0000","updated":"2016-11-28T20:09:54.253+0000"}]},"content_host_id":76,"parameters":[],"interfaces":[{"id":77,"name":"testphysical","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testphysical","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"8","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
153
        Corporation/testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:52+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
154
    http_version: 
155
  recorded_at: Wed, 30 Nov 2016 14:55:46 GMT
156
- request:
157
    method: get
158
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/75
159
    body:
160
      encoding: US-ASCII
161
      string: ''
162
    headers:
163
      Accept:
164
      - application/json;version=2
165
      Accept-Encoding:
166
      - gzip, deflate
167
      User-Agent:
168
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
169
      Content-Type:
170
      - application/json
171
      Accept-Language:
172
      - en
173
      Host:
174
      - katello.example.com:50083
175
  response:
176
    status:
177
      code: 200
178
      message: OK
179
    headers:
180
      Date:
181
      - Wed, 30 Nov 2016 14:55:39 GMT
182
      Server:
183
      - Apache/2.4.6 (Red Hat Enterprise Linux)
184
      X-Frame-Options:
185
      - SAMEORIGIN
186
      X-Xss-Protection:
187
      - 1; mode=block
188
      X-Content-Type-Options:
189
      - nosniff
190
      Foreman-Version:
191
      - 1.11.0.54
192
      Foreman-Api-Version:
193
      - '2'
194
      Apipie-Checksum:
195
      - ef9e7a17d630b8c2cc5b7e016c24efe7
196
      Cache-Control:
197
      - max-age=0, private, must-revalidate
198
      X-Request-Id:
199
      - e12ba18a-186e-48f1-a99c-ec3dea8f84a8
200
      X-Runtime:
201
      - '0.320870'
202
      X-Powered-By:
203
      - Phusion Passenger 4.0.18
204
      Etag:
205
      - '"4b2cb7da45ed5b9e852d4c4d60aea7a3-gzip"'
206
      Status:
207
      - 200 OK
208
      Vary:
209
      - Accept-Encoding
210
      Content-Length:
211
      - '3825'
212
      Content-Type:
213
      - application/json; charset=utf-8
214
      Set-Cookie:
215
      - _session_id=20c3d767d2aed2d0a1b87b4eb670f28f; path=/; secure; HttpOnly
216
    body:
217
      encoding: ASCII-8BIT
218
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-11-28
219
        20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28
220
        20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
221
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
222
        not calculate errata status, ensure host is registered and katello-agent is
223
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","content_view_id":2,"content_view_name":"Default
224
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
225
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28
226
        20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
227
        20:09:43 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8ec7910aa4","productId":"69","productName":"Red
228
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-11-28T20:09:48.177+0000","updated":"2016-11-28T20:09:48.177+0000"}]},"content_host_id":75,"parameters":[],"interfaces":[{"id":76,"name":"testvm","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt::is_guest":"true","virt::uuid":"Test
229
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"system::certificate_version":"3.2","network::hostname":"testvm","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"4","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:44+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
230
    http_version: 
231
  recorded_at: Wed, 30 Nov 2016 14:55:46 GMT
232
- request:
233
    method: get
234
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/76/subscriptions?organization_id=8
235
    body:
236
      encoding: US-ASCII
237
      string: ''
238
    headers:
239
      Accept:
240
      - application/json;version=2
241
      Accept-Encoding:
242
      - gzip, deflate
243
      User-Agent:
244
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
245
      Content-Type:
246
      - application/json
247
      Accept-Language:
248
      - en
249
      Host:
250
      - katello.example.com:50083
251
  response:
252
    status:
253
      code: 200
254
      message: OK
255
    headers:
256
      Date:
257
      - Wed, 30 Nov 2016 14:55:39 GMT
258
      Server:
259
      - Apache/2.4.6 (Red Hat Enterprise Linux)
260
      X-Frame-Options:
261
      - SAMEORIGIN
262
      X-Xss-Protection:
263
      - 1; mode=block
264
      X-Content-Type-Options:
265
      - nosniff
266
      Foreman-Version:
267
      - 1.11.0.54
268
      Foreman-Api-Version:
269
      - '2'
270
      Apipie-Checksum:
271
      - ef9e7a17d630b8c2cc5b7e016c24efe7
272
      Cache-Control:
273
      - max-age=0, private, must-revalidate
274
      X-Request-Id:
275
      - 0db939b5-b635-473b-a419-18cb3512707d
276
      X-Runtime:
277
      - '0.297794'
278
      X-Powered-By:
279
      - Phusion Passenger 4.0.18
280
      Etag:
281
      - '"282aa0baf77a223896b2bbaec7347468-gzip"'
282
      Status:
283
      - 200 OK
284
      Vary:
285
      - Accept-Encoding
286
      Content-Length:
287
      - '770'
288
      Content-Type:
289
      - application/json; charset=utf-8
290
      Set-Cookie:
291
      - _session_id=12ddcfa575290a458fc67effb9b72f68; path=/; secure; HttpOnly
292
    body:
293
      encoding: ASCII-8BIT
294
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":24,"cp_id":"ff808081588d8f280158abc773a40588","subscription_id":16,"name":"Red
295
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
296
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
297

  
298
'
299
    http_version: 
300
  recorded_at: Wed, 30 Nov 2016 14:55:47 GMT
301
- request:
302
    method: get
303
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/75/subscriptions?organization_id=8
304
    body:
305
      encoding: US-ASCII
306
      string: ''
307
    headers:
308
      Accept:
309
      - application/json;version=2
310
      Accept-Encoding:
311
      - gzip, deflate
312
      User-Agent:
313
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
314
      Content-Type:
315
      - application/json
316
      Accept-Language:
317
      - en
318
      Host:
319
      - katello.example.com:50083
320
  response:
321
    status:
322
      code: 200
323
      message: OK
324
    headers:
325
      Date:
326
      - Wed, 30 Nov 2016 14:55:40 GMT
327
      Server:
328
      - Apache/2.4.6 (Red Hat Enterprise Linux)
329
      X-Frame-Options:
330
      - SAMEORIGIN
331
      X-Xss-Protection:
332
      - 1; mode=block
333
      X-Content-Type-Options:
334
      - nosniff
335
      Foreman-Version:
336
      - 1.11.0.54
337
      Foreman-Api-Version:
338
      - '2'
339
      Apipie-Checksum:
340
      - ef9e7a17d630b8c2cc5b7e016c24efe7
341
      Cache-Control:
342
      - max-age=0, private, must-revalidate
343
      X-Request-Id:
344
      - d920c46e-21e5-49af-8f33-53bb53ac0681
345
      X-Runtime:
346
      - '0.243255'
347
      X-Powered-By:
348
      - Phusion Passenger 4.0.18
349
      Etag:
350
      - '"282aa0baf77a223896b2bbaec7347468-gzip"'
351
      Status:
352
      - 200 OK
353
      Vary:
354
      - Accept-Encoding
355
      Content-Length:
356
      - '770'
357
      Content-Type:
358
      - application/json; charset=utf-8
359
      Set-Cookie:
360
      - _session_id=3902ccdf7a57dea77b131c5fef81cbaf; path=/; secure; HttpOnly
361
    body:
362
      encoding: ASCII-8BIT
363
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":24,"cp_id":"ff808081588d8f280158abc773a40588","subscription_id":16,"name":"Red
364
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
365
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
366

  
367
'
368
    http_version: 
369
  recorded_at: Wed, 30 Nov 2016 14:55:47 GMT
370
- request:
371
    method: get
372
    uri: https://admin:changeme@katello.example.com:50083/api/organizations/8/hosts?per_page=999999
373
    body:
374
      encoding: US-ASCII
375
      string: ''
376
    headers:
377
      Accept:
378
      - application/json;version=2
379
      Accept-Encoding:
380
      - gzip, deflate
381
      User-Agent:
382
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
383
      Content-Type:
384
      - application/json
385
      Accept-Language:
386
      - en
387
      Host:
388
      - katello.example.com:50083
389
  response:
390
    status:
391
      code: 200
392
      message: OK
393
    headers:
394
      Date:
395
      - Wed, 30 Nov 2016 14:55:40 GMT
396
      Server:
397
      - Apache/2.4.6 (Red Hat Enterprise Linux)
398
      X-Frame-Options:
399
      - SAMEORIGIN
400
      X-Xss-Protection:
401
      - 1; mode=block
402
      X-Content-Type-Options:
403
      - nosniff
404
      Foreman-Version:
405
      - 1.11.0.54
406
      Foreman-Api-Version:
407
      - '2'
408
      Apipie-Checksum:
409
      - ef9e7a17d630b8c2cc5b7e016c24efe7
410
      Cache-Control:
411
      - max-age=0, private, must-revalidate
412
      X-Request-Id:
413
      - 97dbe0a8-5fbc-4b1a-bad4-cfe2394595a4
414
      X-Runtime:
415
      - '0.147684'
416
      X-Powered-By:
417
      - Phusion Passenger 4.0.18
418
      Etag:
419
      - '"f78da5fcb20e48bfcf5b097571b5f7e6-gzip"'
420
      Status:
421
      - 200 OK
422
      Vary:
423
      - Accept-Encoding
424
      Content-Length:
425
      - '4438'
426
      Content-Type:
427
      - application/json; charset=utf-8
428
      Set-Cookie:
429
      - _session_id=4d53a16bb56f0e19484ae734c2792f0e; path=/; secure; HttpOnly
430
    body:
431
      encoding: ASCII-8BIT
432
      string: |
433
        {
434
          "total": 2,
435
          "subtotal": 2,
436
          "page": 1,
437
          "per_page": 999999,
438
          "search": null,
439
          "sort": {
440
            "by": null,
441
            "order": null
442
          },
443
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28 20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28 20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:51 UTC"},"content_host_id":76},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-11-28 20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28 20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28 20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28 20:09:43 UTC"},"content_host_id":75}]
444
        }
445
    http_version: 
446
  recorded_at: Wed, 30 Nov 2016 14:55:47 GMT
447
- request:
448
    method: get
449
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/76
450
    body:
451
      encoding: US-ASCII
452
      string: ''
453
    headers:
454
      Accept:
455
      - application/json;version=2
456
      Accept-Encoding:
457
      - gzip, deflate
458
      User-Agent:
459
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
460
      Content-Type:
461
      - application/json
462
      Accept-Language:
463
      - en
464
      Host:
465
      - katello.example.com:50083
466
  response:
467
    status:
468
      code: 200
469
      message: OK
470
    headers:
471
      Date:
472
      - Wed, 30 Nov 2016 14:55:40 GMT
473
      Server:
474
      - Apache/2.4.6 (Red Hat Enterprise Linux)
475
      X-Frame-Options:
476
      - SAMEORIGIN
477
      X-Xss-Protection:
478
      - 1; mode=block
479
      X-Content-Type-Options:
480
      - nosniff
481
      Foreman-Version:
482
      - 1.11.0.54
483
      Foreman-Api-Version:
484
      - '2'
485
      Apipie-Checksum:
486
      - ef9e7a17d630b8c2cc5b7e016c24efe7
487
      Cache-Control:
488
      - max-age=0, private, must-revalidate
489
      X-Request-Id:
490
      - 42491923-2350-4d91-bd6f-7ba4ef4fd83f
491
      X-Runtime:
492
      - '0.289850'
493
      X-Powered-By:
494
      - Phusion Passenger 4.0.18
495
      Etag:
496
      - '"a8d8460c5ab2bcf1b209ce031c3478af-gzip"'
497
      Status:
498
      - 200 OK
499
      Vary:
500
      - Accept-Encoding
501
      Content-Length:
502
      - '3855'
503
      Content-Type:
504
      - application/json; charset=utf-8
505
      Set-Cookie:
506
      - _session_id=5c7817a641af3a95b5d04129123bb19b; path=/; secure; HttpOnly
507
    body:
508
      encoding: ASCII-8BIT
509
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-11-28
510
        20:09:51 UTC","updated_at":"2016-11-28 21:27:19 UTC","last_compile":"2016-11-28
511
        20:09:52 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
512
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
513
        not calculate errata status, ensure host is registered and katello-agent is
514
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":76,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","content_view_id":2,"content_view_name":"Default
515
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
516
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":76,"uuid":"20e6ed92-82a4-4fee-b3c0-048420eee4cf","last_checkin":"2016-11-28
517
        20:09:51 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
518
        20:09:51 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8edf4d0ab8","productId":"69","productName":"Red
519
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-11-28T20:09:54.253+0000","updated":"2016-11-28T20:09:54.253+0000"}]},"content_host_id":76,"parameters":[],"interfaces":[{"id":77,"name":"testphysical","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testphysical","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"8","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
520
        Corporation/testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:52+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
521
    http_version: 
522
  recorded_at: Wed, 30 Nov 2016 14:55:48 GMT
523
- request:
524
    method: get
525
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/75
526
    body:
527
      encoding: US-ASCII
528
      string: ''
529
    headers:
530
      Accept:
531
      - application/json;version=2
532
      Accept-Encoding:
533
      - gzip, deflate
534
      User-Agent:
535
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
536
      Content-Type:
537
      - application/json
538
      Accept-Language:
539
      - en
540
      Host:
541
      - katello.example.com:50083
542
  response:
543
    status:
544
      code: 200
545
      message: OK
546
    headers:
547
      Date:
548
      - Wed, 30 Nov 2016 14:55:41 GMT
549
      Server:
550
      - Apache/2.4.6 (Red Hat Enterprise Linux)
551
      X-Frame-Options:
552
      - SAMEORIGIN
553
      X-Xss-Protection:
554
      - 1; mode=block
555
      X-Content-Type-Options:
556
      - nosniff
557
      Foreman-Version:
558
      - 1.11.0.54
559
      Foreman-Api-Version:
560
      - '2'
561
      Apipie-Checksum:
562
      - ef9e7a17d630b8c2cc5b7e016c24efe7
563
      Cache-Control:
564
      - max-age=0, private, must-revalidate
565
      X-Request-Id:
566
      - a0087caa-17f1-4a4c-8e3b-7109b5af3042
567
      X-Runtime:
568
      - '0.318824'
569
      X-Powered-By:
570
      - Phusion Passenger 4.0.18
571
      Etag:
572
      - '"4b2cb7da45ed5b9e852d4c4d60aea7a3-gzip"'
573
      Status:
574
      - 200 OK
575
      Vary:
576
      - Accept-Encoding
577
      Content-Length:
578
      - '3825'
579
      Content-Type:
580
      - application/json; charset=utf-8
581
      Set-Cookie:
582
      - _session_id=3fecf37eee15720795bca40d4c294053; path=/; secure; HttpOnly
583
    body:
584
      encoding: ASCII-8BIT
585
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-11-28
586
        20:09:42 UTC","updated_at":"2016-11-28 21:27:09 UTC","last_compile":"2016-11-28
587
        20:09:44 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
588
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
589
        not calculate errata status, ensure host is registered and katello-agent is
590
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":75,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","content_view_id":2,"content_view_name":"Default
591
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
592
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":75,"uuid":"e07ca264-ff7d-4ba6-aa91-ed71e8d55bdb","last_checkin":"2016-11-28
593
        20:09:43 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-11-28
594
        20:09:43 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff808081588d8f280158ac8ec7910aa4","productId":"69","productName":"Red
595
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-11-28T20:09:48.177+0000","updated":"2016-11-28T20:09:48.177+0000"}]},"content_host_id":75,"parameters":[],"interfaces":[{"id":76,"name":"testvm","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"virt::is_guest":"true","virt::uuid":"Test
596
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"system::certificate_version":"3.2","network::hostname":"testvm","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"4","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-11-28T20:09:44+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
597
    http_version: 
598
  recorded_at: Wed, 30 Nov 2016 14:55:48 GMT
599
- request:
600
    method: get
601
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/76/subscriptions?organization_id=8
602
    body:
603
      encoding: US-ASCII
604
      string: ''
605
    headers:
606
      Accept:
607
      - application/json;version=2
608
      Accept-Encoding:
609
      - gzip, deflate
610
      User-Agent:
611
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
612
      Content-Type:
613
      - application/json
614
      Accept-Language:
615
      - en
616
      Host:
617
      - katello.example.com:50083
618
  response:
619
    status:
620
      code: 200
621
      message: OK
622
    headers:
623
      Date:
624
      - Wed, 30 Nov 2016 14:55:41 GMT
625
      Server:
626
      - Apache/2.4.6 (Red Hat Enterprise Linux)
627
      X-Frame-Options:
628
      - SAMEORIGIN
629
      X-Xss-Protection:
630
      - 1; mode=block
631
      X-Content-Type-Options:
632
      - nosniff
633
      Foreman-Version:
634
      - 1.11.0.54
635
      Foreman-Api-Version:
636
      - '2'
637
      Apipie-Checksum:
638
      - ef9e7a17d630b8c2cc5b7e016c24efe7
639
      Cache-Control:
640
      - max-age=0, private, must-revalidate
641
      X-Request-Id:
642
      - bc999de7-dc70-43b0-837e-99e22f600ba9
643
      X-Runtime:
644
      - '0.385140'
645
      X-Powered-By:
646
      - Phusion Passenger 4.0.18
647
      Etag:
648
      - '"282aa0baf77a223896b2bbaec7347468-gzip"'
649
      Status:
650
      - 200 OK
651
      Vary:
652
      - Accept-Encoding
653
      Content-Length:
654
      - '770'
655
      Content-Type:
656
      - application/json; charset=utf-8
657
      Set-Cookie:
658
      - _session_id=14877cb82ff77f9b83eaeaa5b958d556; path=/; secure; HttpOnly
659
    body:
660
      encoding: ASCII-8BIT
661
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":24,"cp_id":"ff808081588d8f280158abc773a40588","subscription_id":16,"name":"Red
662
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
663
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
664

  
665
'
666
    http_version: 
667
  recorded_at: Wed, 30 Nov 2016 14:55:49 GMT
668
- request:
669
    method: get
670
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/75/subscriptions?organization_id=8
671
    body:
672
      encoding: US-ASCII
673
      string: ''
674
    headers:
675
      Accept:
676
      - application/json;version=2
677
      Accept-Encoding:
678
      - gzip, deflate
679
      User-Agent:
680
      - rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
681
      Content-Type:
682
      - application/json
683
      Accept-Language:
684
      - en
685
      Host:
686
      - katello.example.com:50083
687
  response:
688
    status:
689
      code: 200
690
      message: OK
691
    headers:
692
      Date:
693
      - Wed, 30 Nov 2016 14:55:41 GMT
694
      Server:
695
      - Apache/2.4.6 (Red Hat Enterprise Linux)
696
      X-Frame-Options:
697
      - SAMEORIGIN
698
      X-Xss-Protection:
699
      - 1; mode=block
700
      X-Content-Type-Options:
701
      - nosniff
702
      Foreman-Version:
703
      - 1.11.0.54
704
      Foreman-Api-Version:
705
      - '2'
706
      Apipie-Checksum:
707
      - ef9e7a17d630b8c2cc5b7e016c24efe7
708
      Cache-Control:
709
      - max-age=0, private, must-revalidate
710
      X-Request-Id:
711
      - 1c574815-46a1-4b76-b7e0-e624998b41bb
712
      X-Runtime:
713
      - '0.229550'
714
      X-Powered-By:
715
      - Phusion Passenger 4.0.18
716
      Etag:
717
      - '"282aa0baf77a223896b2bbaec7347468-gzip"'
718
      Status:
719
      - 200 OK
720
      Vary:
721
      - Accept-Encoding
722
      Content-Length:
723
      - '770'
724
      Content-Type:
725
      - application/json; charset=utf-8
726
      Set-Cookie:
727
      - _session_id=4165c0b1af3f2d9cbf0e489c31b068f8; path=/; secure; HttpOnly
728
    body:
729
      encoding: ASCII-8BIT
730
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":24,"cp_id":"ff808081588d8f280158abc773a40588","subscription_id":16,"name":"Red
731
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
732
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
733

  
734
'
735
    http_version: 
736
  recorded_at: Wed, 30 Nov 2016 14:55:49 GMT
737
- request:
738
    method: get
739
    uri: https://admin:changeme@katello.example.com:50083/api/status
5
    uri: https://admin:changeme@satlap.example.com/api/status
740 6
    body:
741 7
      encoding: US-ASCII
742 8
      string: ''
......
747 13
      - "*/*"
748 14
      User-Agent:
749 15
      - Ruby
16
      Host:
17
      - satlap.example.com
750 18
  response:
751 19
    status:
752 20
      code: 200
753 21
      message: OK
754 22
    headers:
755 23
      Date:
756
      - Thu, 01 Dec 2016 19:53:17 GMT
24
      - Tue, 13 Dec 2016 14:47:04 GMT
757 25
      Server:
758 26
      - Apache/2.4.6 (Red Hat Enterprise Linux)
759 27
      X-Frame-Options:
......
771 39
      Cache-Control:
772 40
      - max-age=0, private, must-revalidate
773 41
      X-Request-Id:
774
      - 24cb2fae-897e-43c6-a274-cafcedde41d1
42
      - d37d75fa-c14c-45ce-9912-c01a4be6163e
775 43
      X-Runtime:
776
      - '0.061446'
44
      - '0.049380'
777 45
      X-Powered-By:
778 46
      - Phusion Passenger 4.0.18
47
      Set-Cookie:
48
      - _session_id=a5d3c52b39fb94aa7e28560b6640ed7b; path=/; secure; HttpOnly
779 49
      Etag:
780 50
      - '"8e3341d0a4cc328651f7391aed11fef8"'
781 51
      Status:
......
784 54
      - '66'
785 55
      Content-Type:
786 56
      - application/json; charset=utf-8
787
      Set-Cookie:
788
      - _session_id=10dfedbc456a692ad73b13abee94b287; path=/; secure; HttpOnly
789 57
    body:
790 58
      encoding: UTF-8
791 59
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
792 60
    http_version: 
793
  recorded_at: Thu, 01 Dec 2016 19:53:24 GMT
61
  recorded_at: Tue, 13 Dec 2016 14:47:02 GMT
794 62
- request:
795 63
    method: get
796
    uri: https://admin:changeme@katello.example.com:50083/api/v2/plugins
64
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
797 65
    body:
798 66
      encoding: US-ASCII
799 67
      string: ''
......
804 72
      - "*/*"
805 73
      User-Agent:
806 74
      - Ruby
75
      Host:
76
      - satlap.example.com
807 77
  response:
808 78
    status:
809 79
      code: 200
810 80
      message: OK
811 81
    headers:
812 82
      Date:
813
      - Thu, 01 Dec 2016 19:53:17 GMT
83
      - Tue, 13 Dec 2016 14:47:04 GMT
814 84
      Server:
815 85
      - Apache/2.4.6 (Red Hat Enterprise Linux)
816 86
      X-Frame-Options:
......
828 98
      Cache-Control:
829 99
      - max-age=0, private, must-revalidate
830 100
      X-Request-Id:
831
      - b80df0b9-3dc7-4865-8218-c100be9b60dc
101
      - 7601f9a0-ca33-448e-be83-22371ac37a33
832 102
      X-Runtime:
833
      - '0.049746'
103
      - '0.040034'
834 104
      X-Powered-By:
835 105
      - Phusion Passenger 4.0.18
106
      Set-Cookie:
107
      - _session_id=754f6afaf9ca75b51fc5910066851270; path=/; secure; HttpOnly
836 108
      Etag:
837 109
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
838 110
      Status:
......
843 115
      - '1338'
844 116
      Content-Type:
845 117
      - application/json; charset=utf-8
846
      Set-Cookie:
847
      - _session_id=fcee8ce350decd8f06bd2bd0732501e7; path=/; secure; HttpOnly
848 118
    body:
849 119
      encoding: ASCII-8BIT
850 120
      string: !binary |-
......
923 193
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
924 194
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
925 195
    http_version: 
926
  recorded_at: Thu, 01 Dec 2016 19:53:24 GMT
196
  recorded_at: Tue, 13 Dec 2016 14:47:02 GMT
927 197
- request:
928 198
    method: get
929
    uri: https://katello.example.com:50083/apidoc/v2.en.json
199
    uri: https://satlap.example.com/apidoc/v2.en.json
930 200
    body:
931 201
      encoding: US-ASCII
932 202
      string: ''
......
942 212
      Accept-Language:
943 213
      - en
944 214
      Host:
945
      - katello.example.com:50083
215
      - satlap.example.com
946 216
  response:
947 217
    status:
948 218
      code: 200
949 219
      message: OK
950 220
    headers:
951 221
      Date:
952
      - Thu, 01 Dec 2016 19:53:17 GMT
222
      - Tue, 13 Dec 2016 14:47:04 GMT
953 223
      Server:
954 224
      - Apache/2.4.6 (Red Hat Enterprise Linux)
955 225
      X-Frame-Options:
......
967 237
      Apipie-Checksum:
968 238
      - e1df2e8d43e22495b02a53b48e3b5298
969 239
      X-Request-Id:
970
      - c1ad420d-c561-40c4-9aeb-cbb1cc177653
240
      - b15a83a1-9418-402c-937f-ea3523e8e6b8
971 241
      X-Runtime:
972
      - '0.008074'
242
      - '0.004205'
973 243
      X-Powered-By:
974 244
      - Phusion Passenger 4.0.18
975 245
      Status:
......
20608 19878
        Ijp0cnVlfV0sImhlYWRlcnMiOm51bGx9fSwibGlua19leHRlbnNpb24iOiIu
20609 19879
        ZW4uaHRtbCJ9fQ==
20610 19880
    http_version: 
20611
  recorded_at: Thu, 01 Dec 2016 19:53:25 GMT
19881
  recorded_at: Tue, 13 Dec 2016 14:47:02 GMT
20612 19882
- request:
20613 19883
    method: get
20614
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999
19884
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?full_results=true
20615 19885
    body:
20616 19886
      encoding: US-ASCII
20617 19887
      string: ''
......
20627 19897
      Accept-Language:
20628 19898
      - en
20629 19899
      Host:
20630
      - katello.example.com:50083
19900
      - satlap.example.com
20631 19901
  response:
20632 19902
    status:
20633 19903
      code: 200
20634 19904
      message: OK
20635 19905
    headers:
20636 19906
      Date:
20637
      - Thu, 01 Dec 2016 19:53:17 GMT
19907
      - Tue, 13 Dec 2016 14:47:04 GMT
20638 19908
      Server:
20639 19909
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20640 19910
      X-Frame-Options:
......
20652 19922
      Cache-Control:
20653 19923
      - max-age=0, private, must-revalidate
20654 19924
      X-Request-Id:
20655
      - b7bf18b7-6549-46af-bfff-7cc10807c2f7
19925
      - 16930e04-92d4-41ab-9027-7fdb340c8e1d
20656 19926
      X-Runtime:
20657
      - '0.081242'
19927
      - '0.039614'
20658 19928
      X-Powered-By:
20659 19929
      - Phusion Passenger 4.0.18
19930
      Set-Cookie:
19931
      - _session_id=fba2564e8b4a9812a4ad134febe4831c; path=/; secure; HttpOnly
20660 19932
      Etag:
20661
      - '"eb4279f4302ae26ee0d5569fa70ed751-gzip"'
19933
      - '"307661b689c047972a4830fc1c360f91-gzip"'
20662 19934
      Status:
20663 19935
      - 200 OK
20664 19936
      Vary:
20665 19937
      - Accept-Encoding
20666 19938
      Content-Length:
20667
      - '563'
19939
      - '559'
20668 19940
      Content-Type:
20669 19941
      - application/json; charset=utf-8
20670
      Set-Cookie:
20671
      - _session_id=71beeaca097f3a732f5feea5a38b3f64; path=/; secure; HttpOnly
20672 19942
    body:
20673 19943
      encoding: ASCII-8BIT
20674 19944
      string: |
......
20676 19946
          "total": 2,
20677 19947
          "subtotal": 2,
20678 19948
          "page": 1,
20679
          "per_page": 999999,
19949
          "per_page": 20,
20680 19950
          "search": null,
20681 19951
          "sort": {
20682 19952
            "by": null,
20683 19953
            "order": null
20684 19954
          },
20685
          "results": [{"label":"Default_Organization","created_at":"2016-12-01 19:25:05 UTC","updated_at":"2016-12-01 19:25:08 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:45:39 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
19955
          "results": [{"label":"Default_Organization","created_at":"2016-12-07 03:03:54 UTC","updated_at":"2016-12-07 03:03:58 UTC","id":1,"name":"Default Organization","title":"Default Organization","description":null},{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 11:49:10 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20686 19956
        }
20687 19957
    http_version: 
20688
  recorded_at: Thu, 01 Dec 2016 19:53:25 GMT
19958
  recorded_at: Tue, 13 Dec 2016 14:47:02 GMT
20689 19959
- request:
20690 19960
    method: get
20691
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
19961
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
20692 19962
    body:
20693 19963
      encoding: US-ASCII
20694 19964
      string: ''
......
20704 19974
      Accept-Language:
20705 19975
      - en
20706 19976
      Host:
20707
      - katello.example.com:50083
19977
      - satlap.example.com
20708 19978
  response:
20709 19979
    status:
20710 19980
      code: 200
20711 19981
      message: OK
20712 19982
    headers:
20713 19983
      Date:
20714
      - Thu, 01 Dec 2016 19:53:17 GMT
19984
      - Tue, 13 Dec 2016 14:47:04 GMT
20715 19985
      Server:
20716 19986
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20717 19987
      X-Frame-Options:
......
20729 19999
      Cache-Control:
20730 20000
      - max-age=0, private, must-revalidate
20731 20001
      X-Request-Id:
20732
      - a8453080-7b1b-4bd6-9c24-2f51e0e13927
20002
      - 113ddb10-ee43-49ab-8173-3774ac082e3e
20733 20003
      X-Runtime:
20734
      - '0.083654'
20004
      - '0.041006'
20735 20005
      X-Powered-By:
20736 20006
      - Phusion Passenger 4.0.18
20007
      Set-Cookie:
20008
      - _session_id=f68884e7828368f19a577559f2140c51; path=/; secure; HttpOnly
20737 20009
      Etag:
20738
      - '"2009333f9dea90f7e284b5ac7176fd38-gzip"'
20010
      - '"dece488d5a182a19a03a777e7a66a6cd-gzip"'
20739 20011
      Status:
20740 20012
      - 200 OK
20741 20013
      Vary:
......
20744 20016
      - '388'
20745 20017
      Content-Type:
20746 20018
      - application/json; charset=utf-8
20747
      Set-Cookie:
20748
      - _session_id=b45989441d1dcb72685d7dc6ac3027a8; path=/; secure; HttpOnly
20749 20019
    body:
20750 20020
      encoding: ASCII-8BIT
20751 20021
      string: |
......
20759 20029
            "by": null,
20760 20030
            "order": null
20761 20031
          },
20762
          "results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2016-12-01 19:45:39 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20032
          "results": [{"label":"testcorp","created_at":"2016-12-13 10:58:26 UTC","updated_at":"2016-12-13 11:49:10 UTC","id":8,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
20763 20033
        }
20764 20034
    http_version: 
20765
  recorded_at: Thu, 01 Dec 2016 19:53:25 GMT
20035
  recorded_at: Tue, 13 Dec 2016 14:47:02 GMT
20766 20036
- request:
20767 20037
    method: get
20768
    uri: https://admin:changeme@katello.example.com:50083/api/organizations/3/hosts?per_page=999999&search
20038
    uri: https://admin:changeme@satlap.example.com/api/organizations/8/hosts?full_results=true&search
20769 20039
    body:
20770 20040
      encoding: US-ASCII
20771 20041
      string: ''
......
20781 20051
      Accept-Language:
20782 20052
      - en
20783 20053
      Host:
20784
      - katello.example.com:50083
20054
      - satlap.example.com
20785 20055
  response:
20786 20056
    status:
20787 20057
      code: 200
20788 20058
      message: OK
20789 20059
    headers:
20790 20060
      Date:
20791
      - Thu, 01 Dec 2016 19:53:17 GMT
20061
      - Tue, 13 Dec 2016 14:47:04 GMT
20792 20062
      Server:
20793 20063
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20794 20064
      X-Frame-Options:
......
20806 20076
      Cache-Control:
20807 20077
      - max-age=0, private, must-revalidate
20808 20078
      X-Request-Id:
20809
      - 3f871b51-0728-4867-9f8b-e03e4f89c399
20079
      - 1e37cfe8-efc9-41e6-b29b-eadc49a4d2a6
20810 20080
      X-Runtime:
20811
      - '0.233367'
20081
      - '0.170229'
20812 20082
      X-Powered-By:
20813 20083
      - Phusion Passenger 4.0.18
20084
      Set-Cookie:
20085
      - _session_id=a8c3aa6cc45ae7869d74aa8c15dd3b5e; path=/; secure; HttpOnly
20814 20086
      Etag:
20815
      - '"9effda062073f183f72d512484846af0-gzip"'
20087
      - '"0093e4891c5402618c30013556e3debc-gzip"'
20816 20088
      Status:
20817 20089
      - 200 OK
20818 20090
      Vary:
20819 20091
      - Accept-Encoding
20820 20092
      Content-Length:
20821
      - '4430'
20093
      - '4426'
20822 20094
      Content-Type:
20823 20095
      - application/json; charset=utf-8
20824
      Set-Cookie:
20825
      - _session_id=75230f4cd09387d77bd3a1efde6445c9; path=/; secure; HttpOnly
20826 20096
    body:
20827 20097
      encoding: ASCII-8BIT
20828 20098
      string: |
......
20830 20100
          "total": 2,
20831 20101
          "subtotal": 2,
20832 20102
          "page": 1,
20833
          "per_page": 999999,
20103
          "per_page": 20,
20834 20104
          "search": null,
20835 20105
          "sort": {
20836 20106
            "by": null,
20837 20107
            "order": null
20838 20108
          },
20839
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
20109
          "results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-13 11:01:00 UTC","updated_at":"2016-12-13 11:49:06 UTC","last_compile":"2016-12-13 11:01:02 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","last_checkin":"2016-12-13 11:01:00 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13 11:01:01 UTC"},"content_host_id":5},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-13 10:58:55 UTC","updated_at":"2016-12-13 11:48:59 UTC","last_compile":"2016-12-13 10:58:57 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":4,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","last_checkin":"2016-12-13 10:58:55 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13 10:58:56 UTC"},"content_host_id":4}]
20840 20110
        }
20841 20111
    http_version: 
20842
  recorded_at: Thu, 01 Dec 2016 19:53:25 GMT
20112
  recorded_at: Tue, 13 Dec 2016 14:47:02 GMT
20843 20113
- request:
20844 20114
    method: get
20845
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/7
20115
    uri: https://admin:changeme@satlap.example.com/api/hosts/5
20846 20116
    body:
20847 20117
      encoding: US-ASCII
20848 20118
      string: ''
......
20858 20128
      Accept-Language:
20859 20129
      - en
20860 20130
      Host:
20861
      - katello.example.com:50083
20131
      - satlap.example.com
20862 20132
  response:
20863 20133
    status:
20864 20134
      code: 200
20865 20135
      message: OK
20866 20136
    headers:
20867 20137
      Date:
20868
      - Thu, 01 Dec 2016 19:53:17 GMT
20138
      - Tue, 13 Dec 2016 14:47:05 GMT
20869 20139
      Server:
20870 20140
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20871 20141
      X-Frame-Options:
......
20883 20153
      Cache-Control:
20884 20154
      - max-age=0, private, must-revalidate
20885 20155
      X-Request-Id:
20886
      - 0ad66ea1-0884-48d7-864e-7bfb604a8d55
20156
      - c2d6fa2e-8d05-443f-8ae4-2c72386726aa
20887 20157
      X-Runtime:
20888
      - '0.313096'
20158
      - '0.312447'
20889 20159
      X-Powered-By:
20890 20160
      - Phusion Passenger 4.0.18
20161
      Set-Cookie:
20162
      - _session_id=bac1501b784d0a2b49f9a13f41219c54; path=/; secure; HttpOnly
20891 20163
      Etag:
20892
      - '"e448a5d58bd7bf77d82743a538004059-gzip"'
20164
      - '"ad5c0377fc0b2c053648e4100b6ef71c-gzip"'
20893 20165
      Status:
20894 20166
      - 200 OK
20895 20167
      Vary:
......
20898 20170
      - '3850'
20899 20171
      Content-Type:
20900 20172
      - application/json; charset=utf-8
20901
      Set-Cookie:
20902
      - _session_id=de133ed01b3356b4266447afc609bd1b; path=/; secure; HttpOnly
20903 20173
    body:
20904 20174
      encoding: ASCII-8BIT
20905
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01
20906
        19:38:28 UTC","updated_at":"2016-12-01 19:43:53 UTC","last_compile":"2016-12-01
20907
        19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20175
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-13
20176
        11:01:00 UTC","updated_at":"2016-12-13 11:49:06 UTC","last_compile":"2016-12-13
20177
        11:01:02 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
20908 20178
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20909 20179
        not calculate errata status, ensure host is registered and katello-agent is
20910
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default
20180
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":5,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","content_view_id":2,"content_view_name":"Default
20911 20181
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20912
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01
20913
        19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
20914
        19:38:28 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe53a530599","productId":"69","productName":"Red
20915
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-01T19:38:31.891+0000","updated":"2016-12-01T19:38:31.891+0000"}]},"content_host_id":6,"parameters":[],"interfaces":[{"id":7,"name":"testphysical","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testphysical","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"8","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
20916
        Corporation/testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-01T19:38:30+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
20182
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":5,"uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","last_checkin":"2016-12-13
20183
        11:01:00 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13
20184
        11:01:01 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f7d7ccd506f2","productId":"69","productName":"Red
20185
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-13T11:01:04.853+0000","updated":"2016-12-13T11:01:04.853+0000"}]},"content_host_id":5,"parameters":[],"interfaces":[{"id":5,"name":"testphysical","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"8","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
20186
        Corporation/testphysical","system::certificate_version":"3.2","network::hostname":"testphysical","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-13T11:01:02+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
20917 20187
    http_version: 
20918
  recorded_at: Thu, 01 Dec 2016 19:53:25 GMT
20188
  recorded_at: Tue, 13 Dec 2016 14:47:02 GMT
20919 20189
- request:
20920 20190
    method: get
20921
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/6
20191
    uri: https://admin:changeme@satlap.example.com/api/hosts/4
20922 20192
    body:
20923 20193
      encoding: US-ASCII
20924 20194
      string: ''
......
20934 20204
      Accept-Language:
20935 20205
      - en
20936 20206
      Host:
20937
      - katello.example.com:50083
20207
      - satlap.example.com
20938 20208
  response:
20939 20209
    status:
20940 20210
      code: 200
20941 20211
      message: OK
20942 20212
    headers:
20943 20213
      Date:
20944
      - Thu, 01 Dec 2016 19:53:18 GMT
20214
      - Tue, 13 Dec 2016 14:47:05 GMT
20945 20215
      Server:
20946 20216
      - Apache/2.4.6 (Red Hat Enterprise Linux)
20947 20217
      X-Frame-Options:
......
20959 20229
      Cache-Control:
20960 20230
      - max-age=0, private, must-revalidate
20961 20231
      X-Request-Id:
20962
      - 93bffc88-b363-4f9e-a8d3-bb7cf32424fe
20232
      - 0140c007-4c82-436a-8c0f-e552a0b7179c
20963 20233
      X-Runtime:
20964
      - '0.366965'
20234
      - '0.295422'
20965 20235
      X-Powered-By:
20966 20236
      - Phusion Passenger 4.0.18
20237
      Set-Cookie:
20238
      - _session_id=b35758a2a3f098db8897af0676c60ce9; path=/; secure; HttpOnly
20967 20239
      Etag:
20968
      - '"e46e20167be651c7a23bc7ab096d6df7-gzip"'
20240
      - '"6450bb45f7cdc8ae0fdc6a0fb74f6bd7-gzip"'
20969 20241
      Status:
20970 20242
      - 200 OK
20971 20243
      Vary:
......
20974 20246
      - '3820'
20975 20247
      Content-Type:
20976 20248
      - application/json; charset=utf-8
20977
      Set-Cookie:
20978
      - _session_id=cf73de35943dddef6394d78bc28d3732; path=/; secure; HttpOnly
20979 20249
    body:
20980 20250
      encoding: ASCII-8BIT
20981
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01
20982
        19:37:05 UTC","updated_at":"2016-12-01 19:43:43 UTC","last_compile":"2016-12-01
20983
        19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
20251
      string: '{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-13
20252
        10:58:55 UTC","updated_at":"2016-12-13 11:48:59 UTC","last_compile":"2016-12-13
20253
        10:58:57 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
20984 20254
        Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
20985 20255
        not calculate errata status, ensure host is registered and katello-agent is
20986
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default
20256
        installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":4,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","content_view_id":2,"content_view_name":"Default
20987 20257
        Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
20988
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01
20989
        19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
20990
        19:37:05 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe41f0e03f7","productId":"69","productName":"Red
20991
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-01T19:37:19.374+0000","updated":"2016-12-01T19:37:19.374+0000"}]},"content_host_id":5,"parameters":[],"interfaces":[{"id":6,"name":"testvm","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testvm","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"4","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
20992
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-01T19:37:06+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
20258
        Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0},"content_view_version":"1.0","content_view_version_id":2,"content_view_default?":true,"lifecycle_environment_library?":true,"katello_agent_installed":false},"subscription_facet_attributes":{"id":4,"uuid":"05f67758-243c-440b-9349-776aafb933e1","last_checkin":"2016-12-13
20259
        10:58:55 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13
20260
        10:58:56 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f7d7a08106d8","productId":"69","productName":"Red
20261
        Hat Enterprise Linux Server","version":"7Server","arch":"x86_64","status":"green","startDate":"2016-06-20T04:00:00.000+0000","endDate":"2017-06-20T03:59:59.000+0000","created":"2016-12-13T11:00:53.505+0000","updated":"2016-12-13T11:00:53.505+0000"}]},"content_host_id":4,"parameters":[],"interfaces":[{"id":4,"name":"testvm","ip":null,"mac":null,"identifier":null,"primary":true,"provision":true,"type":"interface"}],"puppetclasses":[],"config_groups":[],"all_parameters":[],"all_puppetclasses":[],"facts":{"system::certificate_version":"3.2","network::hostname":"testvm","cpu::core(s)_per_socket":"1","cpu::cpu_socket(s)":"4","memory::memtotal":"4GB","uname::machine":"x86_64","distribution::name":"RHEL","distribution::version":"7Server","virt::is_guest":"true","virt::uuid":"Test
20262
        Corporation/testvm","cpu::cpu(s)":"1","system":null,"network":null,"cpu":null,"memory":null,"uname":null,"distribution":null,"virt":null,"_timestamp":"2016-12-13T10:58:57+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
20993 20263
    http_version: 
20994
  recorded_at: Thu, 01 Dec 2016 19:53:26 GMT
20264
  recorded_at: Tue, 13 Dec 2016 14:47:03 GMT
20995 20265
- request:
20996 20266
    method: get
20997
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/7/subscriptions?organization_id=3
20267
    uri: https://admin:changeme@satlap.example.com/api/hosts/5/subscriptions?organization_id=8
20998 20268
    body:
20999 20269
      encoding: US-ASCII
21000 20270
      string: ''
......
21010 20280
      Accept-Language:
21011 20281
      - en
21012 20282
      Host:
21013
      - katello.example.com:50083
20283
      - satlap.example.com
21014 20284
  response:
21015 20285
    status:
21016 20286
      code: 200
21017 20287
      message: OK
21018 20288
    headers:
21019 20289
      Date:
21020
      - Thu, 01 Dec 2016 19:53:18 GMT
20290
      - Tue, 13 Dec 2016 14:47:05 GMT
21021 20291
      Server:
21022 20292
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21023 20293
      X-Frame-Options:
......
21035 20305
      Cache-Control:
21036 20306
      - max-age=0, private, must-revalidate
21037 20307
      X-Request-Id:
21038
      - 8188f2e4-86a1-41fb-b98f-16f9b4ab12c4
20308
      - e1a3c132-d0b1-4fbc-ac8e-2135032718bf
21039 20309
      X-Runtime:
21040
      - '0.256673'
20310
      - '0.228454'
21041 20311
      X-Powered-By:
21042 20312
      - Phusion Passenger 4.0.18
20313
      Set-Cookie:
20314
      - _session_id=8a096d35dce985f4c5df0bd315ed6ca5; path=/; secure; HttpOnly
21043 20315
      Etag:
21044
      - '"432a2ddf33f52f81d9755d5ede670c43-gzip"'
20316
      - '"08063d363b63add4fe3c07b6a2f5ee13-gzip"'
21045 20317
      Status:
21046 20318
      - 200 OK
21047 20319
      Vary:
......
21050 20322
      - '770'
21051 20323
      Content-Type:
21052 20324
      - application/json; charset=utf-8
21053
      Set-Cookie:
21054
      - _session_id=b5d620e9286c512a155ddb47c91342f1; path=/; secure; HttpOnly
21055 20325
    body:
21056 20326
      encoding: ASCII-8BIT
21057
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red
20327
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
21058 20328
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
21059 20329
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
21060 20330

  
21061 20331
'
21062 20332
    http_version: 
21063
  recorded_at: Thu, 01 Dec 2016 19:53:26 GMT
20333
  recorded_at: Tue, 13 Dec 2016 14:47:03 GMT
21064 20334
- request:
21065 20335
    method: get
21066
    uri: https://admin:changeme@katello.example.com:50083/api/hosts/6/subscriptions?organization_id=3
20336
    uri: https://admin:changeme@satlap.example.com/api/hosts/4/subscriptions?organization_id=8
21067 20337
    body:
21068 20338
      encoding: US-ASCII
21069 20339
      string: ''
......
21079 20349
      Accept-Language:
21080 20350
      - en
21081 20351
      Host:
21082
      - katello.example.com:50083
20352
      - satlap.example.com
21083 20353
  response:
21084 20354
    status:
21085 20355
      code: 200
21086 20356
      message: OK
21087 20357
    headers:
21088 20358
      Date:
21089
      - Thu, 01 Dec 2016 19:53:18 GMT
20359
      - Tue, 13 Dec 2016 14:47:06 GMT
21090 20360
      Server:
21091 20361
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21092 20362
      X-Frame-Options:
......
21104 20374
      Cache-Control:
21105 20375
      - max-age=0, private, must-revalidate
21106 20376
      X-Request-Id:
21107
      - f5458602-fbec-41f5-ba44-dda26049cb53
20377
      - f923ff39-bbbd-4bf8-b378-3eac4f167a56
21108 20378
      X-Runtime:
21109
      - '0.243197'
20379
      - '0.237691'
21110 20380
      X-Powered-By:
21111 20381
      - Phusion Passenger 4.0.18
20382
      Set-Cookie:
20383
      - _session_id=49bff4a6e4272b6eda8afe23abf9f7f0; path=/; secure; HttpOnly
21112 20384
      Etag:
21113
      - '"432a2ddf33f52f81d9755d5ede670c43-gzip"'
20385
      - '"08063d363b63add4fe3c07b6a2f5ee13-gzip"'
21114 20386
      Status:
21115 20387
      - 200 OK
21116 20388
      Vary:
......
21119 20391
      - '770'
21120 20392
      Content-Type:
21121 20393
      - application/json; charset=utf-8
21122
      Set-Cookie:
21123
      - _session_id=1386100d2a3e71283b1d06f4d21e9bb6; path=/; secure; HttpOnly
21124 20394
    body:
21125 20395
      encoding: ASCII-8BIT
21126
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red
20396
      string: '{"total":1,"subtotal":1,"page":1,"per_page":1,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"quantity_consumed":1,"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
21127 20397
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":198,"quantity":200,"consumed":2,"account_number":5700573,"contract_number":10999113,"support_level":"Standard","product_id":"RH00004","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
21128 20398
        Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
21129 20399

  
21130 20400
'
21131 20401
    http_version: 
21132
  recorded_at: Thu, 01 Dec 2016 19:53:26 GMT
20402
  recorded_at: Tue, 13 Dec 2016 14:47:03 GMT
21133 20403
- request:
21134 20404
    method: get
21135
    uri: https://admin:changeme@katello.example.com:50083/api/status
20405
    uri: https://admin:changeme@satlap.example.com/api/status
21136 20406
    body:
21137 20407
      encoding: US-ASCII
21138 20408
      string: ''
......
21143 20413
      - "*/*"
21144 20414
      User-Agent:
21145 20415
      - Ruby
20416
      Host:
20417
      - satlap.example.com
21146 20418
  response:
21147 20419
    status:
21148 20420
      code: 200
21149 20421
      message: OK
21150 20422
    headers:
21151 20423
      Date:
21152
      - Thu, 01 Dec 2016 19:53:19 GMT
20424
      - Tue, 13 Dec 2016 14:47:06 GMT
21153 20425
      Server:
21154 20426
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21155 20427
      X-Frame-Options:
......
21167 20439
      Cache-Control:
21168 20440
      - max-age=0, private, must-revalidate
21169 20441
      X-Request-Id:
21170
      - 6241f62d-4d54-4b94-919b-2e40975c6e4c
20442
      - 159849d2-a02e-41ee-b5b8-153cf78ebd69
21171 20443
      X-Runtime:
21172
      - '0.032298'
20444
      - '0.032029'
21173 20445
      X-Powered-By:
21174 20446
      - Phusion Passenger 4.0.18
20447
      Set-Cookie:
20448
      - _session_id=466889abe72c01f01355d1b98caf23b9; path=/; secure; HttpOnly
21175 20449
      Etag:
21176 20450
      - '"8e3341d0a4cc328651f7391aed11fef8"'
21177 20451
      Status:
......
21180 20454
      - '66'
21181 20455
      Content-Type:
21182 20456
      - application/json; charset=utf-8
21183
      Set-Cookie:
21184
      - _session_id=686ed891b10507d74794604b89d727d3; path=/; secure; HttpOnly
21185 20457
    body:
21186 20458
      encoding: UTF-8
21187 20459
      string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
21188 20460
    http_version: 
21189
  recorded_at: Thu, 01 Dec 2016 19:53:26 GMT
20461
  recorded_at: Tue, 13 Dec 2016 14:47:03 GMT
21190 20462
- request:
21191 20463
    method: get
21192
    uri: https://admin:changeme@katello.example.com:50083/api/v2/plugins
20464
    uri: https://admin:changeme@satlap.example.com/api/v2/plugins
21193 20465
    body:
21194 20466
      encoding: US-ASCII
21195 20467
      string: ''
......
21200 20472
      - "*/*"
21201 20473
      User-Agent:
21202 20474
      - Ruby
20475
      Host:
20476
      - satlap.example.com
21203 20477
  response:
21204 20478
    status:
21205 20479
      code: 200
21206 20480
      message: OK
21207 20481
    headers:
21208 20482
      Date:
21209
      - Thu, 01 Dec 2016 19:53:19 GMT
20483
      - Tue, 13 Dec 2016 14:47:06 GMT
21210 20484
      Server:
21211 20485
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21212 20486
      X-Frame-Options:
......
21224 20498
      Cache-Control:
21225 20499
      - max-age=0, private, must-revalidate
21226 20500
      X-Request-Id:
21227
      - 53fbc247-c2c9-4739-a7f6-03d868e43742
20501
      - bd21583b-4389-40d1-8d9f-521213ece371
21228 20502
      X-Runtime:
21229
      - '0.045668'
20503
      - '0.030578'
21230 20504
      X-Powered-By:
21231 20505
      - Phusion Passenger 4.0.18
20506
      Set-Cookie:
20507
      - _session_id=57913fa3306319e76a9793de0dc2d4a6; path=/; secure; HttpOnly
21232 20508
      Etag:
21233 20509
      - '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
21234 20510
      Status:
......
21239 20515
      - '1338'
21240 20516
      Content-Type:
21241 20517
      - application/json; charset=utf-8
21242
      Set-Cookie:
21243
      - _session_id=7c8838a063e6d5e8e774b42d2f820cde; path=/; secure; HttpOnly
21244 20518
    body:
21245 20519
      encoding: ASCII-8BIT
21246 20520
      string: !binary |-
......
21319 20593
        ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
21320 20594
        ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
21321 20595
    http_version: 
21322
  recorded_at: Thu, 01 Dec 2016 19:53:26 GMT
20596
  recorded_at: Tue, 13 Dec 2016 14:47:03 GMT
21323 20597
- request:
21324 20598
    method: get
21325
    uri: https://admin:changeme@katello.example.com:50083/katello/api/organizations?per_page=999999
20599
    uri: https://admin:changeme@satlap.example.com/katello/api/organizations?full_results=true
21326 20600
    body:
21327 20601
      encoding: US-ASCII
21328 20602
      string: ''
......
21338 20612
      Accept-Language:
21339 20613
      - en
21340 20614
      Host:
21341
      - katello.example.com:50083
20615
      - satlap.example.com
21342 20616
  response:
21343 20617
    status:
21344 20618
      code: 200
21345 20619
      message: OK
21346 20620
    headers:
21347 20621
      Date:
21348
      - Thu, 01 Dec 2016 19:53:19 GMT
20622
      - Tue, 13 Dec 2016 14:47:06 GMT
21349 20623
      Server:
21350 20624
      - Apache/2.4.6 (Red Hat Enterprise Linux)
21351 20625
      X-Frame-Options:
... This diff was truncated because it exceeds the maximum size that can be displayed.

Also available in: Unified diff