|
results
|
Result #1
| Field |
Value |
|
ansible_loop_var
|
|
|
changed
|
|
|
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
|
|
|
end
|
2025-12-08 13:52:40.354314
|
|
failed
|
|
|
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
|
|
|
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' |",
"+-------------+--------------------------------------+"
]
|
|