2019-05-16 15:40:31 |
Allain Legacy |
description |
Brief Description
-----------------
Unable to use Ansible to install a helm chart. An error reports that the python helm module (pyhelm) is missing from the target system.
This is the Ansible task:
- name: Deploy sample helm chart
copy:
src: /some/path/to/helm-chart-0.1.0.tgz
dest: /home/wrsroot/
owner: wrsroot
group: root
mode: 0644
This is the resulting error from the playbook:
fatal: [yow-cgcs-wildcat-7]: FAILED! => {"changed": false, "msg": "Could not import the pyhelm python module. Please install `pyhelm` package."}
Severity
--------
Minor, but if we want end users to integrate the Ansible configuration, system configuration, and application deployment into a higher level CI/CD type ansible playbook then we will need to provide this functionality.
Steps to Reproduce
------------------
Use the task provided above to try and run a sample helm chart on the target system.
Expected Behavior
------------------
The chart should have been installed on the running system.
Actual Behavior
----------------
An error prevents the chart from being installed.
Reproducibility
---------------
100%
System Configuration
--------------------
Any
Branch/Pull Time/Commit
-----------------------
Private load rebased on May 10.
Last Pass
---------
Never
Timestamp/Logs
--------------
See above
Test Activity
-------------
Developer testing |
Brief Description
-----------------
Unable to use Ansible to install a helm chart. An error reports that the python helm module (pyhelm) is missing from the target system.
This is the Ansible task:
- name: Install helm chart
helm:
host: localhost
chart:
name: hello-world
version: 0.1.0
source:
type: file
location: /path/to/some/hello-world-0.1.0.tgz
state: installed
name: hello-world
namespace: default
This is the resulting error from the playbook:
fatal: [yow-cgcs-wildcat-7]: FAILED! => {"changed": false, "msg": "Could not import the pyhelm python module. Please install `pyhelm` package."}
Severity
--------
Minor, but if we want end users to integrate the Ansible configuration, system configuration, and application deployment into a higher level CI/CD type ansible playbook then we will need to provide this functionality.
Steps to Reproduce
------------------
Use the task provided above to try and run a sample helm chart on the target system.
Expected Behavior
------------------
The chart should have been installed on the running system.
Actual Behavior
----------------
An error prevents the chart from being installed.
Reproducibility
---------------
100%
System Configuration
--------------------
Any
Branch/Pull Time/Commit
-----------------------
Private load rebased on May 10.
Last Pass
---------
Never
Timestamp/Logs
--------------
See above
Test Activity
-------------
Developer testing |
|