cloudfoundry-community / cloudfoundry-community/cf-python-client
Issue with PCF Cloud Foundry Client's "Retrieve Recent Logs" Function Compatibility with TAS for VMs v4.0.3 (Cloudfoundry v1.35.1)
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- Python
- Star
- 55
- Fork
- 54
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
Description:
I am experiencing a compatibility issue with the PCF Cloud Foundry (PCF CF) client when trying to use the "Retrieve Recent Logs" function. The issue seems to arise specifically when working with TAS for VMs v4.0.3, where the underlying Cloudfoundry version used is 1.35.1.
Issue:
When attempting to retrieve recent logs using the PCF CF client with TAS for VMs v4.0.3, I encounter an error or unexpected behavior.
Error : raise InvalidStatusCode(HTTPStatus(response.status_code), body, response.headers.get("x-vcap-request-id"))
cloudfoundry_client.errors.InvalidStatusCode: NOT_FOUND = {"description": "The app could not be found: ", "error_code": "CF-AppNotFound", "code": 100004}
Steps to Reproduce:
Ensure that the application is running on the Pcf Platform: TAS for VMs v4.0.3.
Use the app.recent_logs() method from the cloudfoundry-client version 1.35.1 to retrieve logs for an App.
Observe the cloudfoundry_client.errors.InvalidStatusCode: NOT_FOUND error.
Environment
Pcf Platform: TAS for VMs v4.0.3
cloudfoundry-client version: 1.35.1
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu từ entry point app.recent_logs() và tái hiện lỗi NOT_FOUND InvalidStatusCode đối với TAS cho VMs v4.0.3 với Cloud Foundry 1.35.1. Theo dõi việc xử lý request và response cho recent logs; công việc được xem là hoàn tất khi method truy xuất log thành công trong môi trường được báo cáo mà không gặp lỗi CF-AppNotFound.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- python
- Lĩnh vực
- api
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 35/100