[Bug 1751822] Re: EXCEPTION of type 'AttributeError' when using 'help' from openstack-cli

OpenStack Infra 1751822 at bugs.launchpad.net
Fri Mar 9 22:59:27 UTC 2018


Reviewed:  https://review.openstack.org/548625
Committed: https://git.openstack.org/cgit/openstack/cliff/commit/?id=8416650128b9a1ae8c7fd1bfe2a8d1a49a9b6a0b
Submitter: Zuul
Branch:    master

commit 8416650128b9a1ae8c7fd1bfe2a8d1a49a9b6a0b
Author: Corey Bryant <corey.bryant at canonical.com>
Date:   Wed Feb 28 10:49:24 2018 -0500

    Align parsed() call with cmd2 versions >= 0.7.3
    
    In version 0.7.3, cmd2 moved the parsed method from class Cmd()
    to class ParserManager().
    
    Change-Id: Ie0c057ffaeaa05c4f5e0f3599aab850245c55066
    Closes-Bug: #1751822


** Changed in: python-cliff
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to Ubuntu Cloud Archive.
https://bugs.launchpad.net/bugs/1751822

Title:
  EXCEPTION of type 'AttributeError' when using 'help' from openstack-
  cli

Status in Ubuntu Cloud Archive:
  Fix Released
Status in Ubuntu Cloud Archive pike series:
  Fix Committed
Status in Ubuntu Cloud Archive queens series:
  Fix Released
Status in cliff:
  Fix Released
Status in python-cliff package in Ubuntu:
  Fix Released
Status in python-cliff source package in Artful:
  Fix Committed
Status in python-cliff source package in Bionic:
  Fix Released

Bug description:
  $ dpkg -S $(readlink -f `which openstack`)
  python3-openstackclient: /usr/bin/python3-openstack
  $ openstack
  (openstack) help network
  EXCEPTION of type 'AttributeError' occurred with message: ''InteractiveApp' object has no attribute 'parsed''
  To enable full traceback, run the following command:  'set debug true'
  (openstack) set debug true
  debug - was: False
  now: True
  (openstack) help network
  Traceback (most recent call last):
    File "/usr/lib/python3/dist-packages/cmd2.py", line 776, in onecmd_plus_hooks
      stop = self.onecmd(statement)
    File "/usr/lib/python3/dist-packages/cmd2.py", line 964, in onecmd
      stop = func(statement)
    File "/usr/lib/python3/dist-packages/cliff/interactive.py", line 114, in do_help
      self.default(self.parsed('help ' + arg))
  AttributeError: 'InteractiveApp' object has no attribute 'parsed'
  EXCEPTION of type 'AttributeError' occurred with message: ''InteractiveApp' object has no attribute 'parsed''
  To enable full traceback, run the following command:  'set debug true'

  ProblemType: Bug
  DistroRelease: Ubuntu 18.04
  Package: python3-openstackclient 3.14.0-0ubuntu1
  ProcVersionSignature: Ubuntu 4.15.0-10.11-generic 4.15.3
  Uname: Linux 4.15.0-10-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair
  ApportVersion: 2.20.8-0ubuntu10
  Architecture: amd64
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Feb 26 10:49:15 2018
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2015-07-23 (949 days ago)
  InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python-openstackclient
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1751822/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list