Network down on k8s fails with 404
Opened this issue · 0 comments
m3dwards commented
Not sure why this isn't failing on CI
warcli network down --network default2
-32000: Error bringing warnet down: 404
Reason: Not Found
HTTP response headers: HTTPHeaderDict({'Audit-Id': '5d81617f-6dca-45b4-9e9a-52c6fc6155ae', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Kubernetes-Pf-Flowschema-Uid': '7b1d61f0-c051-4806-8daf-744388156533', 'X-Kubernetes-Pf-Prioritylevel-Uid': '7ced71f2-3546-46b8-a972-e1bde1fca9f2', 'Date': 'Tue, 23 Apr 2024 10:28:02 GMT', 'Content-Length': '280'})
HTTP response body: b'{"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"servicemonitors.monitoring.coreos.com \\"warnet-tank-000006\\" not found","reason":"NotFound","details":{"name":"warnet-tank-000006","group":"monitoring.coreos.com","kind":"servicemonitors"},"code":404}\n'
Original traceback:
File "/usr/local/lib/python3.11/site-packages/kubernetes/dynamic/client.py", line 55, in inner
resp = func(self, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kubernetes/dynamic/client.py", line 270, in request
api_response = self.client.call_api(
^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kubernetes/client/api_client.py", line 348, in call_api
return self.__call_api(resource_path, method,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kubernetes/client/api_client.py", line 180, in __call_api
response_data = self.request(
^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kubernetes/client/api_client.py", line 415, in request
return self.rest_client.DELETE(url,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kubernetes/client/rest.py", line 270, in DELETE
return self.request("DELETE", url,
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/kubernetes/client/rest.py", line 238, in request
raise ApiException(http_resp=r)