BIND 10 #294: friendlier error for incompatible/old configuration database

BIND 10 Development do-not-reply at isc.org
Tue Aug 10 18:43:42 UTC 2010


#294: friendlier error for incompatible/old configuration database
--------------------------------+-------------------------------------------
      Reporter:  jreed          |        Owner:  jelte                      
          Type:  defect         |       Status:  reviewing                  
      Priority:  major          |    Milestone:  06. 4th Incremental Release
     Component:  configuration  |   Resolution:                             
      Keywords:                 |    Sensitive:  0                          
Estimatedhours:  0.0            |        Hours:  0                          
      Billable:  1              |   Totalhours:  0.5                        
      Internal:  0              |  
--------------------------------+-------------------------------------------
Changes (by each):

  * owner:  each => jelte


Comment:

 I don't see any problems except for cosmetic ones:

 +   if config_data.BIND10_CONFIG_DATA_VERSION > file_config['version']:
 +        raise ConfigManagerDataReadError("Version of config data too
 old")
 +   else:
 +        raise ConfigManagerDataReadError("Version of config data too
 new")

 Those error messages strike me as a little terse and potentially
 confusing.  Maybe something like "Cannot load configuration file: format
 version %d is no longer supported" or "...is not yet supported"?

 Also sometimes the text says "config file" and other times "configuration
 file"; we should probably pick one or the other.

-- 
Ticket URL: <http://bind10.isc.org/ticket/294#comment:12>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list