Skip to content

Commit

Permalink
Drop componentstatuses from vcr cassette
Browse files Browse the repository at this point in the history
Followup to ManageIQ/manageiq-providers-kubernetes#121
Removed (by manual editing)
https://host.example.com:8443/api/v1/componentstatuses requests from
cassette to avoid "unused interactions" error.

BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1485431
  • Loading branch information
cben committed Oct 3, 2017
1 parent 6b2202e commit 7486292
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 122 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -427,46 +427,6 @@ http_interactions:
encoding: UTF-8
string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/persistentvolumeclaims","resourceVersion":"530008"},"items":[]}

'
http_version:
recorded_at: Wed, 21 Dec 2016 13:46:20 GMT
- request:
method: get
uri: https://host.example.com:8443/api/v1/componentstatuses
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*"
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.0 (linux-gnu x86_64) ruby/2.3.1p112
Authorization:
- Bearer theToken
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-store
Content-Type:
- application/json
Date:
- Wed, 21 Dec 2016 13:46:20 GMT
Content-Length:
- '917'
body:
encoding: UTF-8
string: '{"kind":"ComponentStatusList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/componentstatuses"},"items":[{"metadata":{"name":"controller-manager","selfLink":"/api/v1/componentstatuses/controller-manager","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
http://127.0.0.1:10252/healthz: dial tcp 127.0.0.1:10252: getsockopt: connection
refused"}]},{"metadata":{"name":"scheduler","selfLink":"/api/v1/componentstatuses/scheduler","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
http://127.0.0.1:10251/healthz: dial tcp 127.0.0.1:10251: getsockopt: connection
refused"}]},{"metadata":{"name":"etcd-0","selfLink":"/api/v1/componentstatuses/etcd-0","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
https://host.example.com:4001/health: remote error: bad certificate"}]}]}

'
http_version:
recorded_at: Wed, 21 Dec 2016 13:46:20 GMT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,47 +407,6 @@ http_interactions:
encoding: UTF-8
string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/persistentvolumeclaims","resourceVersion":"98417"},"items":[{"metadata":{"name":"my-persistentvolumeclaim-2","namespace":"my-project-2","selfLink":"/api/v1/namespaces/my-project-2/persistentvolumeclaims/my-persistentvolumeclaim-2","uid":"c0a05745-6aeb-11e7-b2e6-001a4a1626e8","resourceVersion":"98128","creationTimestamp":"2017-07-17T12:30:43Z"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"8Gi"}}},"status":{"phase":"Pending"}}]}

'
http_version:
recorded_at: Mon, 17 Jul 2017 12:32:52 GMT
- request:
method: get
uri: https://host.example.com:8443/api/v1/componentstatuses
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*"
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
Authorization:
- Bearer theToken
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-store
Content-Type:
- application/json
Date:
- Mon, 17 Jul 2017 12:33:30 GMT
Content-Length:
- '912'
body:
encoding: UTF-8
string: '{"kind":"ComponentStatusList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/componentstatuses"},"items":[{"metadata":{"name":"scheduler","selfLink":"/api/v1/componentstatusesscheduler","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
http://127.0.0.1:10251/healthz: dial tcp 127.0.0.1:10251: getsockopt: connection
refused"}]},{"metadata":{"name":"controller-manager","selfLink":"/api/v1/componentstatusescontroller-manager","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
http://127.0.0.1:10252/healthz: dial tcp 127.0.0.1:10252: getsockopt: connection
refused"}]},{"metadata":{"name":"etcd-0","selfLink":"/api/v1/componentstatusesetcd-0","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
https://vm-48-232.eng.lab.tlv.redhat.com:4001/health: remote error: tls: bad
certificate"}]}]}

'
http_version:
recorded_at: Mon, 17 Jul 2017 12:32:52 GMT
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,47 +429,6 @@ http_interactions:
encoding: UTF-8
string: '{"kind":"PersistentVolumeClaimList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/persistentvolumeclaims","resourceVersion":"98234"},"items":[{"metadata":{"name":"my-persistentvolumeclaim-0","namespace":"my-project-0","selfLink":"/api/v1/namespaces/my-project-0/persistentvolumeclaims/my-persistentvolumeclaim-0","uid":"bf84f35f-6aeb-11e7-b2e6-001a4a1626e8","resourceVersion":"97985","creationTimestamp":"2017-07-17T12:30:42Z"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"8Gi"}}},"status":{"phase":"Pending"}},{"metadata":{"name":"my-persistentvolumeclaim-1","namespace":"my-project-1","selfLink":"/api/v1/namespaces/my-project-1/persistentvolumeclaims/my-persistentvolumeclaim-1","uid":"c00ee5b2-6aeb-11e7-b2e6-001a4a1626e8","resourceVersion":"98055","creationTimestamp":"2017-07-17T12:30:43Z"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"8Gi"}}},"status":{"phase":"Pending"}},{"metadata":{"name":"my-persistentvolumeclaim-2","namespace":"my-project-2","selfLink":"/api/v1/namespaces/my-project-2/persistentvolumeclaims/my-persistentvolumeclaim-2","uid":"c0a05745-6aeb-11e7-b2e6-001a4a1626e8","resourceVersion":"98128","creationTimestamp":"2017-07-17T12:30:43Z"},"spec":{"accessModes":["ReadWriteOnce"],"resources":{"requests":{"storage":"8Gi"}}},"status":{"phase":"Pending"}}]}

'
http_version:
recorded_at: Mon, 17 Jul 2017 12:30:53 GMT
- request:
method: get
uri: https://host.example.com:8443/api/v1/componentstatuses
body:
encoding: US-ASCII
string: ''
headers:
Accept:
- "*/*"
Accept-Encoding:
- gzip, deflate
User-Agent:
- rest-client/2.0.2 (linux-gnu x86_64) ruby/2.3.3p222
Authorization:
- Bearer theToken
response:
status:
code: 200
message: OK
headers:
Cache-Control:
- no-store
Content-Type:
- application/json
Date:
- Mon, 17 Jul 2017 12:31:31 GMT
Content-Length:
- '912'
body:
encoding: UTF-8
string: '{"kind":"ComponentStatusList","apiVersion":"v1","metadata":{"selfLink":"/api/v1/componentstatuses"},"items":[{"metadata":{"name":"controller-manager","selfLink":"/api/v1/componentstatusescontroller-manager","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
http://127.0.0.1:10252/healthz: dial tcp 127.0.0.1:10252: getsockopt: connection
refused"}]},{"metadata":{"name":"scheduler","selfLink":"/api/v1/componentstatusesscheduler","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
http://127.0.0.1:10251/healthz: dial tcp 127.0.0.1:10251: getsockopt: connection
refused"}]},{"metadata":{"name":"etcd-0","selfLink":"/api/v1/componentstatusesetcd-0","creationTimestamp":null},"conditions":[{"type":"Healthy","status":"False","message":"Get
https://vm-48-232.eng.lab.tlv.redhat.com:4001/health: remote error: tls: bad
certificate"}]}]}

'
http_version:
recorded_at: Mon, 17 Jul 2017 12:30:53 GMT
Expand Down

0 comments on commit 7486292

Please sign in to comment.