Project

General

Profile

Bug #28470

Display graphs for network interfaces with a colon in the interface name

Added by Vasco Dunker about 1 year ago. Updated 10 months ago.

Status:
Done
Priority:
No priority
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:

ASRock E3C224D4I-14S
Intel Core i3-4130
4x 8 GB KVR1333D3E9SK2 (1333Mhz) (ECC)
6 x WD Red 6TB in a raidz2
boot: SanDisk Z400a SSD 32GB

ChangeLog Required:
No

Description

I got problems with corrupt networking graphics in reporting (old ui).
The reporting graphic for vlan0 is not displayed.

The not working links are:
http://192.168.178.126/reporting/generate/?unit=weekly&plugin=interface&step=0&identifier=vnet0%3A2&cache=1518534675183
http://192.168.178.126/reporting/generate/?unit=hourly&plugin=interface&step=0&identifier=vnet0%3A3&cache=1518534662962
http://192.168.178.126/reporting/generate/?unit=hourly&plugin=interface&step=0&identifier=vnet0%3A4&cache=1518534662963
http://192.168.178.126/reporting/generate/?unit=hourly&plugin=interface&step=0&identifier=vnet0%3A5&cache=1518534662966
http://192.168.178.126/reporting/generate/?unit=hourly&plugin=interface&step=0&identifier=vnet0%3A7&cache=1518534662968
http://192.168.178.126/reporting/generate/?unit=hourly&plugin=interface&step=0&identifier=vnet0%3A9&cache=1518534662968
I can see only the "broken-image-thumbnail".

additionally: everytime i enter "Reporting" in the old ui i get a msg in the logs:

Feb 13 16:11:13 thingtank uwsgi: [reporting.rrd:163] Failed to generate graph: b'ERROR: bad CF: rx\n'
Feb 13 16:11:14 thingtank uwsgi: [reporting.rrd:163] Failed to generate graph: b'ERROR: bad CF: rx\n'
Feb 13 16:11:14 thingtank uwsgi: [reporting.rrd:163] Failed to generate graph: b'ERROR: bad CF: rx\n'
Feb 13 16:11:14 thingtank uwsgi: [reporting.rrd:163] Failed to generate graph: b'ERROR: bad CF: rx\n'
Feb 13 16:11:14 thingtank uwsgi: [reporting.rrd:163] Failed to generate graph: b'ERROR: bad CF: rx\n'
Feb 13 16:11:15 thingtank uwsgi: [reporting.rrd:163] Failed to generate graph: b'ERROR: bad CF: rx\n'

But i can't find any other problems with this error.

I am using 11.1.U1 and these tuneables: https://forums.freenas.org/index.php?threads/iocage-vnet0-and-bridge0.59964/#post-430322 . (iocage: CouchPotato, SickRage, SABnzbd, Unifi Controller, IObroker, Tautulli, Plex (Plugin), LogitechmediaServer, jdownloader)

Associated revisions

Revision 3352fc27 (diff)
Added by William Grzybowski about 1 year ago

fix(gui): showing graphs with colon in the interface name

Ticket: #28470

Revision b3f936e5 (diff)
Added by William Grzybowski about 1 year ago

fix(rc): do not add interfaces with a colon to rc.conf

Ticket: #28470

Revision c9f9c038 (diff)
Added by William Grzybowski about 1 year ago

fix(gui): showing graphs with colon in the interface name

Ticket: #28470

Revision d6a3bce1 (diff)
Added by William Grzybowski about 1 year ago

fix(rc): do not add interfaces with a colon to rc.conf

Ticket: #28470

History

#1 Updated by Dru Lavigne about 1 year ago

  • Private changed from No to Yes
  • Reason for Blocked set to Need additional information

Vasco: please attach a debug (System -> Advanced -> Save Debug) to assist the dev in finding the cause of the issue.

#2 Updated by Dru Lavigne about 1 year ago

  • Seen in changed from 11.1-U1 to 11.1-U1

#3 Updated by Vasco Dunker about 1 year ago

  • File debug-thingtank-20180213174230.tgz added

Dru Lavigne wrote:

Vasco: please attach a debug (System -> Advanced -> Save Debug) to assist the dev in finding the cause of the issue.

Ok. Here is the debug.

#4 Updated by Dru Lavigne about 1 year ago

  • Category set to Middleware
  • Assignee changed from Release Council to William Grzybowski
  • Target version changed from 11.1-U1 to 11.2-RC2

#5 Updated by William Grzybowski about 1 year ago

  • Status changed from Not Started to Blocked
  • Reason for Blocked changed from Need additional information to Waiting for feedback

This seems like a broken RRD file.

Can you try removing these files?

# rm -rf /var/db/collectd/rrd/localhost/interface-vnet0
# service collectd restart

#6 Updated by William Grzybowski about 1 year ago

ping

#7 Updated by Vasco Dunker about 1 year ago

Tried it.

rm -rf /var/db/collectd/rrd/localhost/interface-vnet0
service collectd restart
/var/tmp/rc.conf.freenas: ifconfig_vnet0:2=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:3=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:4=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:5=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:7=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:9=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:2=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:3=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:4=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:5=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:7=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:9=DHCP: not found
Stopping collectd.
Waiting for PIDS: 6249.
Starting collectd.
plugin_load: plugin "aggregation" successfully loaded.
plugin_load: plugin "cpu" successfully loaded.
plugin_load: plugin "cputemp" successfully loaded.
plugin_load: plugin "ctl" successfully loaded.
plugin_load: plugin "df" successfully loaded.
plugin_load: plugin "disk" successfully loaded.
plugin_load: plugin "exec" successfully loaded.
plugin_load: plugin "geom_stat" successfully loaded.
plugin_load: plugin "interface" successfully loaded.
plugin_load: plugin "load" successfully loaded.
plugin_load: plugin "memory" successfully loaded.
plugin_load: plugin "network" successfully loaded.
plugin_load: plugin "processes" successfully loaded.
plugin_load: plugin "rrdtool" successfully loaded.
plugin_load: plugin "swap" successfully loaded.

All reported errors still available.
BTW: all my graphs are always reset during reboot. So there is no pre reboot history. Perhaps my errors have something to do with that?

#8 Updated by William Grzybowski about 1 year ago

Lets try a similar thing

  1. service collectd stop
  2. rm -rf /var/db/collectd/rrd/localhost/interface-vnet0
  3. service collectd start

#9 Updated by Vasco Dunker about 1 year ago

No change. The additional stop command gives me:

service collectd stop
/var/tmp/rc.conf.freenas: ifconfig_vnet0:2=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:3=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:4=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:5=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:7=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:9=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:2=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:3=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:4=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:5=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:7=DHCP: not found
/var/tmp/rc.conf.freenas: ifconfig_vnet0:9=DHCP: not found
Stopping collectd.
Waiting for PIDS: 80764.

#10 Updated by William Grzybowski about 1 year ago

Can you get me the output of: ls /var/db/collectd/rrd/localhost/

#11 Updated by William Grzybowski about 1 year ago

Nevermind, managed to reprouce it : )

#12 Updated by William Grzybowski about 1 year ago

  • Status changed from Blocked to In Progress
  • Reason for Blocked deleted (Waiting for feedback)
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#13 Updated by Vasco Dunker about 1 year ago

