Ask Your Question

karthikprabhu's profile - activity

2017-03-11 01:54:39 -0600 received badge  Necromancer (source)
2017-03-11 01:54:39 -0600 received badge  Teacher (source)
2017-03-10 16:26:12 -0600 answered a question Could not connect to gerrit

Yes, sometimes the gerrit struggles to find the remote. You can get it to work by creating a git remote manually in your local git folder and then perform git review -s. In my case, it is cinder. It should work after that

git remote add gerrit ssh://<gerrit-username>@review.openstack.org:29418/openstack/cinder.git

Hope this helps.

2017-03-10 16:20:56 -0600 received badge  Editor (source)
2017-03-10 16:10:12 -0600 answered a question Cinder LVM Volume local to Instance ?

yes Of course you can. it is called the InstanceLocalityFilter for the cinder scheduler.

In order for this to work: -

  1. At least one physical host should run both nova-compute and cinder-volume services. The Extended Server Attributes extension needs to be active in Nova (this is by default), so that the 'OS-EXT-SRV-ATTR:host' property is returned when requesting instance info.

  2. The user making the call needs to have sufficient rights for the property to be returned by Nova. This can be achieved either by changing Nova's policy.json (the 'extended_server_attributes' option), or by setting an account with privileged rights in Cinder conf.

$nova list

You need to create a volume of size 1 like

$cinder create --hint local_to_instance=<instance-id> 1

For more information, you can follow bug: https://bugs.launchpad.net/openstack-manuals/+bug/1408387 (https://bugs.launchpad.net/openstack-...)

Let me know if this helps.

Regards, Karthik Prabhu

2017-03-08 10:03:36 -0600 answered a question cinder create volume API

HI,

If you are creating cinder volume from the CLI, I would suggest you first list the volumes types by using cinder type-list and then uses one of them during volume creation as

cinder create 1 --name test --volume-type <namefromabove command>
2016-04-02 05:38:24 -0600 answered a question Could not connect to gerrit

I am getting an error on running nc.

ubuntu@karthikvm:/opt/stack/cinder$ nc http://review.openstack.org 29418 nc: getaddrinfo: Name or service not known