Closed Viv1986 closed 3 years ago
@karthick-rn could you please help
Do you have a valid muchos.props file with cluster_type
set to azure
? The error you describe will occur if there is any invalid cluster type specified. Also, ensure that there are no trailing characters after the azure
.
Also, please confirm you have read and executed the regular pre-requisites as in the readme.
@arvindshmicrosoft yes, I set it with big first letter, but problem still there
bin/muchos launch -c 123
Traceback (most recent call last):
File "/mnt/c/projects/fluo-muchos/lib/main.py", line 95, in
az version { "azure-cli": "2.17.1", "azure-cli-core": "2.17.1", "azure-cli-telemetry": "1.0.6", "extensions": { "aks-preview": "0.4.17" } }
Thank you. It looks like you are missing at least the azure
module pre-requisite. The easiest way to install these is to execute pip install -r ./lib/requirements.txt
within the same Python virtual environment that you set up originally. That will pull down all the required Python libraries. Let us know how it goes.
Nope, not worked also there is no azure module in reqs cat lib/requirements.txt flake8==3.8.0 ansible-lint==4.2.0 ansible==2.9.13 ansible[azure]==2.9.13 nose==1.3.7
Nope, not worked also there is no azure module in reqs cat lib/requirements.txt flake8==3.8.0 ansible-lint==4.2.0 ansible==2.9.13 ansible[azure]==2.9.13 nose==1.3.7
The azure
module is there in the second last line. When you run pip install -r ./lib/requirements.txt
does that complete successfully or do you see any error? Can you run ansible --version
& az --version
on Ubuntu and share the output?
az --version azure-cli 2.17.1
core 2.17.1 telemetry 1.0.6
Extensions: aks-preview 0.4.17
ansible --version ansible 2.10.4 config file = /etc/ansible/ansible.cfg
Your Ansible version is 2.10.4, from 2.10 onwards Ansible moved anything that is not deemed as core
into a separate ansible-collections
repository. Based on which the azure
module becomes part of the collections, I'm not sure what additional steps you may need to get this working with 2.10. Hence in the requirements.txt
we recommend using 2.9.13
. Can you uninstall Ansible 2.10.4 and install 2.9.13
using something like pip install 'ansible[azure]==2.9.13'
and once done ensure the version is correct and try the launch step again.
thanks, that thing started work
Great. I assume you now have an Accumulo cluster configured with ADLS Gen2. Let us know if you need any further help? Also, we'll close the issue you opened in the Accumulo community.
Hi,
everything setuped from article https://github.com/apache/fluo-muchos/blob/main/docs/azure-ubuntu-1804.md
but I get bin/muchos launch -c 123
Traceback (most recent call last): File "/mnt/c/projects/fluo-muchos/lib/main.py", line 95, in
main()
File "/mnt/c/projects/fluo-muchos/lib/main.py", line 64, in main
config.verify_config(action)
AttributeError: 'NoneType' object has no attribute 'verify_config'