[Openstack] create custom devstack setup with new backend enabled

Nikesh Kumar Mahalka nikeshmahalka at vedams.com
Mon Jul 28 19:15:19 UTC 2014


Thanks Dean

after removing spaces from
CINDER_ENABLED_BACKENDS = client:client_driver in local.conf
(CINDER_ENABLED_BACKENDS=client:client_driver),
when i ran ./stach.sh, i am able to get desired configuration in cinder.conf


Last line was formatting error













On Mon, Jul 28, 2014 at 8:52 PM, Dean Troyer <dtroyer at gmail.com> wrote:
> On Mon, Jul 28, 2014 at 7:04 AM, Nikesh Kumar Mahalka
> <nikeshmahalka at vedams.com> wrote:
>
> [...]
>
>>
>> 3)vi local.conf
>>
>> [[local|localrc]]
>>
>> ...
>>
>> CINDER_ENABLED_BACKENDS = client:client_driver
>
>
> This is the problem.  The localrc section of local.con is sourced as shell
> script just like localrc was, the spaces here cause the shell to look at
> CINDER_ENABLED_BACKENDS as a command, not a variable assignment.  You can
> see the default values in cinder.conf...
>
> [...]
>
>>  5) checking the contents of cinder.conf  cat /etc/cinder/cinder.conf
>>
>> ...
>>
>> [DEFAULT]
>> rabbit_password = some_password
>> rabbit_hosts =192.168.2.64
>> rpc_backend = cinder.openstack.common.rpc.impl_kombu
>> use_syslog = True
>> default_volume_type = lvm enabled_backends = lvmdriver-1
>
>
> Is this line really concatenated like this or is it a formatting error in
> the email?  Either way, this is the default value because your
> CINDER_ENABLED_BACKENDS is not working.
>
> dt
>
> --
>
> Dean Troyer
> dtroyer at gmail.com




More information about the Openstack mailing list