yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #22067
[Bug 1372664] [NEW] set log_fail_as_error=False when checking ipsec status
Public bug reported:
Currently the logs are littered with error messages telling us that
Pluto is not running when get_status is called. This is expected thus
we shouldn't be logging this as an error.
2014-09-22 09:42:41.243 30202 ERROR neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-1a88d2e1-1628-4422-83da-c0c2a75102a4', 'ipsec', 'whack', '--ctlbase', '/opt/stack/data/neutron/ipsec/1a88d2e1-1628-4422-83da-c0c2a75102a4/var/run/pluto', '--status']
Exit code: 1
Stdout: ''
Stderr: 'whack: Pluto is not running (no "/opt/stack/data/neutron/ipsec/1a88d2e1-1628-4422-83da-c0c2a75102a4/var/run/pluto.ctl")\n'
2014-09-22 09:42:48.219 30202 ERROR neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-990b7ff0-ed6d-4460-807b-9602031fab03', 'ipsec', 'whack', '--ctlbase', '/opt/stack/data/neutron/ipsec/990b7ff0-ed6d-4460-807b-9602031fab03/var/run/pluto', '--status']
Exit code: 1
Stdout: ''
Stderr: 'whack: Pluto is not running (no "/opt/stack/data/neutron/ipsec/990b7ff0-ed6d-4460-807b-9602031fab03/var/run/pluto.ctl")\n'
2014-09-22 09:42:56.128 30202 ERROR neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-1a88d2e1-1628-4422-83da-c0c2a75102a4', 'ipsec', 'whack', '--ctlbase', '/opt/stack/data/neutron/ipsec/1a88d2e1-1628-4422-83da-c0c2a75102a4/var/run/pluto', '--status']
** Affects: neutron
Importance: Undecided
Assignee: Aaron Rosen (arosen)
Status: In Progress
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1372664
Title:
set log_fail_as_error=False when checking ipsec status
Status in OpenStack Neutron (virtual network service):
In Progress
Bug description:
Currently the logs are littered with error messages telling us that
Pluto is not running when get_status is called. This is expected thus
we shouldn't be logging this as an error.
2014-09-22 09:42:41.243 30202 ERROR neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-1a88d2e1-1628-4422-83da-c0c2a75102a4', 'ipsec', 'whack', '--ctlbase', '/opt/stack/data/neutron/ipsec/1a88d2e1-1628-4422-83da-c0c2a75102a4/var/run/pluto', '--status']
Exit code: 1
Stdout: ''
Stderr: 'whack: Pluto is not running (no "/opt/stack/data/neutron/ipsec/1a88d2e1-1628-4422-83da-c0c2a75102a4/var/run/pluto.ctl")\n'
2014-09-22 09:42:48.219 30202 ERROR neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-990b7ff0-ed6d-4460-807b-9602031fab03', 'ipsec', 'whack', '--ctlbase', '/opt/stack/data/neutron/ipsec/990b7ff0-ed6d-4460-807b-9602031fab03/var/run/pluto', '--status']
Exit code: 1
Stdout: ''
Stderr: 'whack: Pluto is not running (no "/opt/stack/data/neutron/ipsec/990b7ff0-ed6d-4460-807b-9602031fab03/var/run/pluto.ctl")\n'
2014-09-22 09:42:56.128 30202 ERROR neutron.agent.linux.utils [-]
Command: ['sudo', '/usr/local/bin/neutron-rootwrap', '/etc/neutron/rootwrap.conf', 'ip', 'netns', 'exec', 'qrouter-1a88d2e1-1628-4422-83da-c0c2a75102a4', 'ipsec', 'whack', '--ctlbase', '/opt/stack/data/neutron/ipsec/1a88d2e1-1628-4422-83da-c0c2a75102a4/var/run/pluto', '--status']
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1372664/+subscriptions
Follow ups
References