[openstack-dev] [kolla] Cinder multiple backends

Carlos Cesario ccesario at tecnomega.com.br
Mon Jun 20 23:45:15 UTC 2016


Hi Michal and Ryan,

Thank you so much by explanation.

After instructions provide by Michal, I got built the container with additional packs.

It folows the report:

1 - It was created a /etc/kolla/config/include_build/cinder-volume.include file with the content:
{% if base_distro == 'ubuntu' %}
RUN apt-get -y install --no-install-recommends sysfsutils sg3-utils
{% endif %}

But it did not work, the {% %} block broke the build -> http://paste.openstack.org/show/520666/

After remove {% %} the build it worked! But maybe will be needed parser the {% %} block, to treat what kind of package will be installed, by example apt or rm packs, based on base system.


2 - In my case, I need install multipath-tools and make it enabled on startup on compute-node container, due the IBM Storwize Cinder Driver when using FC protocol. This too will needed with others drivers.
How to can I make the multipath-tools service it enabled using "automatic mode" in container deploy process!!?

Best regards,


- Carlos

----- Mensagem original -----
De: "Michał Jastrzębski" <inc007 at gmail.com>
Para: "OpenStack Development Mailing List (not for usage questions)" <openstack-dev at lists.openstack.org>
Enviadas: Segunda-feira, 20 de junho de 2016 10:43:36
Assunto: Re: [openstack-dev] [kolla] Cinder multiple backends

Right now you can install it by providing --include-header file during
build. We are working on cleaner mechanism in Newton [1].

[1] https://review.openstack.org/#/q/topic:bp/third-party-plugin-support

On 20 June 2016 at 08:29, Carlos Cesario <ccesario at tecnomega.com.br> wrote:
> Hi folks,
>
> It seems that Kolla does nos provide option to enable multiple backends in Cinder config.
>
> Currently in my deploy/setup I needed enable the Storwize Cinder driver - http://docs.openstack.org/mitaka/config-reference/block-storage/drivers/ibm-storwize-svc-driver.html -
> and to this I added into /etc/kolla/config/cinder.conf my configs
>
>   [DEFAULT]
>   default_volume_type = ibm
>
>   [ibm]
>   volume_driver=cinder.volume.drivers.ibm.storwize_svc.storwize_svc_fc.StorwizeSVCFCDriver
>   san_ip=xxx.xx.xx.xx
>   san_login=superuser
>   san_password=mypass
>   san_ssh_port=22
>   storwize_svc_volpool_name=myPool
>   volume_backend_name=ibm
>   verbose = True
>   debug = True
>
>
> And I changed manually the file /var/src/kolla-master/ansible/roles/cinder/templates/cinder.conf.j2 as well.
>
> But for the driver works correctly, it was needed install manually some aditional packs.
>
> $ apt-get install sysfsutils sg3-utils on cinder-volume container
> $ apt-get install multipath-tools sysfsutils on nova-compute container
>
> Is there any doc/spec to create a automatic process for this ? Could someone give us details how is the best way to make it "automatized" !?
>
>
>
> Best regards,
>
> - Carlos
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>

__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



More information about the OpenStack-dev mailing list