[devstack] Automatic murano rabbit mq configuration in devstack is broken

Bug #1447522 reported by SeeniSekar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Murano
Fix Released
Critical
Alexey Deryugin
Kilo
Fix Released
Critical
Alexey Deryugin
Liberty
Fix Released
Critical
Alexey Deryugin

Bug Description

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

Changed in murano:
milestone: none → kilo-rc2
importance: Undecided → Critical
assignee: nobody → Alexey Deryugin (velovec)
summary: - Murano Application Deployment fails with "[exceptions.IOError]: Socket
- closed"
+ Automatic murano rabbit mq configuration in devstack is broken
description: updated
Changed in murano:
status: New → Confirmed
summary: - Automatic murano rabbit mq configuration in devstack is broken
+ [devstack] Automatic murano rabbit mq configuration in devstack is
+ broken
Changed in murano:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (stable/kilo)

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/178290

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (stable/kilo)

Reviewed: https://review.openstack.org/178290
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=faa7596444ae2bb766bd4ddc0c7daabbafeff774
Submitter: Jenkins
Branch: stable/kilo

commit faa7596444ae2bb766bd4ddc0c7daabbafeff774
Author: Alexey Deryugin <email address hidden>
Date: Tue Apr 28 20:05:15 2015 +0300

    Add missing RabbitMQ user parameter to Murano lib in devstack

    Change-Id: I19e22568f73b9d5bf78eee889aeb4e4b49f55ed2
    Closes-Bug: #1447522

tags: added: in-stable-kilo
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to murano (master)

Fix proposed to branch: master
Review: https://review.openstack.org/178358

Changed in murano:
assignee: Alexey Deryugin (velovec) → Serg Melikyan (smelikyan)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to murano (master)

Reviewed: https://review.openstack.org/178358
Committed: https://git.openstack.org/cgit/openstack/murano/commit/?id=4f1d7be03ad2d94214f4e65bd1eea2f58e8991f2
Submitter: Jenkins
Branch: master

commit 4f1d7be03ad2d94214f4e65bd1eea2f58e8991f2
Author: Alexey Deryugin <email address hidden>
Date: Tue Apr 28 20:05:15 2015 +0300

    Add missing RabbitMQ user parameter to Murano lib in devstack

    Change-Id: I19e22568f73b9d5bf78eee889aeb4e4b49f55ed2
    Closes-Bug: #1447522
    (cherry picked from commit faa7596444ae2bb766bd4ddc0c7daabbafeff774)

Changed in murano:
status: Fix Committed → Fix Released
Changed in murano:
milestone: kilo-rc2 → 2015.1.0
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.