[openstack-dev] [Savanna-all] installation problem

Ruslan Kamaldinov rkamaldinov at mirantis.com
Fri Jul 12 10:55:34 UTC 2013


That's ok. You need to specify tenant id and provide auth token in headers. 
You can find detailed how-tos here https://savanna.readthedocs.org/en/latest/devref/quickstart.html


btw, please use openstack-dev mail-list for Savanna-related questions. Just prefix mail subject with [Savanna].

Ruslan 


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

> 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 at 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 at live.com (mailto:arindam at live.com)
> To: rkamaldinov at mirantis.com (mailto:rkamaldinov at mirantis.com)
> 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 at mirantis.com (mailto:rkamaldinov at mirantis.com)
> To: arindam at live.com (mailto:arindam at live.com)
> CC: openstack-dev at lists.openstack.org (mailto:openstack-dev at lists.openstack.org); savanna-all at lists.launchpad.net (mailto:savanna-all at lists.launchpad.net)
> 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 at 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-all
> > Post to : savanna-all at lists.launchpad.net (mailto:savanna-all at lists.launchpad.net)
> > Unsubscribe : https://launchpad.net/~savanna-all
> > More help : https://help.launchpad.net/ListHelp
> > 
> > 
> 
> 
> 
> -- 
> Mailing list: https://launchpad.net/~savanna-all
> Post to : savanna-all at lists.launchpad.net (mailto:savanna-all at lists.launchpad.net)
> Unsubscribe : https://launchpad.net/~savanna-all
> More help : https://help.launchpad.net/ListHelp
> 
> 


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20130712/5ceaf3b5/attachment.html>


More information about the OpenStack-dev mailing list