[openstack-dev] [Murano] Murano agent development

Serg Melikyan smelikyan at mirantis.com
Tue Mar 24 10:03:28 UTC 2015


Hi Filip,

Sure, murano-agent is just a python application, you can easily run
this application locally (even in IDE like Pycharm with attached
debugger). To send execution plan to the agent you need to publish
execution plan to specified queue, results also will be published to
the queue.

murano-agent require configuration file for executing, you can build
sample configuration file using following instruction: tox -e
genconfig

Please, take a look at example murano-agent configuration file that
can be used to run it locally:

[DEFAULT]
# set location where obtained execution plans will be stored
storage = /tmp/murano/plans
debug = true
verbose = true

# credentials for rabbitmq
[rabbitmq]
host = localhost
port = 5672
login = guest
password = guest
virtual_host = /

# with this routing key execution plans results will be published
result_routing_key = <None>
# to this exchange execution plans results will be published
result_exchange = <None>
# from this queue agent will take exection plans
input_queue = <None>

On Tue, Mar 24, 2015 at 11:59 AM, Filip Blaha <filip.blaha at hp.com> wrote:
> Hello
>
> I would like to test and debug some new features of murano agent like chef
> recipes.
>
> I would like to know how to develop murano agent? How to test and debug new
> changes in agent code? Creating new image with every change and and test
> deployment on devstack is time-consuming and not very comfortable. Is there
> any shortcut for this development cycle?
>
> Thanks
> Filip
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev



-- 
Serg Melikyan, Senior Software Engineer at Mirantis, Inc.
http://mirantis.com | smelikyan at mirantis.com



More information about the OpenStack-dev mailing list