Public bug reported:

Currently pyhton-neutronclient creates entry points when called due to
it trying to register extensions in the init of the Client class
(neutronclient/v2_0/client.py).

Some applications such as octavia make use of python-neutronclient and
in the Octavia charm, this class is being initialized on each update
status hook run leading to an excessive amount of entries in
~/.cache/python-entrypoints.

In the case of Octavia, nothing is needed beyond the built-in feature
set of python-neutronclient based on my testing. From what I can tell
Octavia uses the API to fetch the MTU of other machines. Adding an
option to decide if an application wants python-neutronclient to
register more extensions would avoid this issue.

** Affects: python-neutronclient
     Importance: Undecided
     Assignee: Ghadi Rahme (ghadi-rahme)
         Status: New

** Affects: octavia (Ubuntu)
     Importance: Undecided
     Assignee: Ghadi Rahme (ghadi-rahme)
         Status: New

** Also affects: octavia (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: python-neutronclient
     Assignee: (unassigned) => Ghadi Rahme (ghadi-rahme)

** Changed in: octavia (Ubuntu)
     Assignee: (unassigned) => Ghadi Rahme (ghadi-rahme)

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

Title:
  python-neutronclient generates excessive entries in ~/.cache/python-
  entrypoints when called often

To manage notifications about this bug go to:
https://bugs.launchpad.net/python-neutronclient/+bug/2117135/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to