dkinzer opened a new issue #14687: URL: https://github.com/apache/airflow/issues/14687
**Apache Airflow version**: 1.10.14 **Kubernetes version (if you are using kubernetes)** (use `kubectl version`): **Environment**: - **Cloud provider or hardware configuration**: - **OS** (e.g. from /etc/os-release): Official docker image (apache/airflow:1.10.14) - **Kernel** (e.g. `uname -a`): - **Install tools**: - **Others**: **What happened**: After following all the requirements as specified in the docs for setting up security via google_auth: https://airflow.apache.org/docs/apache-airflow/1.10.14/security.html#google-authentication, the following command throws an error ``` airflow@2fd70685e00d:/opt/airflow$ airflow config list Traceback (most recent call last): File "/home/airflow/.local/bin/airflow", line 37, in <module> args.func(args) File "/home/airflow/.local/lib/python3.6/site-packages/airflow/utils/cli.py", line 233, in wrapper func(args) File "/home/airflow/.local/lib/python3.6/site-packages/airflow/bin/cli.py", line 2083, in config conf.write(output) File "/home/airflow/.local/lib/python3.6/site-packages/airflow/configuration.py", line 503, in write self._write_section(fp, section, self.getsection(section).items(), d) # type: ignore File "/home/airflow/.local/lib/python3.6/site-packages/airflow/configuration.py", line 465, in getsection _section = copy.deepcopy(self.airflow_defaults._sections[section]) KeyError: 'google' airflow@2fd70685e00d:/opt/airflow$ airflow@2fd70685e00d:/opt/airflow$ airflow@2fd70685e00d:/opt/airflow$ airflow@2fd70685e00d:/opt/airflow$ airflow@2fd70685e00d:/opt/airflow$ airflow@2fd70685e00d:/opt/airflow$ airflow config list Traceback (most recent call last): File "/home/airflow/.local/bin/airflow", line 37, in <module> args.func(args) File "/home/airflow/.local/lib/python3.6/site-packages/airflow/utils/cli.py", line 233, in wrapper func(args) File "/home/airflow/.local/lib/python3.6/site-packages/airflow/bin/cli.py", line 2083, in config conf.write(output) File "/home/airflow/.local/lib/python3.6/site-packages/airflow/configuration.py", line 503, in write self._write_section(fp, section, self.getsection(section).items(), d) # type: ignore File "/home/airflow/.local/lib/python3.6/site-packages/airflow/configuration.py", line 465, in getsection _section = copy.deepcopy(self.airflow_defaults._sections[section]) KeyError: 'google' ``` <!-- (please include exact error messages if you can) --> **What you expected to happen**: I expect the configurations to be listed without throwing an error. <!-- What do you think went wrong? --> **How to reproduce it**: You can reproduce this on a clean install of airflow or using the official airflow docker image. Run: `pip install 'apache-airflow[google_auth]'` Add the following to `airflow.cfg` file: ``` [google] client_id = google_client_id client_secret = google_client_secret oauth_callback_route = /oauth2callback domain = example1.com,example2.com prompt = <One of : consent, select_account, none or ''> ``` Then run the following command from the cli: `airflow config list` <!--- As minimally and precisely as possible. Keep in mind we do not have access to your cluster or dags. If you are using kubernetes, please attempt to recreate the issue using minikube or kind. ## Install minikube/kind - Minikube https://minikube.sigs.k8s.io/docs/start/ - Kind https://kind.sigs.k8s.io/docs/user/quick-start/ If this is a UI bug, please provide a screenshot of the bug or a link to a youtube video of the bug in action You can include images using the .md style of  To record a screencast, mac users can use QuickTime and then create an unlisted youtube video with the resulting .mov file. ---> **Anything else we need to know**: <!-- How often does this problem occur? Once? Every time etc? Every time Any relevant logs to include? Put them here in side a detail tag: <details><summary>x.log</summary> lots of stuff </details> --> ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: [email protected]
