Comments (3)
HMC REST API wont support passwordless login (login using ssh keys) . Since powervm_lpar_instance
module rely on REST API, it wont support this. And hmc_command
is purely CLI based module, hence it support passwordless.
from ansible-power-hmc.
Thanks, that explains it.
Tried with password, it does not work either in our case. The password contains a "(" character, which leads to:
The full traceback is:
File "/tmp/ansible_powervm_lpar_instance_payload_th83x584/ansible_powervm_lpar_instance_payload.zip/ansible_collections/ibm/power_hmc/plugins/modules/powervm_lpar_instance.py", line 1076, in create_partition
File "/tmp/ansible_powervm_lpar_instance_payload_th83x584/ansible_powervm_lpar_instance_payload.zip/ansible_collections/ibm/power_hmc/plugins/module_utils/hmc_resource.py", line 31, in listHMCVersion
result = self.hmcconn.execute(lshmcCmd)
File "/tmp/ansible_powervm_lpar_instance_payload_th83x584/ansible_powervm_lpar_instance_payload.zip/ansible_collections/ibm/power_hmc/plugins/module_utils/hmc_cli_client.py", line 71, in execute
raise HmcError(errMsg)
fatal: [XXXXXXXX]: FAILED! => {
"changed": false,
"invocation": {
"module_args": {
"action": null,
"advanced_info": null,
"all_resources": null,
"delete_vdisks": null,
"hmc_auth": {
"password": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER",
"username": "VALUE_SPECIFIED_IN_NO_LOG_PARAMETER"
},
...
"msg": "HmcError: b"/bin/sh: 0403-057 Syntax error at line 1 : `(' is not expected.""
from ansible-power-hmc.
This looks like any issue. Will drop the fix along with Dec release.
As a work around you may proceed with escape character like: pass\(\)word
from ansible-power-hmc.
Related Issues (20)
- power_system module - accept MTMS as system name HOT 1
- vios module - fails with lpar_env=vioserver in settings HOT 1
- HMC update/upgrade from latest at ibmwebsite HOT 2
- VIOS Update HOT 1
- ibm.power_hmc.hmc_command doesn't provide command_output HOT 1
- Documentation shows update instead of update_proc_mem
- powervm_dlpar shows "changed" as result even if nothing was changed
- Unable to install latest fix for HMC, aka MF71299 HOT 4
- New module to manage "Cloud connector"
- Missing poolID parameter with modules ibm.power_hmc.powervm_lpar_migration HOT 1
- Error: Missing prerequisite lxml package. Hint pip install lxml HOT 1
- powervm_lpar_instance incorrectly requires proc_unit to be a multiple of the minimum proc unit per vp (0.05 fince Power7+) HOT 3
- Get all facts from every managed system / lpar HOT 5
- Ansible PowerPC HMC: LPAR creation failed HOT 6
- Shutdown parameter HOT 5
- Vios facts should contain cpu/memory just like powervm_lpar_instance HOT 1
- ibm.power_hmc.powervm_inventory SystemName name missing of "identify_unknown_by" lpars HOT 4
- power_lpar_instance HMC fails to log in HOT 2
- powervm_lpar_instance generates a "EPOW_SUS_CHRP" environmental error in the error log and fails to shut the LPAR down HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ansible-power-hmc.