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

James Page james.page at ubuntu.com
Wed Dec 7 16:23:05 UTC 2016


This bug was fixed in the package openstack-trove - 1:5.1.1-0ubuntu2~cloud0
---------------

 openstack-trove (1:5.1.1-0ubuntu2~cloud0) trusty-mitaka; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 openstack-trove (1:5.1.1-0ubuntu2) xenial; urgency=medium
 .
   * d/p/add-missing-import.patch: Cherry-pick patch from upstream
     to add missing '_LE' import for trove-guestagent (LP: #1620888).


** Changed in: cloud-archive/mitaka
       Status: Fix Committed => 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/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:
  Fix Released
Status in OpenStack DBaaS (Trove):
  Fix Released
Status in openstack-trove package in Ubuntu:
  Invalid
Status in openstack-trove source package in Xenial:
  Fix Released

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