nfvlabs / openmano

Openmano is an open source project that provides a practical implementation of the reference architecture for Management & Orchestration under standardization at ETSI’s NFV ISG
Apache License 2.0
180 stars 74 forks source link

Developer mode issue #29

Closed raffx91 closed 8 years ago

raffx91 commented 8 years ago

Hi, i'm trying to install openmano with:

when i try to add the host by the command ./openvim host-add i insert data requested by the script but it remains blocked until the reset of connection:

Exception POST at 'http://localhost:9085/openvim/hosts' HTTPConnectionPool(host='localhost', port=9085): Max retries exceeded with url: /openvim/hosts (Caused by <class 'socket.error'>: [Errno 104] Connection reset by peer)

Analysing the openvim log file i've founded the following statement

2016-03-07 13:49:14,378 paramiko.transport DEBUG: using kex diffie-hellman-grou$ 2016-03-07 13:49:14,436 paramiko.transport DEBUG: Switch to new keys ... 2016-03-07 13:49:14,458 paramiko.transport DEBUG: Adding ssh-rsa host key for 1$ 2016-03-07 13:49:14,464 paramiko.transport DEBUG: Trying discovered key 64907a2$ 2016-03-07 13:49:14,473 paramiko.transport DEBUG: userauth is OK 2016-03-07 13:49:14,600 paramiko.transport INFO: Authentication (publickey) suc$ raf@192.168.100.1's password: 127.0.0.1 - - [07/Mar/2016 13:53:21] "POST /openv$ 127.0.0.1 - - [07/Mar/2016 13:57:24] "POST /openvim/hosts HTTP/1.1" 401 133

That seems an authorization problem, but i've followed the guide for configuring the compute also in the part relating to the rsa keys, in fact from the controller i can ssh directly into compute node without the password insertion, so i think that the keys are correctly configured.

How to solve ?? Thanks