IBM / ibm-spectrum-scale-install-infra

Spectrum Scale Installation and Configuration
Apache License 2.0
64 stars 68 forks source link

When playbook fails and I switch Spectrum Scale Edition, doesn't seem to pick up the new one #114

Open whowutwut opened 4 years ago

whowutwut commented 4 years ago

Follow up to issue #113, I wanted to break this into another issue as I think it may be more involved.

After I attempted to run install using Data Access and hit issue #113.... I tried to install Data Management. The following RPMs are installed after the failure...

# rpm -qa | grep gpfs
gpfs.gskit-8.0.55-12.x86_64
gpfs.msg.en_US-5.0.5-0.noarch
gpfs.base-5.0.5-0.x86_64
gpfs.docs-5.0.5-0.noarch

and failure is:

TASK [core/node : install | Add GPFS Dependent License RPMs to list] ****************************
fatal: [PR-test-x-master]: FAILED! => {"msg": "list object has no element 0"}
fatal: [PR-test-x-worker1]: FAILED! => {"msg": "list object has no element 0"}
fatal: [PR-test-x-worker2]: FAILED! => {"msg": "list object has no element 0"}

PLAY RECAP **************************************************************************************
PR-test-x-master           : ok=45   changed=0    unreachable=0    failed=1    skipped=27   rescued=0    ignored=0
PR-test-x-worker1          : ok=40   changed=0    unreachable=0    failed=1    skipped=14   rescued=0    ignored=0
PR-test-x-worker2          : ok=40   changed=0    unreachable=0    failed=1    skipped=14   rescued=0    ignored=0

Now, if i try to install the Data Management package ansible-playbook -i hosts playbook-data-mgt.yml with this yml...

# diff playbook.yml  playbook-data-mgt.yml
6c6
<     - scale_install_localpkg_path: /root/install-infra/Spectrum_Scale_Data_Access-5.0.5.0-x86_64-Linux-install
---
>     - scale_install_localpkg_path: /root/install-infra/Spectrum_Scale_Data_Management-5.0.5.0-x86_64-Linux-install

I still get the same issue...

TASK [core/node : install | Add GPFS License RPMs to list] **************************************
ok: [PR-test-x-master] => (item=gpfs.license.da-5.0.5-0.x86_64.rpm)
ok: [PR-test-x-worker1] => (item=gpfs.license.da-5.0.5-0.x86_64.rpm)
ok: [PR-test-x-worker2] => (item=gpfs.license.da-5.0.5-0.x86_64.rpm)

TASK [core/node : install | Add GPFS Dependent License RPMs to list] ****************************
fatal: [PR-test-x-master]: FAILED! => {"msg": "list object has no element 0"}
fatal: [PR-test-x-worker1]: FAILED! => {"msg": "list object has no element 0"}
fatal: [PR-test-x-worker2]: FAILED! => {"msg": "list object has no element 0"}

PLAY RECAP **************************************************************************************
PR-test-x-master           : ok=45   changed=0    unreachable=0    failed=1    skipped=27   rescued=0    ignored=0
PR-test-x-worker1          : ok=40   changed=0    unreachable=0    failed=1    skipped=14   rescued=0    ignored=0
PR-test-x-worker2          : ok=40   changed=0    unreachable=0    failed=1    skipped=14   rescued=0    ignored=0

But if we look at the above, it seems like it's picking up gpfs.license.da is that the data access license? It seems like we can't switch between the GPFS packages even on unsuccessful installs?

rajan-mis commented 4 years ago

FYI , we already have an defect for DAE,

@vhu we already have a defect for DAE issue and i already fixed it but not yet merged . we have to skip crypto and advance package installation similar as standard package because DAE package does contain advance and crypto functionality.

https://github.com/IBM/ibm-spectrum-scale-install-infra/issues/92