[Openstack] [OpenStack]Instances are running, but they cannot be pinged.

2011-12-26 Thread Xuyun Zhang
Hi folks, It appears that I have successfully run my instances with the 'running' status. However, I can't ping to the instance and get the console output. I have authorized the ping and ssh. There is no directory like /var/lib/nova/instance/instance-/ So I guess the instances actually hav

[Openstack] About keystone concepts: the difference between the key of a credential and the password of a user

2012-01-13 Thread Xuyun Zhang
I was really confused by the concepts in keystone (I'm a beginner to OpenStack). When we create a user, we should set the username and password for this user. According the command "keystone-manage credentials add [username] [type] [key] [password]([tenant_name])", we still need a key and a passwor

[Openstack] Keystone Curl can't get tokens by credentials

2012-01-14 Thread Xuyun Zhang
I set the database by running ./sampledata Then I tried to use curl to get tokens, the command is: $ curl -d '{"auth":{"passwordCredentials":{"username": "admin", "password": "secrete"}}}' -H "Content-type: application/json" http://localhost:35357/v2.0/tokens The result is : $ {"IdentityFault":

Re: [Openstack] Keystone Curl can't get tokens by credentials

2012-01-16 Thread Xuyun Zhang
gt; Hi! > > You are using sqlite and I guess that you have run ./sampledata as root. > So, the database file is owned by root and cannot be writable by `keystone` > user. > > Please change it ownership (run as root in the directory where you have > your keystone.db): > >

Re: [Openstack] Keystone Curl can't get tokens by credentials

2012-01-17 Thread Xuyun Zhang
.0.1:5000/v2.0 -U asdf -K asdfasdf post myfiles" ("myfiles" is a container I created before). Thank you so much for you help. Fine regards, Sean. On 17 January 2012 04:26, Alessio Ababilov wrote: > Hi! > > Please! > > Why are you using v1.0 in this command: > &g

[Openstack] Running swift got stuck!

2012-01-19 Thread Xuyun Zhang
Dear all, After I ran the command "swift -A http://127.0.0.1:5000/v2.0/ -U demo-tenant:demo -K secrete -V 2.0 stat -v", the swift command got stuck and nothing appeared. I even had to login from other tty to kill this swift process. I have already used curl -i http://127.0.0.1:5000/v2.0/tokens -H

[Openstack] Can't log into Dashboard.

2012-01-19 Thread Xuyun Zhang
Hi all, I have install the Dashboad according the documentation. http://docs.openstack.org/diablo/openstack-compute/admin/content/run-the-server.html. During the installation step "tools/with_venv.sh openstack-dashboard/manage.py syncdb", I got the message below: Creating tables ... Installing c