You have been subscribed to a public bug: We have and openstack ansible antelope setup. I am trying to debug nova- api service. I have inserted "import pdb; pdb.set_trace()" at line 412 in the file "/openstack/venvs/nova-27.3.0/lib/python3.8/site- packages/nova/conductor/rpcapi.py" , then started the service manually from the prompt as shown below:
--- root#: /openstack/venvs/uwsgi-27.3.0-python3/bin/uwsgi --autoload --ini /etc/uwsgi/nova-api-os-compute.ini After the launching the above command, I am trying to launch a vm using the nova command. It is dropping into the pdb shell but going to the next line after the prompt and waiting. when I input any pdb command, it is not responding as shown above. --- Nova API policies are introducing new default roles with scope_type capabilities. Old policies are deprecated and silently going to be ignored in nova 23.0.0 release. . Either ensure your deployment is ready for the new default or copy/paste the deprecated policy into your policy file and maintain it manually. warnings.warn(deprecated_msg) > /openstack/venvs/nova-27.3.0/lib/python3.8/site-packages/nova/conductor/rpcapi.py(413)schedule_and_build_instances() -> cctxt = self.client.prepare(version=version) (Pdb) ---- I have attached a clip for reference. Please let me know why is pdb behaving like this ** Affects: nova Importance: Undecided Status: New -- unable to use pdb for nova https://bugs.launchpad.net/bugs/2075150 You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Compute (nova). -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp