Description of problem: Using cgsnapshot to save a configuration that includes blkio.throttle.write_bps_device will result in a line in the cgconfig.conf like:
Between the 8:0 and the 10485769 is a tab. cgconfig will complain that it can't parse this file. Replacing that tab with a space corrects the issue.
Version-Release number of selected component (if applicable):
x86_64 0.37 3.el6 (This is actually CentOS version)
Steps to Reproduce:
1. Start with a cgconfig that uses blkio
2. echo "8:0 10485769" > blkio.throttle.write_bps_device
3. cgsnapshot -s > /etc/cgconfig.conf
4. service cgconfig restart
[root@air /]# service cgconfig restart
Stopping cgconfig service: [ OK ]
Starting cgconfig service: Loading configuration file /etc/cgconfig.conf failed
Value setting does not succeed
Failed to parse /etc/cgconfig.conf [FAILED]
This should result in a successful restart.