Execution
Date 08 Dec 2025 13:39:52 +0000
Duration 00:35:02.03
Controller aio1.openstack.local
User root
Versions
Ansible 2.18.6
ara 1.7.4 / 1.7.4
Python 3.12.3
Summary
2 Hosts
1377 Tasks
1365 Results
104 Plays
504 Files
0 Records

Task result details

  • Status
    OK
  • Duration
    00:00:15.19
  • Play
    Install cinder services
  • Task
    os_cinder : Add extra cinder volume types
  • Host
    aio1 ( task delegated to aio1 )

Field Value
changed
False
msg
All items completed
results

Result #1

Field Value
ansible_loop_var
item
changed
False
cmd
. /root/openrc
CLI_OPTIONS=""
  if ! /usr/bin/openstack ${CLI_OPTIONS} volume type show "low-iops"; then
    /usr/bin/openstack ${CLI_OPTIONS} volume type create      --property volume_backend_name="LVM_iSCSI"       "low-iops"
  fi
  if ! /usr/bin/openstack ${CLI_OPTIONS} volume type show "high-iops"; then
    /usr/bin/openstack ${CLI_OPTIONS} volume type create      --property volume_backend_name="LVM_iSCSI"       "high-iops"
  fi
  if ! /usr/bin/openstack ${CLI_OPTIONS} volume type show "ultra-high-iops"; then
    /usr/bin/openstack ${CLI_OPTIONS} volume type create      --property volume_backend_name="LVM_iSCSI"       "ultra-high-iops"
  fi
delta
0:00:14.592492
end
2025-12-08 13:52:40.354314
failed
False
invocation
{
    "module_args": {
        "_raw_params": ". /root/openrc\nCLI_OPTIONS=\"\"\n  if ! /usr/bin/openstack ${CLI_OPTIONS} volume type show \"low-iops\"; then\n    /usr/bin/openstack ${CLI_OPTIONS} volume type create      --property volume_backend_name=\"LVM_iSCSI\"       \"low-iops\"\n  fi\n  if ! /usr/bin/openstack ${CLI_OPTIONS} volume type show \"high-iops\"; then\n    /usr/bin/openstack ${CLI_OPTIONS} volume type create      --property volume_backend_name=\"LVM_iSCSI\"       \"high-iops\"\n  fi\n  if ! /usr/bin/openstack ${CLI_OPTIONS} volume type show \"ultra-high-iops\"; then\n    /usr/bin/openstack ${CLI_OPTIONS} volume type create      --property volume_backend_name=\"LVM_iSCSI\"       \"ultra-high-iops\"\n  fi\n",
        "_uses_shell": true,
        "argv": null,
        "chdir": null,
        "creates": null,
        "executable": "/bin/bash",
        "expand_argument_vars": true,
        "removes": null,
        "stdin": null,
        "stdin_add_newline": true,
        "strip_empty_ends": true
    }
}
item
{
    "key": "lvm",
    "value": {
        "extra_volume_types": [
            "low-iops",
            "high-iops",
            "ultra-high-iops"
        ],
        "iscsi_ip_address": "172.29.236.100",
        "lvm_type": "thin",
        "volume_backend_name": "LVM_iSCSI",
        "volume_driver": "cinder.volume.drivers.lvm.LVMVolumeDriver",
        "volume_group": "cinder-volumes"
    }
}
msg

rc
0
start
2025-12-08 13:52:25.761822
stderr
No volumetype with a name or ID of 'low-iops' exists.
No volumetype with a name or ID of 'high-iops' exists.
No volumetype with a name or ID of 'ultra-high-iops' exists.
stderr_lines
[
    "No volumetype with a name or ID of 'low-iops' exists.",
    "No volumetype with a name or ID of 'high-iops' exists.",
    "No volumetype with a name or ID of 'ultra-high-iops' exists."
]
stdout
+-------------+--------------------------------------+
| Field       | Value                                |
+-------------+--------------------------------------+
| description | None                                 |
| id          | d0172836-7da1-4158-a3fc-6b686df8af31 |
| is_public   | True                                 |
| name        | low-iops                             |
| properties  | volume_backend_name='LVM_iSCSI'      |
+-------------+--------------------------------------+
+-------------+--------------------------------------+
| Field       | Value                                |
+-------------+--------------------------------------+
| description | None                                 |
| id          | 822420ba-e3a5-4d3f-ab33-267fb690abfd |
| is_public   | True                                 |
| name        | high-iops                            |
| properties  | volume_backend_name='LVM_iSCSI'      |
+-------------+--------------------------------------+
+-------------+--------------------------------------+
| Field       | Value                                |
+-------------+--------------------------------------+
| description | None                                 |
| id          | 1d449823-8d34-4d0b-96da-2882931c2dab |
| is_public   | True                                 |
| name        | ultra-high-iops                      |
| properties  | volume_backend_name='LVM_iSCSI'      |
+-------------+--------------------------------------+
stdout_lines
[
    "+-------------+--------------------------------------+",
    "| Field       | Value                                |",
    "+-------------+--------------------------------------+",
    "| description | None                                 |",
    "| id          | d0172836-7da1-4158-a3fc-6b686df8af31 |",
    "| is_public   | True                                 |",
    "| name        | low-iops                             |",
    "| properties  | volume_backend_name='LVM_iSCSI'      |",
    "+-------------+--------------------------------------+",
    "+-------------+--------------------------------------+",
    "| Field       | Value                                |",
    "+-------------+--------------------------------------+",
    "| description | None                                 |",
    "| id          | 822420ba-e3a5-4d3f-ab33-267fb690abfd |",
    "| is_public   | True                                 |",
    "| name        | high-iops                            |",
    "| properties  | volume_backend_name='LVM_iSCSI'      |",
    "+-------------+--------------------------------------+",
    "+-------------+--------------------------------------+",
    "| Field       | Value                                |",
    "+-------------+--------------------------------------+",
    "| description | None                                 |",
    "| id          | 1d449823-8d34-4d0b-96da-2882931c2dab |",
    "| is_public   | True                                 |",
    "| name        | ultra-high-iops                      |",
    "| properties  | volume_backend_name='LVM_iSCSI'      |",
    "+-------------+--------------------------------------+"
]