Bug #3104
closedUpgrade 2.1RC0 code breaks RRD databases on nano
0%
Description
After upgrading to 2.1-RC0 (i386) built on Tue Jul 23 09:56:03 EDT 2013 I noticed that my RRD traffic graphs are failing to generate on my Alix system. Not sure which snapshot broke it since I have updated multiple times this week and didn't notice until now.
Version 2.1-RC0 (i386)
built on Tue Jul 23 09:56:03 EDT 2013
Platform nanobsd (2g)
CPU Type Geode(TM) Integrated Processor by AMD PCS
/status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: No DS called 'inpass6' in '/var/db/rrd/wan-traffic.rrd'/usr/bin/nice -n20 /usr/local/bin/rrdtool graph /tmp/wan-traffic.rrd-month.png --start 1371957483 --end 1374635883 --step 3600 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Traffic - 1 month - 1 hour average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE:step=3600 DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE:step=3600 DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE:step=3600 DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE:step=3600 DEF:wan-in6_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass6:AVERAGE:step=3600 DEF:wan-out6_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass6:AVERAGE:step=3600 DEF:wan-in6_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock6:AVERAGE:step=3600 DEF:wan-out6_bytes_bl
Files
Updated by Jeremy L over 11 years ago
This also happened to me when upgrading from the latest stable 2.0 release to 2.1-RC1. The 2.1 build used for the upgrade was from Aug 17 2013:
built on Sat Aug 17 21:32:40 EDT 2013 FreeBSD xxx 8.3-RELEASE-p9 FreeBSD 8.3-RELEASE-p9 #0: Sat Aug 17 23:04:33 EDT 2013 root@snapshots-8_3-i386.builders.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_wrap_vga.8.i386 i386 nanobsd (4g)
Updated by Renato Botelho over 11 years ago
- Status changed from New to Feedback
The error message "No DS called 'inpass6'" means the database was not converted to new format, what happens when config is updated from version 8.0 to version 8.1. I did a good number of updates from 2.0.3 to 2.1-RC1 last days and could not reproduce the issue.
Could you share a copy of your 2.0 config.xml (removing sensitive data) containing rrd data with me? You can send me it privately if you want, just send an email to renato@pfsense.com, and I'll try to reproduce the issue here.
Updated by Chris Buechler about 11 years ago
- Status changed from Feedback to Closed
duplicate of #2159