Giter Site home page Giter Site logo

openstack-heat-docker's Introduction

openstack-heat-docker's People

Contributors

justincormack avatar samalba avatar sethbergman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

openstack-heat-docker's Issues

Impossible to run Wordpress example with Docker 0.6.6

Steps to reproduce ( >= Docker 0.6.5 and its recent changes regarding port redirects) :

heat stack-create wordpresstest -f wordpress_mysql.yml

Getting create_failed status :

  Resource create failed: StackValidationFailed: Property  error : Blog: Env 'NoneType' object has no attribute '__getitem__'

The cause:
Created Container (samalba/mysql) has the following properties when inspecting

  "PortMapping": null,
        "Ports": {
            "3306/tcp": null
        }

Failing at line 144 of docker_container.py (PortMapping being null) when creating the second container

tcp = ','.join(networkinfo['PortMapping']['Tcp'].values())

Cannot start the heat-engine after installing the plugin

Hi,

We just tried to install the plugin to our Icehouse (upgraded from Havana lately) environment. When the heat engine is restarted, we encountered the issues below (excerpt from the heat-engine.log).

2014-06-11 03:40:48.799 18036 TRACE heat File "/usr/lib64/python2.6/pkgutil.py", line 238, in load_module
2014-06-11 03:40:48.799 18036 TRACE heat mod = imp.load_module(fullname, self.file, self.filename, self.etc)
2014-06-11 03:40:48.799 18036 TRACE heat File "/usr/local/c7-openstack/heat/contrib/docker/docker/resources/docker_container.py", line 35, in
2014-06-11 03:40:48.799 18036 TRACE heat class DockerContainer(resource.Resource):
2014-06-11 03:40:48.799 18036 TRACE heat File "/usr/local/c7-openstack/heat/contrib/docker/docker/resources/docker_container.py", line 153, in DockerContainer
2014-06-11 03:40:48.799 18036 TRACE heat INFO: attributes.Schema(
2014-06-11 03:40:48.799 18036 TRACE heat AttributeError: 'module' object has no attribute 'Schema'
2014-06-11 03:40:48.799 18036 TRACE heat
2014-06-11 03:49:49.533 18407 WARNING heat.common.config [-] The "instance_user" option in heat.conf is deprecated and will be removed in the Juno release.
2014-06-11 03:49:49.649 18407 CRITICAL heat [-] AttributeError: 'module' object has no attribute 'add_metaclass'
2014-06-11 03:49:49.649 18407 TRACE heat Traceback (most recent call last):
2014-06-11 03:49:49.649 18407 TRACE heat File "/usr/bin/heat-engine", line 63, in
2014-06-11 03:49:49.649 18407 TRACE heat from heat.engine import service as engine
2014-06-11 03:49:49.649 18407 TRACE heat File "/usr/lib/python2.6/site-packages/heat/engine/service.py", line 26, in
2014-06-11 03:49:49.649 18407 TRACE heat from heat.common import context
2014-06-11 03:49:49.649 18407 TRACE heat File "/usr/lib/python2.6/site-packages/heat/common/context.py", line 18, in
2014-06-11 03:49:49.649 18407 TRACE heat from heat.common import policy
2014-06-11 03:49:49.649 18407 TRACE heat File "/usr/lib/python2.6/site-packages/heat/common/policy.py", line 25, in
2014-06-11 03:49:49.649 18407 TRACE heat from heat.openstack.common import policy
2014-06-11 03:49:49.649 18407 TRACE heat File "/usr/lib/python2.6/site-packages/heat/openstack/common/policy.py", line 280, in
2014-06-11 03:49:49.649 18407 TRACE heat @six.add_metaclass(abc.ABCMeta)
2014-06-11 03:49:49.649 18407 TRACE heat AttributeError: 'module' object has no attribute 'add_metaclass'
2014-06-11 03:49:49.649 18407 TRACE heat

Any suggestion? Thanks!

Steve

Havana on centos - ERROR: Unknown resource Type : OS::Heat::Docker

Hi,

I have a havana docker setup on centos 6.4 (not devstack)
I have cloned the git respository and linked the plugin folder into /usr/lib/python2.6/site-packages/heat/docker/

After I have restart all heat services. When I try to import a template I get following error:
ERROR: Unknown resource Type : OS::Heat::Docker

It seems like the plugin will not be picked up.

Any help will be appreciated
thank you,
Daniel

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.