You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by "Prab-27 (via GitHub)" <gi...@apache.org> on 2025/06/28 14:21:40 UTC

[I] Airflowctl : Invalid Boolean Parsing on is_alive in airflowctl jobs list Request [airflow]

Prab-27 opened a new issue, #52411:
URL: https://github.com/apache/airflow/issues/52411

   ### Apache Airflow version
   
   3.0.2
   
   ### If "Other Airflow 2 version" selected, which one?
   
   _No response_
   
   ### What happened?
   
    jobs operation list method params  : https://github.com/apache/airflow/blob/51b53cccb3ba48fb6678e8b18b5fb73c0ff061cc/airflow-ctl/src/airflowctl/api/operations.py#L578
   
   `airflowctl jobs list` returns `airflowctl.api.operations.ServerResponseError: Client error message: {'detail': [{'type': 'bool_parsing', 'loc': ['query', 'is_alive'], 'msg': 'Input should be a valid boolean, unable to interpret input', 'input': ''}]}`
   
   ### What you think should happen instead?
   
   `airflowctl jobs list` returns a list of all jobs - `JobCollectionResponse`
   
   
   ### How to reproduce
   
   Run breeze start-airflow
   Auth login using Username and password
   Run `airflowctl jobs list` in CLI 
   
   ### Operating System
   
   Linux
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Deployment
   
   Other
   
   ### Deployment details
   
   _No response_
   
   ### Anything else?
   
   Related discussion: [here](https://github.com/apache/airflow/pull/50837#issuecomment-2910366923) and [here](https://github.com/apache/airflow/pull/50837#issuecomment-2910277011)
   
   ### Are you willing to submit PR?
   
   - [x] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Airflowctl : Invalid Boolean Parsing on is_alive in airflowctl jobs list Request [airflow]

Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 closed issue #52411: Airflowctl : Invalid Boolean Parsing on is_alive in airflowctl jobs list Request
URL: https://github.com/apache/airflow/issues/52411


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Airflowctl : Invalid Boolean Parsing on is_alive in airflowctl jobs list Request [airflow]

Posted by "Prab-27 (via GitHub)" <gi...@apache.org>.
Prab-27 commented on issue #52411:
URL: https://github.com/apache/airflow/issues/52411#issuecomment-3015323640

   cc: @bugraoz93 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Airflowctl : Invalid Boolean Parsing on is_alive in airflowctl jobs list Request [airflow]

Posted by "bugraoz93 (via GitHub)" <gi...@apache.org>.
bugraoz93 commented on issue #52411:
URL: https://github.com/apache/airflow/issues/52411#issuecomment-3073895002

   Yes, this is fixed by one of our first-time contributors. Thanks for following up @Prab-27 ! :)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Airflowctl : Invalid Boolean Parsing on is_alive in airflowctl jobs list Request [airflow]

Posted by "Prab-27 (via GitHub)" <gi...@apache.org>.
Prab-27 commented on issue #52411:
URL: https://github.com/apache/airflow/issues/52411#issuecomment-3073137268

   @bugraoz93 , It's working fine now ! no chnages needed
   Could you please check ?
   
   ```
   root@76ccfe997ed4:/opt/airflow# airflowctl jobs list
   Please enter password for encrypted keyring:
   JobCollectionResponse(
       jobs=[
           JobResponse(
               id=31,
               dag_id=None,
               state='running',
               job_type='DagProcessorJob',
               start_date=datetime.datetime(2025, 7, 15,
   10, 46, 35, 248897, tzinfo=TzInfo(UTC)),
               end_date=None,
               latest_heartbeat=datetime.datetime(2025, 7,
   15, 10, 47, 54, 392360, tzinfo=TzInfo(UTC)),
               executor_class=None,
               hostname='76ccfe997ed4',
               unixname='root',
               dag_display_name=None
           ),
           JobResponse(
               id=32,
               dag_id=None,
               state='running',
               job_type='SchedulerJob',
               start_date=datetime.datetime(2025, 7, 15,
   10, 46, 35, 258215, tzinfo=TzInfo(UTC)),
               end_date=None,
               latest_heartbeat=datetime.datetime(2025, 7,
   15, 10, 47, 56, 270162, tzinfo=TzInfo(UTC)),
               executor_class=None,
               hostname='76ccfe997ed4',
               unixname='root',
               dag_display_name=None
           ),
           JobResponse(
               id=33,
               dag_id=None,
               state='running',
               job_type='TriggererJob',
               start_date=datetime.datetime(2025, 7, 15,
   10, 46, 35, 271946, tzinfo=TzInfo(UTC)),
               end_date=None,
               latest_heartbeat=datetime.datetime(2025, 7,
   15, 10, 47, 55, 199834, tzinfo=TzInfo(UTC)),
               executor_class=None,
               hostname='76ccfe997ed4',
               unixname='root',
               dag_display_name=None
           )
       ],
       total_entries=23
   )
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] Airflowctl : Invalid Boolean Parsing on is_alive in airflowctl jobs list Request [airflow]

Posted by "boring-cyborg[bot] (via GitHub)" <gi...@apache.org>.
boring-cyborg[bot] commented on issue #52411:
URL: https://github.com/apache/airflow/issues/52411#issuecomment-3015323489

   Thanks for opening your first issue here! Be sure to follow the issue template! If you are willing to raise PR to address this issue please do so, no need to wait for approval.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org