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

2013-07-12 Thread Ruslan Kamaldinov
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@sl-3 ~]$ curl http://localhost:8386/v1.0
> 
>  
>   401 Unauthorized
>  
>  
>   401 Unauthorized
>   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.
> Authentication required
> 
> 
>  
> 
> 
> 
> From: arin...@live.com (mailto:arin...@live.com)
> To: rkamaldi...@mirantis.com (mailto:rkamaldi...@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: rkamaldi...@mirantis.com (mailto:rkamaldi...@mirantis.com)
> To: arin...@live.com (mailto:arin...@live.com)
> CC: openstack-dev@lists.openstack.org 
> (mailto:openstack-dev@lists.openstack.org); savanna-...@lists.launchpad.net 
> (mailto:savanna-...@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@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-...@lists.launchpad.net 
> > (mailto:savanna-...@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-...@lists.launchpad.net 
> (mailto:savanna-...@lists.launchpad.net)
> Unsubscribe : https://launchpad.net/~savanna-all
> More help : https://help.launchpad.net/ListHelp
> 
> 


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


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

2013-07-12 Thread Ruslan Kamaldinov
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-all
> Post to : savanna-...@lists.launchpad.net 
> (mailto:savanna-...@lists.launchpad.net)
> Unsubscribe : https://launchpad.net/~savanna-all
> More help : https://help.launchpad.net/ListHelp
> 
> 


___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev