Skip to content

na_ontap_object_store: missing ipspace parameter #316

@j-k-y

Description

@j-k-y

We have multiple ONTAP intercluster lifs configured. A pair is dedicated specifically for FabricPools. The FabricPool lifs are configured with on a dedicated ipspace as well.

vserver lif address curr-node curr-port ipspace


FabricPool FabricPool_icl_lif1 192.168.57.124 cluster3-01 a0a-133 FabricPool
FabricPool FabricPool_icl_lif2 192.168.57.125 cluster3-02 a0a-133 FabricPool
cluster3 icl-n1 192.168.58.134 cluster3-01 a0a-134 Default
cluster3 icl-n2 192.168.58.135 cluster3-02 a0a-134 Default

The na_ontap_object_store is fails to create a new object store configuration since it cannot reach the object-store from the appropriate ipspace.

TASK [Create FabricPool Object Store] **************************************************************************************************************************************
failed: [localhost] (item={'name': 's3config', 'state': 'present', 'provider_type': 'SGWS', 'server': 'cluster3.fqdn', 'http_port': 10443, 'container': 'cluster3'}) => {"ansible_loop_var": "item", "changed": false, "item": {"container": "cluster3", "http_port": 10443, "name": "s3config", "provider_type": "SGWS", "server": "ckuster3.fqdn", "state": "present"}, "msg": "Error calling: cloud/targets: got HTTPSConnectionPool(host='cluster3.fqdn', port=10443): Max retries exceeded with url: /api/cloud/targets?name=s3config&fields=name%2Cprovider_type%2Cserver%2Ccontainer%2Caccess_key%2Cport%2Ccertificate_validation_enabled%2Cssl_enabled%2Cowner%2Cuuid (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f7c4a76aaf0>, 'Connection to cluster3.fqdn timed out. (connect timeout=60)'))."}

With the ONTAP CLI, we can specify ipspace for example:

aggr object-store config create -object-store-name store_name -provider-type SGWS -server servername.fqdn -port XXXX -is-ssl-enabled true -container-name container-name -access-key XXXX -ipspace FabricPool

Please add ipspace specification into na_ontap_object_store module.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions