appliance fails to run astara-gratuitous-arp command due to rootwrap failure

Bug #1555816 reported by Adam Gandelman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Astara
Fix Released
High
Adam Gandelman

Bug Description

reported by stupidnic in irc:

when the appliance invokes astara-gratuitous-arp, the config update fails with:

2016-03-09 19:50:36.356 12925 ERROR ak-router-82635f1b-a5dd-49d8-92e4-f9be3676c45e File "/usr/local/lib/python2.7/dist-packages/astara_router/utils.py", line 46, in execute
2016-03-09 19:50:36.356 12925 ERROR ak-router-82635f1b-a5dd-49d8-92e4-f9be3676c45e raise RuntimeError('%s: %s' % (e, e.output))
2016-03-09 19:50:36.356 12925 ERROR ak-router-82635f1b-a5dd-49d8-92e4-f9be3676c45e RuntimeError: Command '['sudo', 'astara-rootwrap', '/etc/rootwrap.conf', 'astara-gratuitous-arp', 'eth1', '162.220.49.26']' returned non-zero exit status 99: /usr/local/bin/astara-rootwrap: Unauthorized command: astara-gratuitous-arp eth1 162.220.49.26 (no filter matched)

Looks like the original rootwrap filters missed this command.

Changed in astara:
milestone: none → mitaka-rc1
importance: Undecided → Medium
importance: Medium → Low
importance: Low → High
Changed in astara:
status: New → In Progress
Revision history for this message
Adam Gandelman (gandelman-a) wrote :
Changed in astara:
assignee: nobody → Adam Gandelman (gandelman-a)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to astara-appliance (master)

Reviewed: https://review.openstack.org/291441
Committed: https://git.openstack.org/cgit/openstack/astara-appliance/commit/?id=5635065c2e754ec7304cb34629eaebab06ebde4f
Submitter: Jenkins
Branch: master

commit 5635065c2e754ec7304cb34629eaebab06ebde4f
Author: Adam Gandelman <email address hidden>
Date: Thu Mar 10 13:19:39 2016 -0800

    Add missing rootwrap filter for astara-gratuitous-arp

    This was missing in the original rootwrap addition.

    Closes-bug: #1555816
    Change-Id: I8569ec89cd3a9763b497fa82206463906b7aebc3

Changed in astara:
status: In Progress → Fix Released
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.