tricircle/juno-patches/cinder/timestamp-query-patch
joey5678 e6d7dc78ce Transplant tricircle to juno version
The tricircle project is based on Openstack Icehouse version, this
patch modify to adopt the Juno version.

Change-Id: I1afe6122575ed2bedb6e3220177e161763ce161c
2014-11-22 21:57:08 +08:00
..
cinder/db/sqlalchemy Transplant tricircle to juno version 2014-11-22 21:57:08 +08:00
installation Transplant tricircle to juno version 2014-11-22 21:57:08 +08:00
README.md Transplant tricircle to juno version 2014-11-22 21:57:08 +08:00

README.md

Cinder timestamp-query-patch

it will be patched in cascaded level's control node

cinder icehouse version database has update_at attribute for change_since query filter function, however cinder db api this version don't support timestamp query function. So it is needed to make this patch in cascaded level while syncronization state between cascading and cascaded openstack level

Key modules

  • adding timestamp query function while list volumes:

    cinder\db\sqlalchemy\api.py

Requirements

  • openstack icehouse has been installed

Installation

We provide two ways to install the timestamp query patch code. In this section, we will guide you through installing the timestamp query patch.

  • Note:

    • Make sure you have an existing installation of Openstack Icehouse.
    • We recommend that you Do backup at least the following files before installation, because they are to be overwritten or modified:
  • Manual Installation

    • Make sure you have performed backups properly.

    • Navigate to the local repository and copy the contents in 'cinder' sub-directory to the corresponding places in existing cinder, e.g. cp -r $LOCAL_REPOSITORY_DIR/cinder $CINDER_PARENT_DIR (replace the $... with actual directory name.)

    • restart cinder api service

    • Done. The cinder proxy should be working with a demo configuration.

  • Automatic Installation

    • Make sure you have performed backups properly.

    • Navigate to the installation directory and run installation script.

      cd $LOCAL_REPOSITORY_DIR/installation
      sudo bash ./install.sh
      

      (replace the $... with actual directory name.)