Skip to content

"msg": "HmcError: b'/bin/sh: 1: Syntax error: \"(\" unexpected'" #142

@meghakmk

Description

@meghakmk

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:

  1. "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.'"

  2. "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.'"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions