Run ns-metadata-proxy process cleanup handler failures

Bug #1603136 reported by Travis Truman
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Undecided
Jimmy McCrory

Bug Description

When running OSA master version bc9b6520ad8cac40fe7e1e7b79841fe6a8281904 with neutron_plugin_type: ml2.ovs, when executing the os-neutron-install.yml play I am seeing the following task errors:

RUNNING HANDLER [os_neutron : Run ns-metadata-proxy process cleanup] ***********
changed: [comp2.oslab]

cmd: for ns_pid in $(pgrep neutron-ns-meta); do
 (echo $(readlink -f "/proc/$ns_pid/exe") | grep -qv "master") && (echo "old metadata proxy pid found running clean up on $ns_pid"; kill -9 "$ns_pid")
 done

changed: [man2.oslab_neutron_server_container-ed57da38]

cmd: for ns_pid in $(pgrep neutron-ns-meta); do
 (echo $(readlink -f "/proc/$ns_pid/exe") | grep -qv "master") && (echo "old metadata proxy pid found running clean up on $ns_pid"; kill -9 "$ns_pid")
 done

changed: [comp1.oslab]

cmd: for ns_pid in $(pgrep neutron-ns-meta); do
 (echo $(readlink -f "/proc/$ns_pid/exe") | grep -qv "master") && (echo "old metadata proxy pid found running clean up on $ns_pid"; kill -9 "$ns_pid")
 done

changed: [man1.oslab_neutron_server_container-5c141d2e]

cmd: for ns_pid in $(pgrep neutron-ns-meta); do
 (echo $(readlink -f "/proc/$ns_pid/exe") | grep -qv "master") && (echo "old metadata proxy pid found running clean up on $ns_pid"; kill -9 "$ns_pid")
 done

fatal: [man1.oslab_neutron_agents_container-2250262c]: FAILED! => {"changed": true, "cmd": "for ns_pid in $(pgrep neutron-ns-meta); do\n (echo $(readlink -f \"/proc/$ns_pid/exe\") | grep -qv \"master\") && (echo \"old metadata proxy pid found running clean up on $ns_pid\"; kill -9 \"$ns_pid\")\n done", "delta": "0:00:00.013621", "end": "2016-07-14 15:19:47.713461", "failed": true, "rc": 1, "start": "2016-07-14 15:19:47.699840", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}

fatal: [man2.oslab_neutron_agents_container-1e003526]: FAILED! => {"changed": true, "cmd": "for ns_pid in $(pgrep neutron-ns-meta); do\n (echo $(readlink -f \"/proc/$ns_pid/exe\") | grep -qv \"master\") && (echo \"old metadata proxy pid found running clean up on $ns_pid\"; kill -9 \"$ns_pid\")\n done", "delta": "0:00:00.012951", "end": "2016-07-14 15:19:47.909162", "failed": true, "rc": 1, "start": "2016-07-14 15:19:47.896211", "stderr": "", "stdout": "", "stdout_lines": [], "warnings": []}

description: updated
Changed in openstack-ansible:
assignee: nobody → Travis Truman (travis-truman)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (master)

Fix proposed to branch: master
Review: https://review.openstack.org/342925

Changed in openstack-ansible:
status: New → In Progress
Changed in openstack-ansible:
assignee: Travis Truman (travis-truman) → Jimmy McCrory (jimmy-mccrory)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_neutron (master)

Reviewed: https://review.openstack.org/342925
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_neutron/commit/?id=30899b83683242e2346cbab4413409d1ea49ea5e
Submitter: Jenkins
Branch: master

commit 30899b83683242e2346cbab4413409d1ea49ea5e
Author: Travis Truman <email address hidden>
Date: Fri Jul 15 11:19:49 2016 -0400

    Fix handler case where no old process is found

    In cases where no old process was found, the shell
    command was exiting 1 and causing the handler to report
    a failure.

    Change-Id: Ic1701f7495abdec713c05d2c95bfdd1e7b1ff73d
    Closes-Bug: #1603136

Changed in openstack-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-ansible-os_neutron (stable/mitaka)

Fix proposed to branch: stable/mitaka
Review: https://review.openstack.org/347998

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-os_neutron (stable/mitaka)

Reviewed: https://review.openstack.org/347998
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-os_neutron/commit/?id=ba7b2c88cd966da3187ea3b4ec88211d94afcb42
Submitter: Jenkins
Branch: stable/mitaka

commit ba7b2c88cd966da3187ea3b4ec88211d94afcb42
Author: Travis Truman <email address hidden>
Date: Fri Jul 15 11:19:49 2016 -0400

    Fix handler case where no old process is found

    In cases where no old process was found, the shell
    command was exiting 1 and causing the handler to report
    a failure.

    Change-Id: Ic1701f7495abdec713c05d2c95bfdd1e7b1ff73d
    Closes-Bug: #1603136
    (cherry picked from commit 30899b83683242e2346cbab4413409d1ea49ea5e)

tags: added: in-stable-mitaka
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible-os_neutron 14.0.0.0b2

This issue was fixed in the openstack/openstack-ansible-os_neutron 14.0.0.0b2 development milestone.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible-os_neutron 13.3.1

This issue was fixed in the openstack/openstack-ansible-os_neutron 13.3.1 release.

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.