This is a preparation to split the openstack api v1 test cases. The
current test case file is too large for maintenance. This patch renames
the openstack folder to openstack_v1 so that in future we (hopefully)
don't have to move them around again.
Change-Id: Ie939e2d6022e688e02c5c946346b223e7b319136
This directory was renamed in 4e8231, which made importing docker
(that is docker-py) difficult if not impossible in Python 2.x. So
rename it to something other than 'docker' to avoid that problem.
(setup.cfg has been modified with the new path)
Change-Id: I3cbb7c5d4b53f70e1dc6102881f8e05852341a9a
Related-bug: #1296758
contrib/ directory does not follow any standards and will make it
harder to programmatically install plugins on devstack. The current
structure can also cause namespace collisions when loading them.
This moves all plugin modules to a folder with the same name under
their directory (e.g. contrib/rackspace/rackspace), allowing
requirements, readmes, and other files to be separate from the
actual code.
This also helps to avoid namespace collisions when loading all the
plugins, since all plugins will be under their namespace in the heat
package. Example:
heat.engine.plugins
heat.engine.plugins.docker
heat.engine.plugins.marconi
heat.engine.plugins.rackspace
Since plugin packages are now in a folder one level under contrib/,
testr.conf is also updated so that all plugins are discovered
correctly.
Co-Authored-By: Anderson Mesquita <andersonvom@gmail.com>
Related-Bug: #1271226
Change-Id: Ifc8e3ca388253be82471651737da5d399c7cfb98
Package and Module names shouldn't have dashes in them, since it makes
it harder to import them (i.e. one cannot use ``import dashed-module``).
Also, moving docker resource under resources for consistency.
Partial-Bug: #1271226
Change-Id: I785b626a99516ebe6444296cf62a78dd96355060
This plugin enable using Docker containers as
resources in a Heat template.
Change-Id: Id9fd6c3491b246c88308713a7661be1ad0056eb5
Implements: blueprint docker-plugin
Using plain discover to run tests in contrib until
I can figure out how to make that work via testr.
Closes bug: 1220798
Change-Id: I5669b90152efabfacbc4b786a67cd1f4b139521a
- Use distutils.version.LooseVersion for cloud-init version check
- Fix bug 1100287 by setting the following modes:
- 0600 /var/log/heat-provision.log
- 0700 /var/lib/heat
- 0700 /var/lib/cloud/data/cfn-userdata (was 0111!)
- Full test coverage except for where __name__ == '__main__'
- File size has gone from 1218 bytes to 1636. If necessary we could reduce size in the future by using short names
This works for me when launching a template. At least if there are any regressions they can have a test written for the fix.
Change-Id: I04e773a743ec210e90394e50d2bb70c70664e80e
Use openstack-common's update script to sync it to the latest.
Add some dire warnings that changes should be made in the upstream
copy of the code first.