You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@fluo.apache.org by GitBox <gi...@apache.org> on 2021/01/05 21:03:37 UTC

[GitHub] [fluo-muchos] Viv1986 opened a new issue #383: Ubuntu 18.04 NoneType object has no attribute 'verify_config

Viv1986 opened a new issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383


   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 <module>
       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'


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] Viv1986 commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
Viv1986 commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755424510


   thanks, that thing started work


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] arvindshmicrosoft commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
arvindshmicrosoft commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-754941550


   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](https://github.com/apache/fluo-muchos/blob/main/README.md#azure).


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] Viv1986 commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
Viv1986 commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755201073


   Nope, not worked


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] Viv1986 closed issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
Viv1986 closed issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] arvindshmicrosoft commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
arvindshmicrosoft commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755016366


   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.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] karthick-rn commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
karthick-rn commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755298822


   > 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? 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] Viv1986 commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
Viv1986 commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-754921119


   @karthick-rn could you please help


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] karthick-rn commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
karthick-rn commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755396705


   Your Ansible version is 2.10.4, from 2.10 onwards Ansible moved anything that is not deemed as `core` into a separate `ansible-collection` 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. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] Viv1986 commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
Viv1986 commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755356817


   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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] karthick-rn commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
karthick-rn commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755573401


   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](https://github.com/apache/accumulo/issues/1850) you opened in the Accumulo community. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] Viv1986 commented on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
Viv1986 commented on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-754948761


   @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 <module>
       main()
     File "/mnt/c/projects/fluo-muchos/lib/main.py", line 87, in main
       from muchos.azure import VmssCluster
     File "/mnt/c/projects/fluo-muchos/lib/muchos/azure.py", line 22, in <module>
       from azure.common.client_factory import get_client_from_cli_profile
   ModuleNotFoundError: No module named 'azure'
   
    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"
     }
   }


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] Viv1986 edited a comment on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
Viv1986 edited a comment on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755201073


   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


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [fluo-muchos] karthick-rn edited a comment on issue #383: Ubuntu 18.04 NoneType object has no attribute verify_config

Posted by GitBox <gi...@apache.org>.
karthick-rn edited a comment on issue #383:
URL: https://github.com/apache/fluo-muchos/issues/383#issuecomment-755396705


   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. 


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org