[openstack-dev] Deprecation of config variables

Russell Bryant rbryant at redhat.com
Tue Apr 1 13:24:29 UTC 2014


On 04/01/2014 08:40 AM, Parthipan, Loganathan wrote:
> Hello,
> 
>  
> 
> What’s the definition of deprecation of config variables in Openstack?
> I’d have thought that the new variables would be usable during the grace
> period. But it looks like that’s not the case.
> 
>  
> 
> For instance, currently libvirt_type is deprecated and virt_type is the
> new variable. However, only libvirt_type is read and virt_type is ignored.

You may have just mixed up the sections the options go in.

    [libvirt]
    # Libvirt domain type (valid options are: kvm, lxc, qemu, uml,
    # xen) (string value)
    # Deprecated group/name - [DEFAULT]/libvirt_type
    #virt_type=kvm

So, the old option was:

    [DEFAULT]
    libvirt_type=kvm

The new option is:

    [libvirt]
    virt_type=kvm

-- 
Russell Bryant



More information about the OpenStack-dev mailing list