[Openstack] what are the services required to setup for openstack storage node(cinder)

Kamsali, RaghavendraChari (Artesyn) RaghavendraChari.Kamsali at artesyn.com
Sun Mar 22 14:03:02 UTC 2015


When am installing cinder-volume as a saperate node as storage am getting error as follows :

=================================================================================================================================================
2015-03-22 19:16:48.665 ERROR cinder.volume.manager [-] Unexpected error while running command.
Command: env LC_ALL=C vgs --noheadings -o name stack-volumes-lvmdriver-1
Exit code: 5
Stdout: u''
Stderr: u'  Volume group "stack-volumes-lvmdriver-1" not found\n  Cannot process volume group stack-volumes-lvmdriver-1\n'
2015-03-22 19:16:48.665 TRACE cinder.volume.manager Traceback (most recent call last):
2015-03-22 19:16:48.665 TRACE cinder.volume.manager   File "/opt/stack/cinder/cinder/volume/manager.py", line 301, in init_host
2015-03-22 19:16:48.665 TRACE cinder.volume.manager     self.driver.check_for_setup_error()
2015-03-22 19:16:48.665 TRACE cinder.volume.manager   File "/usr/lib/python2.7/site-packages/osprofiler/profiler.py", line 105, in wrapper
2015-03-22 19:16:48.665 TRACE cinder.volume.manager     return f(*args, **kwargs)
2015-03-22 19:16:48.665 TRACE cinder.volume.manager   File "/opt/stack/cinder/cinder/volume/drivers/lvm.py", line 263, in check_for_setup_error
2015-03-22 19:16:48.665 TRACE cinder.volume.manager     lvm_conf=lvm_conf_file)
2015-03-22 19:16:48.665 TRACE cinder.volume.manager   File "/opt/stack/cinder/cinder/brick/local_dev/lvm.py", line 86, in __init__
2015-03-22 19:16:48.665 TRACE cinder.volume.manager     if self._vg_exists() is False:
2015-03-22 19:16:48.665 TRACE cinder.volume.manager   File "/opt/stack/cinder/cinder/brick/local_dev/lvm.py", line 123, in _vg_exists
2015-03-22 19:16:48.665 TRACE cinder.volume.manager     run_as_root=True)
2015-03-22 19:16:48.665 TRACE cinder.volume.manager   File "/opt/stack/cinder/cinder/utils.py", line 143, in execute
2015-03-22 19:16:48.665 TRACE cinder.volume.manager     return processutils.execute(*cmd, **kwargs)
2015-03-22 19:16:48.665 TRACE cinder.volume.manager   File "/usr/lib/python2.7/site-packages/oslo_concurrency/processutils.py", line 233, in execute
2015-03-22 19:16:48.665 TRACE cinder.volume.manager     cmd=sanitized_cmd)
2015-03-22 19:16:48.665 TRACE cinder.volume.manager ProcessExecutionError: Unexpected error while running command.
2015-03-22 19:16:48.665 TRACE cinder.volume.manager Command: env LC_ALL=C vgs --noheadings -o name stack-volumes-lvmdriver-1
2015-03-22 19:16:48.665 TRACE cinder.volume.manager Exit code: 5
2015-03-22 19:16:48.665 TRACE cinder.volume.manager Stdout: u''
2015-03-22 19:16:48.665 TRACE cinder.volume.manager Stderr: u'  Volume group "stack-volumes-lvmdriver-1" not found\n  Cannot process volume group stack-volumes-lvmdriver-1\n'
2015-03-22 19:16:48.665 TRACE cinder.volume.manager

Can anyone help to resolve this issue

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[stack at Storage devstack]$ sudo lvs
  LV   VG            Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  home fedora-server -wi-ao---- 76.62g
  root fedora-server -wi-ao---- 50.00g
  swap fedora-server -wi-ao----  9.81g

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[stack at Storage devstack]$ sudo vgs
  VG            #PV #LV #SN Attr   VSize   VFree
  fedora-server   1   3   0 wz--n- 136.49g 64.00m

-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Thanks and Regards,
Raghavendrachari kamsali | Software Engineer II  | Embedded Computing
Artesyn Embedded Technologies | 5th Floor, Capella Block, The V, Madhapur| Hyderabad, AP 500081 India
T +91-40-66747059 | M +919705762153



From: Ivan Kolodyazhny [mailto:e0ne at e0ne.info]
Sent: Friday, March 20, 2015 10:29 PM
To: Kamsali, RaghavendraChari [ENGINEERING/IN]
Cc: openstack at lists.openstack.org
Subject: Re: [Openstack] what are the services required to setup for openstack storage node(cinder)

Hi,

You need to setup only cinder-volume service on storage node. You can find guidelines in the Install Guide [1] for OpenStack in common and in the DevStack manual [2] for DevStack multi node environment.

[1] http://docs.openstack.org/juno/install-guide/install/yum/content/cinder-install-storage-node.html
[2] http://docs.openstack.org/developer/devstack/guides/multinode-lab.html

Regards,
Ivan Kolodyazhny,
Software Engineer,
Mirantis Inc.

On Thu, Mar 19, 2015 at 3:57 PM, Kamsali, RaghavendraChari (Artesyn) <RaghavendraChari.Kamsali at artesyn.com<mailto:RaghavendraChari.Kamsali at artesyn.com>> wrote:
Hi,

I would like to setup openstack as a multi-node setup as follows.

1.       Controller Node

2.       Compute Node

3.       Storage Node(block storage—cinder).

[cid:image001.png at 01D064D6.7A9C7FC0]



My question is:

•         what are the services needed  to start when openstack block storage as a saperate node apart from controller and compute node.

•         Could anyone help me how to setup manually and how to set up via devstack (configurations in local.conf file for cinder-volume only)


Thanks and Regards,
Raghavendrachari kamsali | Software Engineer II  | Embedded Computing
Artesyn Embedded Technologies | 5th Floor, Capella Block, The V, Madhapur| Hyderabad, AP 500081 India
T +91-40-66747059<tel:%2B91-40-66747059> | M +919705762153<tel:%2B919705762153>


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org<mailto:openstack at lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150322/5da22d4a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 8263 bytes
Desc: image001.png
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150322/5da22d4a/attachment.png>


More information about the Openstack mailing list