VM-side agent for Murano
Go to file
Stan Lagun 8738324d9c Restores SIGPIPE on script processes
There is an issue https://bugs.python.org/issue1652
in Python 2.7 which was resolved in Py3.

By default Python sets SIGPIPE to SIG_IGN on startup, because
it prefers to check every write and raise an IOError exception rather
than taking SIGPIPE. This is all well and good for Python itself.
However, non-Python Unix subprocesses generally expect to have
SIGPIPE set to the default action, since that's what will happen if
they're started from a normal shell.

As a result scripts with piping that is terminated in reverse chain
order are never exit.

See more info here:
http://www.enricozini.org/blog/2009/debian/python-pipes/

Closes-Bug: #1524347
Change-Id: Ia015e7fd46912f6a0be97a6b9c297f8d14fd3f7c
2016-03-22 14:18:31 +00:00
contrib Ensure murano-agent starts on boot on debian-based images 2015-12-08 12:17:55 +03:00
doc/source Replace deprecated library function os.popen() with subprocess 2016-01-13 23:16:13 +08:00
etc Switch to the oslo.log library 2015-08-05 15:44:00 +03:00
muranoagent Restores SIGPIPE on script processes 2016-03-22 14:18:31 +00:00
releasenotes Add reno for RElease NOtes 2015-11-26 00:31:22 +03:00
tools Enable pep8 to check files in directory tools 2016-02-20 16:07:57 +08:00
.gitignore Add reno for RElease NOtes 2015-11-26 00:31:22 +03:00
.gitreview Update .gitreview for stable/mitaka 2016-03-22 13:47:29 +01:00
.testr.conf Run tests with testrepository 2014-08-29 11:39:34 +00:00
CONTRIBUTING.rst Replace stackforge with openstack 2015-12-04 19:47:33 +05:30
HACKING.rst Extract main python client to the top 2014-05-29 20:02:50 +04:00
LICENSE Extract main python client to the top 2014-05-29 20:02:50 +04:00
README.rst Update the murano agent README 2015-10-08 14:08:39 +08:00
requirements.txt Updated from global requirements 2016-02-26 01:48:59 +00:00
setup.cfg Remove version from setup.cfg 2015-12-08 07:22:33 +00:00
setup.py Updated from global requirements 2015-12-23 00:52:15 +00:00
test-requirements.txt Updated from global requirements 2016-02-11 07:40:36 +00:00
tox.ini Enable pep8 to check files in directory tools 2016-02-20 16:07:57 +08:00

README.rst

Murano Agent

Murano Agent is a VM-side guest agent that accepts commands from Murano engine and executes them.

Image building using DiskImage-Builder

Folder, named contrib/elements contains diskimage-builder elements to build an image which contains the Murano Agent required to use Murano.

Ubuntu based image containing the agent can be built and uploaded to Glance with the following commands:

$ git clone https://git.openstack.org/openstack/diskimage-builder.git
$ git clone https://git.openstack.org/openstack/murano-agent.git
$ export ELEMENTS_PATH=murano-agent/contrib/elements
$ diskimage-builder/bin/disk-image-create vm ubuntu \
  murano-agent -o ubuntu-murano-agent.qcow2
$ glance image-create --disk-format qcow2 --container-format bare \
  --name ubuntu-murano --file ubuntu-murano.qcow2 \
  --property murano_image_info='{"title": "Ubuntu for Murano", "type": "linux"}'

Project Resources

Project status, bugs, and blueprints are tracked on Launchpad:

https://launchpad.net/murano

Developer documentation can be found here:

https://murano.readthedocs.org

Additional resources are linked from the project wiki page:

https://wiki.openstack.org/wiki/Murano

License

Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0