Implement "kill" operation using python method os.kill()

Bug #1843446 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Medium
Rodolfo Alonso

Bug Description

Implement "kill" operation using python method os.kill(), instead of spawning a shell command executing "kill".

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
Bernard Cafarelli (bcafarel) wrote :

Exemple of bug that would benefit from this: https://bugs.launchpad.net/neutron/+bug/1843418
Getting kill() error codes will be much nicer than shell spawn+root+parsing error message string

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/681671

Changed in neutron:
status: New → In Progress
Miguel Lavalle (minsel)
Changed in neutron:
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by Rodolfo Alonso Hernandez (<email address hidden>) on branch: master
Review: https://review.opendev.org/681671
Reason: I've been testing this patch for a long time and I don't know why os.kill(), sometimes, acts like a blocking method. We can't use it if we don't rely on it.

I'll investigate the behavior of os.kill() before proposing again this patch.

I'll take care of the abandoned patches in favor of this one.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.0.0.0rc1

This issue was fixed in the openstack/neutron 18.0.0.0rc1 release candidate.

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Bug closed due to lack of activity, please feel free to reopen if needed.

Changed in neutron:
status: In Progress → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.