← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1645078] [NEW] There was confusion of string and uuid

 

Public bug reported:

The following code of agent/linux/external_process.py:
------
     with open(cmdline, "r") as f:
                return self.uuid in f.readline()
------
will lead to this bug:
------
   TypeError: 'in <string>' requires string as left operand, not UUID
------

We should let uuid formatted into a string.

** Affects: neutron
     Importance: Undecided
     Assignee: PanFengyun (pan-feng-yun)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => PanFengyun (pan-feng-yun)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1645078

Title:
  There was confusion of string and uuid

Status in neutron:
  New

Bug description:
  The following code of agent/linux/external_process.py:
  ------
       with open(cmdline, "r") as f:
                  return self.uuid in f.readline()
  ------
  will lead to this bug:
  ------
     TypeError: 'in <string>' requires string as left operand, not UUID
  ------

  We should let uuid formatted into a string.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1645078/+subscriptions


Follow ups