Project

Profile

Help

Issue #7551

Standalone galaxy_ng syncing from cloud.ci doesn't get docs for collections (https://github.com/ansible/galaxy_ng/issues/441)

Added by alikins about 1 month ago. Updated about 1 month ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

Description

https://github.com/ansible/galaxy_ng/issues/441 is the origin of this.

It seems like if a standalone galaxy_ng syncs from cloud.ci.redhat.com, the doc blobs for the collections isn't synced.

https://ci.cloud.redhat.com/api/automation-hub/content/synctest/v3/collections is an example repo set up with some collections with docs blobs.

At the moment, it's unclear if this is an issue with standalone galaxy_ng, or with the ci.cloud galaxy_ng / pulp_ansible / pulp_core issue. But this is a heads up.

For an example of a collection in that repo:

https://ci.cloud.redhat.com/api/automation-hub/content/synctest/v3/collections/ibm/spectrum_virtualize/

And the docs-blob for a particular version: https://ci.cloud.redhat.com/api/automation-hub/content/synctest/v3/collections/ibm/spectrum_virtualize/versions/1.0.12-awc16/docs-blob/

The latter shows info available in the docs-blob, but it apperently doesn't sync synced to the standalone galaxy_ng

Versions:

On the standalone side:

galaxy-ng (4.2.0b2) pulp-ansible (0.3.0) pulpcore (3.6.0

Associated revisions

Revision 6975524c View on GitHub
Added by Fabricio Aguiar about 1 month ago

Fix docs_blob downloading handler

Avoiding:

{docs_blob": { "docs_blob": {...

https://pulp.plan.io/issues/7551 closes #7551

Revision 891d29d5 View on GitHub
Added by Fabricio Aguiar about 1 month ago

Fix docs_blob downloading handler

Avoiding:

{docs_blob": { "docs_blob": {...

https://pulp.plan.io/issues/7551 closes #7551

History

#1 Updated by fao89 about 1 month ago

I tested locally and I was able to sync

(pulp) [vagrant@pulp3-source-fedora31 pulp_ansible]$ http :/pulp/api/v3/content/ansible/collection_versions/f3be6e19-c674-4938-a205-2fad68adde0e/
HTTP/1.1 200 OK
Allow: GET, HEAD, OPTIONS
Connection: Keep-Alive
Content-Length: 24771
Content-Type: application/json
Date: Tue, 22 Sep 2020 20:11:04 GMT
Keep-Alive: timeout=5, max=100
Server: gunicorn/20.0.4
Vary: Accept,Cookie
X-Frame-Options: SAMEORIGIN

{
    "artifact": "/pulp/api/v3/artifacts/95446492-72c3-4d7e-8368-d5fcdc9a5369/",
    "authors": [
        "Peng Wang <wangpww@cn.ibm.com>"
    ],
    "certification": "needs_review",
    "contents": [],
    "dependencies": {},
    "description": "",
    "docs_blob": {
        "docs_blob": {
            "collection_readme": {
                "html": "<h1>Ansible Collection - ibm.spectrum_virtualize</h1>\n<p><a href=\"https://docs.ansible.com/ansible/latest/modules/list_of_cloud_modules.html#azure\"><img alt=\"Doc\" src=\"https://img.shields.io/badge/docs-latest-brightgreen.svg\"></a>\n<a href=\"https://docs.ansible.com/ansible/latest/community/code_of_conduct.html\"><img alt=\"Code of conduct\" src=\"https://img.shields.io/badge/code%20of%20conduct-Ansible-silver.svg\"></a>\n<a href=\"LICENSE\"><img alt=\"License\" src=\"https://img.shields.io/badge/license-GPL%20v3.0-brightgreen.svg\"></a></p>\n<p>This collection provides a series of Ansible modules and plugins for interacting with the IBM Spectrum Virtualize Family. These products include the IBM SAN Volume Controller, IBM FlashSystem family members built with IBM Spectrum Virtualize (FlashSystem 5010, 5030, 5100, 7200, 9100, 9200, 9200R, and V9000), IBM Storwize family, and IBM Spectrum Virtualize for Public Cloud. For more information regarding these products see the <a href=\"https://www.ibm.com/support/knowledgecenter/en/\">IBM Knowledge Center</a> .</p>\n<h2>Requirements</h2>\n<ul>\n<li>Ansible version 2.9 or higher</li>\n</ul>\n<h2>Installation</h2>\n<p>To install the IBM Spectrum Virtualize collection hosted in Galaxy:</p>\n<pre><code>ansible-galaxy collection install ibm.spectrum_virtualize\n</code></pre>\n\n<p>To upgrade to the latest version of the IBM Spectrum Virtualize collection:</p>\n<pre><code>ansible-galaxy collection install ibm.spectrum_virtualize --force\n</code></pre>\n\n<h2>Usage</h2>\n<h3>Playbooks</h3>\n<p>To use a module from the IBM Spectrum Virtualize collection, please reference the full namespace, collection name, and module name that you want to use:</p>\n<pre><code>---\n- name: Using the IBM Spectrum Virtualize collection\n  hosts: localhost\n  tasks:\n    - name: Gather info from storage\n      ibm.spectrum_virtualize.ibm_svc_info:\n        clustername: x.x.x.x\n        domain:\n        username: username\n        password: password\n        log_path: /tmp/playbook.debug\n        name: gather_info\n        state: info\n        gather_subset: all\n</code></pre>\n\n<p>Alternatively, you can add a full namepsace and collection name in the <code>collections</code> element:</p>\n<pre><code>---\n- name: Using the IBM Spectrum Virtualize collection\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  hosts: localhost\n  tasks:\n    - name: Gather info from storage\n      ibm_svc_info:\n        clustername: x.x.x.x\n        domain:\n        username: username\n        password: password\n        log_path: /tmp/playbook.debug\n        name: gather_info\n        state: info\n        gather_subset: all\n</code></pre>\n\n<h2>Supported Resources</h2>\n<h3>Modules</h3>\n<ul>\n<li>ibm_svc_info - Collects information on the IBM Spectrum Virtualize system</li>\n<li>ibm_svc_host - Host management for IBM Spectrum Virtualize</li>\n<li>ibm_svc_mdisk - MDisk managment for IBM Spectrum Virtualize</li>\n<li>ibm_svc_mdiskgrp - Pool management for IBM Spectrum Virtualize</li>\n<li>ibm_svc_vdisk - Volume management for IBM Spectrum Virtualize</li>\n<li>ibm_svc_vol_map - Volume mapping management for IBM Spectrum Virtualize</li>\n</ul>\n<h2>Contributing</h2>\n<p>Currently we are not accepting community contributions.\nThough, you may periodically review this content to learn when and how contributions can be made in the future.</p>\n<h2>License</h2>\n<p>GNU General Public License v3.0</p>\n<p>See <a href=\"LICENSE\">LICENSE</a> to see the full text.</p>",
                "name": "README.md"
            },
            "contents": [
                {
                    "content_name": "ibm_svc_mdisk",
                    "content_type": "module",
                    "doc_strings": {
                        "doc": {
                            "author": [
                                "Peng Wang(@wangpww)"
                            ],
                            "description": [
                                "Ansible interface to manage 'mkarray' and 'rmmdisk' MDisk commands."
                            ],
                            "filename": "/tmp/tmpr6otauyo/ansible_collections/ibm/spectrum_virtualize/plugins/modules/ibm_svc_mdisk.py",
                            "module": "ibm_svc_mdisk",
                            "options": [
                                {
                                    "description": [
                                        "The hostname or management IP of the Spectrum Virtualize storage system"
                                    ],
                                    "name": "clustername",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Domain for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "domain",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Drive(s) to use as members of the RAID array"
                                    ],
                                    "name": "drive",
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "yes",
                                        "no"
                                    ],
                                    "default": "no",
                                    "description": [
                                        "encrypt"
                                    ],
                                    "name": "encrypt",
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "raid0",
                                        "raid1",
                                        "raid5",
                                        "raid6",
                                        "raid10"
                                    ],
                                    "description": [
                                        "level"
                                    ],
                                    "name": "level",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Debugs log for this file"
                                    ],
                                    "name": "log_path",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "The storage pool (mdiskgrp) to which you want to add the MDisk"
                                    ],
                                    "name": "mdiskgrp",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "The MDisk name"
                                    ],
                                    "name": "name",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API password for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "password",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "absent",
                                        "present"
                                    ],
                                    "description": [
                                        "Creates (C(present)) or removes (C(absent)) the MDisk"
                                    ],
                                    "name": "state",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API username for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "username",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Validate certification"
                                    ],
                                    "name": "validate_certs",
                                    "type": "bool"
                                }
                            ],
                            "short_description": "This module manages MDisks on IBM Spectrum Virtualize Family storage systems.",
                            "version_added": "2.10"
                        },
                        "examples": "\n- name: Using the IBM Spectrum Virtualize collection to create a new MDisk array\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Create MDisk and named mdisk20\n      ibm_svc_mdisk:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        name: mdisk20\n        state: present\n        level: raid0\n        drive: '5:6'\n        encrypt: no\n        mdiskgrp: pool20\n\n- name: Using the IBM Spectrum Virtualize collection to delete an MDisk array\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Delete MDisk named mdisk20\n      ibm_svc_mdisk:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        name: mdisk20\n        state: absent\n        mdiskgrp: pool20\n",
                        "metadata": {
                            "status": [
                                "preview"
                            ],
                            "supported_by": "community"
                        },
                        "return": null
                    },
                    "readme_file": null,
                    "readme_html": null
                },
                {
                    "content_name": "ibm_svc_vol_map",
                    "content_type": "module",
                    "doc_strings": {
                        "doc": {
                            "author": [
                                "Peng Wang(@wangpww)"
                            ],
                            "description": [
                                "Ansible interface to manage volume mapping commands 'mkvdiskhostmap' and 'rmvdiskhostmap' commands."
                            ],
                            "filename": "/tmp/tmpr6otauyo/ansible_collections/ibm/spectrum_virtualize/plugins/modules/ibm_svc_vol_map.py",
                            "module": "ibm_svc_vol_map",
                            "options": [
                                {
                                    "description": [
                                        "The hostname or management IP of the Spectrum Virtualize storage system"
                                    ],
                                    "name": "clustername",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Domain for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "domain",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Specifies the host name for host mapping"
                                    ],
                                    "name": "host",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Debugs log for this file"
                                    ],
                                    "name": "log_path",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API password for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "password",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "absent",
                                        "present"
                                    ],
                                    "description": [
                                        "Creates (C(present)) or removes (C(absent)) a volume mapping"
                                    ],
                                    "name": "state",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API username for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "username",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Validate certification"
                                    ],
                                    "name": "validate_certs",
                                    "type": "bool"
                                },
                                {
                                    "description": [
                                        "Specifies the volume name for host mapping"
                                    ],
                                    "name": "volname",
                                    "required": true,
                                    "type": "str"
                                }
                            ],
                            "short_description": "This module manages volume mapping on IBM Spectrum Virtualize Family storage systems.",
                            "version_added": "2.10"
                        },
                        "examples": "\n- name: Using the IBM Spectrum Virtualize collection to map a volume to a host\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: map volume to host\n      ibm_svc_vol_map:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/playbook.debug\n        volname: volume0\n        host: host4test\n        state: present\n\n- name: Using the IBM Spectrum Virtualize collection to unmap a volume from a host\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: unmap volume from host\n      ibm_svc_vol_map:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/playbook.debug\n        volname: volume0\n        host: host4test\n        state: absent\n",
                        "metadata": {
                            "status": [
                                "preview"
                            ],
                            "supported_by": "community"
                        },
                        "return": null
                    },
                    "readme_file": null,
                    "readme_html": null
                },
                {
                    "content_name": "ibm_svc_vdisk",
                    "content_type": "module",
                    "doc_strings": {
                        "doc": {
                            "author": [
                                "Peng Wang(@wangpww)"
                            ],
                            "description": [
                                "Ansible interface to manage 'mkvdisk' and 'rmvdisk' volume commands."
                            ],
                            "filename": "/tmp/tmpr6otauyo/ansible_collections/ibm/spectrum_virtualize/plugins/modules/ibm_svc_vdisk.py",
                            "module": "ibm_svc_vdisk",
                            "options": [
                                {
                                    "description": [
                                        "The hostname or management IP of the Spectrum Virtualize storage system"
                                    ],
                                    "name": "clustername",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Domain for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "domain",
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "on",
                                        "off",
                                        "auto"
                                    ],
                                    "default": "off",
                                    "description": [
                                        "Defines use of easytier with VDisk"
                                    ],
                                    "name": "easytier",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Debugs log for this file"
                                    ],
                                    "name": "log_path",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Specifies one or more storage pools name to use when you are creating this volume"
                                    ],
                                    "name": "mdiskgrp",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Specifies a name to assign to the new volume"
                                    ],
                                    "name": "name",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API password for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "password",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Defines size of VDisk"
                                    ],
                                    "name": "size",
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "absent",
                                        "present"
                                    ],
                                    "description": [
                                        "Creates (C(present)) or removes (C(absent)) a volume"
                                    ],
                                    "name": "state",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "b",
                                        "kb",
                                        "mb",
                                        "gb",
                                        "tb",
                                        "pb"
                                    ],
                                    "default": "mb",
                                    "description": [
                                        "Defines the size optoin for the storage unit"
                                    ],
                                    "name": "unit",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API username for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "username",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Validate certification"
                                    ],
                                    "name": "validate_certs",
                                    "type": "bool"
                                }
                            ],
                            "short_description": "This module manages volumes on IBM Spectrum Virtualize Family storage systems.",
                            "version_added": "2.10"
                        },
                        "examples": "\n- name: Using the IBM Spectrum Virtualize collection to create a volume\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Create volume\n      ibm_svc_vdisk:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/playbook.debug\n        name: volume0\n        state: present\n        mdiskgrp: Pool0\n        easytier: 'off'\n        size: \"4294967296\"\n        unit: b\n\n- name: Using the IBM Spectrum Virtualize collection to delete a volume\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Delete volume\n      ibm_svc_vdisk:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/playbook.debug\n        name: volume0\n        state: absent\n",
                        "metadata": {
                            "status": [
                                "preview"
                            ],
                            "supported_by": "community"
                        },
                        "return": null
                    },
                    "readme_file": null,
                    "readme_html": null
                },
                {
                    "content_name": "ibm_svc_host",
                    "content_type": "module",
                    "doc_strings": {
                        "doc": {
                            "author": [
                                "Peng Wang (@wangpww)"
                            ],
                            "description": [
                                "Ansible interface to manage 'mkhost' and 'rmhost' host commands."
                            ],
                            "filename": "/tmp/tmpr6otauyo/ansible_collections/ibm/spectrum_virtualize/plugins/modules/ibm_svc_host.py",
                            "module": "ibm_svc_host",
                            "options": [
                                {
                                    "description": [
                                        "The hostname or management IP of the Spectrum Virtualize storage system"
                                    ],
                                    "name": "clustername",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Domain for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "domain",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "List of Initiator WWN to be added to the host"
                                    ],
                                    "name": "fcwwpn",
                                    "required": false,
                                    "type": "str"
                                },
                                {
                                    "default": "0:1:2:3",
                                    "description": [
                                        "Specifies a set of one or more input/output (I/O) groups that the host can access the volumes from"
                                    ],
                                    "name": "iogrp",
                                    "required": false,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Initiator IQN to be added to the host"
                                    ],
                                    "name": "iscsiname",
                                    "required": false,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Debugs log for this file"
                                    ],
                                    "name": "log_path",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Specifies a name or label for the new host object"
                                    ],
                                    "name": "name",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API password for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "password",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "scsi",
                                        "nvme"
                                    ],
                                    "default": "scsi",
                                    "description": [
                                        "Specifies the protocol used by the host to communicate with the storage system"
                                    ],
                                    "name": "protocol",
                                    "required": false,
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "absent",
                                        "present"
                                    ],
                                    "description": [
                                        "Creates (C(present)) or removes (C(absent)) a host"
                                    ],
                                    "name": "state",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "default": null,
                                    "description": [
                                        "Specifies the type of host"
                                    ],
                                    "name": "type",
                                    "required": false,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API username for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "username",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Validate certification"
                                    ],
                                    "name": "validate_certs",
                                    "type": "bool"
                                }
                            ],
                            "short_description": "This module manages hosts on IBM Spectrum Virtualize Family storage systems.",
                            "version_added": "2.10"
                        },
                        "examples": "\n- name: Using the IBM Spectrum Virtualize collection to create an iSCSI host\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Define a new iSCSI host\n      ibm_svc_host:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/playbook.debug\n        name: host4test\n        state: present\n        iscsiname: iqn.1994-05.com.redhat:2e358e438b8a\n        iogrp: 0:1:2:3\n        protocol: scsi\n        type: generic\n\n- name: Using the IBM Spectrum Virtualize collection to create an FC host\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Define a new FC host\n      ibm_svc_host:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/playbook.debug\n        name: host4test\n        state: present\n        fcwwpn: 100000109B570216\n        iogrp: 0:1:2:3\n        protocol: fc\n        type: generic\n\n- name: Using the IBM Spectrum Virtualize collection to delete a host\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Delete host\n      ibm_svc_host:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/playbook.debug\n        name: host4test\n        state: absent\n",
                        "metadata": {
                            "status": [
                                "preview"
                            ],
                            "supported_by": "community"
                        },
                        "return": null
                    },
                    "readme_file": null,
                    "readme_html": null
                },
                {
                    "content_name": "ibm_svc_mdiskgrp",
                    "content_type": "module",
                    "doc_strings": {
                        "doc": {
                            "author": [
                                "Peng Wang(@wangpww)"
                            ],
                            "description": [
                                "Ansible interface to manage 'mkmdiskgrp' and 'rmmdiskgrp' pool commands."
                            ],
                            "filename": "/tmp/tmpr6otauyo/ansible_collections/ibm/spectrum_virtualize/plugins/modules/ibm_svc_mdiskgrp.py",
                            "module": "ibm_svc_mdiskgrp",
                            "options": [
                                {
                                    "description": [
                                        "The hostname or management IP of the Spectrum Virtualize storage system"
                                    ],
                                    "name": "clustername",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "yes",
                                        "no"
                                    ],
                                    "default": "no",
                                    "description": [
                                        "Defines use of data reduction pools (DRPs) on the MDisk group"
                                    ],
                                    "name": "datareduction",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Domain for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "domain",
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "on",
                                        "off",
                                        "auto"
                                    ],
                                    "default": "off",
                                    "description": [
                                        "Defines use of easytier with the MDisk group"
                                    ],
                                    "name": "easytier",
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "yes",
                                        "no"
                                    ],
                                    "default": "no",
                                    "description": [
                                        "Defines use of encryption with the MDisk group"
                                    ],
                                    "name": "encrypt",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Specifies the size of the extents for this group in MB"
                                    ],
                                    "name": "ext",
                                    "type": "int"
                                },
                                {
                                    "description": [
                                        "Debugs log for this file"
                                    ],
                                    "name": "log_path",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Specifies a name to assign to the new pool"
                                    ],
                                    "name": "name",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "parentmdiskgrp for subpool"
                                    ],
                                    "name": "parentmdiskgrp",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API password for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "password",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Specifies the child pool capacity. The value must be a numeric value (and an integer multiple of the extent size)"
                                    ],
                                    "name": "size",
                                    "type": "int"
                                },
                                {
                                    "choices": [
                                        "absent",
                                        "present"
                                    ],
                                    "description": [
                                        "Creates (C(present)) or removes (C(absent)) an MDisk group"
                                    ],
                                    "name": "state",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Unit for subpool"
                                    ],
                                    "name": "unit",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API username for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "username",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Validate certification"
                                    ],
                                    "name": "validate_certs",
                                    "type": "bool"
                                }
                            ],
                            "short_description": "This module manages pools on IBM Spectrum Virtualize Family storage systems.",
                            "version_added": "2.10"
                        },
                        "examples": "\n- name: Using the IBM Spectrum Virtualize collection to create a pool\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: make mdisk group\n      ibm_svc_mdiskgrp:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        name: pool1\n        state: present\n        datareduction: no\n        easytier: auto\n        encrypt: no\n        ext: 1024\n\n- name: Using the IBM Spectrum Virtualize collection to delete a pool\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: delete mdisk group\n      ibm_svc_mdiskgrp:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        name: pool1\n        state: absent\n\n",
                        "metadata": {
                            "status": [
                                "preview"
                            ],
                            "supported_by": "community"
                        },
                        "return": null
                    },
                    "readme_file": null,
                    "readme_html": null
                },
                {
                    "content_name": "ibm_svc_info",
                    "content_type": "module",
                    "doc_strings": {
                        "doc": {
                            "author": [
                                "Peng Wang (@wangpww)"
                            ],
                            "description": [
                                "Gathers the list of specified IBM Spectrum Virtualize storage system entities. These include the list of nodes, pools, volumes, hosts, host clusters, FC ports, iSCSI ports, target port FC, FC consistgrp, vdiskcopy, I/O groups, FC map, FC connectivity, NVMe fabric, array, and system."
                            ],
                            "filename": "/tmp/tmpr6otauyo/ansible_collections/ibm/spectrum_virtualize/plugins/modules/ibm_svc_info.py",
                            "module": "ibm_svc_info",
                            "options": [
                                {
                                    "description": [
                                        "The hostname or management IP of the Spectrum Virtualize storage system"
                                    ],
                                    "name": "clustername",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Domain for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "domain",
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "vol",
                                        "pool",
                                        "node",
                                        "iog",
                                        "host",
                                        "hc",
                                        "fcport",
                                        "iscsiport",
                                        "nf",
                                        "fcmap",
                                        "fc",
                                        "fcconsistgrp",
                                        "vdiskcopy",
                                        "targetportfc",
                                        "array",
                                        "system",
                                        "all"
                                    ],
                                    "default": "all",
                                    "description": [
                                        "List of string variables to specify the IBM Spectrum Virtualize entities for which information is required.",
                                        "all - list of all IBM Spectrum Virtualize entities supported by the module",
                                        "vol - lists information for VDisks",
                                        "pool - lists information for mdiskgrps",
                                        "node - lists information for nodes",
                                        "iog - lists information for I/O groups",
                                        "host - lists information for hosts",
                                        "hc - lists information for host clusters",
                                        "fc - lists information for FC connectivity",
                                        "fcport - lists information for FC ports",
                                        "targetportfc - lists information for WWPN which is required to set up FC zoning and to display the current failover status of host I/O ports",
                                        "fcmap - lists information for FC maps",
                                        "fcconsistgrp - displays a concise list or a detailed view of FlashCopy consistency groups",
                                        "iscsiport - lists information for iSCSI ports",
                                        "vdiskcopy - lists information for volume copy",
                                        "nf - lists information for NVMe fabric",
                                        "array - lists information for array MDisks",
                                        "system - displays the storage system information"
                                    ],
                                    "name": "gather_subset",
                                    "required": false,
                                    "type": "list"
                                },
                                {
                                    "description": [
                                        "Debugs log for this file"
                                    ],
                                    "name": "log_path",
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Collects storage information"
                                    ],
                                    "name": "name",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API password for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "password",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "choices": [
                                        "info"
                                    ],
                                    "default": "info",
                                    "description": [
                                        "Returns \"info\""
                                    ],
                                    "name": "state",
                                    "required": false,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "REST API username for the IBM Spectrum Virtualize storage system"
                                    ],
                                    "name": "username",
                                    "required": true,
                                    "type": "str"
                                },
                                {
                                    "description": [
                                        "Validate certification"
                                    ],
                                    "name": "validate_certs",
                                    "type": "bool"
                                }
                            ],
                            "short_description": "This module gathers various information from the IBM Spectrum Virtualize storage systems.",
                            "version_added": "2.10"
                        },
                        "examples": "\n- name: Using the IBM Spectrum Virtualize collection to gather storage information\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Get volume info\n      ibm_svc_info:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/ansible.log\n        state: info\n        gather_subset: vol\n\n- name: Using the IBM Spectrum Virtualize collection to gather storage information\n  hosts: localhost\n  collections:\n    - ibm.spectrum_virtualize\n  gather_facts: no\n  connection: local\n  tasks:\n    - name: Get pool info\n      ibm_svc_info:\n        clustername: \"{{clustername}}\"\n        domain: \"{{domain}}\"\n        username: \"{{username}}\"\n        password: \"{{password}}\"\n        log_path: /tmp/ansible.log\n        state: info\n        gather_subset: pool\n\n",
                        "metadata": {
                            "status": [
                                "preview"
                            ],
                            "supported_by": "community"
                        },
                        "return": null
                    },
                    "readme_file": null,
                    "readme_html": null
                },
                {
                    "content_name": "ibm_svc_utils",
                    "content_type": "module_utils",
                    "doc_strings": null,
                    "readme_file": null,
                    "readme_html": null
                }
            ],
            "documentation_files": []
        }
    },
    "documentation": "",
    "homepage": "",
    "id": "f3be6e19-c674-4938-a205-2fad68adde0e",
    "issues": "",
    "license": [],
    "md5": "3a21e0b151cce043286d91db14044cb6",
    "name": "spectrum_virtualize",
    "namespace": "ibm",
    "pulp_created": "2020-09-22T19:55:09.875768Z",
    "pulp_href": "/pulp/api/v3/content/ansible/collection_versions/f3be6e19-c674-4938-a205-2fad68adde0e/",
    "repository": "https://github.com/ansible-collections/ibm.spectrum_virtualize",
    "sha1": "eadcd084c5f02fab711b41e12929b27c8be481fe",
    "sha224": "736ac73a11f2817af5a14c6aa13183ed1fdc056fba7a9a718519b8b6",
    "sha256": "58ec7df4d8276fc6585b4ae69a03fbbb01fcc4e616342f18e906776c112f9f86",
    "sha384": "33074f38fdf45c8a585a14479e4366b4f277ca0b51a6310f46f3e548bf767c07c517450ba2ea4ddc641babe5fe9fbc9d",
    "sha512": "e7aba7d71fa0c847fdc666acf23eb9164a16b8e516ab3ce9fa2d500a21df278c015d2a3e65da313daa944a3d5a62e115277efefebb60a6e591ff2e3b0549258c",
    "tags": [
        {
            "name": "storage"
        }
    ],
    "version": "1.0.12-awc08"
}

(pulp) [vagrant@pulp3-source-fedora31 pulp_ansible]$ pip list | grep pulp
pulp-ansible                    0.4.0.dev0   /home/vagrant/devel/pulp_ansible
pulp-ansible-client             0.0.0
pulp-file                       1.3.0.dev0   /home/vagrant/devel/pulp_file
pulp-file-client                0.0.0
pulp-rpm                        3.7.0.dev0   /home/vagrant/devel/pulp_rpm
pulp-rpm-client                 0.0.0
pulp-smash                      1!0.11.0
pulpcore                        3.7.0.dev0   /home/vagrant/devel/pulpcore
pulpcore-client                 0.0.0

I've used this test: https://github.com/pulp/pulp_ansible/blob/master/pulp_ansible/tests/functional/cli/test_collection_install.py#L104-L116

#2 Updated by bmbouter about 1 month ago

  • Project changed from Pulp to Ansible Plugin

#3 Updated by pulpbot about 1 month ago

  • Status changed from NEW to POST

#4 Updated by fao89 about 1 month ago

  • Sprint/Milestone set to 0.4.1

#5 Updated by Anonymous about 1 month ago

  • Status changed from POST to MODIFIED

#7 Updated by pulpbot about 1 month ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF