[Bug 1620888] Re: NameError: global name '_LE' is not defined when running trove-guestagent

Corey Bryant corey.bryant at canonical.com
Fri Oct 28 12:29:12 UTC 2016


** Description changed:

+ [Description]
  When we run trove-guestagent, it will throw exception as follow:
  
  2016-09-06 12:53:49.178 8485 CRITICAL root [-] NameError: global name '_LE' is not defined
  2016-09-06 12:53:49.178 8485 ERROR root Traceback (most recent call last):
  2016-09-06 12:53:49.178 8485 ERROR root   File "/usr/local/bin/trove-guestagent", line 10, in <module>
  2016-09-06 12:53:49.178 8485 ERROR root     sys.exit(main())
  2016-09-06 12:53:49.178 8485 ERROR root   File "/usr/local/lib/python2.7/dist-packages/trove/cmd/guest.py", line 43, in main
  2016-09-06 12:53:49.178 8485 ERROR root     msg = (_LE("Manager class not registered for datastore manager %s") %
  2016-09-06 12:53:49.178 8485 ERROR root NameError: global name '_LE' is not defined
  2016-09-06 12:53:49.178 8485 ERROR root
+ 
+ [Testcase]
+ Run trove-guestagent.
+ 
+ [Regression potential]
+ None. The fix just adds a missing import.

** Changed in: cloud-archive/mitaka
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Changed in: openstack-trove (Ubuntu Xenial)
     Assignee: (unassigned) => Corey Bryant (corey.bryant)

** Summary changed:

- NameError: global name '_LE' is not defined when running trove-guestagent
+ [SRU] NameError: global name '_LE' is not defined when running trove-guestagent

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

Title:
  [SRU] NameError: global name '_LE' is not defined when running trove-
  guestagent

Status in Ubuntu Cloud Archive:
  Invalid
Status in Ubuntu Cloud Archive mitaka series:
  Triaged
Status in OpenStack DBaaS (Trove):
  Fix Released
Status in openstack-trove package in Ubuntu:
  Invalid
Status in openstack-trove source package in Xenial:
  Triaged

Bug description:
  [Description]
  When we run trove-guestagent, it will throw exception as follow:

  2016-09-06 12:53:49.178 8485 CRITICAL root [-] NameError: global name '_LE' is not defined
  2016-09-06 12:53:49.178 8485 ERROR root Traceback (most recent call last):
  2016-09-06 12:53:49.178 8485 ERROR root   File "/usr/local/bin/trove-guestagent", line 10, in <module>
  2016-09-06 12:53:49.178 8485 ERROR root     sys.exit(main())
  2016-09-06 12:53:49.178 8485 ERROR root   File "/usr/local/lib/python2.7/dist-packages/trove/cmd/guest.py", line 43, in main
  2016-09-06 12:53:49.178 8485 ERROR root     msg = (_LE("Manager class not registered for datastore manager %s") %
  2016-09-06 12:53:49.178 8485 ERROR root NameError: global name '_LE' is not defined
  2016-09-06 12:53:49.178 8485 ERROR root

  [Testcase]
  Run trove-guestagent.

  [Regression potential]
  None. The fix just adds a missing import.

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



More information about the Ubuntu-openstack-bugs mailing list