Re: [openstack-dev] [Devstack] [Cinder] Registering 3rd party driver as default

2014-08-14 Thread Amit Das
Thanks a lot.

This worked out like a charm.

Regards,
Amit
*CloudByte Inc.* <http://www.cloudbyte.com/>


On Thu, Aug 14, 2014 at 7:02 PM, Kerr, Andrew 
wrote:

> You either need to comment out the enabled_backends line, or you'll want
> to put something similar to this in your cinder.conf file:
>
> [DEFAULT]
> ...
> enabled_backends = cloudbyte
> ...
> [cloudbyte]
> volume_driver = volume_driver =
> cinder.volume.drivers.cloudbyte.cloudbyte.ElasticenterISCSIDriver
> SAN_IP=20.10.22.245
> CB_APIKEY=masQwghrmPOVIqbjyyWKQdg4z4bP2sNZ13fRQyUMwm453PUiYB-xyRSMBDoZeMj6R
> 0-XU9DCscxMbe3AhleDyQ
> CB_ACCOUNT_NAME=acc1
> TSM_NAME=openstacktsm
>
>
>
> If you have enabled_backends set then it will only use those driver specs
> and ignore all driver related details in the DEFAULT section.
>
> You also probably want to comment (or remove) the default_volume_type
> line, unless you plan to create that volume type after the services come
> up.
>
> Andrew Kerr
> OpenStack QA
> Cloud Solutions Group
> NetApp
>
>
> From:  Amit Das 
> Reply-To:  "OpenStack Development Mailing List (not for usage questions)"
> 
> Date:  Thursday, August 14, 2014 at 5:37 AM
> To:  OpenStack Development Mailing List  >
> Subject:  Re: [openstack-dev] [Devstack] [Cinder] Registering 3rd
> party   driver as default
>
>
> With further debugging, i find that none of the configuration options
> present in /etc/cinder/cinder.conf are getting applied.
>
>
> Regards,
> AmitCloudByte Inc. <http://www.cloudbyte.com/>
>
>
>
>
> On Thu, Aug 14, 2014 at 11:40 AM, Amit Das
>  wrote:
>
> Hi folks,
>
> I have been trying to run devstack with my cinder driver as the default
> volume_driver but with no luck.
>
> Devstack seems to register the lvm driver as the default always.
>
> I have tried below approaches:
>
> 1. directly modifying the /etc/cinder/cinder.conf file
> 2. creating a driver file @ ./devstack/lib/cinder_plugins/
>
> 1. ref - https://review.openstack.org/#/c/68726/
>
>
>
>
>
>
> This is my localrc details:
> http://paste.openstack.org/show/94822/
>
>
> I run ./unstack.sh & then FORCE=yes ./stack.sh
>
> This is the cinder.conf that is generated after running above stack.sh. I
> comment out the [lvmdriver-1] section manually
> (not sure if this section needs to be commented)
>
> http://paste.openstack.org/show/94841/
>
>
> These are portions of c-sch & c-vol logs after restarting them in their
> respective screens.
>
> http://paste.openstack.org/show/94842/
>
>
>
> Regards,
> AmitCloudByte Inc. <http://www.cloudbyte.com/>
>
>
>
>
>
>
>
>
> ___
> OpenStack-dev mailing list
> OpenStack-dev@lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Devstack] [Cinder] Registering 3rd party driver as default

2014-08-14 Thread Kerr, Andrew
You either need to comment out the enabled_backends line, or you'll want
to put something similar to this in your cinder.conf file:

[DEFAULT]
...
enabled_backends = cloudbyte
...
[cloudbyte]
volume_driver = volume_driver =
cinder.volume.drivers.cloudbyte.cloudbyte.ElasticenterISCSIDriver
SAN_IP=20.10.22.245
CB_APIKEY=masQwghrmPOVIqbjyyWKQdg4z4bP2sNZ13fRQyUMwm453PUiYB-xyRSMBDoZeMj6R
0-XU9DCscxMbe3AhleDyQ
CB_ACCOUNT_NAME=acc1
TSM_NAME=openstacktsm



