Bug 1511592
Summary: | l3agent can not kill keepalived process due to rootwrap filter when keepalived gets updated | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Martin Schuppert <mschuppe> |
Component: | python-oslo-rootwrap | Assignee: | Hervé Beraud <hberaud> |
Status: | CLOSED ERRATA | QA Contact: | pkomarov |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 10.0 (Newton) | CC: | amuller, apevec, bperkins, chjones, chrisw, dabarzil, fdinitto, gkadam, hberaud, ihrachys, jamsmith, jlibosva, lhh, michele, mschuppe, nyechiel, ojanas, pablo.iranzo, pkomarov, sandyada, srevivo, ushkalim, vstinner |
Target Milestone: | --- | Keywords: | Triaged, ZStream |
Target Release: | 10.0 (Newton) | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | python-oslo-rootwrap-5.1.2-2.el7ost | Doc Type: | Bug Fix |
Doc Text: |
Previously, after a service upgrade, 'oslo.rootwrap' was unable to stop the service any more as the executable was replaced (renamed).
With this update, the executables are renamed to use '/proc/$pid/cmdline' if it exists instead of '/proc/$pid/exe'. As a result, 'oslo.rootwrap' is now able to stop a service properly after an upgrade, even when the executable is replaced (renamed).
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-01-16 17:09:07 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Martin Schuppert
2017-11-09 16:11:39 UTC
Ihar found a fix in upstream that was merged to Ocata. We probably need a backport to Newton. (In reply to Jakub Libosvar from comment #2) > Ihar found a fix in upstream that was merged to Ocata. We probably need a > backport to Newton. How about older releases? It seems we have the same filter e.g. in OSP9 (In reply to Martin Schuppert from comment #3) > (In reply to Jakub Libosvar from comment #2) > > Ihar found a fix in upstream that was merged to Ocata. We probably need a > > backport to Newton. > > How about older releases? It seems we have the same filter e.g. in OSP9 Good point. After we confirm we have a fix, we'll need to clone this BZ to all other older releases. (In reply to Jakub Libosvar from comment #2) > Ihar found a fix in upstream that was merged to Ocata. We probably need a > backport to Newton. Ihar, which is the one merged in Ocata? the one linked to this bz is not yet merged Hey James, Doc text added Best Verified, [stack@undercloud-0 ~]$ rhos-release -L Installed repositories (rhel-7.6): 10 ceph-2 ceph-osd-2 rhel-7.6 [stack@undercloud-0 ~]$ cat core_puddle_version 2018-12-13.1[stack@undercloud-0 ~]$ openstack router create --disable tr openstack router set --enable tr [stack@undercloud-0 ~]$ neutron l3-agent-list-hosting-router tr +--------------------------------------+--------------------------+----------------+-------+----------+ | id | host | admin_state_up | alive | ha_state | +--------------------------------------+--------------------------+----------------+-------+----------+ | 822898a6-97be-4284-a441-024e2ef5aad6 | controller-1.localdomain | True | :-) | active | | bd199043-84eb-45fe-a103-32404b1c1426 | controller-0.localdomain | True | :-) | standby | +--------------------------------------+--------------------------+----------------+-------+----------+ #downgrade: yum downgrade ./keepalived-1.2.13-9.el7_3.1.x86_64.rpm Removed: keepalived.x86_64 0:1.3.5-5.el7 Installed: keepalived.x86_64 0:1.2.13-9.el7_3.1 [stack@undercloud-0 ~]$ neutron l3-agent-list-hosting-router tr +--------------------------------------+--------------------------+----------------+-------+----------+ | id | host | admin_state_up | alive | ha_state | +--------------------------------------+--------------------------+----------------+-------+----------+ | 822898a6-97be-4284-a441-024e2ef5aad6 | controller-1.localdomain | True | :-) | active | | bd199043-84eb-45fe-a103-32404b1c1426 | controller-0.localdomain | True | :-) | standby | +--------------------------------------+--------------------------+----------------+-------+----------+ [stack@undercloud-0 ~]$ neutron l3-agent-router-remove 822898a6-97be-4284-a441-024e2ef5aad6 tr Removed router tr from L3 agent #monitorring of l3agent logs while router was removed shows no errors: 2018-12-17 07:59:20.213 128617 DEBUG oslo_service.periodic_task [req-45968e44-b112-46fc-8810-8c6c1e837155 - - - - -] Running periodic task L3NATAgentWithStateReport.periodic_sync_routers_task run_periodic_tasks /usr/lib/python2.7/site-packages/oslo_service/periodic_task.py:215 2018-12-17 07:59:33.487 128617 DEBUG oslo_messaging._drivers.amqpdriver [-] CALL msg_id: ef0e60e393c941a480f1290a6609309a exchange 'neutron' topic 'q-reports-plugin' _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:568 2018-12-17 07:59:33.493 128617 DEBUG oslo_concurrency.lockutils [-] Lock "_check_child_processes" acquired by "neutron.agent.linux.external_process._check_child_processes" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270 2018-12-17 07:59:33.494 128617 DEBUG oslo_concurrency.lockutils [-] Lock "_check_child_processes" released by "neutron.agent.linux.external_process._check_child_processes" :: held 0.001s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282 2018-12-17 07:59:33.495 128617 DEBUG oslo_concurrency.lockutils [-] Lock "_check_child_processes" acquired by "neutron.agent.linux.external_process._check_child_processes" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270 2018-12-17 07:59:33.495 128617 DEBUG oslo_concurrency.lockutils [-] Lock "_check_child_processes" released by "neutron.agent.linux.external_process._check_child_processes" :: held 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282 2018-12-17 07:59:33.512 128617 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: ef0e60e393c941a480f1290a6609309a __call__ /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:416 2018-12-17 08:00:00.214 128617 DEBUG oslo_service.periodic_task [req-45968e44-b112-46fc-8810-8c6c1e837155 - - - - -] Running periodic task L3NATAgentWithStateReport.periodic_sync_routers_task run_periodic_tasks /usr/lib/python2.7/site-packages/oslo_service/periodic_task.py:215 2018-12-17 08:00:03.485 128617 DEBUG oslo_messaging._drivers.amqpdriver [-] CALL msg_id: 0ee52e48984940a48124351c3b8d1e51 exchange 'neutron' topic 'q-reports-plugin' _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:568 2018-12-17 08:00:03.511 128617 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: 0ee52e48984940a48124351c3b8d1e51 __call__ /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:416 2018-12-17 08:00:33.483 128617 DEBUG oslo_messaging._drivers.amqpdriver [-] CALL msg_id: fa7e084e06a44ce0bcca74876c346f12 exchange 'neutron' topic 'q-reports-plugin' _send /usr/lib/python2.7/site-packages/oslo_messaging/_drivers/amqpdriver.py:568 2018-12-17 08:00:33.493 128617 DEBUG oslo_concurrency.lockutils [-] Lock "_check_child_processes" acquired by "neutron.agent.linux.external_process._check_child_processes" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270 2018-12-17 08:00:33.494 128617 DEBUG oslo_concurrency.lockutils [-] Lock "_check_child_processes" released by "neutron.agent.linux.external_process._check_child_processes" :: held 0.002s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282 2018-12-17 08:00:33.495 128617 DEBUG oslo_concurrency.lockutils [-] Lock "_check_child_processes" acquired by "neutron.agent.linux.external_process._check_child_processes" :: waited 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:270 2018-12-17 08:00:33.495 128617 DEBUG oslo_concurrency.lockutils [-] Lock "_check_child_processes" released by "neutron.agent.linux.external_process._check_child_processes" :: held 0.000s inner /usr/lib/python2.7/site-packages/oslo_concurrency/lockutils.py:282 2018-12-17 08:00:33.514 128617 DEBUG oslo_messaging._drivers.amqpdriver [-] received reply msg_id: fa7e084e06a44ce0bcca74876c346f12 __call__ /usr/lib/python2.7/site-packages/oslo_m Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0075 |