Ceph Support

Bug #1455238 reported by Sergio Aguilar
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Fix Released
Wishlist
Serge van Ginderachter
Kilo
Fix Released
Wishlist
Hugh Saunders
Trunk
Fix Released
Wishlist
Serge van Ginderachter

Bug Description

Are there any plans to support Ceph?

I saw some pages mentioning it but not for openstack-ansible.
https://community.rackspace.com/products/f/45/t/1658

Is there a way we can just specify the ceph settings for glance, cinder and nova? I mean I'm not trying to deploy ceph just connect it to an existing one.

Thank you,

Revision history for this message
Kevin Carter (kevin-carter) wrote :

Hello @Sergio Aguilar,

The ceph work is presently being worked on by Serge and can be found in the following commits:

Master:
https://review.openstack.org/#/c/181957/

Juno:
https://review.openstack.org/#/c/181022/

These commits will enable ceph support within the OSAD environment and should suit your imediate needs. As for general ceph support deployed by and managed by this project thats up for debate. If you have some cycles and would like to review the work in progress we'd greatly appreciate it. Additionally we have weekly meeting and an active IRC channel that you can find more about here: https://wiki.openstack.org/wiki/Meetings/openstack-ansible

I hope this help.

Changed in openstack-ansible:
status: New → In Progress
importance: Undecided → Medium
assignee: nobody → Serge van Ginderachter (svg)
Revision history for this message
Sergio Aguilar (chekolyn) wrote :

Hello @Kevin Carter,

Thanks so much for the link and the information. This is precisely what I was looking for.

I will definitely review it and give it a shot.

Saludos,

Sergio

Revision history for this message
Alexandre Maumené (amaumene) wrote :

Hi,

Maybe it could be easier to re-use this https://github.com/ceph/ceph-ansible ?

Revision history for this message
Serge van Ginderachter (svg) wrote :

Hi Alexandre,

For now, the ceph support is meant to configure openstack/osad to *use* a ceph cluster, whch is what I'm working on.
I suppose on the longer run, there might be support to also install and configure a ceph cluster, which is where the ceph-ansible will be a good contenderto look at, but that has not been discussed yet.

Serge

Changed in openstack-ansible:
milestone: none → 11.0.4
Dolph Mathews (dolph)
Changed in openstack-ansible:
importance: Medium → Wishlist
Dolph Mathews (dolph)
Changed in openstack-ansible:
milestone: 11.0.4 → 11.1.0
Changed in openstack-ansible:
milestone: 11.1.0 → 11.1.1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on os-ansible-deployment (master)

Change abandoned by Matt Thompson (<email address hidden>) on branch: master
Review: https://review.openstack.org/207504
Reason: Invalid squash

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/181957
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=b878370a0b3f0bbd47bff98f3fa4552f7cf66c05
Submitter: Jenkins
Branch: master

commit b878370a0b3f0bbd47bff98f3fa4552f7cf66c05
Author: Serge van Ginderachter <email address hidden>
Date: Thu May 7 16:41:18 2015 +0200

    Add Ceph/RBD support to playbooks

    Currently the playbooks do not allow Ceph to be configured as a backend
    for Cinder, Glance or Nova. This commit adds a new role called
    ceph_client to do the required configuration of the hosts and updates
    the service roles to include the required configuration file changes.
    This commit requires that a Ceph cluster already exists and does not
    make any changes to that cluster.

    ceph_client role, run on the OpenStack service hosts
      - configures the Ceph apt repo
      - installs any required Ceph dependencies
      - copies the ceph.conf file and appropriate keyring file to /etc/ceph
      - creates the necessary libvirt secrets

    os_glance role
    glance-api.conf will set the following variables for Ceph:
      - [DEFAULT]/show_image_direct_url
      - [glance_store]/stores
      - [glance_store]/rbd_store_pool
      - [glance_store]/rbd_store_user
      - [glance_store]/rbd_store_ceph_conf
      - [glance_store]/rbd_store_chunk_size

    os_nova role
    nova.conf will set the following variables for Ceph:
      - [libvirt]/rbd_user
      - [libvirt]/rbd_secret_uuid
      - [libvirt]/images_type
      - [libvirt]/images_rbd_pool
      - [libvirt]/images_rbd_ceph_conf
      - [libvirt]/inject_password
      - [libvirt]/inject_key
      - [libvirt]/inject_partition
      - [libvirt]/live_migration_flag

    os_cinder is not updated because ceph is defined as a backend and that
    is generated from a dictionary of the config, for an example backend
    config, see etc/openstack_deploy/openstack_user_config.yml.example

    pw-token-gen.py is updated so that variables ending in uuid are assigned
    a UUID.

    DocImpact
    Implements: blueprint ceph-block-devices
    Closes-Bug: #1455238
    Change-Id: Ie484ce0bbb93adc53c30be32f291aa5058b20028