If you have enabled_backends set then it will only use those driver specs
and ignore all driver related details in the DEFAULT section.

You also probably want to comment (or remove) the default_volume_type
line, unless you plan to create that volume type after the services come
up.

Andrew Kerr
OpenStack QA
Cloud Solutions Group
NetApp


From:  Amit Das 
Reply-To:  "OpenStack Development Mailing List (not for usage questions)"

Date:  Thursday, August 14, 2014 at 5:37 AM
To:  OpenStack Development Mailing List 
Subject:  Re: [openstack-dev] [Devstack] [Cinder] Registering 3rd
party   driver as default


With further debugging, i find that none of the configuration options
present in /etc/cinder/cinder.conf are getting applied.


Regards,
AmitCloudByte Inc. <http://www.cloudbyte.com/>




On Thu, Aug 14, 2014 at 11:40 AM, Amit Das
 wrote:

Hi folks,

I have been trying to run devstack with my cinder driver as the default
volume_driver but with no luck.

Devstack seems to register the lvm driver as the default always.

I have tried below approaches:

1. directly modifying the /etc/cinder/cinder.conf file
2. creating a driver file @ ./devstack/lib/cinder_plugins/

1. ref - https://review.openstack.org/#/c/68726/






This is my localrc details:
http://paste.openstack.org/show/94822/


I run ./unstack.sh & then FORCE=yes ./stack.sh

This is the cinder.conf that is generated after running above stack.sh. I
comment out the [lvmdriver-1] section manually
(not sure if this section needs to be commented)

http://paste.openstack.org/show/94841/


These are portions of c-sch & c-vol logs after restarting them in their
respective screens.

http://paste.openstack.org/show/94842/



Regards,
AmitCloudByte Inc. <http://www.cloudbyte.com/>








___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Devstack] [Cinder] Registering 3rd party driver as default

2014-08-14 Thread Amit Das
With further debugging, i find that none of the configuration options
present in /etc/cinder/cinder.conf are getting applied.

Regards,
Amit
*CloudByte Inc.* 


On Thu, Aug 14, 2014 at 11:40 AM, Amit Das  wrote:

> Hi folks,
>
> I have been trying to run devstack with my cinder driver as the default
> volume_driver but with no luck.
>
>  Devstack seems to register the lvm driver as the default always.
>
> I have tried below approaches:
>
>1. directly modifying the /etc/cinder/cinder.conf file
>2. creating a driver file @ ./devstack/lib/cinder_plugins/
>1. ref - https://review.openstack.org/#/c/68726/
>
>
> This is my localrc details:
> http://paste.openstack.org/show/94822/
>
> I run ./unstack.sh & then FORCE=yes ./stack.sh
>
> This is the cinder.conf that is generated after running above stack.sh. I
> comment out the [lvmdriver-1] section manually *(not sure if this section
> needs to be commented)*
>
> http://paste.openstack.org/show/94841/
>
> These are portions of c-sch & c-vol logs after restarting them in their
> respective screens.
>
> http://paste.openstack.org/show/94842/
>
> Regards,
> Amit
> *CloudByte Inc.* 
>
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


[openstack-dev] [Devstack] [Cinder] Registering 3rd party driver as default

2014-08-13 Thread Amit Das
Hi folks,

I have been trying to run devstack with my cinder driver as the default
volume_driver but with no luck.

Devstack seems to register the lvm driver as the default always.

I have tried below approaches:

   1. directly modifying the /etc/cinder/cinder.conf file
   2. creating a driver file @ ./devstack/lib/cinder_plugins/
   1. ref - https://review.openstack.org/#/c/68726/


This is my localrc details:
http://paste.openstack.org/show/94822/

I run ./unstack.sh & then FORCE=yes ./stack.sh

This is the cinder.conf that is generated after running above stack.sh. I
comment out the [lvmdriver-1] section manually *(not sure if this section
needs to be commented)*

http://paste.openstack.org/show/94841/

These are portions of c-sch & c-vol logs after restarting them in their
respective screens.

http://paste.openstack.org/show/94842/

Regards,
Amit
*CloudByte Inc.* 
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev