senlin/devstack
tengqm 957d77a0a9 Update sdk connection, tests and isoformat
We can simplify connection creation now. The Connection constructor
understands not to load yaml or env vars if it doesnt' receive a cloud
argument - so this can all be done in one step.

Update the mocks in the tests to work for the new calling pattern.

Finally - isoformat wasn't processing UTC+00:00. There are some
dark issues with how isoformats get passed around OpenStack, but this
fixes the unittest matching to account for UTC+00:00.
openstacksdk has been working on merging the code from shade and
os-client-config. Part of this will result in the removal of the
Profile object in favor of the CloudRegion object from the new
openstack.config.

This updates the Connection construction code to code that should work
with both old and new versions of openstacksdk.

Temporarily mask some jobs to get this in. Will need to revise the
tempest plugin to fix gate jobs later.

Related-Bug: #1681620
Co-Authored-By: tengqm <tengqim@cn.ibm.com>
Change-Id: I10c74ca48b1ddb848a5a68cc4360431a21e0a2cc
2018-02-06 03:46:36 -05:00
..
lib Update sdk connection, tests and isoformat 2018-02-06 03:46:36 -05:00
README.rst Add toggle in devstack plugin to run senlin-api under Apache2 2016-11-13 21:45:01 -05:00
apache-senlin.template Add access log for devstack. 2017-03-20 15:28:43 +08:00
plugin.sh use . instead of source. 2018-01-29 14:23:09 +00:00
settings Improve devstack plugin 2015-08-28 23:10:33 +08:00

README.rst

Enabling senlin in DevStack

  1. Download DevStack:

    $ git clone https://git.openstack.org/openstack-dev/devstack
    $ cd devstack
  2. Add following repo as external repositories into your local.conf file:

    [[local|localrc]]
    #Enable senlin
    enable_plugin senlin https://git.openstack.org/openstack/senlin
    #Enable senlin-dashboard
    enable_plugin senlin-dashboard https://git.openstack.org/openstack/senlin-dashboard

Optionally, you can add a line SENLIN_USE_MOD_WSGI=True to the same local.conf file if you prefer running the Senlin API service under Apache.

  1. Run ./stack.sh.