Ask Your Question

ndquockhanh's profile - activity

2013-09-19 03:48:01 -0500 answered a question what is the prerequisite for multinode cinder

just do reproduce this case by creating new volume and attach the full log file for more detail in this issue.

2013-07-29 04:40:00 -0500 answered a question Is cinder necessary to be installed for ceph?

In this case, cinder just is a front-end storage: is a connector from vm client to a back-end storage. ceph is a back-end storage: where to store data.

If you don't want to use ceph as a back-end storage, there're a lot of candidates like as: glusterfs, nfs, iscsi ...

By default, cinder uses the local-volume like as a back-end storage through iscsi ... you need to change cinder config if you want to use another.

Depends on your purpose and your infrastructure system which you own, select a corresponding candidate. if you want to build a distributed storage for large scale, i recommend you use ceph.

And for small scale, you can use local disk as a back-end storage..

2013-07-29 04:11:31 -0500 answered a question wrong password set in api-paste.ini, but still pass the auth

Check your environment variables presents on your machine.

when you executes command "nova list" from command, system get the arguments from env such as: --os-username = env[OS_USERNAME]. --os-password = env[OS_PASSWORD] , etc...

and pass to command nova list , then send to nova-api service to get result.

Hope this information useful to you!!

2013-04-26 02:45:01 -0500 answered a question what is the prerequisite for multinode cinder

| 2013-04-08 22:48:21 | 2013-04-25 18:45:44 | NULL | 0 | 1 | grzrc3 | cinder-scheduler | cinder-scheduler | 144940 | 0 | nova | | 2013-04-18 10:14:32 | 2013-04-24 09:49:08 | NULL | 0 | 6 | cinder | cinder-volume | cinder-volume | 43577 | 0 | nova |

I see that the update-time field of cinder-volume hasn't updated frequently -> so the cinder scheduler service marked it like as a service down.

I share you the formula which uses to check service down :

last_heartbeat = service['updated_at'] or service['created_at']
# Timestamps in DB are UTC.
elapsed = total_seconds(timeutils.utcnow() - last_heartbeat)
return abs(elapsed) <= FLAGS.service_down_time

FLAGS.service_down_time is 60s in default.

Hope it help you detect your problem...

2013-04-25 02:27:12 -0500 answered a question what is the prerequisite for multinode cinder

from your log, i see that cinder-volume services is down or disable.

Take a look the table services in cinder db to make sure that the cinder-volume is present and hasn't disabled yet.

2013-04-22 13:26:55 -0500 answered a question what is the prerequisite for multinode cinder

share me your log which included that error, it's easier to detect your problem

2013-04-18 03:07:45 -0500 answered a question what is the prerequisite for multinode cinder

another options you to expand the storage nodes:

  1. use multi-backend lvm volumes, see more detail in the guide: http://docs.openstack.org/trunk/openstack-block-storage/admin/content/multi_backend.html (http://docs.openstack.org/trunk/opens...)

  2. select one the stable storage back-end, -> it's easier to extend more storage node dynamically. In my deployment, i'm using ceph likes as the storage back-end. ^.^

Hope they're useful to you ;)

2013-04-18 02:41:02 -0500 answered a question what is the prerequisite for multinode cinder

for the simple deployement, i suggest you install one cinder-api, and cinder-scheduler on controller node and install cinder-volume on the cluster nodes..

I included HA for these cinder services, so i installed all.

2013-04-16 10:07:49 -0500 answered a question what is the prerequisite for multinode cinder

for me, I installed all on the storage node.

2013-04-10 06:58:06 -0500 answered a question how to install and configure cinder-volume in a different computer system

just install cinder-services on another node

2013-04-10 06:55:19 -0500 answered a question what is the prerequisite for multinode cinder

Go ahead to install cinder component in another node. ^.^. Just remind, update correct end-point of cinder volume in keystore to new server path.

2013-03-06 16:23:54 -0500 answered a question how can set up the Cinder on the different node

The controller can auto-detect cinder node by keystone-endpoint.

2013-03-06 09:20:22 -0500 answered a question No handlers could be found for logger "keystoneclient.client"

Make sure that you can connect successfully to keystone services on port :35357 and 5000 . From your log file, the keystone client can't access to the keystone admin service on port 5000.

you can check by using the command below:

curl -i http://172.20.20.6:35357/v2.0/users -X GET -H "User-Agent: python-keystoneclient" -H "X-Auth-Token: 92e139f7876bc89d12f6"

2013-03-06 08:57:45 -0500 answered a question can't ssh an instance

From your ouput , I see that vm couldn't connect to metadata service to retrieve instance-specific data.

To allow instances to reach the metadata service, the nova-network service will configure iptables to NAT port 80 of the 169.254.169.254 address to the IP address specified in metadata_host (default $my_ip, which is the IP address of the nova-network service) and port specified in metadata_port (default 8775) in /etc/nova/nova.conf.

check with iptables -t nat -S and make sure the presence of the line below

-A nova-network-PREROUTING -d 169.254.169.254/32 -p tcp -m tcp --dport 80 -j DNAT --to-destination <metadata_host_ip>:8775

2013-03-06 08:43:11 -0500 answered a question installation openstack

First execute the scripts below to grant privileges for keystone user:

GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'password'; GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'password'; FLUSH PRIVILEGES;

Next, you try to connect to mysql use account keystone. if okay, after that you can try again test command

keystone-manage db_sync

2013-02-28 08:10:35 -0500 asked a question how can set up the Cinder on the different node

how can set up the Cinder on the different node ?

Now i want to install the cinder on another server differ from controller node to reduce overload for controller node.

With current version, can we do that ? if we do, please share me how can put config in nova.config to controller access to one cinder node ?

Thanks.