Issue with PCF Cloud Foundry Client's "Retrieve Recent Logs" Function Compatibility with TAS for VMs v4.0.3 (Cloudfoundry v1.35.1)
还没有人认领这个 Issue。
评估
调研方向
从 app.recent_logs() 入口开始,针对使用 Cloud Foundry 1.35.1 的 VMs v4.0.3,在 TAS 上复现 NOT_FOUND InvalidStatusCode。跟踪 recent logs 的请求和响应处理;当该方法在报告的环境中成功获取日志且不出现 CF-AppNotFound 错误时,即表示完成。
由索引模型根据 Issue 内容生成。
描述
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
- 主要语言
- Python
- 星标
- 55
- 派生
- 54
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cloudfoundry-community/cf-python-client 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 45/100
cloudfoundry-community/cf-python-client#218 · 3 条评论 ·
-
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
cloudfoundry-community/cf-python-client#180 · 2 条评论 ·
-
难度 3/5 1-2 天 新手友好度 35/100
cloudfoundry-community/cf-python-client#177 · 2 条评论 ·
-
难度 4/5 3-5 天 新手友好度 30/100
cloudfoundry-community/cf-python-client#170 · 2 条评论 ·
查看 cloudfoundry-community/cf-python-client 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 65/100
noontide-co/mainbranch#1211 · 1 条评论 ·
维护者通常 1 天内回复
-
[1.x Bug] run-operation --sql reports success but rolls back writes on transaction-capable adapters未关闭triage
难度 2/5 1-3 小时 新手友好度 64/100
维护者通常 1 天内回复
-
bug needs-triage
难度 2/5 1-3 小时 新手友好度 70/100
维护者通常 1 天内回复
-
bug settings ui
难度 2/5 1-3 小时 新手友好度 72/100
DewaldOosthuizen/py-tray-command-launcher#162 ·
维护者通常 1 天内回复
-
run_all sleeps after the final job despite documenting delays between jobs可能已有人在做 @Gambit-Checkmate 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 74/100