HewlettPackard / oneview-ansible-collection

Ansible Collection and Sample Playbooks for HPE OneView

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SAS Logical Interconnect Group

tubatodd opened this issue · comments

In applying a logical interconnect group playbook, a LIG that is SAS (Synergy 12Gb SAS Connection Module) does not appear to work

ansible_collections.hpe.oneview.plugins.module_utils.oneview.OneViewModuleResourceNotFound: Interconnect Type was not found.
fatal: [localhost -> localhost]: FAILED! => {
    "changed": false,
    "invocation": {
        "module_args": {
            "api_version": null,
            "auth_login_domain": null,
            "config": "/home/tmorgan/deployment/connection.json",
            "data": {
                "enclosureIndexes": [
                    1
                ],
                "interconnectBaySet": 3,
                "interconnectMapTemplate": {
                    "interconnectMapEntryTemplates": [
                        {
                            "enclosureIndex": 1,
                            "logicalLocation": {
                                "locationEntries": [
                                    {
                                        "relativeValue": 1,
                                        "type": "Enclosure"
                                    },
                                    {
                                        "relativeValue": 1,
                                        "type": "Bay"
                                    }
                                ]
                            }
                        },
                        {
                            "enclosureIndex": 1,
                            "logicalLocation": {
                                "locationEntries": [
                                    {
                                        "relativeValue": 1,
                                        "type": "Enclosure"
                                    },
                                    {
                                        "relativeValue": 4,
                                        "type": "Bay"
                                    }
                                ]
                            },
                            "permittedInterconnectTypeName": "Synergy 12Gb SAS Connection Module"
                        }
                    ]
                },
                "name": "LIG_SAS",
                "redundancyType": "Redundant"
            },
            "hostname": null,
            "image_streamer_hostname": null,
            "password": null,
            "state": "present",
            "username": null,
            "validate_etag": true
        }
    },
    "msg": "Interconnect Type was not found."
}

I had previously attempted to implement this in terraform. There was an open issue in the oneview-terraform github project regarding this. The ticket was closed stating was not support for SAS LIG in the terraform provider and that it would be put on the backlog

The HPE Oneview rest API does have support for a sas logical interconnect group, but it is worth noting that it is a separate rest end point. For the time being I am working around this issue by utilizing the rest API directly.

Can we see support for this implemented in the future?

It appears to have previously been supported in the now deprecated oneview-ansible project

https://github.com/HewlettPackard/oneview-ansible/blob/master/examples/oneview_sas_logical_interconnect_group.yml

@nabhajit-ray Please see my post above.

Thanks for raising this. We have added this to our backlog and will be taken up as per our priority.

@nabhajit-ray I see this ticket is closed earlier this month but I don't see it in the latest code base. Is there any update on when t his will be implemented? What release will this be in?

This is still under consideration and not planned for immediate release.