Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to add Scale HPT to my cluster #670

Open
moonlight16 opened this issue Aug 17, 2022 · 1 comment
Open

Unable to add Scale HPT to my cluster #670

moonlight16 opened this issue Aug 17, 2022 · 1 comment

Comments

@moonlight16
Copy link
Member

Describe the bug
Installing scale_hpt role failed with:

TASK [ibm.spectrum_scale.scale_hpt/node : install | Check installation method] ****************************************************************************************************************************
fatal: [arch1-master1.sl.cloud9.ibm.com -> localhost]: FAILED! => {
    "assertion": "scale_installmethod is defined",
    "changed": false,
    "evaluated_to": false,
    "msg": "Please set the appropriate variable 'scale_install_*' for your desired installation method!"
}

It seems the scale_install_remotepkg_path support was missing.

Once I added it to install.yml, next, I ran into missing install_remote_pkg.yml file. I created this file with appropriate pkg installation.

These changes worked so I'll submit these changes in a PR.

To Reproduce
Here's my playbook:

# playbook.yml:
---
- hosts: arch1
  collections:
    - ibm.spectrum_scale
  vars:
    - scale_version: 5.1.4.1
    - scale_install_remotepkg_path: /root/Spectrum_Scale_Data_Management-5.1.4.1-x86_64-Linux-install
  roles:
    - core/precheck
    - core/node
    - core/cluster
    - core/postcheck
    - scale_hpt/precheck
    - scale_hpt/node
    - scale_hpt/postcheck
    - gui/precheck
    - gui/node
    - gui/cluster

Here's my inventory:

[arch1]
arch1-master1.sl.cloud9.ibm.com ansible_user=root scale_cluster_quorum=true scale_cluster_manager=true scale_cluster_gui=true
arch1-worker1.sl.cloud9.ibm.com ansible_user=root scale_cluster_quorum=true scale_cluster_manager=true scale_cluster_gui=true
arch1-worker2.sl.cloud9.ibm.com ansible_user=root scale_cluster_quorum=true scale_cluster_manager=true scale_cluster_gui=true

Expected behavior
I expected to install HPT and find the utility mmafmtransfer.

Environment

❯ ansible --version
ansible [core 2.13.1]
  config file = None
  configured module search path = ['/Users/jacohn/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/local/Cellar/ansible/6.1.0/libexec/lib/python3.10/site-packages/ansible
  ansible collection location = /Users/jacohn/.ansible/collections:/usr/share/ansible/collections
  executable location = /usr/local/bin/ansible
  python version = 3.10.5 (main, Jun 23 2022, 17:15:25) [Clang 13.1.6 (clang-1316.0.21.2.5)]
  jinja version = 3.1.2
  libyaml = True
❯ python3 --version
Python 3.10.5
# Deployment
rpm -qa | grep gpfs

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

@moonlight16
Copy link
Member Author

moonlight16 commented Aug 17, 2022

I'm having trouble pushing my PR. In the meantime here's the diff:
diff.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant