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)
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 55
- Fork
- 54
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Inizia dal punto di ingresso app.recent_logs() e riproduci l’errore NOT_FOUND InvalidStatusCode verso TAS per VMs v4.0.3 con Cloud Foundry 1.35.1. Traccia la gestione delle richieste e delle risposte per recent logs; il lavoro è completato quando il metodo recupera correttamente i log nell’ambiente indicato senza l’errore CF-AppNotFound.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100