** Also affects: awscli (Ubuntu Zesty)
   Importance: Critical
       Status: Triaged

** Changed in: awscli (Ubuntu Zesty)
     Assignee: (unassigned) => Kamal Mostafa (kamalmostafa)

** Changed in: awscli (Ubuntu Yakkety)
     Assignee: (unassigned) => Kamal Mostafa (kamalmostafa)

** Changed in: awscli (Ubuntu Xenial)
     Assignee: (unassigned) => Kamal Mostafa (kamalmostafa)

** Changed in: awscli (Ubuntu Zesty)
       Status: Triaged => In Progress

** Changed in: awscli (Ubuntu Yakkety)
       Status: New => In Progress

** Changed in: awscli (Ubuntu Xenial)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1654315

Title:
  awscli now depends on python3-botocore >= 1.4

Status in awscli package in Ubuntu:
  In Progress
Status in awscli source package in Xenial:
  In Progress
Status in awscli source package in Yakkety:
  In Progress
Status in awscli source package in Zesty:
  In Progress

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/awscli/+bug/1654315/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~group.of.nepali.translators
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~group.of.nepali.translators
More help   : https://help.launchpad.net/ListHelp

Reply via email to