Skip to content

Replication backend fails to initialize when optional snap_cpg_map parameter is not present in hpe.conf file #711

@leenaj0hn

Description

@leenaj0hn
  1. Added a replication backend in hpe.conf file without the snap_cpg_map label
    [ActivePassive]
    hpe3par_username=3paradm
    hpe3par_password=3pardata
    hpe3par_cpg=FC_r6
    hpedockerplugin_driver=hpedockerplugin.hpe.hpe_3par_fc.HPE3PARFCDriver
    san_ip=15.213.71.156
    san_login=3paradm
    san_password=3pardata
    hpe3par_api_url=https://vp2-158.in.rdlabs.hpecorp.net/api/v1
    replication_device = backend_id:S2928,
    replication_mode:synchronous,
    cpg_map:FC_r6:SSD_r6,
    hpe3par_api_url:https://s2928.in.rdlabs.hpecorp.net/api/v1,
    hpe3par_username:vrops,
    hpe3par_password:vrops123,
    san_ip:15.213.68.207,
    san_login:vrops,
    san_password:vrops123

  2. The backends fails on restarting the plugin with the below error:

2019-08-07 05:47:59,672 [INFO] hpedockerplugin.backend_orchestrator [140355703184264] MainThread Backends INITIALIZED => dict_keys(['ActivePassive', 'DEFAULT', 'merlin'])
2019-08-07 05:47:59,673 [INFO] hpedockerplugin.volume_manager [140355547667176] Thread-1 Getting source backend configuration...
2019-08-07 05:47:59,673 [INFO] hpedockerplugin.volume_manager [140355546606312] Thread-2 Overriding the value of multipath flags to True
2019-08-07 05:47:59,676 [INFO] hpedockerplugin.volume_manager [140355545545448] Thread-3 Overriding the value of multipath flags to True
2019-08-07 05:47:59,679 [INFO] hpedockerplugin.volume_manager [140355547667176] Thread-1 Got source backend configuration!
2019-08-07 05:47:59,680 [INFO] hpedockerplugin.volume_manager [140355546606312] Thread-2 Getting source backend configuration...
2019-08-07 05:47:59,680 [INFO] hpedockerplugin.volume_manager [140355545545448] Thread-3 Getting source backend configuration...
2019-08-07 05:47:59,682 [INFO] hpedockerplugin.hpe.array_connection_params [140355547667176] Thread-1 ACP Key: snap_cpg_map
2019-08-07 05:47:59,684 [INFO] hpedockerplugin.volume_manager [140355546606312] Thread-2 Got source backend configuration!
2019-08-07 05:47:59,687 [INFO] hpedockerplugin.volume_manager [140355545545448] Thread-3 Got source backend configuration!
2019-08-07 05:47:59,688 [ERROR] hpedockerplugin.backend_async_initializer [140355547667176] Thread-1 CHILD-THREAD: INITIALIZING backend: ActivePassive FAILED Error:'NoneType' object has no attribute 'split'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions