Re: [openstack-dev] [Murano] Murano agent development

2015-03-24 Thread Serg Melikyan
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.bl...@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-requ...@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 | smelik...@mirantis.com

__
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


Re: [openstack-dev] [Murano] Murano agent development

2015-03-24 Thread Stan Lagun
One trick that can be done to simplify agent development is to

a) configure it to listen to some specific queue and run it locally or on
VM (you can even run it from IDE under debugger) so that you can edit its
code in place
b) using code from agent.py write sample application that will send
execution plan to you agent

Sincerely yours,
Stan Lagun
Principal Software Engineer @ Mirantis

sla...@mirantis.com

On Tue, Mar 24, 2015 at 1:03 PM, Serg Melikyan smelik...@mirantis.com
wrote:

 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.bl...@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-requ...@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 | smelik...@mirantis.com

 __
 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

__
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


Re: [openstack-dev] [Murano] Murano Agent

2014-12-23 Thread Timur Nurlygayanov
Hi,

murano python client allows to work with Murano API from the console
interface (instead of Web UI).

To install Murano python client on Ubuntu you can execute the following
commands:

apt-get update
apt-get install python-pip
pip install -U pip setuptools
pip install python-muranoclient

On Tue, Dec 16, 2014 at 1:39 PM, raghavendra@accenture.com wrote:





  Hi Team,



 I am installing Murano on the Ubuntu 14.04 Juno setup and would like to
 know what components need to be installed in a separate VM for Murano
 agent.

 Please let me kow why Murano-agent is required and the components that
 needs to be installed in it.



 Warm Regards,

 *Raghavendra Lad*





 --

 This message is for the designated recipient only and may contain
 privileged, proprietary, or otherwise confidential information. If you have
 received it in error, please notify the sender immediately and delete the
 original. Any other use of the e-mail by you is prohibited. Where allowed
 by local law, electronic communications with Accenture and its affiliates,
 including e-mail and instant messaging (including content), may be scanned
 by our systems for the purposes of information security and assessment of
 internal compliance with Accenture policy.

 __

 www.accenture.com

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev




-- 

Timur,
Senior QA Engineer
OpenStack Projects
Mirantis Inc

My OpenStack summit schedule:
http://kilodesignsummit.sched.org/timur.nurlygayanov#.VFSrD8mhhOI
___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Murano] Murano Agent

2014-12-15 Thread Stan Lagun
Murano agent is required as long as you deploy applications that use it.
You can take (write) application that uses Heat Software Configuration
instead of Murano agent and use image without agent

Sincerely yours,
Stan Lagun
Principal Software Engineer @ Mirantis

sla...@mirantis.com

On Mon, Dec 15, 2014 at 7:54 AM, Ruslan Kamaldinov rkamaldi...@mirantis.com
 wrote:

 On Mon, Dec 15, 2014 at 7:10 AM,  raghavendra@accenture.com wrote:
  Please let me kow why Murano-agent is required and the components that
 needs
  to be installed in it.

 You can find more details about murano agent at:
 https://wiki.openstack.org/wiki/Murano/UnifiedAgent

 It can be installed with diskimage-builder:
 http://git.openstack.org/cgit/stackforge/murano-agent/tree/README.rst#n34

 - Ruslan

 ___
 OpenStack-dev mailing list
 OpenStack-dev@lists.openstack.org
 http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


Re: [openstack-dev] [Murano] Murano Agent

2014-12-14 Thread Ruslan Kamaldinov
On Mon, Dec 15, 2014 at 7:10 AM,  raghavendra@accenture.com wrote:
 Please let me kow why Murano-agent is required and the components that needs
 to be installed in it.

You can find more details about murano agent at:
https://wiki.openstack.org/wiki/Murano/UnifiedAgent

It can be installed with diskimage-builder:
http://git.openstack.org/cgit/stackforge/murano-agent/tree/README.rst#n34

- Ruslan

___
OpenStack-dev mailing list
OpenStack-dev@lists.openstack.org
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev