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/08/31 23:41:29 UTC

[GitHub] [airflow] wolfier opened a new issue, #26097: Add the parameter `network_profile` in `AzureContainerInstancesOperator`

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

   ### Description
   
   [apache-airflow-providers-microsoft-azure](https://airflow.apache.org/docs/apache-airflow-providers-microsoft-azure/stable/index.html) uses `azure-mgmt-containerinstance==>=1.5.0,<2.0`. 
   
   In `azure-mgmt-containerinstance==1.5.0`, [ContainerGroup](https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerinstance_1.5.0/sdk/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance/models/container_group_py3.py) accepts a parameter called `network_profile`, which is expecting a [ContainerGroupNetworkProfile](https://github.com/Azure/azure-sdk-for-python/blob/azure-mgmt-containerinstance_1.5.0/sdk/containerinstance/azure-mgmt-containerinstance/azure/mgmt/containerinstance/models/container_group_network_profile_py3.py). 
   
   
   ### Use case/motivation
   
   I received the following error when I provide value to `IpAddress` in the `AzureContainerInstancesOperator`.
   
   ```
   msrestazure.azure_exceptions.CloudError: Azure Error: PrivateIPAddressNotSupported
   Message: IP Address type in container group 'data-quality-test' is invalid. Private IP address is only supported when network profile is defined.
   ```
   
   I would like to pass a ContainerGroupNetworkProfile object through so AzureContainerInstancesOperator can use in the [Container Group instantiation](https://github.com/apache/airflow/blob/main/airflow/providers/microsoft/azure/operators/container_instances.py#L243-L254).
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] 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] potiuk closed issue #26097: Add the parameter `network_profile` in `AzureContainerInstancesOperator`

Posted by GitBox <gi...@apache.org>.
potiuk closed issue #26097: Add the parameter `network_profile` in `AzureContainerInstancesOperator`
URL: https://github.com/apache/airflow/issues/26097


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