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:
blkio.throttle.write_bps_device="8:0 10485769";
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)
How reproducible:
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
Actual results:
[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]
Expected results:
This should result in a successful restart.
Additional info: