amulet
amulet copied to clipboard
Testing harness and tools for Juju Charms
- Include 'resources' parameter for add operation, accepting a json dict of resources to add to the service - attach() method accepting service name and resources json dict. It can...
I am trying to develop tests for a charm that only uses the juju 2.0 resources feature. The charm fails to find the resource and does not install the package....
http://pythonhosted.org/amulet/installation.html#ubuntu suggests using ppa:juju/stable to install amulet on Ubuntu, but that PPA doesn't provide an amulet package for bionic.
When deploying charms, there is no way to specify which channel it should deploy from. See https://jujucharms.com/docs/stable/charms-deploying#channels
***Work In Progress*** - don't land yet. Fixes #185
get_messages raises UnsupportedError when removing a unit https://github.com/juju/amulet/blob/master/amulet/sentry.py#L613 ``` DEBUG:runner:2017-08-18 19:55:04,708 test_901_remove_unit DEBUG: Checking that units correctly clean up after themselves on unit removal... DEBUG:runner:2017-08-18 19:55:04,709 _configure_services INFO: OpenStackAmuletDeployment: configure...
Like it does when the current status is `running` [here](https://github.com/juju/amulet/blob/master/amulet/actions.py#L92) it should also consider the `pending` status. This happened to me when the timeout was short and the charm was...
Had to dig through the code a bit before finding out what was happening. In [deployer](https://launchpad.net/juju-deployer) the name of the directory you're in becomes the default charm name that is...