Maximo Open Forum

 View Only

 Error upon running MAS core playbook

Jump to  Best Answer
  • Maximo Application Suite
Vincent Yap's profile image
Vincent Yap posted 11-25-2024 04:33

Hi Experts,

We are getting below error when running ansible-playbook ibm.mas_devops.oneclick_core

TASK [ibm.mas_devops.ibm_catalogs : Create IBM online catalog] *********************************************************************************************************
ok: [localhost]
ERROR! Unexpected Exception, this is probably a bug: No module named 'mas'

ansible collections and pip ansible has already been installed.

Please advise.

Thanks.

Steven Shull's profile image
Steven Shull  Best Answer

My colleague Cecilia Stark mentioned the following:

"As of the v24 major release there's a new dependency, please use python3 -m pip install mas-devops https://pypi.org/project/mas-devops/"

I hope that helps resolve your issue. 

Michael Marsonet's profile image
Michael Marsonet

@Vincent Yap what version of MASCLI are you running? I did not run into this specific error but related to the same playbook ibm.mas_devops.oneclick_core which failed to install Grafana because it could not find the Storage Class. I believe from the Change logs starting with 11.10.x they are moving code to mas_devops and this may not have been fully tested in my opinion. That being said I reverted back to 11.9.3 that I know works well. 

If you are not sure how to download a previous version you simply need to add the version after  quay.io/ibmmas/cli, for example

docker run -ti --pull always quay.io/ibmmas/cli:11.9.3

Mike

Vincent Yap's profile image
Vincent Yap

Hi @Michael Marsonet 

Thanks. We are running ansible scripts using playbook, I think the one you suggested if for CLI.

Install Core - MAS DevOps Ansible Collection

Vincent Yap's profile image
Vincent Yap

Hi @Steven Shull 

Thanks, this resolved our issue and was able to install MAS core