HewlettPackard / oneview-ansible

This project is no longer being developed and has limited support. Please use the newer Ansible Collection project: https://github.com/HewlettPackard/oneview-ansible-collection
Apache License 2.0
104 stars 65 forks source link

Module oneview_storage_system_facts examples and documentation contains old/incorrect parameter "ip_hostname" #311

Closed frippe75 closed 4 years ago

frippe75 commented 6 years ago

Scenario/Intent

Running examples that fails...

c7000_environment_setup.yml contains:

- name: Gather facts about the Storage System with hostname '{{ storage_system_ip_hostname }}'
  oneview_storage_system_facts:
    config: "{{ config }}"
    _ip_hostname: "{{ storage_system_ip_hostname }}"_
  delegate_to: localhost

Aslo a comment, I guess the fact's gathering is due to the module oneview_storage_system not being idempontent in the first place. Almost worth an issue by itself.

Environment Details

Steps to Reproduce

[What are the complete steps needed to do in order to reproduce your problem?]

Expected Result

Expecting the filtering to return back a registered varaible to check in the later stage. But filtering on ip_hostname does not appear to be valid (anymore??).

Actual Result

[What actually happens after the steps above? Include error output or a link to a gist.]

"msg": "Unsupported parameters for (oneview_storage_system_facts) module: ip_hostname Supported parameters include: api_version,config,hostname,image_streamer_hostname,name,options,params,password,storage_hostname,username"

I'm able to filter on storage_hostname instead which work's

soodpr commented 6 years ago

Hi, @frippe75 - We will be releasing a new API 600 support in few weeks which includes this fix.

nabhajit-ray commented 4 years ago

We fixed the incorrect parameter used in the playbook. Closing the issue