← Back to team overview

savanna-all team mailing list archive

Re: installation problem

 

Hi,

The new document works great except this command $ sudo pip install savannadashboard.

I changed the savanna config to:
[DEFAULT]

# REST API config
port=8386
allow_cluster_ops=true

# Address and credentials that will be used to check auth tokens
os_auth_host=192.168.122.11
os_auth_port=35357
os_admin_username=admin
os_admin_password=openstack
os_admin_tenant_name=admin

# (Optional) Name of log file to output to. If not set,
# logging will go to stdout. (string value)
log_file=/home/arindam/savanna.log

[cluster_node]

# An existing user on Hadoop image (string value)
#username=root

# User's password (string value)
#password=swordfish

# When set to false, Savanna uses only internal IP of VMs.
# When set to true, Savanna expects OpenStack to auto-assign
# floating IPs to cluster nodes. Internal IPs will be used for
# inter-cluster communication, while floating ones will be
# used by Savanna to configure nodes. Also floating IPs will
# be exposed in service URLs (boolean value)
use_floating_ips=true

[sqlalchemy]

# URL for sqlalchemy database (string value)
database_uri=sqlite:////tmp/savanna-server.db


and I changed config of dashboard as specified.

but I can not access the savanna dashboard:

[arindam@sl-3 ~]$ curl http://localhost:8386/v1.0
<html>
 <head>
  <title>401 Unauthorized</title>
 </head>
 <body>
  <h1>401 Unauthorized</h1>
  This server could not verify that you are authorized to access the document you requested. Either you supplied the wrong credentials (e.g., bad password), or your browser does not understand how to supply the credentials required.<br /><br />
Authentication required


 </body>
</html>


From: arindam@xxxxxxxx
To: rkamaldinov@xxxxxxxxxxxx
Subject: RE: [Savanna-all] installation problem
Date: Fri, 12 Jul 2013 11:33:24 +0200




Thanks.

Date: Fri, 12 Jul 2013 13:25:45 +0400
From: rkamaldinov@xxxxxxxxxxxx
To: arindam@xxxxxxxx
CC: openstack-dev@xxxxxxxxxxxxxxxxxxx; savanna-all@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Savanna-all] installation problem


                It seems that you're using the latest code from Savanna v0.2, but following instructions from Savanna v0.1.Please follow these docs: https://savanna.readthedocs.org/en/latest/

Ruslan
                
                 
                On Friday, July 12, 2013 at 1:19 PM, Arindam Choudhury wrote:
                
                    


Hi,

While installing savanna I am getting this error:

[arindam@sl-3 savanna]$ tox -evenv -- bin/savanna-db-manage --config-file etc/savanna/savanna.conf reset-db --with-gen-templates
GLOB sdist-make: /home/arindam/savanna/setup.py
venv inst-nodeps: /home/arindam/savanna/.tox/dist/savanna-0.2.a12.gf85d74f.zip
venv runtests: commands[0] | bin/savanna-db-manage --config-file etc/savanna/savanna.conf reset-db --with-gen-templates
ERROR: InvocationError: could not find executable 'bin/savanna-db-manage'
_________________________________________________________________ summary __________________________________________________________________
ERROR:   venv: commands failed


Regards,
Arindam
 		 	   		  
-- Mailing list: https://launchpad.net/~savanna-allPost to     : savanna-all@lists.launchpad.netUnsubscribe : https://launchpad.net/~savanna-allMore help   : https://help.launchpad.net/ListHelp
                 
                 
                 
                 
                
                 
                
                    


                 		 	   		   		 	   		  

Follow ups

References