Re: [openstack-dev] [murano] Deployment fails with Murano Agent

2017-12-14 Thread Sun, Yicheng (Jerry)
Hi Rong,

I checked the rabbit config and it was correct. The issue turned out to be 
something completely unrelated to Murano. Thanks for your help.

Jerry

-Original Message-
From: Rong Zhu [mailto:aaronzhu1...@gmail.com] 
Sent: December-12-17 8:22 PM
To: OpenStack Development Mailing List (not for usage questions) 
<openstack-dev@lists.openstack.org>
Subject: Re: [openstack-dev] [murano] Deployment fails with Murano Agent

Hi, Jerry

Please check the rabbitmq section config in your murano.conf


[rabbitmq]
password = rabbit_password
login = rabbit_user
host = rabbit_host


Thanks,
Rong Zhu


On Wed, Dec 13, 2017 at 5:26 AM, Sun, Yicheng (Jerry) <jerry@windriver.com> 
wrote:
> Hi All,
>
>
>
> I am struggling with deploying the apache package with murano agent. I 
> am using the pike version of murano. I was able to see the following 
> trace many times in the murano agent logs:
>
>
>
> 2017-12-12 20:41:18.836 2382 ERROR muranoagent.app
>
> 2017-12-12 20:42:17.397 2382 WARNING muranoagent.app [-] Communication
> error: timeout: timed out
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app Traceback (most 
> recent call last):
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/muranoagent/app.py", line 133, 
> in _wait_plan
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app with
> self._create_rmq_client() as mq:
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/muranoagent/common/messaging/m
> qclient.py",
> line 72, in __enter__
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self.connect()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/muranoagent/common/messaging/m
> qclient.py",
> line 83, in connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
> self._connection.connect()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 
> 261, in connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app return
> self.connection
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 
> 802, in connection
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self._connection =
> self._establish_connection()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 
> 757, in _establish_connection
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app conn =
> self.transport.establish_connection()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqp.py", 
> line 130, in establish_connection
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app conn.connect()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 282, 
> in connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
> self.transport.connect()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 109, 
> in connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app 
> self._connect(self.host, self.port, self.connect_timeout)
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 150, 
> in _connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self.sock.connect(sa)
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", 
> line 252, in connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app 
> timeout_exc=socket.timeout("timed out"))
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", 
> line 203, in _trampoline
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
> mark_as_closed=self._mark_as_closed)
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/__init__.py", 
> line 162, in trampoline
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app return hub.switch()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/

Re: [openstack-dev] [murano] Deployment fails with Murano Agent

2017-12-12 Thread Rong Zhu
Hi, Jerry

Please check the rabbitmq section config in your murano.conf


[rabbitmq]
password = rabbit_password
login = rabbit_user
host = rabbit_host


Thanks,
Rong Zhu


On Wed, Dec 13, 2017 at 5:26 AM, Sun, Yicheng (Jerry)
 wrote:
> Hi All,
>
>
>
> I am struggling with deploying the apache package with murano agent. I am
> using the pike version of murano. I was able to see the following trace many
> times in the murano agent logs:
>
>
>
> 2017-12-12 20:41:18.836 2382 ERROR muranoagent.app
>
> 2017-12-12 20:42:17.397 2382 WARNING muranoagent.app [-] Communication
> error: timeout: timed out
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app Traceback (most recent
> call last):
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/muranoagent/app.py", line 133, in
> _wait_plan
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app with
> self._create_rmq_client() as mq:
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/muranoagent/common/messaging/mqclient.py",
> line 72, in __enter__
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self.connect()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/muranoagent/common/messaging/mqclient.py",
> line 83, in connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
> self._connection.connect()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 261, in
> connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app return
> self.connection
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 802, in
> connection
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self._connection =
> self._establish_connection()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 757, in
> _establish_connection
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app conn =
> self.transport.establish_connection()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqp.py", line
> 130, in establish_connection
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app conn.connect()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 282, in
> connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
> self.transport.connect()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 109, in
> connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
> self._connect(self.host, self.port, self.connect_timeout)
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 150, in
> _connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self.sock.connect(sa)
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 252,
> in connect
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
> timeout_exc=socket.timeout("timed out"))
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203,
> in _trampoline
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
> mark_as_closed=self._mark_as_closed)
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/__init__.py", line
> 162, in trampoline
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app return hub.switch()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File
> "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 294, in
> switch
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app return
> self.greenlet.switch()
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app timeout: timed out
>
> 2017-12-12 20:42:17.397 2382 ERROR muranoagent.app
>
>
>
> I have tried with both a self-built ubuntu image with pike murano agent as
> well as a newton debian image with murano agent from the community
> application catalog that no longer exist. The VM was created successfully. I
> have also tried deploying a package without using the murano agent
> functionality, which completed fine. Can anyone help me with this issue?
>
>
>
> Thanks in advance,
>
> Jerry
>
>
> __
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> 

[openstack-dev] [murano] Deployment fails with Murano Agent

2017-12-12 Thread Sun, Yicheng (Jerry)
Hi All,

I am struggling with deploying the apache package with murano agent. I am using 
the pike version of murano. I was able to see the following trace many times in 
the murano agent logs:

2017-12-12 20:41:18.836 2382 ERROR muranoagent.app
2017-12-12 20:42:17.397 2382 WARNING muranoagent.app [-] Communication error: 
timeout: timed out
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app Traceback (most recent call 
last):
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/muranoagent/app.py", line 133, in 
_wait_plan
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app with 
self._create_rmq_client() as mq:
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/muranoagent/common/messaging/mqclient.py",
 line 72, in __enter__
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self.connect()
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/muranoagent/common/messaging/mqclient.py",
 line 83, in connect
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app 
self._connection.connect()
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 261, in 
connect
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app return self.connection
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 802, in 
connection
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self._connection = 
self._establish_connection()
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/kombu/connection.py", line 757, in 
_establish_connection
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app conn = 
self.transport.establish_connection()
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/kombu/transport/pyamqp.py", line 130, 
in establish_connection
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app conn.connect()
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/amqp/connection.py", line 282, in 
connect
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self.transport.connect()
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 109, in connect
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self._connect(self.host, 
self.port, self.connect_timeout)
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/amqp/transport.py", line 150, in 
_connect
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app self.sock.connect(sa)
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 252, in 
connect
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app 
timeout_exc=socket.timeout("timed out"))
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/eventlet/greenio/base.py", line 203, in 
_trampoline
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app 
mark_as_closed=self._mark_as_closed)
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/eventlet/hubs/__init__.py", line 162, 
in trampoline
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app return hub.switch()
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app   File 
"/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 294, in 
switch
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app return 
self.greenlet.switch()
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app timeout: timed out
2017-12-12 20:42:17.397 2382 ERROR muranoagent.app

I have tried with both a self-built ubuntu image with pike murano agent as well 
as a newton debian image with murano agent from the community application 
catalog that no longer exist. The VM was created successfully. I have also 
tried deploying a package without using the murano agent functionality, which 
completed fine. Can anyone help me with this issue?

Thanks in advance,
Jerry
__
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev