Issue with PCF Cloud Foundry Client's "Retrieve Recent Logs" Function Compatibility with TAS for VMs v4.0.3 (Cloudfoundry v1.35.1)

オープン
#196 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

エントリポイント 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 はありません

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cloudfoundry-community/cf-python-client のほかの issue

cloudfoundry-community/cf-python-client の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。