tasks:
- name: Create an AIX partition with profile name having special characters starting from (
ibm.power_hmc.powervm_lpar_instance:
hmc_host: "{{ inventory_hostname }}"
hmc_auth: '{{ curr_hmc_auth }}'
system_name: hmc-denali4-d52
vm_name: test5
os_type: aix
prof_name: (123_special
state: present
HMC: 10.48.16.217
Partition is getting created with default profile name, but at the same time throwing error message as well.
Observed other error messages also:
-
"msg": "HmcError: b'An error occurred while changing the partition profile named default_profile.HSCL059F The user-defined name "123specialasdhiwenjk234567789012asdfhjklwe.." is too long. The user-defined name cannot be longer than 31 characters.'"
-
"msg": "HmcError: b'An error occurred while changing the partition profile named default_profile.The format of the configuration data is invalid. The correct format is "<attribute name 1>=,<attribute name 2>=," or ""<attribute name 1>=<value 1>,<value 2>,>"," . Please correct the configuration data and retry the command. Note that depending on the shell being used, any nested double quote characters may need to be preceded by an escape character, which is usually a \'\' character.'"
tasks:
- name: Create an AIX partition with profile name having special characters starting from (
ibm.power_hmc.powervm_lpar_instance:
hmc_host: "{{ inventory_hostname }}"
hmc_auth: '{{ curr_hmc_auth }}'
system_name: hmc-denali4-d52
vm_name: test5
os_type: aix
prof_name: (123_special
state: present
HMC: 10.48.16.217
Partition is getting created with default profile name, but at the same time throwing error message as well.
Observed other error messages also:
"msg": "HmcError: b'An error occurred while changing the partition profile named default_profile.HSCL059F The user-defined name "123specialasdhiwenjk234567789012asdfhjklwe.." is too long. The user-defined name cannot be longer than 31 characters.'"
"msg": "HmcError: b'An error occurred while changing the partition profile named default_profile.The format of the configuration data is invalid. The correct format is "<attribute name 1>=,<attribute name 2>=," or ""<attribute name 1>=<value 1>,<value 2>,>"," . Please correct the configuration data and retry the command. Note that depending on the shell being used, any nested double quote characters may need to be preceded by an escape character, which is usually a \'\' character.'"