With this small changes it becomes possible to instruct murano to
provision murano-agent of version other than latest, or from
custom git branch or from a http source.
Use cases:
* Use agent with custom modifications that are not available in
PyPI version
* Development of new agent features - agent can be installed from
the private git repo
* Environments without internet connectivity
Change-Id: Icbea95abf070ef35781474a54461cc34bb9927af
python-dev package causes cloud-init to fail on Fedora-based
distros because the package is called python-devel there.
Since this package is present in python-pip recommended dependencies
and thus going to be installed anyway, there is no need to include
it explicitly. With this fix it becomes possible to use bare
Fedora cloud image with murano.
Change-Id: I276839b9ba772d8f0a6bac975b204b0308839170
The variable name $PIDNAME doesnt exist, therefore we can
start murano-agent twice or more.
Closes-bug: #1663194
Change-Id: I3056b89645d517375dfdecf2eceaebb249d24e6e
Shellcheck complains like this:
meta/io.murano/Resources/murano-agent|26 col 3 warning|
In POSIX sh, 'local' is undefined. [SC2039] [sh/shellcheck]
And add quotes to prevent word splitting.
Change-Id: I99a296ebc33a101bcd0e4f9d824d3f217ec7c438
Closes-Bug: #1622384
After I8d90d33dc0a1c36ac4524f8f3b82223c23829126 a bug has been
introduced in setting agent's config: it was only set if there was no
'muranoagent' binary in PATH. This patch fixes this behaviour.
The patch also improves murano-agent detection, by setting PATH to a
wider number of directories, when checking for murano-agent binary.
It also improves support of different pre-built
images by not restricting path to murano-agent binary to a specific path.
Contains a bunch of comments with clarifications.
Change-Id: Ie4c498b5546aabaab2070400452765c62cb561a3
Closes-Bug: #1570962
Without this patch all the instances are deployed with the following
hostname: Murano-RandomID-HOSTNAME-randomID
With this Patch the new instances will be deployed just with the hostname.
This is more benefit on Windows instances where the recommended
length for the hostname is 15 characters.
Change-Id: I8c9867481071b2ae09c3ea17cba4c535759aaf58
Closes-Bug: #1605786
Add insecure option to [rabbitmq] section of murano.conf
This is a partial fix because it improves Engine <-> RMQ
communications but the same problem exist on
Agent <-> RMQ side
Partial-Bug: #1578421
Change-Id: I55207c3016da12be45918a7dc33795abf69627b4
During cloud-init related improvements murano-agent location was
specified for the pip-style installation. This leads to unability
to deploy the apps on the images with pre-installed murano-agent
without network. This commit create a symlink to the pre-installed agent
in place where pip usually installs packages.
Change-Id: I8d90d33dc0a1c36ac4524f8f3b82223c23829126
Closes-Bug: #1570962
Linux.runCommand method used to pass script
in a command line argument and evaluated it using
"eval". This approach failed when the script contained
input redirection.
With this fix script is passed as a file which is specified
as an entry point in execution plan.
Also we supported explicit files in execution plan but not
for the script entry point. This was fixed as well.
Change-Id: Ifd15fc57b08e33ed61cd2765613cd705ce12a5f2
Closes-Bug: #1562954
This patch deletes 'package_upgrade: true' option from cloud-init confs.
It caused upgrading of all the packages in the images spawned by murano.
This made spawning VMs slow and in certain cases caused
dpkg locks be still in place when murano-agent attempted to
install packages
Change-Id: I440d2985f9122dad53c81b15148e60df4e7e9583
Closes-Bug: 1548857
The yaml file allows for installing murano-agent and chef
and puppet by cloud-init
Change-Id: Ia16270d67eeff50d41d8f879e7b4ad0a1037d4b1
Targets-blueprint: conf-lang-instance
Adding a murano-init script to install murano-agent by cloud init
in the LinuxMuranoInstance.
Change-Id: I080fe14a61b9af468ba1ae2e26dd85196a563449
Targets-blueprint: cloud-init-deployable-agent
Added `eval` command to execution plan, which allows
to correctly execute user input
Change-Id: Ie0469a7a464b246dc76acf6259b12eeb9a126563
Closes-Bug: #1523915
This patch adds to 'putFile' and 'runCommand' methods ability to return
full structure containing stdout, stderr and exitcode instead of
returning just exitCode, which worked incorrectly.
New optional parameter 'options' was added to allow specifing custom
options execution plans.
Change-Id: Icb2b9c5cc72a4555ccee85c471547041be86e2fc
Closes-Bug: #1504211
Murano engine can not convert unicode file to an ascii string.
Without BOM symbol file can be read as an ascii text file
It is rather temporary fix than a comprehensive solution
Change-Id: Ifec342bfa223c255f5c532560bcb247cf21757ad
Partial-Bug: #1490468
This patch adds to Murano core-library new
functionality allowing to simplify the process of software
configuration.
Implements bp: simple-software-configuration
Change-Id: I80f2c15f2d45398df2a519b54a50c2ba8c3a8be2
Added ability to modify/remove data from structures (like Heat
templates) via jsonpatch and thus added ability to clean up Heat
resources that was obtained by deleted instances
Closes bug: #1296624
Change-Id: I4db226a5ab00ff363f8b5d44a5d690df942622e8