ls /var/db/collectd/rrd/localhost/
aggregation-cpu-average
aggregation-cpu-max
aggregation-cpu-min
aggregation-cpu-num
aggregation-cpu-stddev
aggregation-cpu-sum
cpu-0
cpu-1
cpu-2
cpu-3
cputemp-0
cputemp-1
cputemp-2
cputemp-3
ctl-ioctl
ctl-tpc
df-mnt-CAVE
df-mnt-CAVE-.vm_cache
df-mnt-CAVE-.vm_cache-boot2docker
df-mnt-CAVE-.vm_cache-boot2docker-initrd
df-mnt-CAVE-.vm_cache-boot2docker-vmlinuz64
df-mnt-CAVE-.vm_cache-boot2docker-vmlinuz64_old0
df-mnt-CAVE-Audio
df-mnt-CAVE-Download
df-mnt-CAVE-Fotos
df-mnt-CAVE-iocage
df-mnt-CAVE-iocage-download
df-mnt-CAVE-iocage-download-11.1-RELEASE
df-mnt-CAVE-iocage-images
df-mnt-CAVE-iocage-jails
df-mnt-CAVE-iocage-jails-iobroker_v1
df-mnt-CAVE-iocage-jails-iobroker_v1-root
df-mnt-CAVE-iocage-jails-logitechmediaserver
df-mnt-CAVE-iocage-jails-logitechmediaserver-root
df-mnt-CAVE-iocage-jails-unifi
df-mnt-CAVE-iocage-jails-unifi-root
df-mnt-CAVE-iocage-log
df-mnt-CAVE-iocage-releases
df-mnt-CAVE-iocage-releases-11.1-RELEASE
df-mnt-CAVE-iocage-releases-11.1-RELEASE-root
df-mnt-CAVE-iocage-templates
df-mnt-CAVE-jail_configs
df-mnt-CAVE-jails
df-mnt-CAVE-jails-.warden-template-centos-6.4
df-mnt-CAVE-jails-.warden-template-debian-7.1.0
df-mnt-CAVE-jails-.warden-template-pluginjail-11.0-x64
df-mnt-CAVE-jails-.warden-template-pluginjail-9.2-x64
df-mnt-CAVE-jails-.warden-template-Portjail_vasco
df-mnt-CAVE-jails-.warden-template-portjail-9.2-x64
df-mnt-CAVE-jails-.warden-template-standard--x64
df-mnt-CAVE-jails-.warden-template-standard--x86
df-mnt-CAVE-jails-.warden-template-standard-10.3-x64
df-mnt-CAVE-jails-.warden-template-standard-11.0-x64
df-mnt-CAVE-jails-.warden-template-standard-11.0-x64-20180102174139
df-mnt-CAVE-jails-.warden-template-standard-11.0-x64-20180107122705
df-mnt-CAVE-jails-.warden-template-standard-11.0-x64-20180201215730
df-mnt-CAVE-jails-.warden-template-standard-9.2-x64
df-mnt-CAVE-jails-.warden-template-standard-9.3-x64
df-mnt-CAVE-jails-.warden-template-suse-12.3
df-mnt-CAVE-jails-.warden-template-ubuntu-13.04
df-mnt-CAVE-jails-Gdrive
df-mnt-CAVE-jails-iobroker
df-mnt-CAVE-jails-ioBroker
df-mnt-CAVE-jails-iobroker-manual-20180102-clone
df-mnt-CAVE-Public
df-mnt-CAVE-Smarthome
df-mnt-CAVE-Videos
df-root
disk-ada0
disk-da0
disk-da1
disk-da2
disk-da3
disk-da4
disk-da5
geom_stat
interface-bridge0
interface-igb0
interface-igb1
interface-vnet0:2
interface-vnet0:3
interface-vnet0:4
interface-vnet0:5
interface-vnet0:7
interface-vnet0:9
load
memory
processes
swap
uptime
zfs_arc
zfs_arc_v2

The old warden /.../jails/ folders were no longer used. Perhaps i should delete them?

#14 Updated by William Grzybowski about 1 year ago

  • Status changed from In Progress to Done

#15 Updated by William Grzybowski about 1 year ago

Fix has been committed, it will be available in 11.2. Thanks for the promptly feedback.

#16 Updated by Dru Lavigne about 1 year ago

  • File deleted (debug-thingtank-20180213174230.tgz)

#17 Updated by Dru Lavigne about 1 year ago

  • Subject changed from reporting of network broken and error msg to Display graphs for network interfaces with a colon in the interface name
  • Private changed from Yes to No

#18 Updated by Dru Lavigne about 1 year ago

  • Target version changed from 11.2-RC2 to 11.2-BETA1

#19 Updated by Dru Lavigne 12 months ago

  • Status changed from Done to Ready for Testing

#20 Updated by Eric Turgeon 10 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Severity set to New
  • Needs QA changed from Yes to No

From FreeNAS-11.2-MASTER-201806191350-4d34a765b networking graphics in reporting from old and new UI work properly.

#21 Updated by Dru Lavigne 10 months ago

  • Status changed from Passed Testing to Done

Also available in: Atom PDF