components/openstack/cinder/files/cinder-upgrade
changeset 6849 f9a2279efa0d
parent 5722 255021c1e96c
equal deleted inserted replaced
6848:8e252a37ed0d 6849:f9a2279efa0d
    28     move_conf
    28     move_conf
    29 
    29 
    30 
    30 
    31 CINDER_CONF_MAPPINGS = {
    31 CINDER_CONF_MAPPINGS = {
    32     # Deprecated group/name
    32     # Deprecated group/name
    33     ('DEFAULT', 'eqlx_chap_password'): ('DEFAULT', 'chap_password'),
    33     ('DEFAULT', 'host'): ('BACKEND', 'backend_host'),
    34     ('DEFAULT', 'eqlx_use_chap'): ('DEFAULT', 'use_chap_auth'),
    34     ('DEFAULT', 'glusterfs_sparsed_volumes'):
    35     ('DEFAULT', 'eqlx_chap_login'): ('DEFAULT', 'chap_username'),
    35         ('DEFAULT', 'nas_volume_prov_type'),
    36     ('DEFAULT', 'host'): ('DEFAULT', 'backend_host'),
    36     ('DEFAULT', 'glusterfs_qcow2_volumes'):
    37     ('DEFAULT', 'db_backend'): ('database', 'backend'),
    37         ('DEFAULT', 'nas_volume_prov_type'),
    38     ('DEFAULT', 'qpid_hostname'):
    38     ('DEFAULT', 'rpc_thread_pool_size'):
    39         ('oslo_messaging_qpid', 'qpid_hostname'),
    39         ('DEFAULT', 'executor_thread_pool_size'),
    40     ('DEFAULT', 'qpid_port'):
    40     ('DEFAULT', 'netapp_volume_list'):
    41         ('oslo_messaging_qpid', 'qpid_port'),
    41         ('DEFAULT', 'netapp_pool_name_search_pattern'),
    42     ('DEFAULT', 'qpid_hosts'):
    42     ('DEFAULT', 'netapp_storage_pools'):
    43         ('oslo_messaging_qpid', 'qpid_hosts'),
    43         ('DEFAULT', 'netapp_pool_name_search_pattern'),
    44     ('DEFAULT', 'qpid_username'):
    44     ('DEFAULT', 'netapp_eseries_host_type'):
    45         ('oslo_messaging_qpid', 'qpid_username'),
    45         ('DEFAULT', 'netapp_host_type'),
    46     ('DEFAULT', 'qpid_password'):
    46     ('DEFAULT', 'storage_vnx_pool_name'):
    47         ('oslo_messaging_qpid', 'qpid_password'),
    47         ('DEFAULT', 'storage_vnx_pool_names'),
    48     ('DEFAULT', 'qpid_sasl_mechanisms'):
    48     ('DEFAULT', 'notification_driver'):
    49         ('oslo_messaging_qpid', 'qpid_sasl_mechanisms'),
    49         ('oslo_messaging_notifications', 'driver'),
    50     ('DEFAULT', 'qpid_heartbeat'):
    50     ('DEFAULT', 'notification_topics'):
    51         ('oslo_messaging_qpid', 'qpid_heartbeat'),
    51         ('oslo_messaging_notifications', 'topics'),
    52     ('DEFAULT', 'qpid_protocol'):
    52     ('DEFAULT', 'hp3par_api_url'): ('DEFAULT', 'hpe3par_api_url'),
    53         ('oslo_messaging_qpid', 'qpid_protocol'),
    53     ('DEFAULT', 'hp3par_cpg'): ('DEFAULT', 'hp3par_cpg'),
    54     ('DEFAULT', 'qpid_tcp_nodelay'):
    54     ('DEFAULT', 'hp3par_cpg_snap'): ('DEFAULT', 'hpe3par_cpg_snap'),
    55         ('oslo_messaging_qpid', 'qpid_tcp_nodelay'),
    55     ('DEFAULT', 'hp3par_debug'): ('DEFAULT', 'hpe3par_debug'),
    56     ('DEFAULT', 'qpid_receiver_capacity'):
    56     ('DEFAULT', 'hp3par_iscsi_chap_enabled'):
    57         ('oslo_messaging_qpid', 'qpid_receiver_capacity'),
    57         ('DEFAULT', 'hpe3par_iscsi_chap_enabled'),
    58     ('DEFAULT', 'qpid_topology_version'):
    58     ('DEFAULT', 'hp3par_debug'): ('DEFAULT', 'hpe3par_debug'),
    59         ('oslo_messaging_qpid', 'qpid_topology_version'),
    59     ('DEFAULT', 'hp3par_password'): ('DEFAULT', 'hpe3par_password'),
    60     ('DEFAULT', 'amqp_durable_queues'):
    60     ('DEFAULT', 'hp3par_snapshot_expiration'):
    61         ('oslo_messaging_rabbit', 'amqp_durable_queues'),
    61         ('DEFAULT', 'hpe3par_snapshot_expiration'),
    62     ('DEFAULT', 'amqp_auto_delete'):
    62     ('DEFAULT', 'hp3par_snapshot_retention'):
    63         ('oslo_messaging_rabbit', 'amqp_auto_delete'),
    63         ('DEFAULT', 'hpe3par_snapshot_retention'),
    64     ('DEFAULT', 'rpc_conn_pool_size'):
    64     ('DEFAULT', 'hp3par_username'): ('DEFAULT', 'hpe3par_username'),
    65         ('oslo_messaging_rabbit', 'rpc_conn_pool_size'),
    65     ('DEFAULT', 'hplefthand_api_url'): ('DEFAULT', 'hpelefthand_api_url'),
    66     ('DEFAULT', 'kombu_ssl_version'):
    66     ('DEFAULT', 'hplefthand_clustername'):
    67         ('oslo_messaging_rabbit', 'kombu_ssl_version'),
    67         ('DEFAULT', ' hpelefthand_clustername'),
    68     ('DEFAULT', 'kombu_ssl_keyfile'):
    68     ('DEFAULT', 'hplefthand_debug'): ('DEFAULT', 'hpelefthand_debug'),
    69         ('oslo_messaging_rabbit', 'kombu_ssl_keyfile'),
    69     ('DEFAULT', 'hplefthand_iscsi_chap_enabled'):
    70     ('DEFAULT', 'kombu_ssl_certfile'):
    70         ('DEFAULT', ' hpelefthand_iscsi_chap_enabled'),
    71         ('oslo_messaging_rabbit', 'kombu_ssl_certfile'),
    71     ('DEFAULT', 'hplefthand_password'): ('DEFAULT', 'hpelefthand_password'),
    72     ('DEFAULT', 'kombu_ssl_ca_certs'):
    72     ('DEFAULT', 'hplefthand_username'): ('DEFAULT', 'hpelefthand_username'),
    73         ('oslo_messaging_rabbit', 'kombu_ssl_ca_certs'),
    73     ('DEFAULT', 'hpxp_async_copy_check_interval'):
    74     ('DEFAULT', 'kombu_reconnect_delay'):
    74         ('DEFAULT', 'hpexp_async_copy_check_interval'),
    75         ('oslo_messaging_rabbit', 'kombu_reconnect_delay'),
    75     ('DEFAULT', 'hpxp_compute_target_ports'):
    76     ('DEFAULT', 'rabbit_host'):
    76         ('DEFAULT', 'hpexp_compute_target_ports'),
    77         ('oslo_messaging_rabbit', 'rabbit_host'),
    77     ('DEFAULT', 'hpxp_copy_check_interval'):
    78     ('DEFAULT', 'rabbit_port'):
    78         ('DEFAULT', 'hpexp_copy_check_interval'),
    79         ('oslo_messaging_rabbit', 'rabbit_port'),
    79     ('DEFAULT', 'hpxp_copy_speed'): ('DEFAULT', 'hpexp_copy_speed'),
    80     ('DEFAULT', 'rabbit_hosts'):
    80     ('DEFAULT', 'hpxp_default_copy_method'):
    81         ('oslo_messaging_rabbit', 'rabbit_hosts'),
    81         ('DEFAULT', 'hpexp_default_copy_method'),
    82     ('DEFAULT', 'rabbit_use_ssl'):
    82     ('DEFAULT', 'hpxp_group_request'): ('DEFAULT', 'hpexp_group_request'),
    83         ('oslo_messaging_rabbit', 'rabbit_use_ssl'),
    83     ('DEFAULT', 'hpxp_horcm_add_conf'): ('DEFAULT', 'hpexp_horcm_add_conf'),
    84     ('DEFAULT', 'rabbit_userid'):
    84     ('DEFAULT', 'hpxp_horcm_name_only_discovery'):
    85         ('oslo_messaging_rabbit', 'rabbit_userid'),
    85         ('DEFAULT', 'hpexp_horcm_name_only_discovery'),
    86     ('DEFAULT', 'rabbit_password'):
    86     ('DEFAULT', 'hpxp_horcm_numbers'): ('DEFAULT', 'hpexp_horcm_numbers'),
    87         ('oslo_messaging_rabbit', 'rabbit_password'),
    87     ('DEFAULT', 'hpxp_horcm_resource_name'):
    88     ('DEFAULT', 'rabbit_login_method'):
    88         ('DEFAULT', 'hpexp_horcm_resource_name'),
    89         ('oslo_messaging_rabbit', 'rabbit_login_method'),
    89     ('DEFAULT', 'hpxp_horcm_user'): ('DEFAULT', 'hpexp_horcm_user'),
    90     ('DEFAULT', 'rabbit_virtual_host'):
    90     ('DEFAULT', 'hpxp_ldev_range'): ('DEFAULT', 'hpexp_ldev_range'),
    91         ('oslo_messaging_rabbit', 'rabbit_virtual_host'),
    91     ('DEFAULT', 'hpxp_pool'): ('DEFAULT', 'hpexp_pool'),
    92     ('DEFAULT', 'rabbit_retry_interval'):
    92     ('DEFAULT', 'hpxp_storage_cli'): ('DEFAULT', 'hpexp_storage_cli'),
    93         ('oslo_messaging_rabbit', 'rabbit_retry_interval'),
    93     ('DEFAULT', 'hpxp_storage_id'): ('DEFAULT', 'hpexp_storage_id'),
    94     ('DEFAULT', 'rabbit_retry_backoff'):
    94     ('DEFAULT', 'hpxp_target_ports'): ('DEFAULT', 'hpexp_target_ports'),
    95         ('oslo_messaging_rabbit', 'rabbit_retry_backoff'),
    95     ('DEFAULT', 'hpxp_thin_pool'): ('DEFAULT', 'hpexp_thin_pool'),
    96     ('DEFAULT', 'rabbit_max_retries'):
    96     ('DEFAULT', 'hpxp_zoning_request'): ('DEFAULT', 'hpexp_zoning_request'),
    97         ('oslo_messaging_rabbit', 'rabbit_max_retries'),
    97     ('profiler', 'profiler_enabled'): ('profiler', 'enabled'),
    98     ('DEFAULT', 'rabbit_ha_queues'):
    98     ('DEFAULT', 'enable_v2_api'): (None, None),
    99         ('oslo_messaging_rabbit', 'rabbit_ha_queues'),
    99     ('DEFAULT', 'use_syslog_rfc_format'): (None, None),
   100     ('DEFAULT', 'fake_rabbit'):
   100     ('DEFAULT', 'use_syslog'): (None, None),
   101         ('oslo_messaging_rabbit', 'fake_rabbit'),
   101     ('hyperv', 'force_volumeutils_v1'): (None, None),
   102     ('DEFAULT', 'osapi_max_request_body_size'):
   102     ('DEFAULT', 'rpc_zmq_port'): (None, None),
   103         ('oslo_middleware', 'max_request_body_size'),
   103     ('DEFAULT', 'matchmaker_heartbeat_freq'): (None, None),
   104     ('DEFAULT', 'log-format'): (None, None),
   104     ('DEFAULT', 'matchmaker_heartbeat_ttl'): (None, None),
   105     ('DEFAULT', 'use-syslog'): (None, None),
   105     ('DEFAULT', 'request_timeout'): ('DEFAULT', 'violin_request_timeout'),
   106     ('DEFAULT', 'datera_api_token'): (None, None),
   106     ('DEFAULT', 'gateway_mga'): (None, None),
   107     ('DEFAULT', 'enable_v1_api'): (None, None),
   107     ('DEFAULT', 'gateway_mgb'): (None, None),
   108     ('DEFAULT', 'log_format'): (None, None),
   108     ('DEFAULT', 'use_igroups'): (None, None),
       
   109 
       
   110 
   109 }
   111 }
   110 
   112 
   111 CINDER_CONF_EXCEPTIONS = [
   113 CINDER_CONF_EXCEPTIONS = [
   112     ('DEFAULT', 'osapi_volume_workers'),
   114     ('DEFAULT', 'osapi_volume_workers'),
   113     ('DEFAULT', 'auth_strategy'),
   115     ('DEFAULT', 'auth_strategy'),