Changed in openstack-ansible:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (master)

Fix proposed to branch: master
Review: https://review.openstack.org/209130

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (kilo)

Reviewed: https://review.openstack.org/211151
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=546903a72c7bd8c446883e81d9bf96c5d9e048eb
Submitter: Jenkins
Branch: kilo

commit 546903a72c7bd8c446883e81d9bf96c5d9e048eb
Author: Serge van Ginderachter <email address hidden>
Date: Thu May 7 16:41:18 2015 +0200

    Add Ceph/RBD support to playbooks

    Currently the playbooks do not allow Ceph to be configured as a backend
    for Cinder, Glance or Nova. This commit adds a new role called
    ceph_client to do the required configuration of the hosts and updates
    the service roles to include the required configuration file changes.
    This commit requires that a Ceph cluster already exists and does not
    make any changes to that cluster.

    ceph_client role, run on the OpenStack service hosts
      - configures the Ceph apt repo
      - installs any required Ceph dependencies
      - copies the ceph.conf file and appropriate keyring file to /etc/ceph
      - creates the necessary libvirt secrets

    os_glance role
    glance-api.conf will set the following variables for Ceph:
      - [DEFAULT]/show_image_direct_url
      - [glance_store]/stores
      - [glance_store]/rbd_store_pool
      - [glance_store]/rbd_store_user
      - [glance_store]/rbd_store_ceph_conf
      - [glance_store]/rbd_store_chunk_size

    os_nova role
    nova.conf will set the following variables for Ceph:
      - [libvirt]/rbd_user
      - [libvirt]/rbd_secret_uuid
      - [libvirt]/images_type
      - [libvirt]/images_rbd_pool
      - [libvirt]/images_rbd_ceph_conf
      - [libvirt]/inject_password
      - [libvirt]/inject_key
      - [libvirt]/inject_partition
      - [libvirt]/live_migration_flag

    os_cinder is not updated because ceph is defined as a backend and that
    is generated from a dictionary of the config, for an example backend
    config, see etc/openstack_deploy/openstack_user_config.yml.example

    pw-token-gen.py is updated so that variables ending in uuid are assigned
    a UUID.

    DocImpact
    Implements: blueprint ceph-block-devices
    Closes-Bug: #1455238
    Change-Id: Ie484ce0bbb93adc53c30be32f291aa5058b20028
    (cherry picked from commit b878370a0b3f0bbd47bff98f3fa4552f7cf66c05)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (master)

Reviewed: https://review.openstack.org/209130
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=0fafe4f8c3671286063eecb435e53e9ea7254b1f
Submitter: Jenkins
Branch: master

commit 0fafe4f8c3671286063eecb435e53e9ea7254b1f
Author: Serge van Ginderachter <email address hidden>
Date: Mon Aug 10 17:51:51 2015 +0200

    Update the documented ceph user variables

    The ceph patch missed an update to reflect the proper variables as presented in

        playbooks/roles/ceph_client/default/main.yml

    into

        etc/openstack_deploy/user_variables.yml

    DocImpact
    Implements: blueprint ceph-block-devices
    Closes-Bug: #1455238

    Change-Id: Id450f8eb03493ed8413d748c893637173dbaf8f2

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to os-ansible-deployment (kilo)

Fix proposed to branch: kilo
Review: https://review.openstack.org/215897

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-ansible-deployment (kilo)

Reviewed: https://review.openstack.org/215897
Committed: https://git.openstack.org/cgit/stackforge/os-ansible-deployment/commit/?id=e3ddc15e843f7e3b408d420a70839cf184e8c16e
Submitter: Jenkins
Branch: kilo

commit e3ddc15e843f7e3b408d420a70839cf184e8c16e
Author: Serge van Ginderachter <email address hidden>
Date: Mon Aug 10 17:51:51 2015 +0200

    Update the documented ceph user variables

    The ceph patch missed an update to reflect the proper variables as presented in

        playbooks/roles/ceph_client/default/main.yml

    into

        etc/openstack_deploy/user_variables.yml

    DocImpact
    Implements: blueprint ceph-block-devices
    Closes-Bug: #1455238

    Change-Id: Id450f8eb03493ed8413d748c893637173dbaf8f2
    (cherry picked from commit 0fafe4f8c3671286063eecb435e53e9ea7254b1f)

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.11

This issue was fixed in the openstack/openstack-ansible 11.2.11 release.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/openstack-ansible 11.2.12

This issue was fixed in the openstack/openstack-ansible 11.2.12 release.

Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote : Fix included in openstack/openstack-ansible 11.2.14

This issue was fixed in the openstack/openstack-ansible 11.2.14 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related blueprints

Remote bug watches

Bug watches keep track of this bug in other bug trackers.