1
|
---
|
2
|
http_interactions:
|
3
|
- request:
|
4
|
method: get
|
5
|
uri: https://admin:changeme@satlap.example.com/api/organizations/8/hosts?per_page=1
|
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
|
- satlap.example.com
|
22
|
response:
|
23
|
status:
|
24
|
code: 200
|
25
|
message: OK
|
26
|
headers:
|
27
|
Date:
|
28
|
- Mon, 19 Dec 2016 16:43:40 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.61
|
39
|
Foreman-Api-Version:
|
40
|
- '2'
|
41
|
Apipie-Checksum:
|
42
|
- 9793fd9909c89b81479655ed560c4340
|
43
|
Cache-Control:
|
44
|
- max-age=0, private, must-revalidate
|
45
|
X-Request-Id:
|
46
|
- 500483f7-8067-4557-b938-7d7a026d55ff
|
47
|
X-Runtime:
|
48
|
- '0.133179'
|
49
|
X-Powered-By:
|
50
|
- Phusion Passenger 4.0.18
|
51
|
Set-Cookie:
|
52
|
- _session_id=65d79cdb9f637832dc62932383241675; path=/; secure; HttpOnly
|
53
|
Etag:
|
54
|
- '"f1bf6dcc61c898dc2abeaacae2d953fb-gzip"'
|
55
|
Status:
|
56
|
- 200 OK
|
57
|
Vary:
|
58
|
- Accept-Encoding
|
59
|
Content-Length:
|
60
|
- '2293'
|
61
|
Content-Type:
|
62
|
- application/json; charset=utf-8
|
63
|
body:
|
64
|
encoding: ASCII-8BIT
|
65
|
string: |
|
66
|
{
|
67
|
"total": 2,
|
68
|
"subtotal": 2,
|
69
|
"page": 1,
|
70
|
"per_page": 1,
|
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-12-13 11:01:00 UTC","updated_at":"2016-12-19 16:39:54 UTC","last_compile":"2016-12-19 16:39:50 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}]
|
77
|
}
|
78
|
http_version:
|
79
|
recorded_at: Mon, 19 Dec 2016 16:43:24 GMT
|
80
|
- request:
|
81
|
method: get
|
82
|
uri: https://admin:changeme@satlap.example.com/api/organizations/8/hosts?page=1&per_page=20
|
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
|
- satlap.example.com
|
99
|
response:
|
100
|
status:
|
101
|
code: 200
|
102
|
message: OK
|
103
|
headers:
|
104
|
Date:
|
105
|
- Mon, 19 Dec 2016 16:43:41 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.61
|
116
|
Foreman-Api-Version:
|
117
|
- '2'
|
118
|
Apipie-Checksum:
|
119
|
- 9793fd9909c89b81479655ed560c4340
|
120
|
Cache-Control:
|
121
|
- max-age=0, private, must-revalidate
|
122
|
X-Request-Id:
|
123
|
- 76c4a698-a14d-4007-86dd-971b7edf2e0a
|
124
|
X-Runtime:
|
125
|
- '0.200137'
|
126
|
X-Powered-By:
|
127
|
- Phusion Passenger 4.0.18
|
128
|
Set-Cookie:
|
129
|
- _session_id=fb35e3467d83f5bc81f52519999779d0; path=/; secure; HttpOnly
|
130
|
Etag:
|
131
|
- '"4d4e198a572ca690d4308092fac86672-gzip"'
|
132
|
Status:
|
133
|
- 200 OK
|
134
|
Vary:
|
135
|
- Accept-Encoding
|
136
|
Content-Length:
|
137
|
- '4426'
|
138
|
Content-Type:
|
139
|
- application/json; charset=utf-8
|
140
|
body:
|
141
|
encoding: ASCII-8BIT
|
142
|
string: |
|
143
|
{
|
144
|
"total": 2,
|
145
|
"subtotal": 2,
|
146
|
"page": 1,
|
147
|
"per_page": 20,
|
148
|
"search": null,
|
149
|
"sort": {
|
150
|
"by": null,
|
151
|
"order": null
|
152
|
},
|
153
|
"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-19 16:39:54 UTC","last_compile":"2016-12-19 16:39:50 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-19 16:39:49 UTC","last_compile":"2016-12-19 16:39:45 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}]
|
154
|
}
|
155
|
http_version:
|
156
|
recorded_at: Mon, 19 Dec 2016 16:43:24 GMT
|
157
|
- request:
|
158
|
method: get
|
159
|
uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/environments?per_page=999999
|
160
|
body:
|
161
|
encoding: US-ASCII
|
162
|
string: ''
|
163
|
headers:
|
164
|
Accept:
|
165
|
- application/json;version=2
|
166
|
Accept-Encoding:
|
167
|
- gzip, deflate
|
168
|
User-Agent:
|
169
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
170
|
Content-Type:
|
171
|
- application/json
|
172
|
Accept-Language:
|
173
|
- en
|
174
|
Host:
|
175
|
- satlap.example.com
|
176
|
response:
|
177
|
status:
|
178
|
code: 200
|
179
|
message: OK
|
180
|
headers:
|
181
|
Date:
|
182
|
- Mon, 19 Dec 2016 16:43:41 GMT
|
183
|
Server:
|
184
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
185
|
X-Frame-Options:
|
186
|
- SAMEORIGIN
|
187
|
X-Xss-Protection:
|
188
|
- 1; mode=block
|
189
|
X-Content-Type-Options:
|
190
|
- nosniff
|
191
|
Foreman-Version:
|
192
|
- 1.11.0.61
|
193
|
Foreman-Api-Version:
|
194
|
- '2'
|
195
|
Apipie-Checksum:
|
196
|
- 9793fd9909c89b81479655ed560c4340
|
197
|
Cache-Control:
|
198
|
- max-age=0, private, must-revalidate
|
199
|
X-Request-Id:
|
200
|
- e48dbc2c-aeba-4ba0-91ef-20f47c1a99e8
|
201
|
X-Runtime:
|
202
|
- '0.115835'
|
203
|
X-Powered-By:
|
204
|
- Phusion Passenger 4.0.18
|
205
|
Set-Cookie:
|
206
|
- _session_id=32004863e9789c0edbd9d5a94fe6c328; path=/; secure; HttpOnly
|
207
|
Etag:
|
208
|
- '"e887f85e97779657bd7cf336d1f5761c-gzip"'
|
209
|
Status:
|
210
|
- 200 OK
|
211
|
Vary:
|
212
|
- Accept-Encoding
|
213
|
Content-Length:
|
214
|
- '3019'
|
215
|
Content-Type:
|
216
|
- application/json; charset=utf-8
|
217
|
body:
|
218
|
encoding: ASCII-8BIT
|
219
|
string: '{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test,
|
220
|
manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
|
221
|
10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":5,"name":"Production","label":"Production","description":"Production,
|
222
|
manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
|
223
|
10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test
|
224
|
Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:26
|
225
|
UTC","updated_at":"2016-12-13 10:58:26 UTC","prior":null,"successor":null,"counts":{"content_hosts":2,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
|
226
|
automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
|
227
|
10:59:04 UTC","updated_at":"2016-12-13 10:59:04 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive,
|
228
|
no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":8},"created_at":"2016-12-13
|
229
|
10:59:05 UTC","updated_at":"2016-12-13 10:59:05 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
|
230
|
|
231
|
'
|
232
|
http_version:
|
233
|
recorded_at: Mon, 19 Dec 2016 16:43:25 GMT
|
234
|
- request:
|
235
|
method: get
|
236
|
uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/content_views?per_page=999999
|
237
|
body:
|
238
|
encoding: US-ASCII
|
239
|
string: ''
|
240
|
headers:
|
241
|
Accept:
|
242
|
- application/json;version=2
|
243
|
Accept-Encoding:
|
244
|
- gzip, deflate
|
245
|
User-Agent:
|
246
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
247
|
Content-Type:
|
248
|
- application/json
|
249
|
Accept-Language:
|
250
|
- en
|
251
|
Host:
|
252
|
- satlap.example.com
|
253
|
response:
|
254
|
status:
|
255
|
code: 200
|
256
|
message: OK
|
257
|
headers:
|
258
|
Date:
|
259
|
- Mon, 19 Dec 2016 16:43:41 GMT
|
260
|
Server:
|
261
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
262
|
X-Frame-Options:
|
263
|
- SAMEORIGIN
|
264
|
X-Xss-Protection:
|
265
|
- 1; mode=block
|
266
|
X-Content-Type-Options:
|
267
|
- nosniff
|
268
|
Foreman-Version:
|
269
|
- 1.11.0.61
|
270
|
Foreman-Api-Version:
|
271
|
- '2'
|
272
|
Apipie-Checksum:
|
273
|
- 9793fd9909c89b81479655ed560c4340
|
274
|
Cache-Control:
|
275
|
- max-age=0, private, must-revalidate
|
276
|
X-Request-Id:
|
277
|
- 0b5b68fb-6933-4201-a105-dc847528ebce
|
278
|
X-Runtime:
|
279
|
- '0.060650'
|
280
|
X-Powered-By:
|
281
|
- Phusion Passenger 4.0.18
|
282
|
Set-Cookie:
|
283
|
- _session_id=634baee287c73361cb0d85d1d7cdf7bd; path=/; secure; HttpOnly
|
284
|
Etag:
|
285
|
- '"24d3d45f9a0cda80146879509dfd209e-gzip"'
|
286
|
Status:
|
287
|
- 200 OK
|
288
|
Vary:
|
289
|
- Accept-Encoding
|
290
|
Content-Length:
|
291
|
- '1804'
|
292
|
Content-Type:
|
293
|
- application/json; charset=utf-8
|
294
|
body:
|
295
|
encoding: ASCII-8BIT
|
296
|
string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
|
297
|
Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
|
298
|
Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:58
|
299
|
UTC","updated_at":"2016-12-13 10:58:59 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-13
|
300
|
10:58:59 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-13
|
301
|
10:58:59 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":2,"name":"Default
|
302
|
Organization View","label":"e1fa1d00-5399-4ce9-9219-1b9433e76baa","description":null,"organization":{"name":"Test
|
303
|
Corporation","label":"testcorp","id":8},"created_at":"2016-12-13 10:58:26
|
304
|
UTC","updated_at":"2016-12-13 10:58:26 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":2,"version":"1.0","published":"2016-12-13
|
305
|
10:58:26 UTC","environment_ids":[2]}],"components":[],"activation_keys":[{"id":2,"name":"testakey"},{"id":3,"name":"testakeyitemized"}],"last_published":"2016-12-13
|
306
|
10:58:26 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
|
307
|
|
308
|
'
|
309
|
http_version:
|
310
|
recorded_at: Mon, 19 Dec 2016 16:43:25 GMT
|
311
|
- request:
|
312
|
method: put
|
313
|
uri: https://admin:changeme@satlap.example.com/api/hosts/4
|
314
|
body:
|
315
|
encoding: UTF-8
|
316
|
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red
|
317
|
Hat Enterprise Linux Server","arch":"x86_64","version":"7Server"}],"service_level":null}}}'
|
318
|
headers:
|
319
|
Accept:
|
320
|
- application/json;version=2
|
321
|
Accept-Encoding:
|
322
|
- gzip, deflate
|
323
|
User-Agent:
|
324
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
325
|
Content-Type:
|
326
|
- application/json
|
327
|
Accept-Language:
|
328
|
- en
|
329
|
Content-Length:
|
330
|
- '271'
|
331
|
Host:
|
332
|
- satlap.example.com
|
333
|
response:
|
334
|
status:
|
335
|
code: 200
|
336
|
message: OK
|
337
|
headers:
|
338
|
Date:
|
339
|
- Mon, 19 Dec 2016 16:43:41 GMT
|
340
|
Server:
|
341
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
342
|
X-Frame-Options:
|
343
|
- SAMEORIGIN
|
344
|
X-Xss-Protection:
|
345
|
- 1; mode=block
|
346
|
X-Content-Type-Options:
|
347
|
- nosniff
|
348
|
Foreman-Version:
|
349
|
- 1.11.0.61
|
350
|
Foreman-Api-Version:
|
351
|
- '2'
|
352
|
Apipie-Checksum:
|
353
|
- 9793fd9909c89b81479655ed560c4340
|
354
|
Cache-Control:
|
355
|
- max-age=0, private, must-revalidate
|
356
|
X-Request-Id:
|
357
|
- 8676a6f4-93b0-4b01-a039-c24b18ec0e9a
|
358
|
X-Runtime:
|
359
|
- '0.642272'
|
360
|
X-Powered-By:
|
361
|
- Phusion Passenger 4.0.18
|
362
|
Set-Cookie:
|
363
|
- _session_id=b9819625460dc76ffec8023a957ad34b; path=/; secure; HttpOnly
|
364
|
- request_method=PUT; path=/
|
365
|
Etag:
|
366
|
- '"22cb49e5f87ab20efe4d6d281842906f-gzip"'
|
367
|
Status:
|
368
|
- 200 OK
|
369
|
Vary:
|
370
|
- Accept-Encoding
|
371
|
Content-Length:
|
372
|
- '3820'
|
373
|
Content-Type:
|
374
|
- application/json; charset=utf-8
|
375
|
body:
|
376
|
encoding: ASCII-8BIT
|
377
|
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
|
378
|
10:58:55 UTC","updated_at":"2016-12-19 16:39:49 UTC","last_compile":"2016-12-19
|
379
|
16:39:45 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
|
380
|
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
|
381
|
not calculate errata status, ensure host is registered and katello-agent is
|
382
|
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
|
383
|
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
|
384
|
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
|
385
|
10:58:55 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13
|
386
|
10:58:56 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f7d7a08106d8","productId":"69","productName":"Red
|
387
|
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":{"virt":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","virt::is_guest":"true","virt::uuid":"Test
|
388
|
Corporation/testvm","cpu::cpu(s)":"1","network":null,"distribution":null,"system":null,"uname":null,"cpu":null,"memory":null,"_timestamp":"2016-12-19T16:39:45+00:00"},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"view_discovered_hosts":true,"submit_discovered_hosts":true,"auto_provision_discovered_hosts":true,"provision_discovered_hosts":true,"edit_discovered_hosts":true,"destroy_discovered_hosts":true}}'
|
389
|
http_version:
|
390
|
recorded_at: Mon, 19 Dec 2016 16:43:25 GMT
|
391
|
- request:
|
392
|
method: get
|
393
|
uri: https://admin:changeme@satlap.example.com/rhsm/consumers/05f67758-243c-440b-9349-776aafb933e1
|
394
|
body:
|
395
|
encoding: US-ASCII
|
396
|
string: ''
|
397
|
headers:
|
398
|
Accept-Encoding:
|
399
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
400
|
Accept:
|
401
|
- "*/*"
|
402
|
User-Agent:
|
403
|
- Ruby
|
404
|
response:
|
405
|
status:
|
406
|
code: 200
|
407
|
message: OK
|
408
|
headers:
|
409
|
Date:
|
410
|
- Mon, 19 Dec 2016 16:43:42 GMT
|
411
|
Server:
|
412
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
413
|
X-Frame-Options:
|
414
|
- SAMEORIGIN
|
415
|
X-Xss-Protection:
|
416
|
- 1; mode=block
|
417
|
X-Content-Type-Options:
|
418
|
- nosniff
|
419
|
Foreman-Version:
|
420
|
- 1.11.0.61
|
421
|
Foreman-Api-Version:
|
422
|
- '2'
|
423
|
X-Candlepin-Version:
|
424
|
- katello/3.0.0.90
|
425
|
Cache-Control:
|
426
|
- max-age=0, private, must-revalidate
|
427
|
X-Request-Id:
|
428
|
- a6830bce-7a9d-47d7-8409-be1e0f9acfd8
|
429
|
X-Runtime:
|
430
|
- '0.112821'
|
431
|
X-Powered-By:
|
432
|
- Phusion Passenger 4.0.18
|
433
|
Set-Cookie:
|
434
|
- _session_id=f896d160b7fe59894aef0c8ef63e702f; path=/; secure; HttpOnly
|
435
|
Etag:
|
436
|
- '"8700ca189f651594fa0225fc17555e4e-gzip"'
|
437
|
Status:
|
438
|
- 200 OK
|
439
|
Vary:
|
440
|
- Accept-Encoding
|
441
|
Content-Length:
|
442
|
- '3253'
|
443
|
Content-Type:
|
444
|
- application/json; charset=utf-8
|
445
|
body:
|
446
|
encoding: ASCII-8BIT
|
447
|
string: '{"id":"4028f99158f378890158f7d5d6bd03f1","uuid":"05f67758-243c-440b-9349-776aafb933e1","name":"testvm","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN
|
448
|
RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAgqcqgrlGRsDvLQ9wL5URZjQDMYmDNBssTIiSWcy9FmuACZdN\nNEWdao7cE6aV9BY07G5qKKIqTDb8br6mCngwY+JxUK/qGWoefStgtlzUAfnQRsuj\nIL/1qo/+TjE0n0KD6SOUO4MF0ytHq3xpe1wNryGbrT0+UJKSITwysHa3G6V12Lbu\n6Nd/ZSlMWPKnyGyj6ubNS97bjsWQ9FA2YLWNnr04HfjBJvCJTX7N+hg8bwqG/vfs\nW0+S5ZCMqGCEKPmwXtkSx/z9uHATi8D5oVIZtHExwYyiA1HHpIXW42H+DHM0k2HU\nlTdEWmYeaH/aRhgVQYa1XvvvRfmtH+/LO9ovfQIDAQABAoIBAE6bUOJRokyTa9NK\nhI68OzmodXtqZrwE1UQ+rv7ERcelaeVbWKHoeGtSBGr2QSYX7kOJsuk7mAM+2e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IEw5Ob3J0aCBDYXJvbGluYTEQMA4G\nA1UEBxMHUmFsZWlnaDEQMA4GA1UEChMHS2F0ZWxsbzEUMBIGA1UECxMLU29tZU9y\nZ1VuaXQxHjAcBgNVBAMTFXNhdC1yaGVsNy5leGFtcGxlLmNvbYIJAIfmEqSmk/wi\nMB0GA1UdDgQWBBRknqXtnXZdbaVsItbr1ztHYv0vsTATBgNVHSUEDDAKBggrBgEF\nBQcDAjAUBgNVHREEDTALhglDTj10ZXN0dm0wDQYJKoZIhvcNAQEFBQADggEBAFsE\nT6E/yfJB3EYo+sa4gPUyNHeYxQvlo4HI51XbtWR8a+rexPH08M2Y5Y5UjgQHij1b\nEUBhTSyC2x33FDySauB497cZyT6cqJMDzoufwZruEfxmv4qXzbwpDHzotQR45MrD\nzAU6zzPpx+l7rwAoRaX+qjqU/Uih9Mgcy4MrHxIEDbPNihLW55GdYZbW9qurntrC\nordhPDBp4EdFDAXzNiq4KVsmNDOKwNvphVelM1h+UniAJFIKJS9/zJVZmO4hq3pJ\ngiUapQJ3HZjBxSBSzQQbPy/6OqJcbIgCZDofaUjl6N/i4XbbP8gjgLhWmaaO9a2E\nurv4LQ5RwoZF637fpgU=\n-----END
|
450
|
CERTIFICATE-----\n","id":"4028f99158f378890158f7d5d92903f4","serial":{"id":723718673676652430,"revoked":false,"collected":false,"expiration":"2032-12-13T10:58:56.332+0000","serial":723718673676652430,"created":"2016-12-13T10:58:56.332+0000","updated":"2016-12-13T10:58:56.332+0000"},"created":"2016-12-13T10:58:56.937+0000","updated":"2016-12-13T10:58:56.937+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
|
451
|
Corporation","href":"/owners/testcorp"},"environment":{"owner":{"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
|
452
|
Corporation","href":"/owners/testcorp"},"name":"Library","description":null,"id":"2","environmentContent":[],"created":"2016-12-13T10:58:27.675+0000","updated":"2016-12-13T10:58:27.675+0000"},"entitlementCount":1,"facts":{"virt.uuid":"Test
|
453
|
Corporation/testvm","network.hostname":"testvm","distribution.version":"7Server","distribution.name":"RHEL","system.certificate_version":"3.2","_timestamp":"2016-12-19T16:39:44+00:00","uname.machine":"x86_64","memory.memtotal":"4GB","cpu.cpu_socket(s)":"4","cpu.cpu(s)":"1","cpu.core(s)_per_socket":"1","virt.is_guest":"true"},"lastCheckin":null,"installedProducts":[{"id":"4028f99158f378890158f7d7a08106d8","productId":"69","productName":"Red
|
454
|
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"}],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/05f67758-243c-440b-9349-776aafb933e1","created":"2016-12-13T10:58:56.317+0000","updated":"2016-12-19T16:39:48.730+0000"}'
|
455
|
http_version:
|
456
|
recorded_at: Mon, 19 Dec 2016 16:43:25 GMT
|
457
|
- request:
|
458
|
method: put
|
459
|
uri: https://admin:changeme@satlap.example.com/rhsm/consumers/05f67758-243c-440b-9349-776aafb933e1
|
460
|
body:
|
461
|
encoding: UTF-8
|
462
|
string: '{"facts":{"virt.uuid":"Test Corporation/testvm","network.hostname":"testvm","distribution.version":"7Server","distribution.name":"RHEL","system.certificate_version":"3.2","_timestamp":"2016-12-19T16:39:44+00:00","uname.machine":"x86_64","memory.memtotal":"4GB","cpu.cpu_socket(s)":"4","cpu.cpu(s)":"1","cpu.core(s)_per_socket":"1","virt.is_guest":true}}'
|
463
|
headers:
|
464
|
Content-Type:
|
465
|
- application/json
|
466
|
Accept-Encoding:
|
467
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
468
|
Accept:
|
469
|
- "*/*"
|
470
|
User-Agent:
|
471
|
- Ruby
|
472
|
response:
|
473
|
status:
|
474
|
code: 500
|
475
|
message: Internal Server Error
|
476
|
headers:
|
477
|
Date:
|
478
|
- Mon, 19 Dec 2016 16:43:42 GMT
|
479
|
Server:
|
480
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
481
|
X-Frame-Options:
|
482
|
- SAMEORIGIN
|
483
|
X-Xss-Protection:
|
484
|
- 1; mode=block
|
485
|
X-Content-Type-Options:
|
486
|
- nosniff
|
487
|
Foreman-Version:
|
488
|
- 1.11.0.61
|
489
|
Foreman-Api-Version:
|
490
|
- '2'
|
491
|
X-Candlepin-Version:
|
492
|
- katello/3.0.0.90
|
493
|
Cache-Control:
|
494
|
- no-cache
|
495
|
X-Request-Id:
|
496
|
- 3dce710c-119d-476a-b1ff-bdbfbdafda49
|
497
|
X-Runtime:
|
498
|
- '0.174972'
|
499
|
X-Powered-By:
|
500
|
- Phusion Passenger 4.0.18
|
501
|
Set-Cookie:
|
502
|
- _session_id=b23a03315ca5f2a49c1bbc09076229f3; path=/; secure; HttpOnly
|
503
|
- request_method=PUT; path=/
|
504
|
Status:
|
505
|
- 500 Internal Server Error
|
506
|
Connection:
|
507
|
- close
|
508
|
Transfer-Encoding:
|
509
|
- chunked
|
510
|
Content-Type:
|
511
|
- application/json; charset=utf-8
|
512
|
body:
|
513
|
encoding: UTF-8
|
514
|
string: '{"displayMessage":"Required lock is already taken by other running
|
515
|
tasks.\nPlease inspect their state, fix their errors and resume them.\n\nRequired
|
516
|
lock: update\nConflicts with tasks:\n- https://sat-rhel7.example.com/foreman_tasks/tasks/54bd079f-5409-426d-8096-3adf30a2e7f7","errors":["Required
|
517
|
lock is already taken by other running tasks.\nPlease inspect their state,
|
518
|
fix their errors and resume them.\n\nRequired lock: update\nConflicts with
|
519
|
tasks:\n- https://sat-rhel7.example.com/foreman_tasks/tasks/54bd079f-5409-426d-8096-3adf30a2e7f7"]}'
|
520
|
http_version:
|
521
|
recorded_at: Mon, 19 Dec 2016 16:43:26 GMT
|
522
|
- request:
|
523
|
method: get
|
524
|
uri: https://admin:changeme@satlap.example.com/api/hosts/4/subscriptions?full_results=true
|
525
|
body:
|
526
|
encoding: US-ASCII
|
527
|
string: ''
|
528
|
headers:
|
529
|
Accept:
|
530
|
- application/json;version=2
|
531
|
Accept-Encoding:
|
532
|
- gzip, deflate
|
533
|
User-Agent:
|
534
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
535
|
Content-Type:
|
536
|
- application/json
|
537
|
Accept-Language:
|
538
|
- en
|
539
|
Host:
|
540
|
- satlap.example.com
|
541
|
response:
|
542
|
status:
|
543
|
code: 200
|
544
|
message: OK
|
545
|
headers:
|
546
|
Date:
|
547
|
- Mon, 19 Dec 2016 16:43:42 GMT
|
548
|
Server:
|
549
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
550
|
X-Frame-Options:
|
551
|
- SAMEORIGIN
|
552
|
X-Xss-Protection:
|
553
|
- 1; mode=block
|
554
|
X-Content-Type-Options:
|
555
|
- nosniff
|
556
|
Foreman-Version:
|
557
|
- 1.11.0.61
|
558
|
Foreman-Api-Version:
|
559
|
- '2'
|
560
|
Apipie-Checksum:
|
561
|
- 9793fd9909c89b81479655ed560c4340
|
562
|
Cache-Control:
|
563
|
- max-age=0, private, must-revalidate
|
564
|
X-Request-Id:
|
565
|
- 82bddc32-a2dc-425a-840e-7f62626a2b6f
|
566
|
X-Runtime:
|
567
|
- '0.324065'
|
568
|
X-Powered-By:
|
569
|
- Phusion Passenger 4.0.18
|
570
|
Set-Cookie:
|
571
|
- _session_id=152de6fc76fd2e7ce196e832910294c1; path=/; secure; HttpOnly
|
572
|
Etag:
|
573
|
- '"08063d363b63add4fe3c07b6a2f5ee13-gzip"'
|
574
|
Status:
|
575
|
- 200 OK
|
576
|
Vary:
|
577
|
- Accept-Encoding
|
578
|
Content-Length:
|
579
|
- '770'
|
580
|
Content-Type:
|
581
|
- application/json; charset=utf-8
|
582
|
body:
|
583
|
encoding: ASCII-8BIT
|
584
|
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
|
585
|
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
|
586
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
587
|
|
588
|
'
|
589
|
http_version:
|
590
|
recorded_at: Mon, 19 Dec 2016 16:43:26 GMT
|
591
|
- request:
|
592
|
method: put
|
593
|
uri: https://admin:changeme@satlap.example.com/api/hosts/4/subscriptions/remove_subscriptions
|
594
|
body:
|
595
|
encoding: UTF-8
|
596
|
string: '{"subscriptions":[{"id":37,"quantity":1}]}'
|
597
|
headers:
|
598
|
Accept:
|
599
|
- application/json;version=2
|
600
|
Accept-Encoding:
|
601
|
- gzip, deflate
|
602
|
User-Agent:
|
603
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
604
|
Content-Type:
|
605
|
- application/json
|
606
|
Accept-Language:
|
607
|
- en
|
608
|
Content-Length:
|
609
|
- '42'
|
610
|
Host:
|
611
|
- satlap.example.com
|
612
|
response:
|
613
|
status:
|
614
|
code: 200
|
615
|
message: OK
|
616
|
headers:
|
617
|
Date:
|
618
|
- Mon, 19 Dec 2016 16:43:42 GMT
|
619
|
Server:
|
620
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
621
|
X-Frame-Options:
|
622
|
- SAMEORIGIN
|
623
|
X-Xss-Protection:
|
624
|
- 1; mode=block
|
625
|
X-Content-Type-Options:
|
626
|
- nosniff
|
627
|
Foreman-Version:
|
628
|
- 1.11.0.61
|
629
|
Foreman-Api-Version:
|
630
|
- '2'
|
631
|
Apipie-Checksum:
|
632
|
- 9793fd9909c89b81479655ed560c4340
|
633
|
Cache-Control:
|
634
|
- max-age=0, private, must-revalidate
|
635
|
X-Request-Id:
|
636
|
- d6b4f2ab-1896-4a25-bced-00b87619aae2
|
637
|
X-Runtime:
|
638
|
- '1.093655'
|
639
|
X-Powered-By:
|
640
|
- Phusion Passenger 4.0.18
|
641
|
Set-Cookie:
|
642
|
- _session_id=6bbefb08ae617f9f7a4d36d3b7cf037c; path=/; secure; HttpOnly
|
643
|
- request_method=PUT; path=/
|
644
|
Etag:
|
645
|
- '"a6dab0ae899304dddfc4c9c0d099f6ec-gzip"'
|
646
|
Status:
|
647
|
- 200 OK
|
648
|
Vary:
|
649
|
- Accept-Encoding
|
650
|
Content-Length:
|
651
|
- '770'
|
652
|
Content-Type:
|
653
|
- application/json; charset=utf-8
|
654
|
body:
|
655
|
encoding: ASCII-8BIT
|
656
|
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
|
657
|
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":199,"quantity":200,"consumed":1,"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
|
658
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
659
|
|
660
|
'
|
661
|
http_version:
|
662
|
recorded_at: Mon, 19 Dec 2016 16:43:27 GMT
|
663
|
- request:
|
664
|
method: get
|
665
|
uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/subscriptions?full_results=true
|
666
|
body:
|
667
|
encoding: US-ASCII
|
668
|
string: ''
|
669
|
headers:
|
670
|
Accept:
|
671
|
- application/json;version=2
|
672
|
Accept-Encoding:
|
673
|
- gzip, deflate
|
674
|
User-Agent:
|
675
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
676
|
Content-Type:
|
677
|
- application/json
|
678
|
Accept-Language:
|
679
|
- en
|
680
|
Host:
|
681
|
- satlap.example.com
|
682
|
response:
|
683
|
status:
|
684
|
code: 200
|
685
|
message: OK
|
686
|
headers:
|
687
|
Date:
|
688
|
- Mon, 19 Dec 2016 16:43:43 GMT
|
689
|
Server:
|
690
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
691
|
X-Frame-Options:
|
692
|
- SAMEORIGIN
|
693
|
X-Xss-Protection:
|
694
|
- 1; mode=block
|
695
|
X-Content-Type-Options:
|
696
|
- nosniff
|
697
|
Foreman-Version:
|
698
|
- 1.11.0.61
|
699
|
Foreman-Api-Version:
|
700
|
- '2'
|
701
|
Apipie-Checksum:
|
702
|
- 9793fd9909c89b81479655ed560c4340
|
703
|
Cache-Control:
|
704
|
- max-age=0, private, must-revalidate
|
705
|
X-Request-Id:
|
706
|
- 14fbe943-d05e-424c-8349-1fb4948310a0
|
707
|
X-Runtime:
|
708
|
- '0.578924'
|
709
|
X-Powered-By:
|
710
|
- Phusion Passenger 4.0.18
|
711
|
Set-Cookie:
|
712
|
- _session_id=c82f682c7ddd8b684c5dd4b46f048b13; path=/; secure; HttpOnly
|
713
|
Etag:
|
714
|
- '"5a2d8f497508d7cba195e796f291b0d8-gzip"'
|
715
|
Status:
|
716
|
- 200 OK
|
717
|
Vary:
|
718
|
- Accept-Encoding
|
719
|
Content-Length:
|
720
|
- '1972'
|
721
|
Content-Type:
|
722
|
- application/json; charset=utf-8
|
723
|
body:
|
724
|
encoding: ASCII-8BIT
|
725
|
string: '{"organization":{},"total":3,"subtotal":3,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":33,"cp_id":"4028f99158f378890158f7d684cc04a0","subscription_id":19,"name":"Red
|
726
|
Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
|
727
|
Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false},{"id":35,"cp_id":"4028f99158f378890158f7d6851404f2","subscription_id":20,"name":"Red
|
728
|
Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
|
729
|
Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false},{"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
|
730
|
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":199,"quantity":200,"consumed":1,"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
|
731
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
732
|
|
733
|
'
|
734
|
http_version:
|
735
|
recorded_at: Mon, 19 Dec 2016 16:43:28 GMT
|
736
|
- request:
|
737
|
method: put
|
738
|
uri: https://admin:changeme@satlap.example.com/api/hosts/4/subscriptions/add_subscriptions
|
739
|
body:
|
740
|
encoding: UTF-8
|
741
|
string: '{"subscriptions":[{"id":37,"quantity":0}]}'
|
742
|
headers:
|
743
|
Accept:
|
744
|
- application/json;version=2
|
745
|
Accept-Encoding:
|
746
|
- gzip, deflate
|
747
|
User-Agent:
|
748
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
749
|
Content-Type:
|
750
|
- application/json
|
751
|
Accept-Language:
|
752
|
- en
|
753
|
Content-Length:
|
754
|
- '42'
|
755
|
Host:
|
756
|
- satlap.example.com
|
757
|
response:
|
758
|
status:
|
759
|
code: 200
|
760
|
message: OK
|
761
|
headers:
|
762
|
Date:
|
763
|
- Mon, 19 Dec 2016 16:43:44 GMT
|
764
|
Server:
|
765
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
766
|
X-Frame-Options:
|
767
|
- SAMEORIGIN
|
768
|
X-Xss-Protection:
|
769
|
- 1; mode=block
|
770
|
X-Content-Type-Options:
|
771
|
- nosniff
|
772
|
Foreman-Version:
|
773
|
- 1.11.0.61
|
774
|
Foreman-Api-Version:
|
775
|
- '2'
|
776
|
Apipie-Checksum:
|
777
|
- 9793fd9909c89b81479655ed560c4340
|
778
|
Cache-Control:
|
779
|
- max-age=0, private, must-revalidate
|
780
|
X-Request-Id:
|
781
|
- 9c6dade2-6018-4a5f-a469-430d6bbf6968
|
782
|
X-Runtime:
|
783
|
- '1.030453'
|
784
|
X-Powered-By:
|
785
|
- Phusion Passenger 4.0.18
|
786
|
Set-Cookie:
|
787
|
- _session_id=5e46ed74c92f4832f8ba2ed95cbd1b7e; path=/; secure; HttpOnly
|
788
|
- request_method=PUT; path=/
|
789
|
Etag:
|
790
|
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
|
791
|
Status:
|
792
|
- 200 OK
|
793
|
Vary:
|
794
|
- Accept-Encoding
|
795
|
Content-Length:
|
796
|
- '119'
|
797
|
Content-Type:
|
798
|
- application/json; charset=utf-8
|
799
|
body:
|
800
|
encoding: ASCII-8BIT
|
801
|
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
|
802
|
|
803
|
'
|
804
|
http_version:
|
805
|
recorded_at: Mon, 19 Dec 2016 16:43:29 GMT
|
806
|
- request:
|
807
|
method: put
|
808
|
uri: https://admin:changeme@satlap.example.com/api/hosts/5
|
809
|
body:
|
810
|
encoding: UTF-8
|
811
|
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red
|
812
|
Hat Enterprise Linux Server","arch":"x86_64","version":"7Server"}],"service_level":null}}}'
|
813
|
headers:
|
814
|
Accept:
|
815
|
- application/json;version=2
|
816
|
Accept-Encoding:
|
817
|
- gzip, deflate
|
818
|
User-Agent:
|
819
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
820
|
Content-Type:
|
821
|
- application/json
|
822
|
Accept-Language:
|
823
|
- en
|
824
|
Content-Length:
|
825
|
- '271'
|
826
|
Host:
|
827
|
- satlap.example.com
|
828
|
response:
|
829
|
status:
|
830
|
code: 200
|
831
|
message: OK
|
832
|
headers:
|
833
|
Date:
|
834
|
- Mon, 19 Dec 2016 16:43:45 GMT
|
835
|
Server:
|
836
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
837
|
X-Frame-Options:
|
838
|
- SAMEORIGIN
|
839
|
X-Xss-Protection:
|
840
|
- 1; mode=block
|
841
|
X-Content-Type-Options:
|
842
|
- nosniff
|
843
|
Foreman-Version:
|
844
|
- 1.11.0.61
|
845
|
Foreman-Api-Version:
|
846
|
- '2'
|
847
|
Apipie-Checksum:
|
848
|
- 9793fd9909c89b81479655ed560c4340
|
849
|
Cache-Control:
|
850
|
- max-age=0, private, must-revalidate
|
851
|
X-Request-Id:
|
852
|
- 3a827449-628b-4dae-87ba-22a2b7a42db9
|
853
|
X-Runtime:
|
854
|
- '0.711425'
|
855
|
X-Powered-By:
|
856
|
- Phusion Passenger 4.0.18
|
857
|
Set-Cookie:
|
858
|
- _session_id=668211d933216a2ef55c0c0863b5b16c; path=/; secure; HttpOnly
|
859
|
- request_method=PUT; path=/
|
860
|
Etag:
|
861
|
- '"df7929b8a6ba0368435441b0e7a2b605-gzip"'
|
862
|
Status:
|
863
|
- 200 OK
|
864
|
Vary:
|
865
|
- Accept-Encoding
|
866
|
Content-Length:
|
867
|
- '3850'
|
868
|
Content-Type:
|
869
|
- application/json; charset=utf-8
|
870
|
body:
|
871
|
encoding: ASCII-8BIT
|
872
|
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
|
873
|
11:01:00 UTC","updated_at":"2016-12-19 16:39:54 UTC","last_compile":"2016-12-19
|
874
|
16:39:50 UTC","global_status":0,"global_status_label":"Warning","organization_id":8,"organization_name":"Test
|
875
|
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
|
876
|
not calculate errata status, ensure host is registered and katello-agent is
|
877
|
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
|
878
|
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
|
879
|
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
|
880
|
11:01:00 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-13
|
881
|
11:01:01 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"4028f99158f378890158f7d7ccd506f2","productId":"69","productName":"Red
|
882
|
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
|
883
|
Corporation/testphysical","system::certificate_version":"3.2","network::hostname":"testphysical","cpu::cpu(s)":"1","_timestamp":"2016-12-19T16:39:50+00:00","virt":null,"network":null,"distribution":null,"system":null,"uname":null,"cpu":null,"memory":null},"host_collections":[],"permissions":{"view_hosts":true,"create_hosts":true,"edit_hosts":true,"destroy_hosts":true,"build_hosts":true,"power_hosts":true,"console_hosts":true,"ipmi_boot":true,"puppetrun_hosts":true,"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}}'
|
884
|
http_version:
|
885
|
recorded_at: Mon, 19 Dec 2016 16:43:29 GMT
|
886
|
- request:
|
887
|
method: get
|
888
|
uri: https://admin:changeme@satlap.example.com/rhsm/consumers/a39750b1-252f-41d2-8f8d-646ecd711e02
|
889
|
body:
|
890
|
encoding: US-ASCII
|
891
|
string: ''
|
892
|
headers:
|
893
|
Accept-Encoding:
|
894
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
895
|
Accept:
|
896
|
- "*/*"
|
897
|
User-Agent:
|
898
|
- Ruby
|
899
|
response:
|
900
|
status:
|
901
|
code: 200
|
902
|
message: OK
|
903
|
headers:
|
904
|
Date:
|
905
|
- Mon, 19 Dec 2016 16:43:46 GMT
|
906
|
Server:
|
907
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
908
|
X-Frame-Options:
|
909
|
- SAMEORIGIN
|
910
|
X-Xss-Protection:
|
911
|
- 1; mode=block
|
912
|
X-Content-Type-Options:
|
913
|
- nosniff
|
914
|
Foreman-Version:
|
915
|
- 1.11.0.61
|
916
|
Foreman-Api-Version:
|
917
|
- '2'
|
918
|
X-Candlepin-Version:
|
919
|
- katello/3.0.0.90
|
920
|
Cache-Control:
|
921
|
- max-age=0, private, must-revalidate
|
922
|
X-Request-Id:
|
923
|
- b9cedd47-39ec-4cb1-bcb3-87829c9b453f
|
924
|
X-Runtime:
|
925
|
- '0.098540'
|
926
|
X-Powered-By:
|
927
|
- Phusion Passenger 4.0.18
|
928
|
Set-Cookie:
|
929
|
- _session_id=fad85721a9a1c9738a4afdf1a6f6630e; path=/; secure; HttpOnly
|
930
|
Etag:
|
931
|
- '"956bb81875ec6fea530b3b5b1057e538-gzip"'
|
932
|
Status:
|
933
|
- 200 OK
|
934
|
Vary:
|
935
|
- Accept-Encoding
|
936
|
Content-Length:
|
937
|
- '3274'
|
938
|
Content-Type:
|
939
|
- application/json; charset=utf-8
|
940
|
body:
|
941
|
encoding: ASCII-8BIT
|
942
|
string: '{"id":"4028f99158f378890158f7d7be2906e8","uuid":"a39750b1-252f-41d2-8f8d-646ecd711e02","name":"testphysical","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN
|
943
|
RSA PRIVATE KEY-----\nMIIEpAIBAAKCAQEAmQIDIwXhNkK4WuKus1uYMsFaUiprSKazFm3RHN6545ZfXbke\n74p1Q/BrQLsIlhI22fCTRb7JYVvHOO0GmHo7wsemH5syaMuZN76oTWDeUAtRH3tp\n3FnkQ9DwIjBI2JAbDojxabj/EKlPRTzp7XvqCSKEfZUWOB1hz9Kludt963l4iZjd\nXmdIAmzkJ/NRDMekY3wlHCvNpUF7OUDrVTtw/E48LyISn08zAs+qCWDN+JHbDYL6\ntF9C/jCxZRWvOtzWDHDwgyYNyHJ067dI8qTITOF+nlFeqZkU6L5Sud+//bkeNuTt\nTX/iEw5CiYbuI4QpUe5UJ09adDf/m09eeKyqNwIDAQABAoIBAQCT8j8oOUI3njH2\nJ2O3J6S1xwHXmw6bdByMXmkpWi8x4a+axyojgqS6qZh7QZ4excPl3dn5QW4lRoIP\nCBktjFuGjleSDhWjAOLI5QCFuVmc2iR5pXKJzx2JeVkIJdn6FPUki8Oqb2eqK5vr\nneevava0GH01lNekMLzoH42Bdbt+2DmfWZYDDEVJFUvONWP+lFgfP6QDoM9nj7rG\nN+Mazk0TsalhyuLfAvhvcUzRAuLxtd/VvqhweeaA0V27uQfpF0TRzfZHavOpf1w+\nHYV7G4x7qlImF7Vh3NnmmNk+bYsTVleTum8TC74V8AY2O64eLPMc5vYsDWUA+lN2\nGpNu8EdRAoGBAMp12IrXX87R1CQ6qvU+CHcFUKr7tU58wAz8J0lRwQAbOKE6Cb8c\nREmfn3tnGri8SAimAcEOLgc+gkgynwWViQbMN2N6R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0fLdhkJ83GWGZvL83gsA3xfJZLG9VEehC1lsWQO6kHg4jj0\nFTQYAZjzrLkeAgFq/ZC2D6wgbjA56pM9GUuVJSVWTeCI9+u2zBR5VWcDoKfexWbP\nHe29LDRmoi4Pw59P8J1w+sXbkrrPGDUb7Ldk2O6N8QHBye0O4DVJfUarqX1Ik4zB\nIZUbnHuh2VFwdC2DTHNsTAPMjfdRNCYrUUofJ3amTQ7+aBbDhq4aIa+EBopJTwBX\nRmvCw+aQcZJIZI2odbNaeWuzO9s=\n-----END
|
945
|
CERTIFICATE-----\n","id":"4028f99158f378890158f7d7c00906eb","serial":{"id":8414957482624731083,"revoked":false,"collected":false,"expiration":"2032-12-13T11:01:01.099+0000","serial":8414957482624731083,"created":"2016-12-13T11:01:01.100+0000","updated":"2016-12-13T11:01:01.100+0000"},"created":"2016-12-13T11:01:01.577+0000","updated":"2016-12-13T11:01:01.577+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
|
946
|
Corporation","href":"/owners/testcorp"},"environment":{"owner":{"id":"4028f99158f378890158f7d5665f03ed","key":"testcorp","displayName":"Test
|
947
|
Corporation","href":"/owners/testcorp"},"name":"Library","description":null,"id":"2","environmentContent":[],"created":"2016-12-13T10:58:27.675+0000","updated":"2016-12-13T10:58:27.675+0000"},"entitlementCount":1,"facts":{"virt.uuid":"Test
|
948
|
Corporation/testphysical","network.hostname":"testphysical","distribution.version":"7Server","distribution.name":"RHEL","system.certificate_version":"3.2","_timestamp":"2016-12-19T16:39:50+00:00","uname.machine":"x86_64","memory.memtotal":"4GB","cpu.cpu_socket(s)":"8","cpu.cpu(s)":"1","cpu.core(s)_per_socket":"1","virt.is_guest":"true"},"lastCheckin":null,"installedProducts":[{"id":"4028f99158f378890158f7d7ccd506f2","productId":"69","productName":"Red
|
949
|
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"}],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/a39750b1-252f-41d2-8f8d-646ecd711e02","created":"2016-12-13T11:01:01.097+0000","updated":"2016-12-19T16:43:46.095+0000"}'
|
950
|
http_version:
|
951
|
recorded_at: Mon, 19 Dec 2016 16:43:30 GMT
|
952
|
- request:
|
953
|
method: put
|
954
|
uri: https://admin:changeme@satlap.example.com/rhsm/consumers/a39750b1-252f-41d2-8f8d-646ecd711e02
|
955
|
body:
|
956
|
encoding: UTF-8
|
957
|
string: '{"facts":{"virt.uuid":"Test Corporation/testphysical","network.hostname":"testphysical","distribution.version":"7Server","distribution.name":"RHEL","system.certificate_version":"3.2","_timestamp":"2016-12-19T16:39:50+00:00","uname.machine":"x86_64","memory.memtotal":"4GB","cpu.cpu_socket(s)":"8","cpu.cpu(s)":"1","cpu.core(s)_per_socket":"1","virt.is_guest":true}}'
|
958
|
headers:
|
959
|
Content-Type:
|
960
|
- application/json
|
961
|
Accept-Encoding:
|
962
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
963
|
Accept:
|
964
|
- "*/*"
|
965
|
User-Agent:
|
966
|
- Ruby
|
967
|
response:
|
968
|
status:
|
969
|
code: 200
|
970
|
message: OK
|
971
|
headers:
|
972
|
Date:
|
973
|
- Mon, 19 Dec 2016 16:43:46 GMT
|
974
|
Server:
|
975
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
976
|
X-Frame-Options:
|
977
|
- SAMEORIGIN
|
978
|
X-Xss-Protection:
|
979
|
- 1; mode=block
|
980
|
X-Content-Type-Options:
|
981
|
- nosniff
|
982
|
Foreman-Version:
|
983
|
- 1.11.0.61
|
984
|
Foreman-Api-Version:
|
985
|
- '2'
|
986
|
X-Candlepin-Version:
|
987
|
- katello/3.0.0.90
|
988
|
Cache-Control:
|
989
|
- max-age=0, private, must-revalidate
|
990
|
X-Request-Id:
|
991
|
- 44432bea-75ea-4950-b506-ec607efb973b
|
992
|
X-Runtime:
|
993
|
- '1.394394'
|
994
|
X-Powered-By:
|
995
|
- Phusion Passenger 4.0.18
|
996
|
Set-Cookie:
|
997
|
- _session_id=f42578004474750d70758b867148d8ce; path=/; secure; HttpOnly
|
998
|
- request_method=PUT; path=/
|
999
|
Etag:
|
1000
|
- '"a507d5fae91dfb858fa3f652df472381"'
|
1001
|
Status:
|
1002
|
- 200 OK
|
1003
|
Content-Length:
|
1004
|
- '41'
|
1005
|
Content-Type:
|
1006
|
- application/json; charset=utf-8
|
1007
|
body:
|
1008
|
encoding: UTF-8
|
1009
|
string: '{"content":"Facts successfully updated."}'
|
1010
|
http_version:
|
1011
|
recorded_at: Mon, 19 Dec 2016 16:43:31 GMT
|
1012
|
- request:
|
1013
|
method: get
|
1014
|
uri: https://admin:changeme@satlap.example.com/api/hosts/5/subscriptions?full_results=true
|
1015
|
body:
|
1016
|
encoding: US-ASCII
|
1017
|
string: ''
|
1018
|
headers:
|
1019
|
Accept:
|
1020
|
- application/json;version=2
|
1021
|
Accept-Encoding:
|
1022
|
- gzip, deflate
|
1023
|
User-Agent:
|
1024
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1025
|
Content-Type:
|
1026
|
- application/json
|
1027
|
Accept-Language:
|
1028
|
- en
|
1029
|
Host:
|
1030
|
- satlap.example.com
|
1031
|
response:
|
1032
|
status:
|
1033
|
code: 200
|
1034
|
message: OK
|
1035
|
headers:
|
1036
|
Date:
|
1037
|
- Mon, 19 Dec 2016 16:43:47 GMT
|
1038
|
Server:
|
1039
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1040
|
X-Frame-Options:
|
1041
|
- SAMEORIGIN
|
1042
|
X-Xss-Protection:
|
1043
|
- 1; mode=block
|
1044
|
X-Content-Type-Options:
|
1045
|
- nosniff
|
1046
|
Foreman-Version:
|
1047
|
- 1.11.0.61
|
1048
|
Foreman-Api-Version:
|
1049
|
- '2'
|
1050
|
Apipie-Checksum:
|
1051
|
- 9793fd9909c89b81479655ed560c4340
|
1052
|
Cache-Control:
|
1053
|
- max-age=0, private, must-revalidate
|
1054
|
X-Request-Id:
|
1055
|
- a7b4ecff-27eb-47b9-82d6-ed101fd02591
|
1056
|
X-Runtime:
|
1057
|
- '0.283110'
|
1058
|
X-Powered-By:
|
1059
|
- Phusion Passenger 4.0.18
|
1060
|
Set-Cookie:
|
1061
|
- _session_id=66649b89cad261e24cd5719850e52d3f; path=/; secure; HttpOnly
|
1062
|
Etag:
|
1063
|
- '"08063d363b63add4fe3c07b6a2f5ee13-gzip"'
|
1064
|
Status:
|
1065
|
- 200 OK
|
1066
|
Vary:
|
1067
|
- Accept-Encoding
|
1068
|
Content-Length:
|
1069
|
- '770'
|
1070
|
Content-Type:
|
1071
|
- application/json; charset=utf-8
|
1072
|
body:
|
1073
|
encoding: ASCII-8BIT
|
1074
|
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
|
1075
|
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
|
1076
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
1077
|
|
1078
|
'
|
1079
|
http_version:
|
1080
|
recorded_at: Mon, 19 Dec 2016 16:43:31 GMT
|
1081
|
- request:
|
1082
|
method: put
|
1083
|
uri: https://admin:changeme@satlap.example.com/api/hosts/5/subscriptions/remove_subscriptions
|
1084
|
body:
|
1085
|
encoding: UTF-8
|
1086
|
string: '{"subscriptions":[{"id":37,"quantity":1}]}'
|
1087
|
headers:
|
1088
|
Accept:
|
1089
|
- application/json;version=2
|
1090
|
Accept-Encoding:
|
1091
|
- gzip, deflate
|
1092
|
User-Agent:
|
1093
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1094
|
Content-Type:
|
1095
|
- application/json
|
1096
|
Accept-Language:
|
1097
|
- en
|
1098
|
Content-Length:
|
1099
|
- '42'
|
1100
|
Host:
|
1101
|
- satlap.example.com
|
1102
|
response:
|
1103
|
status:
|
1104
|
code: 200
|
1105
|
message: OK
|
1106
|
headers:
|
1107
|
Date:
|
1108
|
- Mon, 19 Dec 2016 16:43:48 GMT
|
1109
|
Server:
|
1110
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1111
|
X-Frame-Options:
|
1112
|
- SAMEORIGIN
|
1113
|
X-Xss-Protection:
|
1114
|
- 1; mode=block
|
1115
|
X-Content-Type-Options:
|
1116
|
- nosniff
|
1117
|
Foreman-Version:
|
1118
|
- 1.11.0.61
|
1119
|
Foreman-Api-Version:
|
1120
|
- '2'
|
1121
|
Apipie-Checksum:
|
1122
|
- 9793fd9909c89b81479655ed560c4340
|
1123
|
Cache-Control:
|
1124
|
- max-age=0, private, must-revalidate
|
1125
|
X-Request-Id:
|
1126
|
- 69f7a5dd-501b-4a56-843a-872cb90fdca8
|
1127
|
X-Runtime:
|
1128
|
- '1.032248'
|
1129
|
X-Powered-By:
|
1130
|
- Phusion Passenger 4.0.18
|
1131
|
Set-Cookie:
|
1132
|
- _session_id=2c9f00c56ba65d4f9394f4d1096af6ba; path=/; secure; HttpOnly
|
1133
|
- request_method=PUT; path=/
|
1134
|
Etag:
|
1135
|
- '"a6dab0ae899304dddfc4c9c0d099f6ec-gzip"'
|
1136
|
Status:
|
1137
|
- 200 OK
|
1138
|
Vary:
|
1139
|
- Accept-Encoding
|
1140
|
Content-Length:
|
1141
|
- '770'
|
1142
|
Content-Type:
|
1143
|
- application/json; charset=utf-8
|
1144
|
body:
|
1145
|
encoding: ASCII-8BIT
|
1146
|
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
|
1147
|
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":199,"quantity":200,"consumed":1,"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
|
1148
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
1149
|
|
1150
|
'
|
1151
|
http_version:
|
1152
|
recorded_at: Mon, 19 Dec 2016 16:43:32 GMT
|
1153
|
- request:
|
1154
|
method: get
|
1155
|
uri: https://admin:changeme@satlap.example.com/katello/api/organizations/8/subscriptions?full_results=true
|
1156
|
body:
|
1157
|
encoding: US-ASCII
|
1158
|
string: ''
|
1159
|
headers:
|
1160
|
Accept:
|
1161
|
- application/json;version=2
|
1162
|
Accept-Encoding:
|
1163
|
- gzip, deflate
|
1164
|
User-Agent:
|
1165
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1166
|
Content-Type:
|
1167
|
- application/json
|
1168
|
Accept-Language:
|
1169
|
- en
|
1170
|
Host:
|
1171
|
- satlap.example.com
|
1172
|
response:
|
1173
|
status:
|
1174
|
code: 200
|
1175
|
message: OK
|
1176
|
headers:
|
1177
|
Date:
|
1178
|
- Mon, 19 Dec 2016 16:43:49 GMT
|
1179
|
Server:
|
1180
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1181
|
X-Frame-Options:
|
1182
|
- SAMEORIGIN
|
1183
|
X-Xss-Protection:
|
1184
|
- 1; mode=block
|
1185
|
X-Content-Type-Options:
|
1186
|
- nosniff
|
1187
|
Foreman-Version:
|
1188
|
- 1.11.0.61
|
1189
|
Foreman-Api-Version:
|
1190
|
- '2'
|
1191
|
Apipie-Checksum:
|
1192
|
- 9793fd9909c89b81479655ed560c4340
|
1193
|
Cache-Control:
|
1194
|
- max-age=0, private, must-revalidate
|
1195
|
X-Request-Id:
|
1196
|
- 8bff46d7-f51d-4033-9938-7a5546bd97ba
|
1197
|
X-Runtime:
|
1198
|
- '0.607334'
|
1199
|
X-Powered-By:
|
1200
|
- Phusion Passenger 4.0.18
|
1201
|
Set-Cookie:
|
1202
|
- _session_id=6c43db5d300366ba45016425e81bb528; path=/; secure; HttpOnly
|
1203
|
Etag:
|
1204
|
- '"5a2d8f497508d7cba195e796f291b0d8-gzip"'
|
1205
|
Status:
|
1206
|
- 200 OK
|
1207
|
Vary:
|
1208
|
- Accept-Encoding
|
1209
|
Content-Length:
|
1210
|
- '1972'
|
1211
|
Content-Type:
|
1212
|
- application/json; charset=utf-8
|
1213
|
body:
|
1214
|
encoding: ASCII-8BIT
|
1215
|
string: '{"organization":{},"total":3,"subtotal":3,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":33,"cp_id":"4028f99158f378890158f7d684cc04a0","subscription_id":19,"name":"Red
|
1216
|
Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
|
1217
|
Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false},{"id":35,"cp_id":"4028f99158f378890158f7d6851404f2","subscription_id":20,"name":"Red
|
1218
|
Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
|
1219
|
Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false},{"id":37,"cp_id":"4028f99158f378890158f7d685490550","subscription_id":21,"name":"Red
|
1220
|
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":199,"quantity":200,"consumed":1,"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
|
1221
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
1222
|
|
1223
|
'
|
1224
|
http_version:
|
1225
|
recorded_at: Mon, 19 Dec 2016 16:43:33 GMT
|
1226
|
- request:
|
1227
|
method: put
|
1228
|
uri: https://admin:changeme@satlap.example.com/api/hosts/5/subscriptions/add_subscriptions
|
1229
|
body:
|
1230
|
encoding: UTF-8
|
1231
|
string: '{"subscriptions":[{"id":37,"quantity":0}]}'
|
1232
|
headers:
|
1233
|
Accept:
|
1234
|
- application/json;version=2
|
1235
|
Accept-Encoding:
|
1236
|
- gzip, deflate
|
1237
|
User-Agent:
|
1238
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1239
|
Content-Type:
|
1240
|
- application/json
|
1241
|
Accept-Language:
|
1242
|
- en
|
1243
|
Content-Length:
|
1244
|
- '42'
|
1245
|
Host:
|
1246
|
- satlap.example.com
|
1247
|
response:
|
1248
|
status:
|
1249
|
code: 200
|
1250
|
message: OK
|
1251
|
headers:
|
1252
|
Date:
|
1253
|
- Mon, 19 Dec 2016 16:43:49 GMT
|
1254
|
Server:
|
1255
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1256
|
X-Frame-Options:
|
1257
|
- SAMEORIGIN
|
1258
|
X-Xss-Protection:
|
1259
|
- 1; mode=block
|
1260
|
X-Content-Type-Options:
|
1261
|
- nosniff
|
1262
|
Foreman-Version:
|
1263
|
- 1.11.0.61
|
1264
|
Foreman-Api-Version:
|
1265
|
- '2'
|
1266
|
Apipie-Checksum:
|
1267
|
- 9793fd9909c89b81479655ed560c4340
|
1268
|
Cache-Control:
|
1269
|
- max-age=0, private, must-revalidate
|
1270
|
X-Request-Id:
|
1271
|
- fc1a20ae-cbcf-4a6a-a911-6adcd9d9b3ed
|
1272
|
X-Runtime:
|
1273
|
- '1.114543'
|
1274
|
X-Powered-By:
|
1275
|
- Phusion Passenger 4.0.18
|
1276
|
Set-Cookie:
|
1277
|
- _session_id=0a038f1b2b6d1cf5e2c6e18d20e6a483; path=/; secure; HttpOnly
|
1278
|
- request_method=PUT; path=/
|
1279
|
Etag:
|
1280
|
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
|
1281
|
Status:
|
1282
|
- 200 OK
|
1283
|
Vary:
|
1284
|
- Accept-Encoding
|
1285
|
Content-Length:
|
1286
|
- '119'
|
1287
|
Content-Type:
|
1288
|
- application/json; charset=utf-8
|
1289
|
body:
|
1290
|
encoding: ASCII-8BIT
|
1291
|
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
|
1292
|
|
1293
|
'
|
1294
|
http_version:
|
1295
|
recorded_at: Mon, 19 Dec 2016 16:43:34 GMT
|
1296
|
- request:
|
1297
|
method: get
|
1298
|
uri: https://admin:changeme@devel.example.com:50083/api/status
|
1299
|
body:
|
1300
|
encoding: US-ASCII
|
1301
|
string: ''
|
1302
|
headers:
|
1303
|
Accept-Encoding:
|
1304
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1305
|
Accept:
|
1306
|
- "*/*"
|
1307
|
User-Agent:
|
1308
|
- Ruby
|
1309
|
Host:
|
1310
|
- devel.example.com:50083
|
1311
|
response:
|
1312
|
status:
|
1313
|
code: 200
|
1314
|
message: OK
|
1315
|
headers:
|
1316
|
Date:
|
1317
|
- Mon, 27 Mar 2017 18:36:35 GMT
|
1318
|
Server:
|
1319
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1320
|
X-Frame-Options:
|
1321
|
- SAMEORIGIN
|
1322
|
X-Xss-Protection:
|
1323
|
- 1; mode=block
|
1324
|
X-Content-Type-Options:
|
1325
|
- nosniff
|
1326
|
Foreman-Version:
|
1327
|
- 1.11.0.54
|
1328
|
Foreman-Api-Version:
|
1329
|
- '2'
|
1330
|
Apipie-Checksum:
|
1331
|
- e1df2e8d43e22495b02a53b48e3b5298
|
1332
|
Cache-Control:
|
1333
|
- max-age=0, private, must-revalidate
|
1334
|
X-Request-Id:
|
1335
|
- 6b588dbb-593e-47a7-97f8-f350f3ee4bda
|
1336
|
X-Runtime:
|
1337
|
- '0.051589'
|
1338
|
X-Powered-By:
|
1339
|
- Phusion Passenger 4.0.18
|
1340
|
Etag:
|
1341
|
- '"8e3341d0a4cc328651f7391aed11fef8"'
|
1342
|
Status:
|
1343
|
- 200 OK
|
1344
|
Content-Length:
|
1345
|
- '66'
|
1346
|
Content-Type:
|
1347
|
- application/json; charset=utf-8
|
1348
|
Set-Cookie:
|
1349
|
- _session_id=952b4130aa49c2124eb9197f64004f61; path=/; secure; HttpOnly
|
1350
|
body:
|
1351
|
encoding: UTF-8
|
1352
|
string: '{"result":"ok","status":200,"version":"1.11.0.54","api_version":2}'
|
1353
|
http_version:
|
1354
|
recorded_at: Mon, 27 Mar 2017 18:36:41 GMT
|
1355
|
- request:
|
1356
|
method: get
|
1357
|
uri: https://admin:changeme@devel.example.com:50083/api/v2/plugins
|
1358
|
body:
|
1359
|
encoding: US-ASCII
|
1360
|
string: ''
|
1361
|
headers:
|
1362
|
Accept-Encoding:
|
1363
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1364
|
Accept:
|
1365
|
- "*/*"
|
1366
|
User-Agent:
|
1367
|
- Ruby
|
1368
|
Host:
|
1369
|
- devel.example.com:50083
|
1370
|
response:
|
1371
|
status:
|
1372
|
code: 200
|
1373
|
message: OK
|
1374
|
headers:
|
1375
|
Date:
|
1376
|
- Mon, 27 Mar 2017 18:36:35 GMT
|
1377
|
Server:
|
1378
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1379
|
X-Frame-Options:
|
1380
|
- SAMEORIGIN
|
1381
|
X-Xss-Protection:
|
1382
|
- 1; mode=block
|
1383
|
X-Content-Type-Options:
|
1384
|
- nosniff
|
1385
|
Foreman-Version:
|
1386
|
- 1.11.0.54
|
1387
|
Foreman-Api-Version:
|
1388
|
- '2'
|
1389
|
Apipie-Checksum:
|
1390
|
- e1df2e8d43e22495b02a53b48e3b5298
|
1391
|
Cache-Control:
|
1392
|
- max-age=0, private, must-revalidate
|
1393
|
X-Request-Id:
|
1394
|
- 49652b5f-8d3e-4246-9810-ed1002ab0a0b
|
1395
|
X-Runtime:
|
1396
|
- '0.050198'
|
1397
|
X-Powered-By:
|
1398
|
- Phusion Passenger 4.0.18
|
1399
|
Etag:
|
1400
|
- '"077fb42a553a8a1a1bbf6262a2cc79ec-gzip"'
|
1401
|
Status:
|
1402
|
- 200 OK
|
1403
|
Vary:
|
1404
|
- Accept-Encoding
|
1405
|
Content-Length:
|
1406
|
- '1338'
|
1407
|
Content-Type:
|
1408
|
- application/json; charset=utf-8
|
1409
|
Set-Cookie:
|
1410
|
- _session_id=6c44194cdf56e7405b42c75cfcbc9e5e; path=/; secure; HttpOnly
|
1411
|
body:
|
1412
|
encoding: ASCII-8BIT
|
1413
|
string: !binary |-
|
1414
|
ewogICJ0b3RhbCI6IDEwLAogICJzdWJ0b3RhbCI6IDEwL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cmwiOiJodHRwczovL2dpdGh1Yi5jb20vYWxv
|
1477
|
bmdvbGRib2ltL2ZvcmVtYW5fdGhlbWVfc2F0ZWxsaXRlIiwidmVyc2lvbiI6
|
1478
|
IjAuMS4zMyJ9LHsiaWQiOiJrYXRlbGxvIiwibmFtZSI6ImthdGVsbG8iLCJh
|
1479
|
dXRob3IiOiJOL0EiLCJkZXNjcmlwdGlvbiI6IkNvbnRlbnQgYW5kIFN1YnNj
|
1480
|
cmlwdGlvbiBNYW5hZ2VtZW50IHBsdWdpbiBmb3IgRm9yZW1hbiIsInVybCI6
|
1481
|
Imh0dHA6Ly93d3cua2F0ZWxsby5vcmciLCJ2ZXJzaW9uIjoiMy4wLjAuODIi
|
1482
|
fSx7ImlkIjoicmVkaGF0X2FjY2VzcyIsIm5hbWUiOiJyZWRoYXRfYWNjZXNz
|
1483
|
IiwiYXV0aG9yIjoiTGluZGFuaSBQaGlyaSIsImRlc2NyaXB0aW9uIjoiVGhp
|
1484
|
cyBwbHVnaW4gYWRkcyBSZWQgSGF0IEFjY2VzcyBrbm93bGVkZ2UgYmFzZSBz
|
1485
|
ZWFyY2gsIGNhc2UgbWFuYWdlbWVudCBhbmQgZGlhZ25vc3RpY3MgdG8gRm9y
|
1486
|
ZW1hbiIsInVybCI6Imh0dHA6Ly93d3cubHBoaXJpLnJlZGhhdC5jb20iLCJ2
|
1487
|
ZXJzaW9uIjoiMS4wLjEzIn1dCn0K
|
1488
|
http_version:
|
1489
|
recorded_at: Mon, 27 Mar 2017 18:36:41 GMT
|
1490
|
- request:
|
1491
|
method: get
|
1492
|
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations?per_page=999999&search=name=%22Test%20Corporation%22
|
1493
|
body:
|
1494
|
encoding: US-ASCII
|
1495
|
string: ''
|
1496
|
headers:
|
1497
|
Accept:
|
1498
|
- application/json;version=2
|
1499
|
Accept-Encoding:
|
1500
|
- gzip, deflate
|
1501
|
User-Agent:
|
1502
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1503
|
Content-Type:
|
1504
|
- application/json
|
1505
|
Accept-Language:
|
1506
|
- en
|
1507
|
Host:
|
1508
|
- devel.example.com:50083
|
1509
|
response:
|
1510
|
status:
|
1511
|
code: 200
|
1512
|
message: OK
|
1513
|
headers:
|
1514
|
Date:
|
1515
|
- Mon, 27 Mar 2017 18:36:35 GMT
|
1516
|
Server:
|
1517
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1518
|
X-Frame-Options:
|
1519
|
- SAMEORIGIN
|
1520
|
X-Xss-Protection:
|
1521
|
- 1; mode=block
|
1522
|
X-Content-Type-Options:
|
1523
|
- nosniff
|
1524
|
Foreman-Version:
|
1525
|
- 1.11.0.54
|
1526
|
Foreman-Api-Version:
|
1527
|
- '2'
|
1528
|
Apipie-Checksum:
|
1529
|
- e1df2e8d43e22495b02a53b48e3b5298
|
1530
|
Cache-Control:
|
1531
|
- max-age=0, private, must-revalidate
|
1532
|
X-Request-Id:
|
1533
|
- 2daeb4a0-ae26-40f8-b6b2-099a20e3e723
|
1534
|
X-Runtime:
|
1535
|
- '0.060023'
|
1536
|
X-Powered-By:
|
1537
|
- Phusion Passenger 4.0.18
|
1538
|
Etag:
|
1539
|
- '"889d59438c9dbada3bd3c0b258f7a13e-gzip"'
|
1540
|
Status:
|
1541
|
- 200 OK
|
1542
|
Vary:
|
1543
|
- Accept-Encoding
|
1544
|
Content-Length:
|
1545
|
- '388'
|
1546
|
Content-Type:
|
1547
|
- application/json; charset=utf-8
|
1548
|
Set-Cookie:
|
1549
|
- _session_id=a253affaddc12a3273ed9f8eb77765c7; path=/; secure; HttpOnly
|
1550
|
body:
|
1551
|
encoding: ASCII-8BIT
|
1552
|
string: |
|
1553
|
{
|
1554
|
"total": 2,
|
1555
|
"subtotal": 1,
|
1556
|
"page": 1,
|
1557
|
"per_page": 999999,
|
1558
|
"search": "name=\"Test Corporation\"",
|
1559
|
"sort": {
|
1560
|
"by": null,
|
1561
|
"order": null
|
1562
|
},
|
1563
|
"results": [{"label":"testcorp","created_at":"2016-12-01 19:35:26 UTC","updated_at":"2017-03-27 18:36:07 UTC","id":3,"name":"Test Corporation","title":"Test Corporation","description":"Testing today for a better tomorrow"}]
|
1564
|
}
|
1565
|
http_version:
|
1566
|
recorded_at: Mon, 27 Mar 2017 18:36:42 GMT
|
1567
|
- request:
|
1568
|
method: get
|
1569
|
uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?per_page=1
|
1570
|
body:
|
1571
|
encoding: US-ASCII
|
1572
|
string: ''
|
1573
|
headers:
|
1574
|
Accept:
|
1575
|
- application/json;version=2
|
1576
|
Accept-Encoding:
|
1577
|
- gzip, deflate
|
1578
|
User-Agent:
|
1579
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1580
|
Content-Type:
|
1581
|
- application/json
|
1582
|
Accept-Language:
|
1583
|
- en
|
1584
|
Host:
|
1585
|
- devel.example.com:50083
|
1586
|
response:
|
1587
|
status:
|
1588
|
code: 200
|
1589
|
message: OK
|
1590
|
headers:
|
1591
|
Date:
|
1592
|
- Mon, 27 Mar 2017 18:36:35 GMT
|
1593
|
Server:
|
1594
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1595
|
X-Frame-Options:
|
1596
|
- SAMEORIGIN
|
1597
|
X-Xss-Protection:
|
1598
|
- 1; mode=block
|
1599
|
X-Content-Type-Options:
|
1600
|
- nosniff
|
1601
|
Foreman-Version:
|
1602
|
- 1.11.0.54
|
1603
|
Foreman-Api-Version:
|
1604
|
- '2'
|
1605
|
Apipie-Checksum:
|
1606
|
- e1df2e8d43e22495b02a53b48e3b5298
|
1607
|
Cache-Control:
|
1608
|
- max-age=0, private, must-revalidate
|
1609
|
X-Request-Id:
|
1610
|
- 69122023-1a01-4646-a7e0-c6dea28580da
|
1611
|
X-Runtime:
|
1612
|
- '0.122034'
|
1613
|
X-Powered-By:
|
1614
|
- Phusion Passenger 4.0.18
|
1615
|
Etag:
|
1616
|
- '"aa071a3b0682e7e6e0310fa5e49927ac-gzip"'
|
1617
|
Status:
|
1618
|
- 200 OK
|
1619
|
Vary:
|
1620
|
- Accept-Encoding
|
1621
|
Content-Length:
|
1622
|
- '2293'
|
1623
|
Content-Type:
|
1624
|
- application/json; charset=utf-8
|
1625
|
Set-Cookie:
|
1626
|
- _session_id=f4e266c3d1ec445e7e7d5b6527a5844f; path=/; secure; HttpOnly
|
1627
|
body:
|
1628
|
encoding: ASCII-8BIT
|
1629
|
string: |
|
1630
|
{
|
1631
|
"total": 2,
|
1632
|
"subtotal": 2,
|
1633
|
"page": 1,
|
1634
|
"per_page": 1,
|
1635
|
"search": null,
|
1636
|
"sort": {
|
1637
|
"by": null,
|
1638
|
"order": null
|
1639
|
},
|
1640
|
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6}]
|
1641
|
}
|
1642
|
http_version:
|
1643
|
recorded_at: Mon, 27 Mar 2017 18:36:42 GMT
|
1644
|
- request:
|
1645
|
method: get
|
1646
|
uri: https://admin:changeme@devel.example.com:50083/api/organizations/3/hosts?page=1&per_page=20
|
1647
|
body:
|
1648
|
encoding: US-ASCII
|
1649
|
string: ''
|
1650
|
headers:
|
1651
|
Accept:
|
1652
|
- application/json;version=2
|
1653
|
Accept-Encoding:
|
1654
|
- gzip, deflate
|
1655
|
User-Agent:
|
1656
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1657
|
Content-Type:
|
1658
|
- application/json
|
1659
|
Accept-Language:
|
1660
|
- en
|
1661
|
Host:
|
1662
|
- devel.example.com:50083
|
1663
|
response:
|
1664
|
status:
|
1665
|
code: 200
|
1666
|
message: OK
|
1667
|
headers:
|
1668
|
Date:
|
1669
|
- Mon, 27 Mar 2017 18:36:36 GMT
|
1670
|
Server:
|
1671
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1672
|
X-Frame-Options:
|
1673
|
- SAMEORIGIN
|
1674
|
X-Xss-Protection:
|
1675
|
- 1; mode=block
|
1676
|
X-Content-Type-Options:
|
1677
|
- nosniff
|
1678
|
Foreman-Version:
|
1679
|
- 1.11.0.54
|
1680
|
Foreman-Api-Version:
|
1681
|
- '2'
|
1682
|
Apipie-Checksum:
|
1683
|
- e1df2e8d43e22495b02a53b48e3b5298
|
1684
|
Cache-Control:
|
1685
|
- max-age=0, private, must-revalidate
|
1686
|
X-Request-Id:
|
1687
|
- a5e58060-6e40-4caa-8b6a-b55dc38bae4b
|
1688
|
X-Runtime:
|
1689
|
- '0.155206'
|
1690
|
X-Powered-By:
|
1691
|
- Phusion Passenger 4.0.18
|
1692
|
Etag:
|
1693
|
- '"790c22d6d1fcf8c0b08afacb06f8909f-gzip"'
|
1694
|
Status:
|
1695
|
- 200 OK
|
1696
|
Vary:
|
1697
|
- Accept-Encoding
|
1698
|
Content-Length:
|
1699
|
- '4426'
|
1700
|
Content-Type:
|
1701
|
- application/json; charset=utf-8
|
1702
|
Set-Cookie:
|
1703
|
- _session_id=9578f1339c01167f6c6129a91fff314d; path=/; secure; HttpOnly
|
1704
|
body:
|
1705
|
encoding: ASCII-8BIT
|
1706
|
string: |
|
1707
|
{
|
1708
|
"total": 2,
|
1709
|
"subtotal": 2,
|
1710
|
"page": 1,
|
1711
|
"per_page": 20,
|
1712
|
"search": null,
|
1713
|
"sort": {
|
1714
|
"by": null,
|
1715
|
"order": null
|
1716
|
},
|
1717
|
"results": [{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testphysical","image_id":null,"image_name":null,"created_at":"2016-12-01 19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01 19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testphysical","id":7,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":6,"uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","last_checkin":"2016-12-01 19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:38:28 UTC"},"content_host_id":6},{"ip":null,"environment_id":null,"environment_name":null,"last_report":null,"mac":null,"realm_id":null,"realm_name":null,"sp_mac":null,"sp_ip":null,"sp_name":null,"domain_id":null,"domain_name":null,"architecture_id":null,"architecture_name":null,"operatingsystem_id":null,"operatingsystem_name":null,"subnet_id":null,"subnet_name":null,"sp_subnet_id":null,"ptable_id":null,"ptable_name":null,"medium_id":null,"medium_name":null,"build":false,"comment":null,"disk":null,"installed_at":null,"model_id":null,"hostgroup_id":null,"owner_id":3,"owner_type":"User","enabled":true,"puppet_ca_proxy_id":null,"managed":false,"use_image":null,"image_file":"","uuid":null,"compute_resource_id":null,"compute_resource_name":null,"compute_profile_id":null,"compute_profile_name":null,"capabilities":["build"],"provision_method":"build","puppet_proxy_id":null,"certname":"testvm","image_id":null,"image_name":null,"created_at":"2016-12-01 19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01 19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could not calculate errata status, ensure host is registered and katello-agent is installed","subscription_status":0,"subscription_status_label":"Fully entitled","name":"testvm","id":6,"hostgroup_name":null,"hostgroup_title":null,"content_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","content_view_id":2,"content_view_name":"Default Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default Organization View"},"lifecycle_environment":{"id":2,"name":"Library"},"errata_counts":{"security":0,"bugfix":0,"enhancement":0,"total":0}},"subscription_facet_attributes":{"id":5,"uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","last_checkin":"2016-12-01 19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01 19:37:05 UTC"},"content_host_id":5}]
|
1718
|
}
|
1719
|
http_version:
|
1720
|
recorded_at: Mon, 27 Mar 2017 18:36:42 GMT
|
1721
|
- request:
|
1722
|
method: get
|
1723
|
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/environments?per_page=999999
|
1724
|
body:
|
1725
|
encoding: US-ASCII
|
1726
|
string: ''
|
1727
|
headers:
|
1728
|
Accept:
|
1729
|
- application/json;version=2
|
1730
|
Accept-Encoding:
|
1731
|
- gzip, deflate
|
1732
|
User-Agent:
|
1733
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1734
|
Content-Type:
|
1735
|
- application/json
|
1736
|
Accept-Language:
|
1737
|
- en
|
1738
|
Host:
|
1739
|
- devel.example.com:50083
|
1740
|
response:
|
1741
|
status:
|
1742
|
code: 200
|
1743
|
message: OK
|
1744
|
headers:
|
1745
|
Date:
|
1746
|
- Mon, 27 Mar 2017 18:36:36 GMT
|
1747
|
Server:
|
1748
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1749
|
X-Frame-Options:
|
1750
|
- SAMEORIGIN
|
1751
|
X-Xss-Protection:
|
1752
|
- 1; mode=block
|
1753
|
X-Content-Type-Options:
|
1754
|
- nosniff
|
1755
|
Foreman-Version:
|
1756
|
- 1.11.0.54
|
1757
|
Foreman-Api-Version:
|
1758
|
- '2'
|
1759
|
Apipie-Checksum:
|
1760
|
- e1df2e8d43e22495b02a53b48e3b5298
|
1761
|
Cache-Control:
|
1762
|
- max-age=0, private, must-revalidate
|
1763
|
X-Request-Id:
|
1764
|
- 4436fcd9-5023-4cfb-9bed-3c42d2380ae9
|
1765
|
X-Runtime:
|
1766
|
- '0.156618'
|
1767
|
X-Powered-By:
|
1768
|
- Phusion Passenger 4.0.18
|
1769
|
Etag:
|
1770
|
- '"45596627ffb1b49933df35abb855f9e6-gzip"'
|
1771
|
Status:
|
1772
|
- 200 OK
|
1773
|
Vary:
|
1774
|
- Accept-Encoding
|
1775
|
Content-Length:
|
1776
|
- '3019'
|
1777
|
Content-Type:
|
1778
|
- application/json; charset=utf-8
|
1779
|
Set-Cookie:
|
1780
|
- _session_id=316f0e68644dc7e289ae9cd6d4a199ab; path=/; secure; HttpOnly
|
1781
|
body:
|
1782
|
encoding: ASCII-8BIT
|
1783
|
string: '{"total":5,"subtotal":5,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"library":false,"id":4,"name":"Test","label":"Test","description":"Test,
|
1784
|
manual promotions from Development","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
|
1785
|
19:37:22 UTC","updated_at":"2016-12-01 19:37:22 UTC","prior":{"name":"Development","id":3},"successor":{"name":"Production","id":5},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":5,"name":"Production","label":"Production","description":"Production,
|
1786
|
manual promotions from Test","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
|
1787
|
19:37:23 UTC","updated_at":"2016-12-01 19:37:23 UTC","prior":{"name":"Test","id":4},"successor":{"name":"Archive","id":6},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":true,"id":2,"name":"Library","label":"Library","description":null,"organization":{"name":"Test
|
1788
|
Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:35:26
|
1789
|
UTC","updated_at":"2016-12-01 19:35:26 UTC","prior":null,"successor":null,"counts":{"content_hosts":2,"content_views":1,"packages":0,"puppet_modules":0,"errata":{"security":0,"bugfix":0,"enhancement":0,"total":0},"yum_repositories":0,"docker_repositories":0,"ostree_repositories":0,"products":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":3,"name":"Development","label":"Development","description":"Development,
|
1790
|
automated promotes from Library","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
|
1791
|
19:37:22 UTC","updated_at":"2016-12-01 19:37:22 UTC","prior":{"name":"Library","id":2},"successor":{"name":"Test","id":4},"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":false,"promote_or_remove_content_views_to_environments":true}},{"library":false,"id":6,"name":"Archive","label":"Archive","description":"Archive,
|
1792
|
no longer in Production","organization":{"name":"Test Corporation","label":"testcorp","id":3},"created_at":"2016-12-01
|
1793
|
19:37:23 UTC","updated_at":"2016-12-01 19:37:23 UTC","prior":{"name":"Production","id":5},"successor":null,"counts":{"content_hosts":0,"content_views":0},"permissions":{"view_lifecycle_environments":true,"edit_lifecycle_environments":true,"destroy_lifecycle_environments":true,"promote_or_remove_content_views_to_environments":true}}]}
|
1794
|
|
1795
|
'
|
1796
|
http_version:
|
1797
|
recorded_at: Mon, 27 Mar 2017 18:36:42 GMT
|
1798
|
- request:
|
1799
|
method: get
|
1800
|
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/content_views?per_page=999999
|
1801
|
body:
|
1802
|
encoding: US-ASCII
|
1803
|
string: ''
|
1804
|
headers:
|
1805
|
Accept:
|
1806
|
- application/json;version=2
|
1807
|
Accept-Encoding:
|
1808
|
- gzip, deflate
|
1809
|
User-Agent:
|
1810
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1811
|
Content-Type:
|
1812
|
- application/json
|
1813
|
Accept-Language:
|
1814
|
- en
|
1815
|
Host:
|
1816
|
- devel.example.com:50083
|
1817
|
response:
|
1818
|
status:
|
1819
|
code: 200
|
1820
|
message: OK
|
1821
|
headers:
|
1822
|
Date:
|
1823
|
- Mon, 27 Mar 2017 18:36:36 GMT
|
1824
|
Server:
|
1825
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1826
|
X-Frame-Options:
|
1827
|
- SAMEORIGIN
|
1828
|
X-Xss-Protection:
|
1829
|
- 1; mode=block
|
1830
|
X-Content-Type-Options:
|
1831
|
- nosniff
|
1832
|
Foreman-Version:
|
1833
|
- 1.11.0.54
|
1834
|
Foreman-Api-Version:
|
1835
|
- '2'
|
1836
|
Apipie-Checksum:
|
1837
|
- e1df2e8d43e22495b02a53b48e3b5298
|
1838
|
Cache-Control:
|
1839
|
- max-age=0, private, must-revalidate
|
1840
|
X-Request-Id:
|
1841
|
- 4e49de78-5a77-4bdb-ac8b-e689d4bca645
|
1842
|
X-Runtime:
|
1843
|
- '0.098444'
|
1844
|
X-Powered-By:
|
1845
|
- Phusion Passenger 4.0.18
|
1846
|
Etag:
|
1847
|
- '"1c1265963c6c84f0c08824867548b772-gzip"'
|
1848
|
Status:
|
1849
|
- 200 OK
|
1850
|
Vary:
|
1851
|
- Accept-Encoding
|
1852
|
Content-Length:
|
1853
|
- '1804'
|
1854
|
Content-Type:
|
1855
|
- application/json; charset=utf-8
|
1856
|
Set-Cookie:
|
1857
|
- _session_id=05361998ba67fc8d543bb9a818ba5acf; path=/; secure; HttpOnly
|
1858
|
body:
|
1859
|
encoding: ASCII-8BIT
|
1860
|
string: '{"total":2,"subtotal":2,"page":1,"per_page":"999999","error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"composite":false,"repository_ids":[],"component_ids":[],"default":false,"next_version":2,"id":3,"name":"Test
|
1861
|
Puppet Modules","label":"Test_Puppet_Modules","description":null,"organization":{"name":"Test
|
1862
|
Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:37:07
|
1863
|
UTC","updated_at":"2016-12-01 19:37:09 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":3,"version":"1.0","published":"2016-12-01
|
1864
|
19:37:09 UTC","environment_ids":[2]}],"components":[],"activation_keys":[],"last_published":"2016-12-01
|
1865
|
19:37:09 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}},{"composite":false,"repository_ids":[],"component_ids":[],"default":true,"next_version":1,"id":2,"name":"Default
|
1866
|
Organization View","label":"7c1866f5-d7d6-46be-8ff4-0e358070e3cd","description":null,"organization":{"name":"Test
|
1867
|
Corporation","label":"testcorp","id":3},"created_at":"2016-12-01 19:35:27
|
1868
|
UTC","updated_at":"2016-12-01 19:35:27 UTC","environments":[{"id":2,"name":"Library","label":"Library","permissions":{"readable":true}}],"repositories":[],"puppet_modules":[],"versions":[{"id":2,"version":"1.0","published":"2016-12-01
|
1869
|
19:35:27 UTC","environment_ids":[2]}],"components":[],"activation_keys":[{"id":4,"name":"testakey"},{"id":5,"name":"testakeyitemized"}],"last_published":"2016-12-01
|
1870
|
19:35:27 UTC","permissions":{"view_content_views":true,"edit_content_views":true,"destroy_content_views":true,"publish_content_views":true,"promote_or_remove_content_views":true}}]}
|
1871
|
|
1872
|
'
|
1873
|
http_version:
|
1874
|
recorded_at: Mon, 27 Mar 2017 18:36:42 GMT
|
1875
|
- request:
|
1876
|
method: put
|
1877
|
uri: https://admin:changeme@devel.example.com:50083/api/hosts/6
|
1878
|
body:
|
1879
|
encoding: UTF-8
|
1880
|
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red
|
1881
|
Hat Enterprise Linux Server","arch":"x86_64","version":"7Server"}],"service_level":null,"autoheal":true}}}'
|
1882
|
headers:
|
1883
|
Accept:
|
1884
|
- application/json;version=2
|
1885
|
Accept-Encoding:
|
1886
|
- gzip, deflate
|
1887
|
User-Agent:
|
1888
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
1889
|
Content-Type:
|
1890
|
- application/json
|
1891
|
Accept-Language:
|
1892
|
- en
|
1893
|
Content-Length:
|
1894
|
- '287'
|
1895
|
Host:
|
1896
|
- devel.example.com:50083
|
1897
|
response:
|
1898
|
status:
|
1899
|
code: 200
|
1900
|
message: OK
|
1901
|
headers:
|
1902
|
Date:
|
1903
|
- Mon, 27 Mar 2017 18:36:36 GMT
|
1904
|
Server:
|
1905
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1906
|
X-Frame-Options:
|
1907
|
- SAMEORIGIN
|
1908
|
X-Xss-Protection:
|
1909
|
- 1; mode=block
|
1910
|
X-Content-Type-Options:
|
1911
|
- nosniff
|
1912
|
Foreman-Version:
|
1913
|
- 1.11.0.54
|
1914
|
Foreman-Api-Version:
|
1915
|
- '2'
|
1916
|
Apipie-Checksum:
|
1917
|
- e1df2e8d43e22495b02a53b48e3b5298
|
1918
|
Cache-Control:
|
1919
|
- max-age=0, private, must-revalidate
|
1920
|
X-Request-Id:
|
1921
|
- 2a43c223-7eed-4cc3-9580-e2c3894513e7
|
1922
|
X-Runtime:
|
1923
|
- '0.708308'
|
1924
|
X-Powered-By:
|
1925
|
- Phusion Passenger 4.0.18
|
1926
|
Etag:
|
1927
|
- '"645c7a2212b1806ef5700003b42abd8f-gzip"'
|
1928
|
Status:
|
1929
|
- 200 OK
|
1930
|
Vary:
|
1931
|
- Accept-Encoding
|
1932
|
Content-Length:
|
1933
|
- '3820'
|
1934
|
Content-Type:
|
1935
|
- application/json; charset=utf-8
|
1936
|
Set-Cookie:
|
1937
|
- _session_id=a769fa5a1d340f055f2ae800a8bab226; path=/; secure; HttpOnly
|
1938
|
- request_method=PUT; path=/
|
1939
|
body:
|
1940
|
encoding: ASCII-8BIT
|
1941
|
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
|
1942
|
19:37:05 UTC","updated_at":"2017-03-27 18:28:09 UTC","last_compile":"2016-12-01
|
1943
|
19:37:06 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
|
1944
|
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
|
1945
|
not calculate errata status, ensure host is registered and katello-agent is
|
1946
|
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
|
1947
|
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
|
1948
|
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
|
1949
|
19:37:05 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
|
1950
|
19:37:05 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe41f0e03f7","productId":"69","productName":"Red
|
1951
|
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
|
1952
|
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}}'
|
1953
|
http_version:
|
1954
|
recorded_at: Mon, 27 Mar 2017 18:36:43 GMT
|
1955
|
- request:
|
1956
|
method: get
|
1957
|
uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/2b996a62-2be7-4cb6-adaa-0933a69cb9bc
|
1958
|
body:
|
1959
|
encoding: US-ASCII
|
1960
|
string: ''
|
1961
|
headers:
|
1962
|
Accept-Encoding:
|
1963
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
1964
|
Accept:
|
1965
|
- "*/*"
|
1966
|
User-Agent:
|
1967
|
- Ruby
|
1968
|
response:
|
1969
|
status:
|
1970
|
code: 200
|
1971
|
message: OK
|
1972
|
headers:
|
1973
|
Date:
|
1974
|
- Mon, 27 Mar 2017 18:36:37 GMT
|
1975
|
Server:
|
1976
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
1977
|
X-Frame-Options:
|
1978
|
- SAMEORIGIN
|
1979
|
X-Xss-Protection:
|
1980
|
- 1; mode=block
|
1981
|
X-Content-Type-Options:
|
1982
|
- nosniff
|
1983
|
Foreman-Version:
|
1984
|
- 1.11.0.54
|
1985
|
Foreman-Api-Version:
|
1986
|
- '2'
|
1987
|
X-Candlepin-Version:
|
1988
|
- katello/3.0.0.82
|
1989
|
Cache-Control:
|
1990
|
- max-age=0, private, must-revalidate
|
1991
|
X-Request-Id:
|
1992
|
- 2cb9da32-4595-4781-9226-110c995cdfd4
|
1993
|
X-Runtime:
|
1994
|
- '0.115915'
|
1995
|
X-Powered-By:
|
1996
|
- Phusion Passenger 4.0.18
|
1997
|
Etag:
|
1998
|
- '"4efe3563b4ad8e5243099dd9878081de-gzip"'
|
1999
|
Status:
|
2000
|
- 200 OK
|
2001
|
Vary:
|
2002
|
- Accept-Encoding
|
2003
|
Content-Length:
|
2004
|
- '3312'
|
2005
|
Content-Type:
|
2006
|
- application/json; charset=utf-8
|
2007
|
Set-Cookie:
|
2008
|
- _session_id=f3c8925eee3a9a9c9fe72ff6ff0af56a; path=/; secure; HttpOnly
|
2009
|
body:
|
2010
|
encoding: ASCII-8BIT
|
2011
|
string: '{"id":"ff80808158bbd8b50158bbe3e86203f1","uuid":"2b996a62-2be7-4cb6-adaa-0933a69cb9bc","name":"testvm","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN
|
2012
|
RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEAkuWxxLoi8fqnmeWcN1ucQROY6XyJUq1OeJNR8U4rTL3xlqrA\n4rZhc6h1pX4cy/HN/gUQ1tNnyrxiv+Kz+jcLtC9bvDJPp2K4jpKjVy7SXlCPAi7g\n6mzhxASwSRjqPugkK7tDIcD6xvXnWJFK+5FLa93CazAEAQqzpIiXUwdbWwCj2sh0\nI4CKvbBDZZUKhyEf4q7E8oLC16T1BBxTDGLRC2rSXnIniIFRNLClYizDlYgS9FlT\nXo4emQ1bDlDgGyx5CAjQ6Tiy4CS1dq5NqjMTeHRERJ0QNXz15R/zmNPfcci4pyw4\nGCtJTy+aozqUVO3FMFId9a2WXGxlqiyvBNor7wIDAQABAoIBAHcGYmoSoCoNfSv3\nngJE2nDoXigh3mr9Pe35AJZTTkZaSZxZMvz/5ip+vwSfENo3TT+b/y7yENF2n1T3\nbfk6DOOs09nDskLgfMYZDvyfVZlSEO4l6dxI6Q2Y9vXjmDnsgxJkI1sAMLJxoUhk\nQatg6Qm3n8aWG0h00WZpvqNp/J3YxeCLgbE3l6NUrYNJCSTEVXVAL85WHFjHOuNI\niPH4I5Y4KqjWg/bUBSLlBR6xRt2IO2bq7N8OmAoeXlvMf9eG47yLuCShf3qIAUwO\nrm5JdEnnf921EI79RlBmRcHKBfPWQlTRl2HknZQT5xXLU+7woVTwb+dPpxZPlbeZ\nBVLxEbECgYEA0ByMbkJ0TGv0YhV4L3jH7bSL+UmmcBmTTlNWfZlGXmJXq8f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H9yhLw6skJ0hkovUNzyuIOA6Azg7hok6JwO\ngXH/yHfr8roZqSaJSWTcMv3kspKMjyM8Ss0u2u3Vq+RwUvp29lXmwmti1AvcdAn7\n2zz6eDTytfvGzLqAayKZhDXQiQH1/Ruds8hNS/RxG0mCAjyCuyVnzipCUy29jauj\nab+uzhP4lPy3MX3B7Q442mNwU3rI0Jd8JMbb7bkEr5CGT35Rka2j5vNRX5bK+9vb\nerYsGpjlwK0W0Y/QkWhmsKdB7nKg2xO+FBl03/693FjxNJSHB5R4pBJRyQHuDAZ7\nu2Sc\n-----END
|
2014
|
CERTIFICATE-----\n","id":"ff80808158bbd8b50158bbe3e94803f4","serial":{"id":7884692653462260824,"revoked":false,"collected":false,"expiration":"2032-12-01T19:37:05.381+0000","serial":7884692653462260824,"created":"2016-12-01T19:37:05.381+0000","updated":"2016-12-01T19:37:05.381+0000"},"created":"2016-12-01T19:37:05.608+0000","updated":"2016-12-01T19:37:05.608+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
|
2015
|
Corporation","href":"/owners/testcorp"},"environment":{"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
|
2016
|
Corporation","href":"/owners/testcorp"},"name":"Library","description":null,"id":"2","environmentContent":[{"id":"ff8080815adcc9a9015b110dba7b0e0d","contentId":"1490639748543","enabled":null,"created":"2017-03-27T18:36:04.091+0000","updated":"2017-03-27T18:36:04.091+0000"}],"created":"2016-12-01T19:35:27.852+0000","updated":"2016-12-01T19:35:27.852+0000"},"entitlementCount":1,"facts":{"virt.uuid":"Test
|
2017
|
Corporation/testvm","network.hostname":"testvm","distribution.name":"RHEL","distribution.version":"7Server","system.certificate_version":"3.2","_timestamp":"2016-12-01T19:37:05+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"4","memory.memtotal":"4GB","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":"true"},"lastCheckin":null,"installedProducts":[{"id":"ff80808158bbd8b50158bbe41f0e03f7","productId":"69","productName":"Red
|
2018
|
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"}],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/2b996a62-2be7-4cb6-adaa-0933a69cb9bc","created":"2016-12-01T19:37:05.378+0000","updated":"2017-03-27T18:36:37.186+0000"}'
|
2019
|
http_version:
|
2020
|
recorded_at: Mon, 27 Mar 2017 18:36:43 GMT
|
2021
|
- request:
|
2022
|
method: put
|
2023
|
uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/2b996a62-2be7-4cb6-adaa-0933a69cb9bc
|
2024
|
body:
|
2025
|
encoding: UTF-8
|
2026
|
string: '{"facts":{"virt.uuid":"Test Corporation/testvm","network.hostname":"testvm","distribution.name":"RHEL","distribution.version":"7Server","system.certificate_version":"3.2","_timestamp":"2016-12-01T19:37:05+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"4","memory.memtotal":"4GB","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":true}}'
|
2027
|
headers:
|
2028
|
Content-Type:
|
2029
|
- application/json
|
2030
|
Accept-Encoding:
|
2031
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
2032
|
Accept:
|
2033
|
- "*/*"
|
2034
|
User-Agent:
|
2035
|
- Ruby
|
2036
|
response:
|
2037
|
status:
|
2038
|
code: 403
|
2039
|
message: Forbidden
|
2040
|
headers:
|
2041
|
Date:
|
2042
|
- Mon, 27 Mar 2017 18:36:37 GMT
|
2043
|
Server:
|
2044
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2045
|
X-Frame-Options:
|
2046
|
- SAMEORIGIN
|
2047
|
X-Xss-Protection:
|
2048
|
- 1; mode=block
|
2049
|
X-Content-Type-Options:
|
2050
|
- nosniff
|
2051
|
Foreman-Version:
|
2052
|
- 1.11.0.54
|
2053
|
Foreman-Api-Version:
|
2054
|
- '2'
|
2055
|
Cache-Control:
|
2056
|
- no-cache
|
2057
|
X-Request-Id:
|
2058
|
- 9641c5ab-f81b-4d17-b6a8-c1ca9d4e9c8b
|
2059
|
X-Runtime:
|
2060
|
- '0.015887'
|
2061
|
X-Powered-By:
|
2062
|
- Phusion Passenger 4.0.18
|
2063
|
Status:
|
2064
|
- 403 Forbidden
|
2065
|
Content-Type:
|
2066
|
- application/json; charset=utf-8
|
2067
|
Set-Cookie:
|
2068
|
- _session_id=9787154fe7b316ce7f3617244f2ff598; path=/; secure; HttpOnly
|
2069
|
- request_method=PUT; path=/
|
2070
|
Transfer-Encoding:
|
2071
|
- chunked
|
2072
|
body:
|
2073
|
encoding: UTF-8
|
2074
|
string: '{"displayMessage":"Access denied","errors":["Access denied"]}'
|
2075
|
http_version:
|
2076
|
recorded_at: Mon, 27 Mar 2017 18:36:43 GMT
|
2077
|
- request:
|
2078
|
method: get
|
2079
|
uri: https://admin:changeme@devel.example.com:50083/api/hosts/6/subscriptions?full_results=true
|
2080
|
body:
|
2081
|
encoding: US-ASCII
|
2082
|
string: ''
|
2083
|
headers:
|
2084
|
Accept:
|
2085
|
- application/json;version=2
|
2086
|
Accept-Encoding:
|
2087
|
- gzip, deflate
|
2088
|
User-Agent:
|
2089
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2090
|
Content-Type:
|
2091
|
- application/json
|
2092
|
Accept-Language:
|
2093
|
- en
|
2094
|
Host:
|
2095
|
- devel.example.com:50083
|
2096
|
response:
|
2097
|
status:
|
2098
|
code: 200
|
2099
|
message: OK
|
2100
|
headers:
|
2101
|
Date:
|
2102
|
- Mon, 27 Mar 2017 18:36:37 GMT
|
2103
|
Server:
|
2104
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2105
|
X-Frame-Options:
|
2106
|
- SAMEORIGIN
|
2107
|
X-Xss-Protection:
|
2108
|
- 1; mode=block
|
2109
|
X-Content-Type-Options:
|
2110
|
- nosniff
|
2111
|
Foreman-Version:
|
2112
|
- 1.11.0.54
|
2113
|
Foreman-Api-Version:
|
2114
|
- '2'
|
2115
|
Apipie-Checksum:
|
2116
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2117
|
Cache-Control:
|
2118
|
- max-age=0, private, must-revalidate
|
2119
|
X-Request-Id:
|
2120
|
- f57ef53b-dc74-432b-8ddc-86ef268c6caf
|
2121
|
X-Runtime:
|
2122
|
- '0.238194'
|
2123
|
X-Powered-By:
|
2124
|
- Phusion Passenger 4.0.18
|
2125
|
Etag:
|
2126
|
- '"432a2ddf33f52f81d9755d5ede670c43-gzip"'
|
2127
|
Status:
|
2128
|
- 200 OK
|
2129
|
Vary:
|
2130
|
- Accept-Encoding
|
2131
|
Content-Length:
|
2132
|
- '770'
|
2133
|
Content-Type:
|
2134
|
- application/json; charset=utf-8
|
2135
|
Set-Cookie:
|
2136
|
- _session_id=265d11e7612e6602a1303b92a3dcdf2f; path=/; secure; HttpOnly
|
2137
|
body:
|
2138
|
encoding: ASCII-8BIT
|
2139
|
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
|
2140
|
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
|
2141
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
2142
|
|
2143
|
'
|
2144
|
http_version:
|
2145
|
recorded_at: Mon, 27 Mar 2017 18:36:43 GMT
|
2146
|
- request:
|
2147
|
method: put
|
2148
|
uri: https://admin:changeme@devel.example.com:50083/api/hosts/6/subscriptions/remove_subscriptions
|
2149
|
body:
|
2150
|
encoding: UTF-8
|
2151
|
string: '{"subscriptions":[{"id":19,"quantity":1}]}'
|
2152
|
headers:
|
2153
|
Accept:
|
2154
|
- application/json;version=2
|
2155
|
Accept-Encoding:
|
2156
|
- gzip, deflate
|
2157
|
User-Agent:
|
2158
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2159
|
Content-Type:
|
2160
|
- application/json
|
2161
|
Accept-Language:
|
2162
|
- en
|
2163
|
Content-Length:
|
2164
|
- '42'
|
2165
|
Host:
|
2166
|
- devel.example.com:50083
|
2167
|
response:
|
2168
|
status:
|
2169
|
code: 200
|
2170
|
message: OK
|
2171
|
headers:
|
2172
|
Date:
|
2173
|
- Mon, 27 Mar 2017 18:36:37 GMT
|
2174
|
Server:
|
2175
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2176
|
X-Frame-Options:
|
2177
|
- SAMEORIGIN
|
2178
|
X-Xss-Protection:
|
2179
|
- 1; mode=block
|
2180
|
X-Content-Type-Options:
|
2181
|
- nosniff
|
2182
|
Foreman-Version:
|
2183
|
- 1.11.0.54
|
2184
|
Foreman-Api-Version:
|
2185
|
- '2'
|
2186
|
Apipie-Checksum:
|
2187
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2188
|
Cache-Control:
|
2189
|
- max-age=0, private, must-revalidate
|
2190
|
X-Request-Id:
|
2191
|
- bf07fc28-7ae2-43ea-9972-1aae4df85a89
|
2192
|
X-Runtime:
|
2193
|
- '1.034431'
|
2194
|
X-Powered-By:
|
2195
|
- Phusion Passenger 4.0.18
|
2196
|
Etag:
|
2197
|
- '"720194006e41895278a533fbe0ce2628-gzip"'
|
2198
|
Status:
|
2199
|
- 200 OK
|
2200
|
Vary:
|
2201
|
- Accept-Encoding
|
2202
|
Content-Length:
|
2203
|
- '770'
|
2204
|
Content-Type:
|
2205
|
- application/json; charset=utf-8
|
2206
|
Set-Cookie:
|
2207
|
- _session_id=79f14dea7a8e85773c5ff56f1dbf4b5c; path=/; secure; HttpOnly
|
2208
|
- request_method=PUT; path=/
|
2209
|
body:
|
2210
|
encoding: ASCII-8BIT
|
2211
|
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
|
2212
|
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":199,"quantity":200,"consumed":1,"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
|
2213
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
2214
|
|
2215
|
'
|
2216
|
http_version:
|
2217
|
recorded_at: Mon, 27 Mar 2017 18:36:44 GMT
|
2218
|
- request:
|
2219
|
method: get
|
2220
|
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/subscriptions?full_results=true
|
2221
|
body:
|
2222
|
encoding: US-ASCII
|
2223
|
string: ''
|
2224
|
headers:
|
2225
|
Accept:
|
2226
|
- application/json;version=2
|
2227
|
Accept-Encoding:
|
2228
|
- gzip, deflate
|
2229
|
User-Agent:
|
2230
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2231
|
Content-Type:
|
2232
|
- application/json
|
2233
|
Accept-Language:
|
2234
|
- en
|
2235
|
Host:
|
2236
|
- devel.example.com:50083
|
2237
|
response:
|
2238
|
status:
|
2239
|
code: 200
|
2240
|
message: OK
|
2241
|
headers:
|
2242
|
Date:
|
2243
|
- Mon, 27 Mar 2017 18:36:38 GMT
|
2244
|
Server:
|
2245
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2246
|
X-Frame-Options:
|
2247
|
- SAMEORIGIN
|
2248
|
X-Xss-Protection:
|
2249
|
- 1; mode=block
|
2250
|
X-Content-Type-Options:
|
2251
|
- nosniff
|
2252
|
Foreman-Version:
|
2253
|
- 1.11.0.54
|
2254
|
Foreman-Api-Version:
|
2255
|
- '2'
|
2256
|
Apipie-Checksum:
|
2257
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2258
|
Cache-Control:
|
2259
|
- max-age=0, private, must-revalidate
|
2260
|
X-Request-Id:
|
2261
|
- 049ca970-dbc1-4ab0-b70c-03bb387fe7e9
|
2262
|
X-Runtime:
|
2263
|
- '0.662522'
|
2264
|
X-Powered-By:
|
2265
|
- Phusion Passenger 4.0.18
|
2266
|
Etag:
|
2267
|
- '"e1ffeb35e3e2d3cd6c34d126d038cecb-gzip"'
|
2268
|
Status:
|
2269
|
- 200 OK
|
2270
|
Vary:
|
2271
|
- Accept-Encoding
|
2272
|
Content-Length:
|
2273
|
- '1972'
|
2274
|
Content-Type:
|
2275
|
- application/json; charset=utf-8
|
2276
|
Set-Cookie:
|
2277
|
- _session_id=bb82f2e4cae86e706a66c6e6614d1cdb; path=/; secure; HttpOnly
|
2278
|
body:
|
2279
|
encoding: ASCII-8BIT
|
2280
|
string: '{"organization":{},"total":3,"subtotal":3,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red
|
2281
|
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":199,"quantity":200,"consumed":1,"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
|
2282
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false},{"id":20,"cp_id":"ff80808158bbd8b50158bbe4a4cb04c6","subscription_id":14,"name":"Red
|
2283
|
Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
|
2284
|
Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false},{"id":22,"cp_id":"ff80808158bbd8b50158bbe4a5020524","subscription_id":15,"name":"Red
|
2285
|
Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
|
2286
|
Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false}]}
|
2287
|
|
2288
|
'
|
2289
|
http_version:
|
2290
|
recorded_at: Mon, 27 Mar 2017 18:36:45 GMT
|
2291
|
- request:
|
2292
|
method: put
|
2293
|
uri: https://admin:changeme@devel.example.com:50083/api/hosts/6/subscriptions/add_subscriptions
|
2294
|
body:
|
2295
|
encoding: UTF-8
|
2296
|
string: '{"subscriptions":[{"id":19,"quantity":0}]}'
|
2297
|
headers:
|
2298
|
Accept:
|
2299
|
- application/json;version=2
|
2300
|
Accept-Encoding:
|
2301
|
- gzip, deflate
|
2302
|
User-Agent:
|
2303
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2304
|
Content-Type:
|
2305
|
- application/json
|
2306
|
Accept-Language:
|
2307
|
- en
|
2308
|
Content-Length:
|
2309
|
- '42'
|
2310
|
Host:
|
2311
|
- devel.example.com:50083
|
2312
|
response:
|
2313
|
status:
|
2314
|
code: 200
|
2315
|
message: OK
|
2316
|
headers:
|
2317
|
Date:
|
2318
|
- Mon, 27 Mar 2017 18:36:39 GMT
|
2319
|
Server:
|
2320
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2321
|
X-Frame-Options:
|
2322
|
- SAMEORIGIN
|
2323
|
X-Xss-Protection:
|
2324
|
- 1; mode=block
|
2325
|
X-Content-Type-Options:
|
2326
|
- nosniff
|
2327
|
Foreman-Version:
|
2328
|
- 1.11.0.54
|
2329
|
Foreman-Api-Version:
|
2330
|
- '2'
|
2331
|
Apipie-Checksum:
|
2332
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2333
|
Cache-Control:
|
2334
|
- max-age=0, private, must-revalidate
|
2335
|
X-Request-Id:
|
2336
|
- 45f77e95-8937-4b51-a60f-a39d133c58f1
|
2337
|
X-Runtime:
|
2338
|
- '1.457457'
|
2339
|
X-Powered-By:
|
2340
|
- Phusion Passenger 4.0.18
|
2341
|
Etag:
|
2342
|
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
|
2343
|
Status:
|
2344
|
- 200 OK
|
2345
|
Vary:
|
2346
|
- Accept-Encoding
|
2347
|
Content-Length:
|
2348
|
- '119'
|
2349
|
Content-Type:
|
2350
|
- application/json; charset=utf-8
|
2351
|
Set-Cookie:
|
2352
|
- _session_id=ba38252f907d4fd64ce0a175adb0163f; path=/; secure; HttpOnly
|
2353
|
- request_method=PUT; path=/
|
2354
|
body:
|
2355
|
encoding: ASCII-8BIT
|
2356
|
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
|
2357
|
|
2358
|
'
|
2359
|
http_version:
|
2360
|
recorded_at: Mon, 27 Mar 2017 18:36:47 GMT
|
2361
|
- request:
|
2362
|
method: put
|
2363
|
uri: https://admin:changeme@devel.example.com:50083/api/hosts/7
|
2364
|
body:
|
2365
|
encoding: UTF-8
|
2366
|
string: '{"host":{"content_facet_attributes":{"lifecycle_environment_id":2,"content_view_id":2},"subscription_facet_attributes":{"installed_products":[{"product_id":"69","product_name":"Red
|
2367
|
Hat Enterprise Linux Server","arch":"x86_64","version":"7Server"}],"service_level":null,"autoheal":true}}}'
|
2368
|
headers:
|
2369
|
Accept:
|
2370
|
- application/json;version=2
|
2371
|
Accept-Encoding:
|
2372
|
- gzip, deflate
|
2373
|
User-Agent:
|
2374
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2375
|
Content-Type:
|
2376
|
- application/json
|
2377
|
Accept-Language:
|
2378
|
- en
|
2379
|
Content-Length:
|
2380
|
- '287'
|
2381
|
Host:
|
2382
|
- devel.example.com:50083
|
2383
|
response:
|
2384
|
status:
|
2385
|
code: 200
|
2386
|
message: OK
|
2387
|
headers:
|
2388
|
Date:
|
2389
|
- Mon, 27 Mar 2017 18:36:40 GMT
|
2390
|
Server:
|
2391
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2392
|
X-Frame-Options:
|
2393
|
- SAMEORIGIN
|
2394
|
X-Xss-Protection:
|
2395
|
- 1; mode=block
|
2396
|
X-Content-Type-Options:
|
2397
|
- nosniff
|
2398
|
Foreman-Version:
|
2399
|
- 1.11.0.54
|
2400
|
Foreman-Api-Version:
|
2401
|
- '2'
|
2402
|
Apipie-Checksum:
|
2403
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2404
|
Cache-Control:
|
2405
|
- max-age=0, private, must-revalidate
|
2406
|
X-Request-Id:
|
2407
|
- 565179ca-7f37-4a84-bf5f-f5c5b848f029
|
2408
|
X-Runtime:
|
2409
|
- '1.105027'
|
2410
|
X-Powered-By:
|
2411
|
- Phusion Passenger 4.0.18
|
2412
|
Etag:
|
2413
|
- '"f06552997466e07602f8d7e5d026e2db-gzip"'
|
2414
|
Status:
|
2415
|
- 200 OK
|
2416
|
Vary:
|
2417
|
- Accept-Encoding
|
2418
|
Content-Length:
|
2419
|
- '3850'
|
2420
|
Content-Type:
|
2421
|
- application/json; charset=utf-8
|
2422
|
Set-Cookie:
|
2423
|
- _session_id=7fd12a6fda65b12ed7eee98b946f25e4; path=/; secure; HttpOnly
|
2424
|
- request_method=PUT; path=/
|
2425
|
body:
|
2426
|
encoding: ASCII-8BIT
|
2427
|
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
|
2428
|
19:38:28 UTC","updated_at":"2017-03-27 18:21:56 UTC","last_compile":"2016-12-01
|
2429
|
19:38:30 UTC","global_status":0,"global_status_label":"Warning","organization_id":3,"organization_name":"Test
|
2430
|
Corporation","location_id":2,"location_name":"Default Location","puppet_status":0,"model_name":null,"errata_status":0,"errata_status_label":"Could
|
2431
|
not calculate errata status, ensure host is registered and katello-agent is
|
2432
|
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
|
2433
|
Organization View","lifecycle_environment_id":2,"lifecycle_environment_name":"Library","content_view":{"id":2,"name":"Default
|
2434
|
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
|
2435
|
19:38:28 UTC","service_level":null,"release_version":null,"autoheal":true,"registered_at":"2016-12-01
|
2436
|
19:38:28 UTC","activation_keys":[],"compliance_reasons":[],"virtual_host":null,"virtual_guests":[],"installed_products":[{"id":"ff80808158bbd8b50158bbe53a530599","productId":"69","productName":"Red
|
2437
|
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
|
2438
|
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}}'
|
2439
|
http_version:
|
2440
|
recorded_at: Mon, 27 Mar 2017 18:36:48 GMT
|
2441
|
- request:
|
2442
|
method: get
|
2443
|
uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/22955fb7-7b12-4db8-83be-6443ba725d77
|
2444
|
body:
|
2445
|
encoding: US-ASCII
|
2446
|
string: ''
|
2447
|
headers:
|
2448
|
Accept-Encoding:
|
2449
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
2450
|
Accept:
|
2451
|
- "*/*"
|
2452
|
User-Agent:
|
2453
|
- Ruby
|
2454
|
response:
|
2455
|
status:
|
2456
|
code: 200
|
2457
|
message: OK
|
2458
|
headers:
|
2459
|
Date:
|
2460
|
- Mon, 27 Mar 2017 18:36:42 GMT
|
2461
|
Server:
|
2462
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2463
|
X-Frame-Options:
|
2464
|
- SAMEORIGIN
|
2465
|
X-Xss-Protection:
|
2466
|
- 1; mode=block
|
2467
|
X-Content-Type-Options:
|
2468
|
- nosniff
|
2469
|
Foreman-Version:
|
2470
|
- 1.11.0.54
|
2471
|
Foreman-Api-Version:
|
2472
|
- '2'
|
2473
|
X-Candlepin-Version:
|
2474
|
- katello/3.0.0.82
|
2475
|
Cache-Control:
|
2476
|
- max-age=0, private, must-revalidate
|
2477
|
X-Request-Id:
|
2478
|
- 8a0508c2-ed48-4177-9449-32445a8940f3
|
2479
|
X-Runtime:
|
2480
|
- '0.103003'
|
2481
|
X-Powered-By:
|
2482
|
- Phusion Passenger 4.0.18
|
2483
|
Etag:
|
2484
|
- '"8a61317cc30599121b89abb880ffdeb5-gzip"'
|
2485
|
Status:
|
2486
|
- 200 OK
|
2487
|
Vary:
|
2488
|
- Accept-Encoding
|
2489
|
Content-Length:
|
2490
|
- '3324'
|
2491
|
Content-Type:
|
2492
|
- application/json; charset=utf-8
|
2493
|
Set-Cookie:
|
2494
|
- _session_id=25f6f6110ff8027d893ddc49eabf610b; path=/; secure; HttpOnly
|
2495
|
body:
|
2496
|
encoding: ASCII-8BIT
|
2497
|
string: '{"id":"ff80808158bbd8b50158bbe52eeb058f","uuid":"22955fb7-7b12-4db8-83be-6443ba725d77","name":"testphysical","username":"foreman_admin","entitlementStatus":"valid","serviceLevel":"","releaseVer":{"releaseVer":null},"idCert":{"key":"-----BEGIN
|
2498
|
RSA PRIVATE KEY-----\nMIIEowIBAAKCAQEA7uT3AuhqlVhFUK6MGJqXphisivdCv9kpjHmOhxKG0ozMihfF\nfVDD/+xviVPGB72teN9T3d7qfaX/1qElUSyaMcJ4HvZYHiP2l8pxCTEN4gJRZyIB\naPYKSCvPyHJq5gRuzvcUcGIXOljHjX0iqbD1FRvlNysp13b7RuodeNHafPkO99DV\nsAdqxfe3buNR7gzoxCiekyQW2RUqfKeuqPEISM6TuUgeDKzX4MVsRHpaJ/Z1QCFZ\nWQSPHvQypn4U4qLZFku5JnKE39BTki6mdlceB2QyE5YB0hRlg8odNSq5b+I/gQ3T\niMe6GctP0tOze6xTkKA797H327/eSGoX6XrocQIDAQABAoIBADqmqCZknVZRN6NZ\nVzfrLHQw9pufnRmw3UyJw35SBBvJSaZVs7zSiWxZxgB3OtVHskFMwzBjvDpg+PDe\n22SUiL7Sud8QKA4uUipuH1ZcXsYwP4AMj0APt/KEHx1dSfVy/Sl+69uzmXRPu553\nLH1w3pryIFJtHHaz1XlRnS6+ht/LZHvPsWUnDwVPVdxEKISSthK4kiVqaEpwW8bG\nVYG/3GuxCn1f6tGnJi/1/u92oz8i8b/LhvHDVWiY224L/sNKTLZhuci1IhExOeEX\nDZWLdK26aBQ8GGr7pfZL2eHpi/LrSj85dcw73uR6IXZnJpwcZTViN9w67Zs8RDSd\nxO1gzckCgYEA+Yk61my1eGjsJ/AS0UaIleOJsl4v6AEGh20yi1Cuq8lYmLZ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0QtvqbBEKTMvEaJqDHpoA9eYRj5o\njZPzVJsJWeyCujPJ30SwB8tXqVNpdGBSDrOlgcpMSu9+l31N74hFM2UBzwER2tqS\nxfms7O/nXPhADsBBIu/nC5avLISRpoM+RLfZPttoNCnDDNd2jOZIBPXyMmvc1rh8\njnr7ENfeFnPGtpsB33oCKePe1GdAqcWdl1LRlpFAihPBBQqA2xkGKNnBIbjTvAAr\nfS0XMc8S6tbbYstj2PYpSfAvltStsVOl1sFBasTN89h1wKfnB6Y5P/FkyQYamvSS\nvN+Df4/SYVHY\n-----END
|
2500
|
CERTIFICATE-----\n","id":"ff80808158bbd8b50158bbe530060592","serial":{"id":569124164686396652,"revoked":false,"collected":false,"expiration":"2032-12-01T19:38:28.974+0000","serial":569124164686396652,"created":"2016-12-01T19:38:28.974+0000","updated":"2016-12-01T19:38:28.974+0000"},"created":"2016-12-01T19:38:29.254+0000","updated":"2016-12-01T19:38:29.254+0000"},"type":{"id":"1000","label":"system","manifest":false},"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
|
2501
|
Corporation","href":"/owners/testcorp"},"environment":{"owner":{"id":"ff80808158bbd8b50158bbe26aef03c2","key":"testcorp","displayName":"Test
|
2502
|
Corporation","href":"/owners/testcorp"},"name":"Library","description":null,"id":"2","environmentContent":[{"id":"ff8080815adcc9a9015b110dba7b0e0d","contentId":"1490639748543","enabled":null,"created":"2017-03-27T18:36:04.091+0000","updated":"2017-03-27T18:36:04.091+0000"}],"created":"2016-12-01T19:35:27.852+0000","updated":"2016-12-01T19:35:27.852+0000"},"entitlementCount":1,"facts":{"virt.uuid":"Test
|
2503
|
Corporation/testphysical","network.hostname":"testphysical","distribution.name":"RHEL","distribution.version":"7Server","system.certificate_version":"3.2","_timestamp":"2016-12-01T19:38:28+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"8","memory.memtotal":"4GB","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":"true"},"lastCheckin":null,"installedProducts":[{"id":"ff80808158bbd8b50158bbe53a530599","productId":"69","productName":"Red
|
2504
|
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"}],"canActivate":false,"guestIds":[],"capabilities":[],"hypervisorId":null,"contentTags":[],"autoheal":true,"dev":false,"href":"/consumers/22955fb7-7b12-4db8-83be-6443ba725d77","created":"2016-12-01T19:38:28.971+0000","updated":"2017-03-27T18:36:41.832+0000"}'
|
2505
|
http_version:
|
2506
|
recorded_at: Mon, 27 Mar 2017 18:36:48 GMT
|
2507
|
- request:
|
2508
|
method: put
|
2509
|
uri: https://admin:changeme@devel.example.com:50083/rhsm/consumers/22955fb7-7b12-4db8-83be-6443ba725d77
|
2510
|
body:
|
2511
|
encoding: UTF-8
|
2512
|
string: '{"facts":{"virt.uuid":"Test Corporation/testphysical","network.hostname":"testphysical","distribution.name":"RHEL","distribution.version":"7Server","system.certificate_version":"3.2","_timestamp":"2016-12-01T19:38:28+00:00","uname.machine":"x86_64","cpu.cpu_socket(s)":"8","memory.memtotal":"4GB","cpu.core(s)_per_socket":"1","cpu.cpu(s)":"1","virt.is_guest":true}}'
|
2513
|
headers:
|
2514
|
Content-Type:
|
2515
|
- application/json
|
2516
|
Accept-Encoding:
|
2517
|
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
2518
|
Accept:
|
2519
|
- "*/*"
|
2520
|
User-Agent:
|
2521
|
- Ruby
|
2522
|
response:
|
2523
|
status:
|
2524
|
code: 403
|
2525
|
message: Forbidden
|
2526
|
headers:
|
2527
|
Date:
|
2528
|
- Mon, 27 Mar 2017 18:36:42 GMT
|
2529
|
Server:
|
2530
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2531
|
X-Frame-Options:
|
2532
|
- SAMEORIGIN
|
2533
|
X-Xss-Protection:
|
2534
|
- 1; mode=block
|
2535
|
X-Content-Type-Options:
|
2536
|
- nosniff
|
2537
|
Foreman-Version:
|
2538
|
- 1.11.0.54
|
2539
|
Foreman-Api-Version:
|
2540
|
- '2'
|
2541
|
Cache-Control:
|
2542
|
- no-cache
|
2543
|
X-Request-Id:
|
2544
|
- 4b5a986c-72b4-4b4e-9d04-84b0f78a74d8
|
2545
|
X-Runtime:
|
2546
|
- '0.014309'
|
2547
|
X-Powered-By:
|
2548
|
- Phusion Passenger 4.0.18
|
2549
|
Status:
|
2550
|
- 403 Forbidden
|
2551
|
Content-Type:
|
2552
|
- application/json; charset=utf-8
|
2553
|
Set-Cookie:
|
2554
|
- _session_id=3000dd52ce536decf70a889b215e5007; path=/; secure; HttpOnly
|
2555
|
- request_method=PUT; path=/
|
2556
|
Transfer-Encoding:
|
2557
|
- chunked
|
2558
|
body:
|
2559
|
encoding: UTF-8
|
2560
|
string: '{"displayMessage":"Access denied","errors":["Access denied"]}'
|
2561
|
http_version:
|
2562
|
recorded_at: Mon, 27 Mar 2017 18:36:48 GMT
|
2563
|
- request:
|
2564
|
method: get
|
2565
|
uri: https://admin:changeme@devel.example.com:50083/api/hosts/7/subscriptions?full_results=true
|
2566
|
body:
|
2567
|
encoding: US-ASCII
|
2568
|
string: ''
|
2569
|
headers:
|
2570
|
Accept:
|
2571
|
- application/json;version=2
|
2572
|
Accept-Encoding:
|
2573
|
- gzip, deflate
|
2574
|
User-Agent:
|
2575
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2576
|
Content-Type:
|
2577
|
- application/json
|
2578
|
Accept-Language:
|
2579
|
- en
|
2580
|
Host:
|
2581
|
- devel.example.com:50083
|
2582
|
response:
|
2583
|
status:
|
2584
|
code: 200
|
2585
|
message: OK
|
2586
|
headers:
|
2587
|
Date:
|
2588
|
- Mon, 27 Mar 2017 18:36:42 GMT
|
2589
|
Server:
|
2590
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2591
|
X-Frame-Options:
|
2592
|
- SAMEORIGIN
|
2593
|
X-Xss-Protection:
|
2594
|
- 1; mode=block
|
2595
|
X-Content-Type-Options:
|
2596
|
- nosniff
|
2597
|
Foreman-Version:
|
2598
|
- 1.11.0.54
|
2599
|
Foreman-Api-Version:
|
2600
|
- '2'
|
2601
|
Apipie-Checksum:
|
2602
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2603
|
Cache-Control:
|
2604
|
- max-age=0, private, must-revalidate
|
2605
|
X-Request-Id:
|
2606
|
- e7580e5f-9241-47d8-b37a-126b64bcca0b
|
2607
|
X-Runtime:
|
2608
|
- '0.226982'
|
2609
|
X-Powered-By:
|
2610
|
- Phusion Passenger 4.0.18
|
2611
|
Etag:
|
2612
|
- '"432a2ddf33f52f81d9755d5ede670c43-gzip"'
|
2613
|
Status:
|
2614
|
- 200 OK
|
2615
|
Vary:
|
2616
|
- Accept-Encoding
|
2617
|
Content-Length:
|
2618
|
- '770'
|
2619
|
Content-Type:
|
2620
|
- application/json; charset=utf-8
|
2621
|
Set-Cookie:
|
2622
|
- _session_id=fa7c591f9bc1b67765733a90c9801215; path=/; secure; HttpOnly
|
2623
|
body:
|
2624
|
encoding: ASCII-8BIT
|
2625
|
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
|
2626
|
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
|
2627
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
2628
|
|
2629
|
'
|
2630
|
http_version:
|
2631
|
recorded_at: Mon, 27 Mar 2017 18:36:48 GMT
|
2632
|
- request:
|
2633
|
method: put
|
2634
|
uri: https://admin:changeme@devel.example.com:50083/api/hosts/7/subscriptions/remove_subscriptions
|
2635
|
body:
|
2636
|
encoding: UTF-8
|
2637
|
string: '{"subscriptions":[{"id":19,"quantity":1}]}'
|
2638
|
headers:
|
2639
|
Accept:
|
2640
|
- application/json;version=2
|
2641
|
Accept-Encoding:
|
2642
|
- gzip, deflate
|
2643
|
User-Agent:
|
2644
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2645
|
Content-Type:
|
2646
|
- application/json
|
2647
|
Accept-Language:
|
2648
|
- en
|
2649
|
Content-Length:
|
2650
|
- '42'
|
2651
|
Host:
|
2652
|
- devel.example.com:50083
|
2653
|
response:
|
2654
|
status:
|
2655
|
code: 200
|
2656
|
message: OK
|
2657
|
headers:
|
2658
|
Date:
|
2659
|
- Mon, 27 Mar 2017 18:36:42 GMT
|
2660
|
Server:
|
2661
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2662
|
X-Frame-Options:
|
2663
|
- SAMEORIGIN
|
2664
|
X-Xss-Protection:
|
2665
|
- 1; mode=block
|
2666
|
X-Content-Type-Options:
|
2667
|
- nosniff
|
2668
|
Foreman-Version:
|
2669
|
- 1.11.0.54
|
2670
|
Foreman-Api-Version:
|
2671
|
- '2'
|
2672
|
Apipie-Checksum:
|
2673
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2674
|
Cache-Control:
|
2675
|
- max-age=0, private, must-revalidate
|
2676
|
X-Request-Id:
|
2677
|
- 0dfee00c-50ad-4b27-a5c7-6ca4245c59d6
|
2678
|
X-Runtime:
|
2679
|
- '1.020586'
|
2680
|
X-Powered-By:
|
2681
|
- Phusion Passenger 4.0.18
|
2682
|
Etag:
|
2683
|
- '"720194006e41895278a533fbe0ce2628-gzip"'
|
2684
|
Status:
|
2685
|
- 200 OK
|
2686
|
Vary:
|
2687
|
- Accept-Encoding
|
2688
|
Content-Length:
|
2689
|
- '770'
|
2690
|
Content-Type:
|
2691
|
- application/json; charset=utf-8
|
2692
|
Set-Cookie:
|
2693
|
- _session_id=e24eb691a03d5719b1317ef4fe33e87f; path=/; secure; HttpOnly
|
2694
|
- request_method=PUT; path=/
|
2695
|
body:
|
2696
|
encoding: ASCII-8BIT
|
2697
|
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
|
2698
|
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":199,"quantity":200,"consumed":1,"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
|
2699
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false}]}
|
2700
|
|
2701
|
'
|
2702
|
http_version:
|
2703
|
recorded_at: Mon, 27 Mar 2017 18:36:49 GMT
|
2704
|
- request:
|
2705
|
method: get
|
2706
|
uri: https://admin:changeme@devel.example.com:50083/katello/api/organizations/3/subscriptions?full_results=true
|
2707
|
body:
|
2708
|
encoding: US-ASCII
|
2709
|
string: ''
|
2710
|
headers:
|
2711
|
Accept:
|
2712
|
- application/json;version=2
|
2713
|
Accept-Encoding:
|
2714
|
- gzip, deflate
|
2715
|
User-Agent:
|
2716
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2717
|
Content-Type:
|
2718
|
- application/json
|
2719
|
Accept-Language:
|
2720
|
- en
|
2721
|
Host:
|
2722
|
- devel.example.com:50083
|
2723
|
response:
|
2724
|
status:
|
2725
|
code: 200
|
2726
|
message: OK
|
2727
|
headers:
|
2728
|
Date:
|
2729
|
- Mon, 27 Mar 2017 18:36:43 GMT
|
2730
|
Server:
|
2731
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2732
|
X-Frame-Options:
|
2733
|
- SAMEORIGIN
|
2734
|
X-Xss-Protection:
|
2735
|
- 1; mode=block
|
2736
|
X-Content-Type-Options:
|
2737
|
- nosniff
|
2738
|
Foreman-Version:
|
2739
|
- 1.11.0.54
|
2740
|
Foreman-Api-Version:
|
2741
|
- '2'
|
2742
|
Apipie-Checksum:
|
2743
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2744
|
Cache-Control:
|
2745
|
- max-age=0, private, must-revalidate
|
2746
|
X-Request-Id:
|
2747
|
- d5fad3d3-1fcd-4cbc-a11d-0e2015ec2edf
|
2748
|
X-Runtime:
|
2749
|
- '0.607675'
|
2750
|
X-Powered-By:
|
2751
|
- Phusion Passenger 4.0.18
|
2752
|
Etag:
|
2753
|
- '"e1ffeb35e3e2d3cd6c34d126d038cecb-gzip"'
|
2754
|
Status:
|
2755
|
- 200 OK
|
2756
|
Vary:
|
2757
|
- Accept-Encoding
|
2758
|
Content-Length:
|
2759
|
- '1972'
|
2760
|
Content-Type:
|
2761
|
- application/json; charset=utf-8
|
2762
|
Set-Cookie:
|
2763
|
- _session_id=68cce5218c43922f76a63075e807971d; path=/; secure; HttpOnly
|
2764
|
body:
|
2765
|
encoding: ASCII-8BIT
|
2766
|
string: '{"organization":{},"total":3,"subtotal":3,"page":1,"per_page":20,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[{"id":19,"cp_id":"ff80808158bbd8b50158bbe4a4a204a3","subscription_id":13,"name":"Red
|
2767
|
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":199,"quantity":200,"consumed":1,"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
|
2768
|
Hat Enterprise Linux Server, Standard (Physical or Virtual Nodes)","unmapped_guest":false,"virt_only":false},{"id":20,"cp_id":"ff80808158bbd8b50158bbe4a4cb04c6","subscription_id":14,"name":"Red
|
2769
|
Hat Enterprise Linux for Virtual Datacenters, Premium","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999116,"support_level":"Premium","product_id":"RH00001","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
|
2770
|
Hat Enterprise Linux for Virtual Datacenters, Premium","unmapped_guest":false,"virt_only":false},{"id":22,"cp_id":"ff80808158bbd8b50158bbe4a5020524","subscription_id":15,"name":"Red
|
2771
|
Hat Enterprise Linux for Virtual Datacenters, Standard","start_date":"2016-06-20T04:00:00.000+0000","end_date":"2017-06-20T03:59:59.000+0000","available":1,"quantity":1,"consumed":0,"account_number":5700573,"contract_number":10999110,"support_level":"Standard","product_id":"RH00002","sockets":2,"cores":null,"ram":null,"instance_multiplier":1,"stacking_id":0,"multi_entitlement":true,"type":"NORMAL","product_name":"Red
|
2772
|
Hat Enterprise Linux for Virtual Datacenters, Standard","unmapped_guest":false,"virt_only":false}]}
|
2773
|
|
2774
|
'
|
2775
|
http_version:
|
2776
|
recorded_at: Mon, 27 Mar 2017 18:36:50 GMT
|
2777
|
- request:
|
2778
|
method: put
|
2779
|
uri: https://admin:changeme@devel.example.com:50083/api/hosts/7/subscriptions/add_subscriptions
|
2780
|
body:
|
2781
|
encoding: UTF-8
|
2782
|
string: '{"subscriptions":[{"id":19,"quantity":0}]}'
|
2783
|
headers:
|
2784
|
Accept:
|
2785
|
- application/json;version=2
|
2786
|
Accept-Encoding:
|
2787
|
- gzip, deflate
|
2788
|
User-Agent:
|
2789
|
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
|
2790
|
Content-Type:
|
2791
|
- application/json
|
2792
|
Accept-Language:
|
2793
|
- en
|
2794
|
Content-Length:
|
2795
|
- '42'
|
2796
|
Host:
|
2797
|
- devel.example.com:50083
|
2798
|
response:
|
2799
|
status:
|
2800
|
code: 200
|
2801
|
message: OK
|
2802
|
headers:
|
2803
|
Date:
|
2804
|
- Mon, 27 Mar 2017 18:36:44 GMT
|
2805
|
Server:
|
2806
|
- Apache/2.4.6 (Red Hat Enterprise Linux)
|
2807
|
X-Frame-Options:
|
2808
|
- SAMEORIGIN
|
2809
|
X-Xss-Protection:
|
2810
|
- 1; mode=block
|
2811
|
X-Content-Type-Options:
|
2812
|
- nosniff
|
2813
|
Foreman-Version:
|
2814
|
- 1.11.0.54
|
2815
|
Foreman-Api-Version:
|
2816
|
- '2'
|
2817
|
Apipie-Checksum:
|
2818
|
- e1df2e8d43e22495b02a53b48e3b5298
|
2819
|
Cache-Control:
|
2820
|
- max-age=0, private, must-revalidate
|
2821
|
X-Request-Id:
|
2822
|
- d17b8b92-4602-4a52-82eb-ac0b44621476
|
2823
|
X-Runtime:
|
2824
|
- '1.401255'
|
2825
|
X-Powered-By:
|
2826
|
- Phusion Passenger 4.0.18
|
2827
|
Etag:
|
2828
|
- '"28f980ca6d7d7d8bdbe90747a65a208f-gzip"'
|
2829
|
Status:
|
2830
|
- 200 OK
|
2831
|
Vary:
|
2832
|
- Accept-Encoding
|
2833
|
Content-Length:
|
2834
|
- '119'
|
2835
|
Content-Type:
|
2836
|
- application/json; charset=utf-8
|
2837
|
Set-Cookie:
|
2838
|
- _session_id=6179f5c0f1ece401ab8fe181be3e0fd3; path=/; secure; HttpOnly
|
2839
|
- request_method=PUT; path=/
|
2840
|
body:
|
2841
|
encoding: ASCII-8BIT
|
2842
|
string: '{"total":0,"subtotal":0,"page":1,"per_page":0,"error":null,"search":null,"sort":{"by":null,"order":null},"results":[]}
|
2843
|
|
2844
|
'
|
2845
|
http_version:
|
2846
|
recorded_at: Mon, 27 Mar 2017 18:36:51 GMT
|
2847
|
recorded_with: VCR 3.0.3
|