Public bug reported: 1) Description: Ubuntu 16.04.1 LTS Release: 16.04
2) 1.11.13-1~16.04.0 3) Run aws (even just for cli help), no crash 4) Crashes More info: After the latest update of awscli to 1.11.13-1~16.04.0 on Xenial, aws crashes immediately with the following Python trace: $ aws Traceback (most recent call last): File "/usr/bin/aws", line 27, in <module> sys.exit(main()) File "/usr/bin/aws", line 23, in main return awscli.clidriver.main() File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 50, in main return driver.main() File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 176, in main parser = self._create_parser() File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 157, in _create_parser command_table = self._get_command_table() File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 91, in _get_command_table self._command_table = self._build_command_table() File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 111, in _build_command_table command_object=self) File "/usr/lib/python3/dist-packages/botocore/session.py", line 675, in emit return self._events.emit(event_name, **kwargs) File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 226, in emit return self._emit(event_name, kwargs) File "/usr/lib/python3/dist-packages/botocore/hooks.py", line 209, in _emit response = handler(**kwargs) File "/usr/lib/python3/dist-packages/awscli/customizations/preview.py", line 70, in mark_as_preview service_name=original_command.service_model.service_name, File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 351, in service_model return self._get_service_model() File "/usr/lib/python3/dist-packages/awscli/clidriver.py", line 368, in _get_service_model api_version = self.session.get_config_variable('api_versions').get( AttributeError: 'NoneType' object has no attribute 'get' Upgrading to python3-botocore from xenial-updates (currently 1.4.70-1~16.04.0) solves the problem. This took out a number of our production instances which used the cli for SSH authentication. ** Affects: awscli (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1654315 Title: awscli now depends on python3-botocore >= 1.4 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1654315/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs