Am getting error when I run the commands as shown below :




[stack@Controller devstack]$ cinder service-list

+------------------+---------------------+------+---------+-------+----------------------------+-----------------+

|      Binary      |         Host        | Zone |  Status | State |         
Updated_at         | Disabled Reason |

+------------------+---------------------+------+---------+-------+----------------------------+-----------------+

| cinder-scheduler |      Controller     | nova | enabled |   up  | 
2015-03-23T05:35:51.000000 |       None      |

|  cinder-volume   | Storage@lvmdriver-1 | nova | enabled |  down | 
2015-03-23T05:37:56.000000 |       None      |

+------------------+---------------------+------+---------+-------+----------------------------+-----------------+

[stack@Controller devstack]$

[stack@Controller devstack]$ cinder create 1

ERROR: Internal Server Error (HTTP 500) (Request-ID: 
req-e427e47a-02c1-4d38-9584-989f94bda33b)

[stack@Controller devstack]$











-----Original Message-----
From: Uwe Sauter [mailto:[email protected]]
Sent: Sunday, March 22, 2015 7:50 PM
To: [email protected]
Subject: Re: [Openstack] what are the services required to setup for openstack 
storage node(cinder)



As shown in the output of "vgs" there is no volume group named 
"stack-volumes-lvmdriver-1" on your setup but your configuration requires that.







Am 22.03.2015 um 15:03 schrieb Kamsali, RaghavendraChari (Artesyn):

> 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@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@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:[email protected]]

> *Sent:* Friday, March 20, 2015 10:29 PM

> *To:* Kamsali, RaghavendraChari [ENGINEERING/IN]

> *Cc:* [email protected]<mailto:[email protected]>

> *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/cinde

> r-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)

> <[email protected]

> <mailto:[email protected]>> 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).

>

>

>

>

>

> 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     : 
> [email protected]<mailto:[email protected]> 
> <mailto:[email protected]>

> Unsubscribe :

> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

>

>

>

>

>

> _______________________________________________

> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

> Post to     : 
> [email protected]<mailto:[email protected]>

> Unsubscribe :

> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

>



_______________________________________________

Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Post to     : 
[email protected]<mailto:[email protected]>

Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to