You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/04/04 15:43:56 UTC

[GitHub] [airflow] ernestoongaro opened a new issue, #22730: dbt Cloud Provider only works for Multi-tenant instances

ernestoongaro opened a new issue, #22730:
URL: https://github.com/apache/airflow/issues/22730

   ### Apache Airflow Provider(s)
   
   dbt-cloud
   
   ### Versions of Apache Airflow Providers
   
   _No response_
   
   ### Apache Airflow version
   
   2.2.5 (latest released)
   
   ### Operating System
   
   any
   
   ### Deployment
   
   Official Apache Airflow Helm Chart
   
   ### Deployment details
   
   _No response_
   
   ### What happened
   
      Some dbt Cloud deployments require the setting of a different base URL (could be X.getdbt.com) or cloud.X.getdbt.com) 
   
   Relevant line: https://github.com/apache/airflow/blame/436c17c655494eff5724df98d1a231ffa2142253/airflow/providers/dbt/cloud/hooks/dbt.py#L154
      
          self.base_url = "https://cloud.getdbt.com/api/v2/accounts/"
   
   ### What you think should happen instead
   
   A runtime paramater that defaults to cloud.getdbt 
   
   ### How to reproduce
   
   _No response_
   
   ### Anything else
   
   _No response_
   
   ### 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


[GitHub] [airflow] josh-fell commented on issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
josh-fell commented on issue #22730:
URL: https://github.com/apache/airflow/issues/22730#issuecomment-1087779296

   @ernestoongaro All yours!


-- 
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


[GitHub] [airflow] boring-cyborg[bot] commented on issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #22730:
URL: https://github.com/apache/airflow/issues/22730#issuecomment-1087718990

   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
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


[GitHub] [airflow] sungchun12 commented on issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
sungchun12 commented on issue #22730:
URL: https://github.com/apache/airflow/issues/22730#issuecomment-1088881843

   @epapineau FYI
   


-- 
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


[GitHub] [airflow] ernestoongaro commented on issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
ernestoongaro commented on issue #22730:
URL: https://github.com/apache/airflow/issues/22730#issuecomment-1090175837

   @josh-fell could you assign @epapineau to this issue?


-- 
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


[GitHub] [airflow] potiuk commented on issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
potiuk commented on issue #22730:
URL: https://github.com/apache/airflow/issues/22730#issuecomment-1090175908

   Assigned you @epapineau 
   


-- 
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


[GitHub] [airflow] josh-fell closed issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
josh-fell closed issue #22730: dbt Cloud Provider only works for Multi-tenant instances
URL: https://github.com/apache/airflow/issues/22730


-- 
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


[GitHub] [airflow] spetrescu commented on issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
spetrescu commented on issue #22730:
URL: https://github.com/apache/airflow/issues/22730#issuecomment-1093416421

   Hello. 
   
   Would replacing 
   ```
    self.base_url = "https://cloud.getdbt.com/api/v2/accounts/"
    ```
    with 
    ```
     self.base_url = "https://cloud.getdbt.com"
     ```
     fix the issue? 
     
     If not, from where can we fetch the setting of `cloud.getdbt`? Any hints?


-- 
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


[GitHub] [airflow] ernestoongaro commented on issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
ernestoongaro commented on issue #22730:
URL: https://github.com/apache/airflow/issues/22730#issuecomment-1090175411

   @epapineau great! all yours


-- 
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


[GitHub] [airflow] epapineau commented on issue #22730: dbt Cloud Provider only works for Multi-tenant instances

Posted by GitBox <gi...@apache.org>.
epapineau commented on issue #22730:
URL: https://github.com/apache/airflow/issues/22730#issuecomment-1089458673

   I'd like to tackle this issue 🧑‍💻 


-- 
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