Comment 0 for bug 1447522

Revision history for this message
SeeniSekar (sekars-o) wrote : Murano Application Deployment fails with "[exceptions.IOError]: Socket closed"

Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 115, in wait
    listener.cb(fileno)
  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
    result = function(*args, **kwargs)
  File "/opt/stack/murano/murano/dsl/executor.py", line 178, in _invoke_method_implementation_gt
    return body(this, **params)
  File "/opt/stack/murano/murano/engine/system/agent.py", line 71, in prepare
    with common.create_rmq_client() as client:
  File "/opt/stack/murano/murano/common/messaging/mqclient.py", line 52, in __enter__
    self.connect()
  File "/opt/stack/murano/murano/common/messaging/mqclient.py", line 60, in connect
    self._connection.connect()
  File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 237, in connect
    return self.connection
  File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 741, in connection
    self._connection = self._establish_connection()
  File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 696, in _establish_connection
    conn = self.transport.establish_connection()
  File "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqp.py", line 116, in establish_connection
    conn = self.Connection(**opts)
  File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 180, in __init__
    (10, 30), # tune
  File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 67, in wait
    self.channel_id, allowed_methods)
  File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 240, in _wait_method
    self.method_reader.read_method()
  File "/usr/local/lib/python2.7/dist-packages/amqp/method_framing.py", line 189, in read_method
    raise m
MuranoPlException: [exceptions.IOError]: Socket closed
Removing descriptor: 10
2015-04-22 15:02:54.179 21148 DEBUG murano.dsl.executor [-] d6be7171b4a54f15b03933fcf675d35c: End execution: io.murano.system.Agent.prepare (8486081990868602869) with exception [exceptions.IOError]: Socket closed _invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:155
2015-04-22 15:02:54.180 21148 DEBUG murano.dsl.executor [-] d6be7171b4a54f15b03933fcf675d35c: End execution: io.murano.resources.Instance.deploy (1144367613522401327) with exception [exceptions.IOError]: Socket closed _invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:155
2015-04-22 15:02:54.180 21148 DEBUG murano.dsl.executor [-] d6be7171b4a54f15b03933fcf675d35c: End execution: io.murano.apps.linux.Telnet.deploy (-1870224795793502378) with exception [exceptions.IOError]: Socket closed _invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:155
2015-04-22 15:02:54.180 21148 DEBUG murano.dsl.executor [-] 2ce6cbbb15f8400c97bd44e32652dd90: End execution: io.murano.Environment.deploy (-8429483381038302534) with exception [exceptions.IOError]: Socket closed _invoke_method_implementation /opt/stack/murano/murano/dsl/executor.py:155
2015-04-22 15:02:54.181 21148 ERROR murano.common.engine [-]
  exceptions.IOError: Socket closed
  Traceback (most recent call last):
    File "/tmp/murano-packages-cache/a6b70f8a-ca93-4268-9bfb-cad73da2e8a3/io.murano/Classes/Environment.yaml", line 74:9 in method deploy of class io.murano.Environment
        $.applications.pselect($.deploy())
    File "/tmp/murano-packages-cache/a6b70f8a-ca93-4268-9bfb-cad73da2e8a3/io.murano.apps.linux.Telnet/Classes/telnet.yaml", line 32:9 in method deploy of class io.murano.apps.linux.Telnet
        $.instance.deploy()
    File "/tmp/murano-packages-cache/a6b70f8a-ca93-4268-9bfb-cad73da2e8a3/io.murano/Classes/resources/Instance.yaml", line 103:9 in method deploy of class io.murano.resources.Instance
        $.agent.prepare()
    File "/opt/stack/murano/murano/engine/system/agent.py", line 71 in method prepare
        with common.create_rmq_client() as client:
    File "/opt/stack/murano/murano/common/messaging/mqclient.py", line 52 in method __enter__
        self.connect()
    File "/opt/stack/murano/murano/common/messaging/mqclient.py", line 60 in method connect
        self._connection.connect()
    File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 237 in method connect
        return self.connection
    File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 741 in method connection
        self._connection = self._establish_connection()
    File "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 696 in method _establish_connection
        conn = self.transport.establish_connection()
    File "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqp.py", line 116 in method establish_connection
        conn = self.Connection(**opts)
    File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 180 in method __init__
        (10, 30), # tune
    File "/usr/local/lib/python2.7/dist-packages/amqp/abstract_channel.py", line 67 in method wait
        self.channel_id, allowed_methods)
    File "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 240 in method _wait_method
        self.method_reader.read_method()
    File "/usr/local/lib/python2.7/dist-packages/amqp/method_framing.py", line 189 in method read_method
        raise m
2015-04-22 15:02:54.181 21148 DEBUG oslo_messaging._drivers.amqp [-] UNIQUE_ID is f2c8cd1cceff4014b2e34697878a29db. _add_unique_id /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:258
2015-04-22 15:02:54.188 21148 INFO murano.common.engine [-] Invoking post-execution hooks
2015-04-22 15:02:54.191 21148 DEBUG oslo_messaging._drivers.amqpdriver [-] MSG_ID is 305ba91dff9d4264b8880fe0a21ae236 _send /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py:311
2015-04-22 15:02:54.191 21148 DEBUG oslo_messaging._drivers.amqp [-] UNIQUE_ID is f1c7affc1bc5476abfdb98340ab0c72a. _add_unique_id /usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqp.py:258