Project

General

Profile

Actions

Bug #2159

closed
SM

Upgrade code breaks RRD databases on nano

Bug #2159: Upgrade code breaks RRD databases on nano

Added by Seth Mos over 14 years ago. Updated about 13 years ago.

Status:
Resolved
Priority:
High
Assignee:
-
Category:
RRD Graphs
Target version:
Start date:
02/01/2012
Due date:
% Done:

100%

Estimated time:
3.00 h
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:

Description

Feb 1 20:28:40 php: /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-day.png --start 1328038117 --end 1328124517 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Traffic - 1 day - 5 minutes average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE DEF:wan-in6_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass6:AVERAGE DEF:wan-out6_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass6:AVERAGE DEF:wan-in6_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock6:AVERAGE DEF:wan-out6_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock6:AVERAGE CDEF:"wan-in_bits_pass=wan-in_byte

Upgrade code fails to upgrade RRD database on 2.1 which results in broken databases. This is a Alix with nanobsd

SM Updated by Seth Mos over 14 years ago Actions #1

  • Status changed from New to Resolved

This was fixed by the upgrade fixes that also affected 1.2.3 to 2.0 upgrades on alix systems.

CB Updated by Chris Buechler over 14 years ago Actions #2

  • Target version changed from 8 to 2.1
  • Affected Version changed from 2.1-IPv6 to 2.1

RK Updated by Robert Keevil almost 14 years ago Actions #3

I've just run into this after upgrading from 2.0 to 2.1 (WebGUI upgrade using pfSense-2.1-BETA1-1g-i386-nanobsd-upgrade-20121212-1059.img.gz). It's an Alix system.

Dec 14 00:25:19 php: /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-day.png --start 1355379919 --end 1355466319 --vertical-label "bits/sec" --color SHADEA#eeeeee --color SHADEB#eeeeee --title "`hostname` - WAN :: Traffic - 1 day - 5 minutes average" --height 200 --width 620 DEF:wan-in_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass:AVERAGE DEF:wan-out_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass:AVERAGE DEF:wan-in_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock:AVERAGE DEF:wan-out_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock:AVERAGE DEF:wan-in6_bytes_pass=/var/db/rrd/wan-traffic.rrd:inpass6:AVERAGE DEF:wan-out6_bytes_pass=/var/db/rrd/wan-traffic.rrd:outpass6:AVERAGE DEF:wan-in6_bytes_block=/var/db/rrd/wan-traffic.rrd:inblock6:AVERAGE DEF:wan-out6_bytes_block=/var/db/rrd/wan-traffic.rrd:outblock6:AVERAGE CDEF:"wan-in_bits_pass=wan-in_byte

Updated by Anonymous about 13 years ago Actions #4

I have also encountered this issue after upgrading tonight with 2.1-RC0 (i386) built on Tue Jul 23 09:56:03 EDT 2013. Not sure which snapshot broke it since I have updated multiple times this week and didn't notice until now.

/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

Updated by Anonymous about 13 years ago Actions #5

I am also running nanobsd on a alix system

CB Updated by Chris Buechler about 13 years ago Actions #6

  • Status changed from Resolved to New
  • Priority changed from Normal to High

this regressed at some point. Current status same as in original.

RB Updated by Renato Botelho about 13 years ago Actions #7

  • Status changed from New to Feedback
  • % Done changed from 0 to 100

Applied in changeset commit:42ec9337ea432906c7fa9ee99f763946fd974e3c.

RB Updated by Renato Botelho about 13 years ago Actions #8

Applied in changeset commit:7ca8bef40e29d1a4ef7a641141401f51297cc101.

CB Updated by Chris Buechler about 13 years ago Actions #9

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom