Laine Stump
3f7cba3f5e
util: suppress unimportant ovs-vsctl errors when getting interface stats
...
commit edaf13565 modified the stats retrieval for OVS interfaces to
not fail when one of the fields was unrecognized by the ovs-vsctl
command, but ovs-vsctl was still returning an error, and libvirt was
cluttering the logs with these inconsequential error messages.
This patch modifies the GET_STAT macro to add "--if-exists" to the
ovs-vsctl command, which causes it to return an empty string (and exit
with success) if the requested statistic isn't in its database, thus
eliminating the ugly error messages from the log.
Resolves: https://bugzilla.redhat.com/1683175
Signed-off-by: Laine Stump <laine@laine.org>
2019-03-28 11:19:03 -04:00
..
2019-02-20 08:51:39 +01:00
2019-02-01 12:08:37 -05:00
2018-12-05 10:39:54 +01:00
2019-03-04 13:04:20 +01:00
2018-08-24 13:23:36 +02:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2018-09-20 10:16:38 +02:00
2018-12-14 10:47:13 +00:00
2018-09-20 10:16:39 +02:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2019-02-08 06:57:23 -05:00
2018-12-13 16:08:38 +00:00
2019-02-08 06:57:23 -05:00
2019-02-22 10:05:45 +01:00
2019-02-22 10:05:45 +01:00
2019-02-07 11:16:29 +01:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2019-02-14 14:09:38 +01:00
2018-12-14 10:47:13 +00:00
2019-03-07 13:44:52 +01:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2019-03-15 16:41:26 +01:00
2019-03-15 16:41:26 +01:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2018-12-05 10:39:54 +01:00
2018-12-14 10:47:13 +00:00
2019-01-28 14:46:58 +01:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2019-03-26 15:40:57 -05:00
2019-02-08 06:57:23 -05:00
2018-12-14 13:54:50 +01:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2019-03-14 10:05:28 +01:00
2019-03-07 10:10:45 +01:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2019-03-04 13:04:20 +01:00
2019-02-08 06:57:23 -05:00
2019-02-13 14:30:14 -05:00
2019-02-01 12:08:37 -05:00
2019-02-01 12:08:37 -05:00
2019-02-01 12:08:37 -05:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-09-20 10:16:38 +02:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2019-02-08 06:57:23 -05:00
2017-06-12 19:11:30 -04:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2019-02-07 16:17:56 +01:00
2019-02-07 11:24:09 +01:00
2019-03-19 10:01:53 +00:00
2019-03-19 10:01:53 +00:00
2018-09-24 10:02:40 +02:00
2018-12-14 10:47:13 +00:00
2019-01-25 09:21:24 -06:00
2019-02-08 06:57:23 -05:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-07-27 17:21:25 +02:00
2018-12-14 10:47:13 +00:00
2019-02-14 14:09:38 +01:00
2018-12-14 10:47:13 +00:00
2018-11-16 13:42:39 +01:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2018-12-13 16:08:38 +00:00
2019-02-08 06:57:23 -05:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2019-02-08 06:57:23 -05:00
2018-12-05 10:39:54 +01:00
2018-12-14 10:47:13 +00:00
2019-03-08 16:22:50 +01:00
2019-02-08 06:57:23 -05:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-01-15 13:00:52 +01:00
2019-02-08 06:57:23 -05:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-03-28 11:19:03 -04:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2019-02-08 06:57:23 -05:00
2019-02-14 14:09:38 +01:00
2019-02-03 17:46:29 -05:00
2019-02-08 06:57:23 -05:00
2019-02-08 06:57:23 -05:00
2017-03-27 13:13:29 +02:00
2018-12-14 10:47:13 +00:00
2019-02-14 14:09:38 +01:00
2018-12-14 10:47:13 +00:00
2019-03-15 11:10:12 -05:00
2019-03-15 11:10:12 -05:00
2019-02-03 17:46:29 -05:00
2019-02-08 06:57:23 -05:00
2019-02-03 17:46:29 -05:00
2019-02-08 06:57:23 -05:00
2018-08-07 16:29:56 +02:00
2018-12-14 10:47:13 +00:00
2018-03-14 12:46:26 +01:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2019-03-04 13:04:20 +01:00
2018-12-14 10:47:13 +00:00
2018-09-24 10:02:40 +02:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-03-12 09:53:48 +01:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2019-01-28 14:46:58 +01:00
2018-12-14 10:47:13 +00:00
2019-02-08 06:57:23 -05:00
2019-02-08 06:57:23 -05:00
2017-02-19 06:45:09 -05:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2019-02-08 06:57:23 -05:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2018-09-20 10:16:39 +02:00
2018-12-14 10:47:13 +00:00
2019-02-21 12:59:09 -05:00
2019-02-08 06:57:23 -05:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2019-03-07 10:08:47 +01:00
2019-03-04 16:54:11 +01:00
2019-03-14 10:05:28 +01:00
2018-12-14 10:47:13 +00:00
2019-03-13 14:24:18 +01:00
2019-03-13 14:24:18 +01:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2019-02-14 14:09:38 +01:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2017-12-05 11:28:19 +01:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2019-01-03 13:24:18 +01:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2019-02-14 14:09:38 +01:00
2018-12-14 10:47:13 +00:00
2019-02-03 17:46:29 -05:00
2019-02-08 06:57:23 -05:00
2019-02-03 17:46:29 -05:00
2019-02-03 17:46:29 -05:00
2018-12-13 16:08:38 +00:00
2018-12-14 10:47:13 +00:00
2017-02-19 15:47:27 +01:00
2018-12-14 10:47:13 +00:00
2018-05-29 15:42:03 +02:00
2018-12-14 10:47:13 +00:00
2018-12-14 10:47:13 +00:00
2019-03-04 13:04:20 +01:00
2019-03-20 08:17:05 +01:00