Hi, I am trying to insert pdb.set_trace() in the file " https://opendev.org/openstack/placement/src/branch/master/placement/objects/..." for debugging purposes. But when I manually start the placement service using this command "/openstack/venvs/uwsgi-27.3.0-python3/bin/uwsgi --autoload --ini /etc/uwsgi/placement-api.ini --honour-stdin", it is running as normal but not giving the pdb prompt when launching a nova boot command elsewhere. Is this a uwsgi pdb bug ? Thanks Y.G
On Thu, 28 Mar 2024 18:02:53 +0530 Gk Gk <ygk.kmr@gmail.com> wrote:
.... running as normal but not giving the pdb prompt when launching a nova boot command elsewhere. Is this a uwsgi pdb bug ?
I'd mildly surprised if that worked. I'd just get by with tracing printouts, in your shoes. Like, using the "q" module. -- P
pdb worked for other services like schedulerand nova api. Any other suggestions ? On Saturday, March 30, 2024, Pete Zaitcev <zaitcev@redhat.com> wrote:
On Thu, 28 Mar 2024 18:02:53 +0530 Gk Gk <ygk.kmr@gmail.com> wrote:
.... running as normal but not giving the pdb prompt when launching a nova boot command elsewhere. Is this a uwsgi pdb bug ?
I'd mildly surprised if that worked. I'd just get by with tracing printouts, in your shoes. Like, using the "q" module.
-- P
participants (2)
-
Gk Gk
-
Pete Zaitcev